[mythtvnz] Transcoding HD videos

Brett mythicalbeast at slingshot.co.nz
Tue Apr 24 10:20:17 BST 2012


On Tue, 2012-04-24 at 08:09 +1200, Pshem Kowalczyk wrote:
> Hi,
> >>
> > That cmd makes progressive encoded .. if you can make it work..
> 
> That was the key word here. I realised I was generating 720p with
> 50fps, adding -r 25 to the output file did the trick. The filter
> (h264_mp4toannexb) also helps.
> One thing I've noticed every now and then ffmpeg will segfault at the
> end of encoding, but the movie remains playable.
> 
> 
> > With a recent ffmpeg build I had to change it to this:
> >
> > ffmpeg -i /recordings/1003_20100215193000.mpg  -c:v:0 libx264 -flags
> > +ilme+ildct -s 1280x720 -b:v 3500k -c:a libfaac -b:a 128K  -map 0:0 -map
> > 0:1 -bsf:v h264_mp4toannexb -f mpegts new.mpg
> >
> > interlaced ts stream file with latm-aac--> libfaac acc
> 
> > MythTV plays it okay
> > mediainfo seems okay
> > old VLC  1.0.6 will not play video..
> 
> I've noticed that mplayer has issues playing it too if the framerate
> is not reduced to 25fps.
> 
The keywords for interlaced encoding support in x264 are:
-flags +ilme+ildct




More information about the mythtvnz mailing list