Opened 4 years ago
Closed 3 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: | cus | 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)
Changed 4 years ago by fabienst
Changed 4 years ago by fabienst
Changed 4 years ago by fabienst
comment:1 Changed 4 years ago by fabienst
- Summary changed from Segfault when using concat input (ffconcat) created with dvd2concat to 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 Changed 4 years ago by cehoyos
- Keywords crash added
- Priority changed from normal to important
comment:3 Changed 4 years ago by fabienst
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 Changed 3 years ago by cus
- Cc cus added
- Resolution set to fixed
- Status changed from new to closed
Fixed in 37d472a906bd9112225129fc35d9c94ae2ee9c3e.
input file (ffconcat file with 18streams)