[FFmpeg-user] Inverse Telecine with fieldmatch filter
L. Lee
llee040 at sbcglobal.net
Tue Jun 25 23:16:12 CEST 2013
On 6/25/13 11:32 AM, "Lou" <lou at lrcd.com> wrote:
>On Tue, 25 Jun 2013 10:52:07 -0500
>"L. Lee" <llee040 at sbcglobal.net> wrote:
>
>> Why does neither of the following commands result in removing black bars
>> for current playback?
>>
>> ffplay -i Blockyclip_mpg.mpg -vf "cropdetect=24:16:0"
>>
>> ffplay -i Blockyclip_mpg.mpg -vf "cropdetect=24:16:1000"
>
>From the cropdetect documentation:
>
> "Calculate necessary cropping parameters and prints the recommended
> parameters through the logging system."
>
>It does not automatically provide any cropping as far as I know.
>
>http://ffmpeg.org/ffmpeg-filters.html#cropdetect
OK, I didn't understand that, thanks. One more question, and I should be
ready to try some serious encoding. My command line for transcoding
captured HD video yields an h264 video track and a 6-channel aac audio
track. Are there presets for ffmpeg similar to those available for
HandBrake that output two audio tracks in addition to the single video
track, the first being a 2-channel aac and the second being a 6-channel
AC-3 (copy of original input, in my case)? This is the format needed for
surround sound playback from Apple mobile devices that support it. If
presets can't do it, how might I modify commands similar to the following
to accomplish that?
720p, 2.35X1 source
ffmpeg -i input.mp4 -vf
"crop=1264:528:6:100,interlace,fieldmatch=order=tff:combmatch=full,
yadif=deint=interlaced, decimate" -pix_fmt yuv420p -c:v libx264 -preset
slower -tune film -qp 20 -r 24000/1001 output.mp4
1080i, 16X9 source:
ffmpeg -i input.mp4 -vf "fieldmatch=order=tff:combmatch=none, decimate,
scale=1280:-1" -pix_fmt yuv420p -c:v libx264 -preset slower -tune film -qp
20 -r 24000/1001 output.mp4
(ffmpeg version N-54184-gcea8a00 Copyright (c) 2000-2013 the FFmpeg
developers
built on Jun 25 2013 09:07:35 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
configuration: --enable-gpl --enable-libfaac --enable-libfdk-aac
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx
--enable-libx264 --enable-nonfree --enable-version3)
Thanks again.
Laine Lee
More information about the ffmpeg-user
mailing list