[mythtv-users] Downscale HD recordings with ffmpeg
belcampo at zonnet.nl
Thu Mar 19 00:40:48 UTC 2009
kanetse at gmail.com wrote:
> On Mon, Mar 16, 2009 at 3:13 AM, belcampo <belcampo at zonnet.nl> wrote:
>> My goal is "visibly the same quality" and "light on file-size".
>> I use this:
>> ffmpeg -i source.mpg -vcodec libx264 -b 2772k -flags +loop -coder 1 -refs 2
>> -deblockalpha 0 -deblockbeta 0 -partitions +parti4x4 -partitions +partp8x8
>> -partitions +partb8x8 -partitions +parti8x8 -me_method umh -subq 7 -me_range
>> 24 -cmp +chroma -bf 0 -b_strategy 1 -g 250 -keyint_min 25 -sc_threshold 40
>> -maxrate 4500k -r 25 -qmin 16 -qmax 32 -s 896x720 -aspect 16:9 -acodec
>> libfaac -ab 192k -ar 48000 -ac 6 -f mpegts result.ts
>> ffmpeg doesn't produce 100% mpegts files, they don't play on an PopCornHour
>> STB, I have to remux with tsMuxeR to get it 100%.
> I've been following this thread, it has been extremely useful as I am
> looking for a way to perform x264 encodings. When I tried the command
> above on one of my recordings, the audio was extremely low pitched
> (although it was appeared to be at the right speed). It was basically
> inaudable. Also periodically, the video seems to pause for minutes at
> a time. This is on a 1080i recorded program.
I've once had this too, but current ffmpeg SVN does it right, at least
for me. I use version:
FFmpeg version SVN-r17735, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --prefix=/usr --enable-libx264 --enable-libxvid
--enable-gpl --enable-libfaac --enable-libmp3lame --enable-pthreads
--disable-ffserver --enable-libfaad --enable-ffplay --disable-vhook
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 0 / 52.20. 0
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
built on Mar 2 2009 19:12:25, gcc: 4.2.2 20071128 (prerelease)
> Any ideas on what I might have done wrong?
> mythtv-users mailing list
> mythtv-users at mythtv.org
More information about the mythtv-users