mp4fpsmod icon indicating copy to clipboard operation
mp4fpsmod copied to clipboard

Feature Request: AAC track timecode extraction

Open flyser opened this issue 10 years ago • 4 comments

It would be useful if mp4fpsmod could also extract the timecodes of an aac track. Currently I am remuxing video files to mkv and then use mkvextract just to delete the mkv file again. mp4fpsmod looked promising, but it seems it extracts the h264 timecodes only, right?

flyser avatar Jan 29 '15 09:01 flyser

it seems it extracts the h264 timecodes only, right?

Strictly speaking, mp4fpsmod works only on the first video track. I don't understand how timecode for audio track is useful and interesting, though. Isn't it just constantly increasing depending on the sample rate? If you rewrite timecode of audio track (stts time_delta), I guess many of players will just ignore it.

nu774 avatar Jan 29 '15 09:01 nu774

I dont know much about the details, but I have some video files that loose a/v sync after some time if I demux and remux them without the timecode file

flyser avatar Jan 30 '15 18:01 flyser

Technically, you can always achieve A/V sync by editing video timecode only, right? If your audio is too fast, you can either slow down the audio or speed up the video to keep audio and video in sync.

Since speed of audio is usually determined by the sample rate, modifying timecode of audio is not a good idea (it involves resampling or special time-stretching technique), and can be ignored by the player anyway.

nu774 avatar Jan 31 '15 00:01 nu774

If you really, really want to edit timecode of the audio track, then I think timelineeditor of L-SMASH will do. They don't provide official win32 binaries, but you can download them here.

nu774 avatar Jan 31 '15 00:01 nu774