Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#4539 closed defect (fixed)

No useful error message using quicktime reference input with absolute file path

Reported by: Alan Owned by:
Priority: minor Component: avformat
Version: git-master Keywords: mov
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:

Attempting to render a x264 file using a Quicktime Pro 7.6.6 produced reference file.
When rendering using the original mov file FFMPEG does not run into issues, when switching the input to the quicktime reference movie that points to the original.mov FFMPEG hits an error reading the input file.

How to reproduce:
ffmpeg -i /Volumes/storage/rendertemp/in/reference/reference.mov -debug -c:v libx264 /Volumes/storage/rendertemp/in/reference/output.mov

FFMPEG Debug Output :

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 @ 0x7fc089825000] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc089825000] moov atom not found
[AVIOContext @ 0x7fc088d02260] Statistics: 0 bytes read, 0 seeks
/Volumes/storage/rendertemp/in/reference/reference.mov: Invalid data found when processing input

built on ...

ffmpeg version 2.6.2-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=/Users/helmutt/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-libsoxr --enable-libwavpack --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-libmodplug --enable-fontconfig --enable-libfreetype --enable-libass --enable-libbluray --enable-filters --disable-indev=qtkit --disable-indev=x11grab_xcb --enable-runtime-cpudetect

Attachments (1)

files.zip (683.4 KB ) - added by Alan 9 years ago.
original and reference versions

Download all attachments as: .zip

Change History (29)

by Alan, 9 years ago

Attachment: files.zip added

original and reference versions

comment:1 by Carl Eugen Hoyos, 9 years ago

Analyzed by developer: unset
Component: ffmpegavformat
Keywords: mov added
Reproduced by developer: unset

Could you explain why you tested FFmpeg 2.6.2?
Are you a distributor?

comment:2 by Alan, 9 years ago

Tested using the version Mac Port Install delivers. What would be the version of choice to retest ?

comment:3 by Alan, 9 years ago

Performed test once more with FFMPEG 2.6.1

Command:
/Volumes/storage/ffmpeg/2_6_1_7/ffmpeg -i /Volumes/storage/rendertemp/in/reference/reference.mov -debug -c:v libx264 /Volumes/storage/rendertemp/in/reference/output.mov

Results :

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 @ 0x7fb2d900b000] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] ISO: File Type Major Brand: qt
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] volume storage, len 7
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] filename original.mov, len 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] nlvl from 1, nlvl to 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] type 0, len 9
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] dir reference
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] type 16, len 8
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] type 17, len 8
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] type 1, len 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] type 2, len 47
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] path /rendertemp/
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] type 14, len 26
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] type 15, len 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] type 18, len 37
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] type 19, len 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] type -1, len 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] volume storage, len 7
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] filename original.mov, len 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] nlvl from 1, nlvl to 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] type 0, len 9
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] dir reference
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] type 16, len 8
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] type 17, len 8
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] type 1, len 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] type 2, len 47
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] path /rendertemp/
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] type 14, len 26
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] type 15, len 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] type 18, len 37
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] type 19, len 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] type -1, len 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] Before avformat_find_stream_info() pos: 6087 bytes read:6087 seeks:0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb2d900b000] Could not find codec parameters for stream 1 (Video: h264 (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 @ 0x7fb2d900b000] 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 (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 @ 0x7fb2da002e00] Unable to find a suitable output format for 'libx264'
libx264: Invalid argument
[AVIOContext @ 0x7fb2d8d01000] Statistics: 0 bytes read, 0 seeks
[AVIOContext @ 0x7fb2d8e00780] Statistics: 0 bytes read, 1 seeks
[AVIOContext @ 0x7fb2d8c22800] Statistics: 6087 bytes read, 0 seeks

in reply to:  2 comment:4 by Carl Eugen Hoyos, 9 years ago

Replying to alan1523:

Tested using the version Mac Port Install delivers. What would be the version of choice to retest ?

Only current FFmpeg git head is supported here, except for regressions and security issues. We try to explain this on https://ffmpeg.org/bugreports.html - I am curious if the information there is unclear.

in reply to:  2 comment:5 by Carl Eugen Hoyos, 9 years ago

Replying to alan1523:

Tested using the version Mac Port Install delivers.

I thought your binary was from https://evermeet.cx/ffmpeg/ - is that wrong?

comment:6 by Alan, 9 years ago

Only current FFmpeg git head is supported here, except for regressions and security issues. We try to explain this on https://ffmpeg.org/bugreports.html - I am curious if the information there is unclear.
---
Observing from the outside if a person follows the prompts to download FFMPEG , they are pointed to version 2.6.2 by performing the following :

1) https://ffmpeg.org/download.html
2) choose MAC static builds
3) http://evermeet.cx/ffmpeg/
4) The first two downloads are both version 2.6.2
5) The top of the site says ( FFmpeg developers strongly encourage all users to use a current snapshot build instead of a release build. Bug reports are only accepted for snapshot builds.)
6) The snapshot version is undefined in that statement
7) Most users will download the first item shown, seeing as the website owner is placing the highest importance at the top of the page.


