[FFmpeg-user] interlaced result when transcoding from h264

Stefano Sabatini stefasab at gmail.com
Fri Jan 10 10:07:04 CET 2014


On date Thursday 2014-01-09 22:38:13 +0100, Mitja Pirih wrote:
> Hi,
> 
> I am transcoding a h264 DVB-T stream but I am not satisfied with the
> results. The picture looks like "interlaced" on fast moving scenes.
> Here I posted (sorry for long post) some ffprobe data of the original
> (input) stream and output stream. What are my options to get a better
> picture?
> 
> I am transcoding with ffserver, with this config:

> <Stream stream001.mkv>
> Feed stream001.ffm
> NoLoop
> Format matroska
> VideoCodec libx264
> VideoFrameRate 25
> VideoBitRate 1524
> VideoSize 720x576
> AVOptionVideo preset ultrafast
> AVOptionVideo tune zerolatency
> AVOptionVideo flags +global_header
> AVOptionVideo crf 26
> AVOptionVideo me_range 16
> AVOptionVideo qdiff 4
> AVOptionVideo qmin 10
> AVOptionVideo qmax 51
> AudioCodec aac
> Strict -2
> AudioBitRate 128
> AudioChannels 2
> AudioSampleRate 44100
> AVOptionAudio flags +global_header
> </Stream>

First of all, note that *NOT ALL SETTINGS ARE TRANSFERRED TO
FFMPEG*. This is a limitation of the FFM protocol, ticket #3142:
http://trac.ffmpeg.org/ticket/3142 

Current workaround is to use ffmpeg with -override_ffserver. You can
then use filters (e.g. yadif) to remove interlacing artifacts.


More information about the ffmpeg-user mailing list