[FFmpeg-trac] #6142(undetermined:new): concat with safe 0 don't work if another list is included
FFmpeg
trac at avcodec.org
Sun Feb 12 22:03:24 EET 2017
#6142: concat with safe 0 don't work if another list is included
-------------------------------------+-------------------------------------
Reporter: jb_alvarado | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
ffmpeg allows to include other lists in a concat file. For example:
{{{
ffconcat version 1.0
file 'd://stream/video.mkv'
duration 20.108000
file 'd://stream/concat2.list'
}}}
With the parameter '''-safe 0''' it is possible to use unsafe
paths/filenames. But only in the main list, not in the referenced list.
How to reproduce:
Write two file lists, with unsafe names, and put one list in the other.
ffmpeg command:
{{{
ffmpeg -safe 0 -i /d/stream/concat.list -f opengl "test"
}}}
ffmpeg output:
{{{
ffmpeg version N-83490-g79d232fc9f Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 6.3.0 (Rev1, Built by MSYS2 project)
configuration: --enable-avisynth --enable-gmp --enable-libmp3lame
--enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libx265
--disable-w32threads --enable-decklink --enable-fontconfig --enable-
libcaca --enable-libfreetype --enable-libfribidi --enable-libmfx --enable-
libtwolame --
enable-libvidstab --enable-libzimg --enable-opencl --enable-opengl
--enable-libfdk-aac --enable-librubberband --enable-libssh --enable-gpl
--enable-version
3 --enable-nonfree --disable-debug
libavutil 55. 46.100 / 55. 46.100
libavcodec 57. 79.100 / 57. 79.100
libavformat 57. 66.102 / 57. 66.102
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 73.100 / 6. 73.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
[matroska,webm @ 000001a1f63e3b00] Auto-inserting h264_mp4toannexb
bitstream filter
Input #0, concat, from 'D:/stream/concat.list':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuv420p(progressive), 1024x576 [SAR
1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc
Metadata:
BPS : 623367
BPS-eng : 623367
DURATION : 00:00:20.000000000
DURATION-eng : 00:00:20.000000000
NUMBER_OF_FRAMES: 500
NUMBER_OF_FRAMES-eng: 500
NUMBER_OF_BYTES : 1558419
NUMBER_OF_BYTES-eng: 1558419
_STATISTICS_WRITING_APP: mkvmerge v9.6.0 ('Slave To Your Mind')
64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v9.6.0 ('Slave To Your Mind')
64bit
_STATISTICS_WRITING_DATE_UTC: 2016-12-14 17:20:46
_STATISTICS_WRITING_DATE_UTC-eng: 2016-12-14 17:20:46
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp
Metadata:
BPS : 125591
BPS-eng : 125591
DURATION : 00:00:20.108000000
DURATION-eng : 00:00:20.108000000
NUMBER_OF_FRAMES: 866
NUMBER_OF_FRAMES-eng: 866
NUMBER_OF_BYTES : 315674
NUMBER_OF_BYTES-eng: 315674
_STATISTICS_WRITING_APP: mkvmerge v9.6.0 ('Slave To Your Mind')
64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v9.6.0 ('Slave To Your Mind')
64bit
_STATISTICS_WRITING_DATE_UTC: 2016-12-14 17:20:46
_STATISTICS_WRITING_DATE_UTC-eng: 2016-12-14 17:20:46
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[opengl outdev @ 000001a1f63dad00] SDL driver: 'windows'.
Output #0, opengl, to 'test':
Metadata:
encoder : Lavf57.66.102
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1024x576
[SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
Metadata:
BPS : 623367
BPS-eng : 623367
DURATION : 00:00:20.000000000
DURATION-eng : 00:00:20.000000000
NUMBER_OF_FRAMES: 500
NUMBER_OF_FRAMES-eng: 500
NUMBER_OF_BYTES : 1558419
NUMBER_OF_BYTES-eng: 1558419
_STATISTICS_WRITING_APP: mkvmerge v9.6.0 ('Slave To Your Mind')
64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v9.6.0 ('Slave To Your Mind')
64bit
_STATISTICS_WRITING_DATE_UTC: 2016-12-14 17:20:46
_STATISTICS_WRITING_DATE_UTC-eng: 2016-12-14 17:20:46
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
encoder : Lavc57.79.100 rawvideo
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[concat @ 000001a1fd654d00] Unsafe file name 'Derrol Sawyer # Still With
Thee # 02-13.mkv'
[concat @ 000001a1f63d28a0] Impossible to open 'd://stream/concat2.list'
D:/stream/concat.list: Operation not permitted
D:/stream/concat.list: I/O error
Last message repeated 9 times
frame= 500 fps= 57 q=-0.0 Lsize=N/A time=00:00:20.00 bitrate=N/A
speed=2.26x
video:432000kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6142>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list