I thought your binary was from ​https://evermeet.cx/ffmpeg/ - is that wrong?
---
The original test was done with a repository pull using ( Mac Ports )

The latest test was using a binary version 2.6.1 from ( http://evermeet.cx/ffmpeg/ )

Let me know if that is the correct version to perform tests with.

in reply to:  6 comment:7 by Carl Eugen Hoyos, 9 years ago

Replying to alan1523:

3) http://evermeet.cx/ffmpeg/
4) The first two downloads are both version 2.6.2

This is not what I see (but see below): The first version is current git head and there is a sentence above explaining that you should not use 2.6.2

5) The top of the site says ( FFmpeg developers strongly encourage all users to use a current snapshot build instead of a release build. Bug reports are only accepted for snapshot builds.)
6) The snapshot version is undefined in that statement

7) Most users will download the first item shown, seeing as the website owner is placing the highest importance at the top of the page.

The first item is supposed to be the snapshot.

Is it maybe broken? I didn't test the downlaod...

comment:8 by Alan, 9 years ago

Should testing be done on ( N-72119-g82a6e18-tessus ) ?

if so the following is the test results :

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 @ 0x7fc2a100b000] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] ISO: File Type Major Brand: qt
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] volume storage, len 7
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] filename original.mov, len 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] nlvl from 1, nlvl to 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] type 0, len 9
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] dir reference
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] type 16, len 8
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] type 17, len 8
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] type 1, len 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] type 2, len 47
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] path /rendertemp/
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] type 14, len 26
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] type 15, len 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] type 18, len 37
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] type 19, len 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] type -1, len 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] 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 @ 0x7fc2a100b000] volume storage, len 7
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] filename original.mov, len 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] nlvl from 1, nlvl to 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] type 0, len 9
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] dir reference
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] type 16, len 8
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] type 17, len 8
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] type 1, len 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] type 2, len 47
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] path /rendertemp/
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] type 14, len 26
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] type 15, len 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] type 18, len 37
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] type 19, len 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] type -1, len 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] 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 @ 0x7fc2a100b000] Before avformat_find_stream_info() pos: 6087 bytes read:6087 seeks:0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2a100b000] 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 @ 0x7fc2a100b000] After avformat_find_stream_info() pos: 6087 bytes read:6087 seeks:0 frames:0

in reply to:  6 comment:9 by Carl Eugen Hoyos, 9 years ago

Replying to alan1523:

3) http://evermeet.cx/ffmpeg/
4) The first two downloads are both version 2.6.2

I just tested myself and can confirm that this is not correct.

Valid tickets here contain a command line and the complete, uncut console output: Please do not edit the console output to only show the "important" part.

comment:10 by Alan, 9 years ago

my appologies , here is the full result:

ffmpeg -i /Volumes/storage/rendertemp/in/reference/reference.mov -debug -c:v libx264 /Volumes/storage/rendertemp/in/reference/output.mov
ffmpeg version N-72119-g82a6e18-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 --disable-ffplay --enable-gpl --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxvid --enable-libspeex --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-libsoxr --enable-libwavpack --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-libmodplug --enable-fontconfig --enable-libfreetype --enable-libass --enable-libbluray --disable-indev=qtkit --disable-indev=x11grab_xcb
libavutil 54. 23.101 / 54. 23.101
libavcodec 56. 38.100 / 56. 38.100
libavformat 56. 32.100 / 56. 32.100
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 @ 0x7f990a812800] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] ISO: File Type Major Brand: qt
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] volume storage, len 7
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] filename original.mov, len 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] nlvl from 1, nlvl to 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] type 0, len 9
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] dir reference
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] type 16, len 8
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] type 17, len 8
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] type 1, len 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] type 2, len 47
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] path /rendertemp/
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] type 14, len 26
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] type 15, len 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] type 18, len 37
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] type 19, len 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] type -1, len 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] 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 @ 0x7f990a812800] volume storage, len 7
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] filename original.mov, len 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] nlvl from 1, nlvl to 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] type 0, len 9
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] dir reference
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] type 16, len 8
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] type 17, len 8
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] type 1, len 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] type 2, len 47
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] path /rendertemp/
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] type 14, len 26
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] type 15, len 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] type 18, len 37
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] type 19, len 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] type -1, len 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] 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 @ 0x7f990a812800] Before avformat_find_stream_info() pos: 6087 bytes read:6087 seeks:0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f990a812800] 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 @ 0x7f990a812800] 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 @ 0x7f990a00be00] Unable to find a suitable output format for 'libx264'
libx264: Invalid argument
[AVIOContext @ 0x7f9908c214c0] Statistics: 6087 bytes read, 0 seeks

comment:11 by Carl Eugen Hoyos, 9 years ago

Priority: normalminor
Reproduced by developer: set
Resolution: fixed
Status: newclosed
Summary: Error using quicktime reference input - Invalid data found when processing inputNo useful error message using quicktime reference input with absolute file path
Version: git-master

An error is shown since caa41d1e4c9678286699428aa461b210f05da5c9 to explain the possible use of the (unsafe) use_absolute_path option to open such files.

