Hi ....iam trying to do one pass and two pass encoding using FFMPEG......Can anyone pl send me the one pass and two pass encoding command for newer version FFMPEG........
Thanks in Advance
Vijay123
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 13 of 13
Thread
-
-
Have you read http://ffmpeg.org/trac/ffmpeg/wiki/x264EncodingGuide ?
-
@baldrik:yes i read that document ......but two pass command is not working.....can u send me the working command.....
-
this is my output
G:\ffmpeg-20130605-git-3289670-win32-static\bin>ffmpeg -y -i D:\MOV\TheFruitSale
sman.mov -c:v libx264 -preset medium -b:v 3589k -pass 1 -an -f mp4/dev/null
ffmpeg version N-53834-g3289670 Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 5 2013 00:29:25 with gcc 4.7.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
enable-libxvid --enable-zlib
libavutil 52. 34.100 / 52. 34.100
libavcodec 55. 15.100 / 55. 15.100
libavformat 55. 8.102 / 55. 8.102
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 75.101 / 3. 75.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Trailing options were found on the commandline.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\MOV\TheFruitSalesman.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2011-11-01 21:29:20
Duration: 00:00:49.73, start: 0.000000, bitrate: 3679 kb/s
Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 90
kb/s
Metadata:
creation_time : 2011-11-01 21:29:20
handler_name : Apple Alias Data Handler
Stream #0:1(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 720x450,
3584 kb/s, 30 fps, 30 tbr, 3k tbn, 6k tbc
Metadata:
creation_time : 2011-11-01 21:29:20
handler_name : Apple Alias Data Handler
At least one output file must be specified
G:\ffmpeg-20130605-git-3289670-win32-static\bin>ffmpeg -i D:\MOV\TheFruitSalesma
n.mov -c:v libx264 -preset medium -b:v 3589k -pass 2 -c:a libfdk_aac -b:a 90k D:
\MOV\TheFruit2pass.mp4
ffmpeg version N-53834-g3289670 Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 5 2013 00:29:25 with gcc 4.7.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
enable-libxvid --enable-zlib
libavutil 52. 34.100 / 52. 34.100
libavcodec 55. 15.100 / 55. 15.100
libavformat 55. 8.102 / 55. 8.102
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 75.101 / 3. 75.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\MOV\TheFruitSalesman.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2011-11-01 21:29:20
Duration: 00:00:49.73, start: 0.000000, bitrate: 3679 kb/s
Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 90
kb/s
Metadata:
creation_time : 2011-11-01 21:29:20
handler_name : Apple Alias Data Handler
Stream #0:1(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 720x450,
3584 kb/s, 30 fps, 30 tbr, 3k tbn, 6k tbc
Metadata:
creation_time : 2011-11-01 21:29:20
handler_name : Apple Alias Data Handler
Unknown encoder 'libfdk_aac' -
Unknown encoder 'libfdk_aac'
Try use libvo_aacenc instead. -
Hi i tried using libvo_aacenc....error which is displays
Error while opening encoder for output stream #0:0 - maybe incorrect parameters
such as bit_rate, rate, width or height
can you pl send me the entire command for one pass and two pass..... -
@baldrik: Iam never have knowledge about this.....Can you Pl send me the command line.....Further am analyzing about the encoding.....either one pass or two pass will be better for my encoding....
Is it one pass encoding means setting an value for CRF(Constant Rate Factor) is it so?...... -
This command works good for one pass......
ffmpeg -i input -c:v libx264 -preset slow -crf 22 -c:a copy output.mkv
I tried 2 pass encoding below this....
ffmpeg -y -i input -c:v libx264 -preset medium -b:v 555k -pass 1 -an -f mp4 /dev/null ....
it seems error like
[NULL @ 02b0faa0] Unable to find a suitable output format for 'medium'
medium: Invalid argument....
I have been frustrated.......can you pl send me the working command......... -
@baldrik:Hi can you pl send me the command line for one pass and two pass.....
-
Hi finally i got a command.......
G:\ffmpeg-20130605-git-3289670-win32-static\bin>ffmpeg -i D:\MOV\originalfile\Th
eFruitSalesman.mov -threads 0 -c:v libx264 -preset medium -b:v 3589k -pass 1 D:\
MOV\originalfile\TheFru.mp4
G:\ffmpeg-20130605-git-3289670-win32-static\bin>ffmpeg -i D:\MOV\originalfile\Th
eFruitSalesman.mov -c:v libx264 -b:v 3589k -preset medium -pass 2 -c:a aac -stri
ct experimental -b:a 90k D:\MOV\originalfile\foutpass2.mp4
Similar Threads
-
Difference Between 1 pass & 2 pass encoding
By iqbal88 in forum Video ConversionReplies: 28Last Post: 29th Oct 2021, 05:19 -
advantages of encoding vob/mpeg2 to h.264 using 3-pass instead of 2-pass
By codemaster in forum DVD RippingReplies: 8Last Post: 21st Sep 2011, 21:11 -
Retrospectively check if One Pass or Two Pass Encoding was used?
By BenjaminBS in forum Video ConversionReplies: 4Last Post: 26th Nov 2009, 05:46 -
Autofit and 2-pass encoding
By saber540ltd in forum SVCD2DVD & VOB2MPGReplies: 5Last Post: 27th Apr 2009, 17:11 -
Help with 2-pass encoding and VirtualDub
By adkom in forum Newbie / General discussionsReplies: 2Last Post: 31st Oct 2008, 10:41