[MEncoder-users] How to Change FPS on a Broken TS Stream?

Dieter freebsd at sopwith.solgatos.com
Sun Jun 4 16:40:55 CEST 2006


> AFAIK, My local ABC affiliate seems to be broadcasting a broken  ATSC  
> TS stream. The ts stream I have was acquired with a pchdtv3000 and a 
> hacked version of getatsc that filters out unwanted PIDs. This version 
> of getatsc works fine for all stations except ABC so I doubt it is the 
> program. (Indeed, I have seen the problem with an unfiltered ts stream 
> from ABC).

Does "all stations" include Fox?  Fox being 720p like ABC.
PBS and other broadcast channels are either 480 or 1080i.

> 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.

I convert ts to DV using ffmpeg, and had to add 30000/1001 for ABC and Fox
since 720p is 60 fps.  Works okay when I get good reception and if ffmpeg
is behaving that day and not dumping core.

Do you know that you are getting good reception of ABC?

Try running your ts file through dtvstream and see if it complains about
dropped packets (Continuity Counter Errors).

dtvstream -i abc.mpeg2ts -o /dev/null -v -d -a 1000000000000

Preferred result is 0.  If you get 10s of thousands, don't
expect a good viewing experience.

Even without continuity counter errors, there can be problems, although
I don't know of a good screening program for them.



More information about the MEncoder-users mailing list