Log in

View Full Version : No fps info in h264: is losseless patching possible?


kleen
23rd May 2013, 09:34
I have an h264 (TS) file which lacks information on fps, and hence I cannot load it to VideoReDo for cutting and chaptering. It's not a problem of the container but the video stream itself. I googled, and tried several tools, including h264info (produced even more weird stream), and modified ffmpeg (http://forum.doom9.org/showthread.php?t=152419) but no luck.

So, do you know if anything like DVDPatcher (http://www.videohelp.com/tools/DVDPatcher) exists for h264 to correct the file without reconverting it? Any suggestions are welcome. Thanks

kabelbrand
23rd May 2013, 15:33
I've never tried to use the modified ffmpeg on a transport stream but it works well with H.264 elementary streams, e.g.
ffmpeg -i in.264 -vbsf h264_changesps=fps=24000:1001 -vcodec copy out.264

kleen
24th May 2013, 11:15
Thanks for reply but it doesn't work.

filler56789
24th May 2013, 12:52
Then probably that H.264 stream was encoded in a "non-compliant" way

(OR in a way that ffmpeg was not programmed to understand, at least).

pandy
28th May 2013, 09:36
ES in TS encrypted or not?

Try http://www.videohelp.com/tools/tsMuxeR