[MEncoder-users] How to Change FPS on a Broken TS Stream?
Nico Sabbi
nicola_sabbi at fastwebnet.it
Mon Jun 5 00:51:17 CEST 2006
Bill Adams wrote:
>
> I get a few duplicate frames and a number of lines like:
> ERROR: scr 11.701, dts 7.240, pts 7.274
> But overall it seems to work and the video is smooth.
add -mpegopts format=dvd
>
> However, when I go to encode a stream from ABC, many bad things
> happen. You can download a sample from here:
> http://evilbill.org/static/Bad-FPS.ts (This is the opening to Lost
> season 2 episode 1 so be warned it is be a spoiler for anyone who has
> not already seen all of season one.)
>
> First, I get an invalid FPS:
> mencoder -oac copy -ovc lavc -lavcopts
> vcodec=mpeg2video:vqscale=4:dia=4:keyint=20 -vf
> pp=fd,scale=1280:720,harddup -of mpeg -o Test.mpg Bad-FPS.ts
> [snip]
> [mpeg2video @ 0x8618dec]MPEG1/2 does not support 19001/317 fps
>
> So then I add a -ofps 30000/1001 and every tenth of a second I get at
> least two "Skipping frame!" messages and the video is jerky when
> played back. If I add -noskip, I get "Too many video packets in the
> buffer: ..." and the Test.mpg is no good at all.
here try to add -fps 30000/1001
>
> xine does not like the raw .ts stream: It stutters and gives corrupted
> images. mplayer plays the broken .ts stream fine (smooth video, sound
> in sync) but I really want a clean MPEG-2 PS file.
>
> Any help on converting this file would be greatly appreciated. I also
> have transcode installed if that will fix the bad ts file somehow.
>
> Thanks in advance.
>
> b.
if the stream is broken there's little you can do about it
More information about the MEncoder-users
mailing list