Opened 13 years ago
Closed 13 years ago
#670 closed enhancement (invalid)
Does ffmpeg support key frame alignment when creating files for multi-bitrate streaming????
Reported by: | asbro | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Does ffmpeg support key frame alignment when creating files for multi-bitrate streaming????
Change History (10)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
I didn't tried yet. I'm just asking if ffmpeg encodes one file into 2 files with diferent bitrate but key frames with exactly the same timecode values.
comment:3 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
You can force a specific keyframe distance and disable scene change detection which would achive what you are asking for.
Or
you can use -force_key_frames to force them to be at specific places, like for example the same for all
your streams.
I thus think what you ask for is supported.
If not please reopen the ticket and clarify.
comment:4 by , 13 years ago
In addition at least x264 will place the keyframes according to the first pass log file, so as long as you use the same one the keyframes will be placed identically.
If the encodes vary significantly you will probably want to run an additional pass to update the log file though (instead of only running the second pass against the existing log file) to reduce quality loss.
comment:6 by , 13 years ago
How to generate multiple versions of the same video file at different bitrates that are properly key-frame aligned? Is it posible with ffmpeg?
Here is an article with example http://www.wowza.com/forums/content.php?192-Encoding-Suggestions-for-Video-on-Demand
The article says that "Multi-birate encoding has not worked using ffmpeg" is it right?
comment:7 by , 13 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
comment:8 by , 13 years ago
If it does not work for you, please provide your failing command line (preferably not using external libraries like x264 and faac if the problem is also reproducible without using them) and complete, uncut console output.
If you just need user support (and do not want to report a problem), please consider sending a mail to ffmpeg-users, this tracker is for enhancement requests and bug reports.
comment:9 by , 13 years ago
I just need to know, is it posible with ffmpeg. I have no bug report. Thanks.
comment:10 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
Please explain what you are trying to achieve, how (provide command line and complete, uncut console output) and what makes you think it does not work.