Opened 7 years ago
Closed 7 years ago
#6434 closed defect (fixed)
Segfault when using concat input (ffconcat) having multiple streams, created with dvd2concat
Reported by: | fabienst | Owned by: | |
---|---|---|---|
Priority: | important | Component: | undetermined |
Version: | git-master | Keywords: | crash |
Cc: | Marton Balint | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Hello,
I want to convert a video dvd with ffmpeg by using dvd2concat tool to generate the input.
I first created a iso image of that dvd (with dvdbackup).
It has to be noted that dvdbackup found read errors on the dvd and had to fix them by filling the blocks. But I'm not sure there are errors in the segment I provide
In order not to upload the full iso I narrowed the issue down and created a smaller subset of the input ffconcat and vob.
With the original ffconcat file having 18 streams this command segfaults:
/mnt/packages/downloads/ffmpeg-git-20170601-64bit-static/ffmpeg -report -v 9 -loglevel 99 -analyzeduration 460000k -probesize 300000k -safe 0 -protocol_whitelist subfile,file,concat -f concat -i dvd2concat-18streams.txt -c:v copy -c:a copy -c:s copy -map 0 -ignore_unknown -f vob dvd2concat-18streams.out.vob
I found the issue seems to come from some of the input streams. So I removed some of them and it works. But I couldn't find any pattern. Here is the new command (same as above but with different input files)
/mnt/packages/downloads/ffmpeg-git-20170601-64bit-static/ffmpeg -report -v 9 -loglevel 99 -analyzeduration 460000k -probesize 300000k -safe 0 -protocol_whitelist subfile,file,concat -f concat -i dvd2concat-14streams.txt -c:v copy -c:a copy -c:s copy -map 0 -ignore_unknown -f vob dvd2concat-14streams.out.vob
Attachments (4)
Change History (8)
by , 7 years ago
Attachment: | ffmpeg-20170601-122841-18streams.log.gz added |
---|
by , 7 years ago
Attachment: | ffmpeg-20170601-122930-14streams.log.gz added |
---|
by , 7 years ago
Attachment: | dvd2concat-18streams.txt added |
---|
by , 7 years ago
Attachment: | dvd2concat-14streams.txt added |
---|
input file (ffconcat file with 14streams)
comment:1 by , 7 years ago
Summary: | Segfault when using concat input (ffconcat) created with dvd2concat → Segfault when using concat input (ffconcat) having multiple streams, created with dvd2concat |
---|
Sample video has been updload to https://streams.videolan.org/upload/
Filename : ffconcat-segfault.in.vob
comment:2 by , 7 years ago
Keywords: | crash added |
---|---|
Priority: | normal → important |
comment:3 by , 7 years ago
BTW converting the vob directly without using "concat" doesn't lead to a crash (I added -map -0:d option)
/mnt/packages/downloads/ffmpeg-git-20170601-64bit-static/ffmpeg -report -v 9 -loglevel 99 -analyzeduration 460000k -probesize 300000k -i ffconcat-segfault.in.vob -c:v copy -c:a copy -c:s copy -map 0 -map -0:d -ignore_unknown -f vob without_concat.vob
comment:4 by , 7 years ago
Cc: | added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fixed in 37d472a906bd9112225129fc35d9c94ae2ee9c3e.
input file (ffconcat file with 18streams)