Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: AAC track timecode extraction #16

Open
flyser opened this issue Jan 29, 2015 · 4 comments
Open

Feature Request: AAC track timecode extraction #16

flyser opened this issue Jan 29, 2015 · 4 comments

Comments

@flyser
Copy link

flyser commented Jan 29, 2015

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?

@nu774
Copy link
Owner

nu774 commented Jan 29, 2015

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.

@flyser
Copy link
Author

flyser commented Jan 30, 2015

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

@nu774
Copy link
Owner

nu774 commented Jan 31, 2015

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
Copy link
Owner

nu774 commented Jan 31, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants