Opened 9 years ago
Closed 9 years ago
#4633 closed defect (needs_more_info)
Video/Audio synching issue with live stream recording
Reported by: | Alaa | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
I am trying to record and segment a live stream and save it in two output files: video and audio , but the generated video and audio segment files are not always synched , for example the video length is 120 seconds while the audio file length is 124 seconds! the command to reproduce this is:
ffmpeg -loglevel 40 -re -i http://alarabiya-geo-live.hls.adaptive.level3.net/hls-live/alarabiya-channel01/_definst_/live/stream1.m3u8 -f segment -segment_time 120 ARA%07d.mp4 -f segment -segment_time 120 -ac 1 -ar 16000 ARA%07d.wav
How to reproduce:
% ffmpeg -loglevel 40 -re -i http://alarabiya-geo-live.hls.adaptive.level3.net/hls-live/alarabiya-channel01/_definst_/live/stream1.m3u8 -f segment -segment_time 120 BBC%07d.mp4 -f segment -segment_time 120 -ac 1 -ar 16000 BBC%07d.wav ffmpeg version built on ...
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.
Change History (2)
comment:1 by , 9 years ago
Priority: | important → normal |
---|
comment:2 by , 9 years ago
Resolution: | → needs_more_info |
---|---|
Status: | new → closed |
Feel free to reopen this ticket if you can add the missing information, I tested the following command line and the output files seem to play in-sync:
$ ffmpeg -i http://alarabiya-geo-live.hls.adaptive.level3.net/hls-live/alarabiya-channel01/_definst_/live/stream1.m3u8 -vcodec mpeg4 -qscale 2 -strict -2 -acodec aac -f segment -segment_time 120 BBC%07d.mp4
Please provide the command line that allows to reproduce your issue together with the complete, uncut console output to make this a valid ticket.