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

Support ffmpeg's duration and position for live streams #2213

Open
amq opened this issue Jan 23, 2014 · 0 comments
Open

Support ffmpeg's duration and position for live streams #2213

amq opened this issue Jan 23, 2014 · 0 comments
Labels

Comments

@amq
Copy link

@amq amq commented Jan 23, 2014

I have encountered an issue while recording a youtube live stream. Because of some youtube or broadcaster problems the time can jump from 00:28:03.36 to, say, 20:00:01.20. The time always jumps for at least 10 hours. It is also stream-independent. One more interesting thing: the bitrate drops at this point significantly, it looks like only audio is being recorded.

frame=40145 fps= 24 q=-1.0 size= 238241kB time=00:28:03.36 bitrate=1159.4kbits/
frame=40145 fps= 24 q=-1.0 size= 238241kB time=20:00:01.20 bitrate=153.4kbits/

It would be wonderful if you could solve this issue, but it's probably difficult to find the cause, so I suggest you to add an option to include ffmpeg's -t and -to flags. This way I could set the duration limit to 1 hour, forcing ffmpeg to mux the file after the jump occurs (or 1 hour passes).

This was referenced Jan 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.