asbonasty
13th May 2010, 15:39
Im trying to transcode some mp4s on my linux machine. Basically I want to transcode an mp4 (h264) video into a lower bitrate for the purposes of streaming on the web. Simple eh?
The problem starts when my mp4 has a variable frame rate (VFR) and it seems there is no fully linux way (that works) of extracting the timecodes from the video stream.
I use a program called DTSEdit.exe on windows to achieve this and there isn’t a linux version knocking round on the internet.
Once I have this timecode file I then use tc2mp4.pl to convert the timecode file into NHML which mp4box can consume when creating the new mp4 (as per http://forum.doom9.org/showthread.php?t=112199 )
Ive tried using MP4Box –nhml to extract the data from the original mp4 but mp4box produces soemthing that when reimported behaves as if its a constant frame rate - i.e. doesnt work.
Does anyone have a fully linux way of extracting the timecodes from an mp4 so I don’t have to resort to using wine and doing it that way? Id really appreciate any help on this one!
Cheers,
Tom
The problem starts when my mp4 has a variable frame rate (VFR) and it seems there is no fully linux way (that works) of extracting the timecodes from the video stream.
I use a program called DTSEdit.exe on windows to achieve this and there isn’t a linux version knocking round on the internet.
Once I have this timecode file I then use tc2mp4.pl to convert the timecode file into NHML which mp4box can consume when creating the new mp4 (as per http://forum.doom9.org/showthread.php?t=112199 )
Ive tried using MP4Box –nhml to extract the data from the original mp4 but mp4box produces soemthing that when reimported behaves as if its a constant frame rate - i.e. doesnt work.
Does anyone have a fully linux way of extracting the timecodes from an mp4 so I don’t have to resort to using wine and doing it that way? Id really appreciate any help on this one!
Cheers,
Tom