Opened 7 years ago

Last modified 7 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)

mylist.txt (95 bytes ) - added by Serghei 7 years ago.
mylist
ffmpeg-20141219-181449.log (12.2 KB ) - added by Serghei 7 years ago.
log file
ffmpeg-20141219-210354.log (319.7 KB ) - added by Serghei 7 years ago.
new log

Download all attachments as: .zip

Change History (8)

by Serghei, 7 years ago

Attachment: mylist.txt added

mylist

by Serghei, 7 years ago

Attachment: ffmpeg-20141219-181449.log added

log file

comment:2 by Carl Eugen Hoyos, 7 years ago

Component: ffmpegundetermined
Keywords: mov mp4 removed
Priority: importantnormal
Reproduced by developer: unset

Please test current FFmpeg git head.

by Serghei, 7 years ago

Attachment: ffmpeg-20141219-210354.log added

new log

comment:3 by Serghei, 7 years ago

the same result
ffmpeg stucks and impossible time value time=01:13:30.99

comment:4 by Nicolas George, 7 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.

in reply to:  4 comment:5 by Serghei, 7 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 ?

  1. i think the problem keeps in streams positions
  2. 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

Note: See TracTickets for help on using tickets.