[FFmpeg-trac] #4539(avformat:closed): No useful error message using quicktime reference input with absolute file path

FFmpeg trac at avcodec.org
Tue May 26 23:23:09 CEST 2015


#4539: No useful error message using quicktime reference input with absolute file
path
------------------------------------+------------------------------------
             Reporter:  alan1523    |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  minor       |                Component:  avformat
              Version:  git-master  |               Resolution:  fixed
             Keywords:  mov         |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by alan1523):

 ffmpeg -use_absolute_path 1 -i
 /Volumes/storage/rendertemp/in/reference/reference.mov -debug -c:v libx264
 /Volumes/storage/rendertemp/in/reference/output.mov
 ffmpeg version N-72460-gc5a07f1-tessus Copyright (c) 2000-2015 the FFmpeg
 developers
   built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM
 3.5svn)
   configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --as=yasm
 --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl
 --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm
 --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
 --enable-libopencore-amrwb --enable-libopus --enable-libschroedinger
 --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab
 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-
 libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-
 libxavs --enable-libxvid --enable-libzmq --enable-version3 --disable-
 ffplay --disable-indev=qtkit --disable-indev=x11grab_xcb
   libavutil      54. 23.101 / 54. 23.101
   libavcodec     56. 40.100 / 56. 40.100
   libavformat    56. 33.101 / 56. 33.101
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 16.101 /  5. 16.101
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
  matched as AVOption 'debug' with argument '-c:v'.
 Reading option 'libx264' ... matched as output file.
 Reading option '/Volumes/storage/rendertemp/in/reference/output.mov' ...
 matched as output file.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Successfully parsed a group of options.
 Parsing a group of options: input file
 /Volumes/storage/rendertemp/in/reference/reference.mov.
 Successfully parsed a group of options.
 Opening an input file:
 /Volumes/storage/rendertemp/in/reference/reference.mov.
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] Format mov,mp4,m4a,3gp,3g2,mj2
 probed with size=2048 and score=100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] ISO: File Type Major Brand: qt
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] volume storage, len 7
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] filename original.mov, len 12
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] nlvl from 1, nlvl to 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] type 0, len 9
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] dir reference
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] type 16, len 8
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] type 17, len 8
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] type 1, len 12
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] type 2, len 47
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] path /rendertemp/
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] type 14, len 26
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] type 15, len 16
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] type 18, len 37
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] type 19, len 16
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] type -1, len 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] Using absolute path on user
 request, this is a possible security issue
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] stream 0, error opening alias:
 path='/rendertemp/in/reference/original.mov', dir='reference',
 filename='original.mov', volume='storage', nlvl_from=1, nlvl_to=1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] volume storage, len 7
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] filename original.mov, len 12
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] nlvl from 1, nlvl to 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] type 0, len 9
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] dir reference
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] type 16, len 8
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] type 17, len 8
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] type 1, len 12
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] type 2, len 47
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] path /rendertemp/
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] type 14, len 26
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] type 15, len 16
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] type 18, len 37
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] type 19, len 16
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] type -1, len 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] Using absolute path on user
 request, this is a possible security issue
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] stream 1, error opening alias:
 path='/rendertemp/in/reference/original.mov', dir='reference',
 filename='original.mov', volume='storage', nlvl_from=1, nlvl_to=1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] Before
 avformat_find_stream_info() pos: 6087 bytes read:6087 seeks:0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] Could not find codec parameters
 for stream 1 (Video: h264, 1 reference frame (avc1 / 0x31637661),
 none(bt709, left), 960x540, 1/1200, 1458 kb/s): unspecified pixel format
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd6e180b000] After
 avformat_find_stream_info() pos: 6087 bytes read:6087 seeks:0 frames:0
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
 '/Volumes/storage/rendertemp/in/reference/reference.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2015-05-08 03:03:11
   Duration: 00:00:03.58, bitrate: 13 kb/s
     Stream #0:0(eng), 0, 1/48000: Audio: aac (mp4a / 0x6134706D), 48000
 Hz, stereo, fltp, 103 kb/s (default)
     Metadata:
       creation_time   : 2015-05-08 03:03:14
       handler_name    : Apple Alias Data Handler
     Stream #0:1(eng), 0, 1/600: Video: h264, 1 reference frame (avc1 /
 0x31637661), none(bt709, left), 960x540, 1/1200, 1458 kb/s, 25.42 fps, 25
 tbr, 600 tbn, 1200 tbc (default)
     Metadata:
       creation_time   : 2015-05-08 03:03:14
       handler_name    : Apple Alias Data Handler
       encoder         : H.264
 Successfully opened the file.
 Parsing a group of options: output file libx264.
 Successfully parsed a group of options.
 Opening an output file: libx264.
 [NULL @ 0x7fd6e1832c00] Unable to find a suitable output format for
 'libx264'
 libx264: Invalid argument
 [AVIOContext @ 0x7fd6e14228c0] Statistics: 6087 bytes read, 0 seeks

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4539#comment:18>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list