comment:12 by Alan, 9 years ago

Do the files attached now work with the latest version ?

comment:13 by Alan, 9 years ago

Also , why was the Title of this ticket changed ? The original issue was the rendering of these files was failing ? Is their no longer a ticket to be addressed to see if theses files can be used with FFMPEG ?

comment:14 by Alan, 9 years ago

Resolution: fixed
Status: closedreopened

comment:15 by Carl Eugen Hoyos, 9 years ago

Resolution: fixed
Status: reopenedclosed

Please test current FFmpeg.

comment:16 by Alan, 9 years ago

Resolution: fixed
Status: closedreopened

Do the sample files attached now correctly render ? From the above comments I only see that the error message was modified , i do not see any resolution to the original ticket ? Can you confirm ?

Thanks

comment:17 by Carl Eugen Hoyos, 9 years ago

Resolution: fixed
Status: reopenedclosed

Please do not reopen this ticket without testing current FFmpeg and providing your failing command line including the complete, uncut console output.

comment:18 by Alan, 9 years ago

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

comment:19 by Alan, 9 years ago

Resolution: fixed
Status: closedreopened

in reply to:  18 comment:20 by Carl Eugen Hoyos, 9 years ago

Resolution: fixed
Status: reopenedclosed

Replying to 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

Please either remove -debug from your command line or add the necessary parameter.

comment:21 by Alan, 9 years ago

Resolution: fixed
Status: closedreopened

Removed the -debug flag as indicated. Results below.

PS: Any chance you can confirm you have been able to successfully render these files ?

ffmpeg -use_absolute_path 1 -i /Volumes/storage/rendertemp/in/reference/reference.mov -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

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f942a813800] Using absolute path on user request, this is a possible security issue
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f942a813800] 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 @ 0x7f942a813800] Using absolute path on user request, this is a possible security issue
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f942a813800] 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 @ 0x7f942a813800] Could not find codec parameters for stream 1 (Video: h264 (avc1 / 0x31637661), none(bt709), 960x540, 1458 kb/s): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
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): 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): Video: h264 (avc1 / 0x31637661), none(bt709), 960x540, 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

[buffer @ 0x7f9429d14340] Unable to parse option value "-1" as pixel format

Last message repeated 1 times

[buffer @ 0x7f9429d14340] Error setting option pix_fmt to value -1.
[graph 0 input from stream 0:1 @ 0x7f9429d0f040] Error applying options to the filter.
Error opening filters!

comment:22 by Carl Eugen Hoyos, 9 years ago

Resolution: fixed
Status: reopenedclosed

Please provide the complete, uncut console output of the following command:

$ ls -l /rendertemp/in/reference/original.mov

And please understand that I do consider it rude if you ask me if I a ticket that I set to "fixed" works for me or not! And please stop reopening this ticket, if there really is an issue with the reference opening code, it is unrelated.

comment:23 by Alan, 9 years ago

My appologies, I was not sure if you get the updates unless I open the ticket. I will leave it closed as requested.

FYI : the path /rendertemp/in/reference/original.mov not a valid path unix path , its missing the volume information:

The command you requested me to perform will fail.

But here it is either way.

ls -l /rendertemp/in/reference/original.mov
ls: /rendertemp/in/reference/original.mov: No such file or directory

It should be :
ls -l /Volumes/storage/rendertemp/in/reference/original.mov
-rw-r--r--@ 1 username wheel 703224 May 7 23:03 /Volumes/storage/rendertemp/in/reference/original.mov

comment:24 by Alan, 9 years ago

Resolution: fixed
Status: closedreopened

cehoyos,

I don't understand why you keep closing the ticket with a pending error ? Is there anything that can be done to resolve the issue ?

If not please let me know so I don't waste both of our time.

Thanks

comment:25 by Carl Eugen Hoyos, 9 years ago

Resolution: fixed
Status: reopenedclosed

You originally opened an invalid ticket.
Instead of closing this ticket, I tried to find a bug in FFmpeg that fits your bug description and found one. I fixed that bug and closed it. It turned out that you meant something else and I opened a ticket that matches your original intentions.

I am sorry if you expected me to immediately guess your issue, I failed miserably.

comment:26 by Carl Eugen Hoyos, 9 years ago

Additionally, I forgot to point you to ticket #4578 when I opened it, sorry!

Bot since I pointed you to that ticket earlier today, I honestly wonder why you found it useful to reopen this ticket now.

comment:27 by Alan, 9 years ago

cehoyos,

Not a problem, I never new you opened a ticket regarding the failed linking. I would have acknowledged and waited for a resolution.

I was just unsure if anything was moving forward.

Thanks for all the help.

Sorry for the back and forward!

A

in reply to:  27 comment:28 by Carl Eugen Hoyos, 9 years ago

Replying to alan1523:

cehoyos,
Not a problem, I never new you opened a ticket regarding the failed linking.

You couldn't because I forgot to tell you, that's why I told you this morning.

Note: See TracTickets for help on using tickets.