Opened 10 years ago
Last modified 10 years ago
#4198 new defect
Concatenate mov files
Reported by: | Serghei | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | git-master | Keywords: | concat |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
I have a pipeline who records n video segments . (mov files) .
n = [0 .. 100];
and at this time i'm using ffmpeg for upload live stream to server.
without any codec changes.
Some time one of segments, have swapped streams
and ffmpeg stuck at this segment .
the command for ffmpeg
How to reproduce:
% ffmpeg -re -loglevel debug -report -f concat -i /Users/pc/movies/mylist.txt -c copy -f flv test_bug_concat.flv ffmpeg version 2.4.2 built on Oct 24 2014 15:02:40 with Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn) file mylist.txt contains file '/Users/pc/movies/0.mov' duration 00:01:00 ... file '/Users/pc/movies/n.mov' duration 00:01:00
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.
Attachments (3)
Change History (8)
by , 10 years ago
Attachment: | mylist.txt added |
---|
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Component: | ffmpeg → undetermined |
---|---|
Keywords: | mov mp4 removed |
Priority: | important → normal |
Reproduced by developer: | unset |
Please test current FFmpeg git head.
comment:3 by , 10 years ago
the same result
ffmpeg stucks and impossible time value time=01:13:30.99
follow-up: 5 comment:4 by , 10 years ago
H.264 inside MP4/MOV is not concatenatable. The concat demuxer can make it so, you need to use the -auto_convert
option to enable it.
comment:5 by , 10 years ago
Replying to Cigaes:
H.264 inside MP4/MOV is not concatenatable. The concat demuxer can make it so, you need to use the
-auto_convert
option to enable it.
do you tried to concatinate files from attachments whith this command ?
- i think the problem keeps in streams positions
- in mov files are same stream positions, concat procces will be successful.
So, i used command ffmpeg -re -loglevel debug -report -y -auto_convert 1 -f concat -i /Users/pc/movies/mylist.txt -c copy -f flv test_bug_concat.flv
the same result. Please see report file https://dl.dropboxusercontent.com/u/12422721/ffmpeg-20150102-141828.log
mylist