Opened 3 years ago

Last modified 3 years ago

#4198 new defect

Concatenate mov files

Reported by: grey88 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 grey88 3 years ago.
mylist
ffmpeg-20141219-181449.log (12.2 KB) - added by grey88 3 years ago.
log file
ffmpeg-20141219-210354.log (319.7 KB) - added by grey88 3 years ago.
new log

Download all attachments as: .zip

Change History (8)

Changed 3 years ago by grey88

mylist

Changed 3 years ago by grey88

log file

comment:2 Changed 3 years ago by cehoyos

  • Component changed from ffmpeg to undetermined
  • Keywords mov mp4 removed
  • Priority changed from important to normal
  • Reproduced by developer unset

Please test current FFmpeg git head.

Changed 3 years ago by grey88

new log

comment:3 Changed 3 years ago by grey88

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

comment:4 follow-up: Changed 3 years ago by 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.

comment:5 in reply to: ↑ 4 Changed 3 years ago by grey88

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.