Help ! Having a spot of bother converting from PAL 1080i to 576i for burning to DVD. I'd thought the batch file below would do it (then run DVDshrink over the result of subsequent DVD authoring if need be to fit onto a DVD)...
The ffmpeg switches -sameq and/or -target pal-dvd seem to over-ride others and in particular the -maxrate setting, using ffmpeg version 11143 which uses the new syntax with "k" at the end of bitrates etc.
Can some kind expert please suggest the right commandline (like the above) which will yield the result intended above ?Code:@echo on set fINPUT=G:\HDTV\Our World In HD TEN HD.ts set fOUTPUT=G:\HDTV\Our World In HD TEN HD.ts.mpg set fSIZE=704x576 set fASPECT=16:9 set fMAXBITRATE=9400k Rem Tff=1 Bff=0 set FieldFirst=1 "C:\SOFTWARE\ffmpeg\ffmpeg.exe" -y -i "%fINPUT%" -maxrate %fMAXBITRATE% -dc 10 -target pal-dvd -ilme -ildct -flags +ildct+ilme -top %FieldFirst% -sameq -dc 10 -s %fSIZE% -aspect %fASPECT% -ab 192k -ar 48000 -ac 2 -acodec ac3 "%fOUTPUT%" pause
Thanks
+ Reply to Thread
Results 1 to 3 of 3
-
-
Answer suggested in http://forum.doom9.org/showthread.php?p=1101009#post1101009
both 1-pass and 2-pass :-
Code:@echo on REM 1-pass 1080i to 576i set fINPUT=G:\HDTV\0\TEST 7 HD Digital.ts set fOUTPUT=G:\HDTV\0\TEST 7 HD Digital.ts.mpg set f2passlogfile=G:\HDTV\0\TEST 7 HD Digital.ts.2pass.log set fSIZE=704x576 set fASPECT=16:9 set faveragebitrate=9000k set fMAXBITRATE=9400k set fMINBITRATE=1000k set faudiofreq=48000 set faudiobitrate=192k Rem Tff=1 Bff=0 set FieldFirst=1 REM --- old --- "C:\SOFTWARE\ffmpeg\ffmpeg.exe" -y -i "%fINPUT%" -maxrate %fMAXBITRATE% -dc 10 -target pal-dvd -ilme -ildct -flags +ildct+ilme -top %FieldFirst% -sameq -dc 10 -s %fSIZE% -aspect %fASPECT% -ab 192k -ar 48000 -ac 2 -acodec ac3 "%fOUTPUT%" REM "C:\SOFTWARE\ffmpeg\ffmpeg.exe" -y -i "%fINPUT%" -target pal-dvd -b %faveragebitrate% -minrate %fMINBITRATE% -maxrate %fMAXBITRATE% -sameq -ilme -ildct -flags +ildct+ilme -top %FieldFirst% -dc 10 -s %fSIZE% -aspect %fASPECT% -ab %faudiobitrate% -ar %faudiofreq% -ac 2 -acodec ac3 "%fOUTPUT%" "C:\SOFTWARE\ffmpeg\ffmpeg.exe" -y -i "%fINPUT%" -target pal-dvd -b %faveragebitrate% -minrate %fMINBITRATE% -maxrate %fMAXBITRATE% -qmin 1 -qmax 31 -ilme -ildct -flags +ildct+ilme -top %FieldFirst% -dc 10 -s %fSIZE% -aspect %fASPECT% -ab %faudiobitrate% -ar %faudiofreq% -ac 2 -acodec ac3 "%fOUTPUT%" pause exit @echo on REM 2-pass 1080i to 576i set fINPUT=G:\HDTV\0\TEST 7 HD Digital.ts set fOUTPUT=G:\HDTV\0\TEST 7 HD Digital.ts.mpg set f2passlogfile=G:\HDTV\0\TEST 7 HD Digital.ts.2pass.log set fSIZE=704x576 set fASPECT=16:9 set faveragebitrate=9000k set fMAXBITRATE=9400k set fMINBITRATE=1000k set faudiofreq=48000 set faudiobitrate=192k Rem Tff=1 Bff=0 set FieldFirst=1 REM --- old --- "C:\SOFTWARE\ffmpeg\ffmpeg.exe" -y -i "%fINPUT%" -maxrate %fMAXBITRATE% -dc 10 -target pal-dvd -ilme -ildct -flags +ildct+ilme -top %FieldFirst% -sameq -dc 10 -s %fSIZE% -aspect %fASPECT% -ab 192k -ar 48000 -ac 2 -acodec ac3 "%fOUTPUT%" "C:\SOFTWARE\ffmpeg\ffmpeg.exe" -y -i "%fINPUT%" -pass 1 -passlogfile "%f2passlogfile%" -target pal-dvd -b %faveragebitrate% -minrate %fMINBITRATE% -maxrate %fMAXBITRATE% -qmin 1 -qmax 31 -ilme -ildct -flags +ildct+ilme -top %FieldFirst% -dc 10 -s %fSIZE% -aspect %fASPECT% -an "%fOUTPUT%" "C:\SOFTWARE\ffmpeg\ffmpeg.exe" -y -i "%fINPUT%" -pass 2 -passlogfile "%f2passlogfile%" -target pal-dvd -b %faveragebitrate% -minrate %fMINBITRATE% -maxrate %fMAXBITRATE% -qmin 1 -qmax 31 -ilme -ildct -flags +ildct+ilme -top %FieldFirst% -dc 10 -s %fSIZE% -aspect %fASPECT% -ab %faudiobitrate% -ar %faudiofreq% -ac 2 -acodec ac3 "%fOUTPUT%" pause exit
-
Similar Threads
-
add background music using ffMpeg or any commandline tool (free)
By Shohag_ifas in forum AudioReplies: 2Last Post: 21st Jan 2011, 06:25 -
How do i AVS > WMV - the commandline way
By squadjot in forum Video ConversionReplies: 4Last Post: 27th Apr 2009, 07:59 -
commandline ffmpeg & x264 settings for Ipod 5.5
By halsboss in forum Video ConversionReplies: 4Last Post: 8th May 2008, 22:10 -
Commandline tool for background
By linkeboda in forum Authoring (DVD)Replies: 5Last Post: 12th Oct 2007, 08:09 -
VOB2MPG from a commandline?
By YoKnows in forum SVCD2DVD & VOB2MPGReplies: 9Last Post: 9th Jul 2007, 08:57