Opened 12 years ago
Last modified 12 years ago
#1735 new defect
Problems with quicktime reference clips
Reported by: | bastibeckr | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | 0.11.1 | Keywords: | mov |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
Hi, i have tried to convert a quicktime reference clip that links to 2 original files. The clip is made with final cut 7, test-clip. Let me know if you also need the original footage, it's simply some prores footage, but the codec doesn't matter.
How to reproduce:
If the sequence in final cut does not contain a "cut", everything is ok. So i can export a part of a single file, export it as qt reference and encode it with ffmpeg.
But if I add a second clip or even the same clip twice, export the sequence as reference, it will output an error. This only happens with reference clips. The clips are viewable with quicktime player or MPEG Streamclip.
I tried this with "-use_absolute_path 1" and without, always the same error.
Any help is appreciated. Thank you.
16:25:09 sebastianbecker@mpfcps3.studio2010.corp.int ffmpeg_ref_test ffmpeg -loglevel debug -use_absolute_path 1 -i test_ref_multi_2.mov -c:v libx264 test_ref_multi_2.m4v 1 ↵ ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers built on Aug 20 2012 18:45:16 with clang 4.0 ((tags/Apple/clang-421.0.60)) configuration: --prefix=/usr/local/Cellar/ffmpeg/0.11.1 --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-libfreetype --cc=/usr/bin/clang --host-cflags='-Os -w -pipe -march=native -Xclang -target-feature -Xclang -aes -Qunused-arguments -mmacosx-version-min=10.7' --host-ldflags='-L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/lib -L/usr/X11/lib' --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libass --enable-libvo-aacenc --disable-ffplay libavutil 51. 54.100 / 51. 54.100 libavcodec 54. 23.100 / 54. 23.100 libavformat 54. 6.100 / 54. 6.100 libavdevice 54. 0.100 / 54. 0.100 libavfilter 2. 77.100 / 2. 77.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 15.100 / 0. 15.100 libpostproc 52. 0.100 / 52. 0.100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] ISO: File Type Major Brand: qt [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] volume Studio2010, len 10 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] filename test_one.mov, len 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] nlvl from -1, nlvl to -1 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type 0, len 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] dir Basti_Becker [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type 2, len 55 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] path //Volumes/Studio2010/Transfer/Basti_Becker/test_one.mov [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type 14, len 26 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type 15, len 22 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type 18, len 35 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type 19, len 19 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type -1, len 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] volume Studio2010, len 10 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] filename test_two.mov, len 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] nlvl from -1, nlvl to -1 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type 0, len 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] dir Basti_Becker [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type 2, len 55 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] path //Volumes/Studio2010/Transfer/Basti_Becker/test_two.mov [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type 14, len 26 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type 15, len 22 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type 18, len 35 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type 19, len 19 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type -1, len 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] Using absolute path on user request, this is a possible security issue [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] File position before avformat_find_stream_info() is 1163349 [prores @ 0x7fc35b83a600] error, wrong picture data size [prores @ 0x7fc35b83a600] error decoding picture header [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] All info found [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] File position after avformat_find_stream_info() is 288512 Guessed Channel Layout for Input Stream #0.1 : stereo Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test_ref_multi_2.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2012-09-14 14:26:24 Duration: 00:00:04.00, start: 0.000000, bitrate: 2326 kb/s Stream #0:0(eng), 1, 1/25: Video: prores (apcs / 0x73637061), yuv422p10le, 1920x1080, 1/25, 8065 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc Metadata: creation_time : 2012-09-14 14:26:24 handler_name : Apple Alias Data Handler Stream #0:1(eng), 47, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32, 2304 kb/s Metadata: creation_time : 2012-09-14 14:26:24 handler_name : Apple Alias Data Handler Stream #0:2(eng), 0, 1/25: Data: none (tmcd / 0x64636D74) Metadata: creation_time : 2012-09-14 14:26:24 handler_name : Apple Alias Data Handler timecode : 01:00:00:00 File 'test_ref_multi_2.m4v' already exists. Overwrite ? [y/N] y w:1920 h:1080 pixfmt:yuv422p10le tb:1/25 sar:1/1 sws_param:flags=2 [buffersink @ 0x7fc35b4167a0] No opaque field provided [format @ 0x7fc35b416ae0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'format' [scale @ 0x7fc35b416e60] w:1920 h:1080 fmt:yuv422p10le sar:1/1 -> w:1920 h:1080 fmt:yuv422p sar:1/1 flags:0x4 [abuffer source @ 0x7fc35b417400] Setting entry with key 'time_base' to value '1/48000' [abuffer source @ 0x7fc35b417400] Setting entry with key 'sample_rate' to value '48000' [abuffer source @ 0x7fc35b417400] Setting entry with key 'sample_fmt' to value 's32' [abuffer source @ 0x7fc35b417400] Setting entry with key 'channel_layout' to value '0x3' [abuffer @ 0x7fc35b4173a0] tb:1/48000 samplefmt:s32 samplerate: 48000 ch layout:0x3 [aformat filter @ 0x7fc35b4178c0] Setting entry with key 'sample_fmts' to value 's16' [aformat filter @ 0x7fc35b4178c0] Setting entry with key 'channel_layouts' to value '0x4,0x3,0x7,0x107,0x37,0x3f' [aformat @ 0x7fc35b417860] auto-inserting filter 'auto-inserted resampler 0' between the filter 'src' and the filter 'aformat' [aresample @ 0x7fc35b417d80] chl:stereo fmt:s32 r:48000Hz -> chl:stereo fmt:s16 r:48000Hz [libx264 @ 0x7fc35b84a400] using mv_range_thread = 40 [libx264 @ 0x7fc35b84a400] using SAR=1/1 [libx264 @ 0x7fc35b84a400] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 [libx264 @ 0x7fc35b84a400] profile High 4:2:2, level 4.0, 4:2:2 8-bit [libx264 @ 0x7fc35b84a400] 264 - core 125 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 [prores @ 0x7fc35b83a600] detected 8 logical cores Output #0, ipod, to 'test_ref_multi_2.m4v': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2012-09-14 14:26:24 encoder : Lavf54.6.100 Stream #0:0(eng), 0, 1/25: Video: h264 (avc1 / 0x31637661), yuv422p, 1920x1080 [SAR 1:1 DAR 16:9], 1/25, q=-1--1, 25 tbn, 25 tbc Metadata: creation_time : 2012-09-14 14:26:24 handler_name : Apple Alias Data Handler Stream #0:1(eng), 0, 1/48000: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 128 kb/s Metadata: creation_time : 2012-09-14 14:26:24 handler_name : Apple Alias Data Handler Stream mapping: Stream #0:0 -> #0:0 (prores -> libx264) Stream #0:1 -> #0:1 (pcm_s24le -> libfaac)
Change History (2)
comment:1 by , 12 years ago
Component: | FFmpeg → undetermined |
---|---|
Keywords: | mov added; quicktime reference removed |
comment:2 by , 12 years ago
Hi, thanks for your fast response.
I will find out if I can create a clip that contains references to relative paths.
test_two.mov is reported by ffmpeg to be missing. But with other players I can play the clip - it fails in ffmpeg.
if I create a sequence that contains only test_two.mov or one part of it, it will work.
e.g. my sequence looks like:
[test_two.mov] => works [test_two.mov|test_two.mov] => doesn't work [test_two.mov|test_one.mov] => doesn't work
(the source clips may be truncated, but the result must only consist of one clip (no cuts)):
[first-part-of-test_two.mov] => works [first-part-of-test_two.mov|second-part-of-test_two.mov] => won't work
There are no gaps between the cuts, it's comparable to a "playlist". Again, will seems to be valid quicktime because other players don't complain and play the file without any problem.
thanks again, i will try to match your requirements (no ext. libraries, etc) and provide feedback with full output when i'm done.
test_two.mov is missing afaict, and if possible, it would be nice if you could provide a sample with relative paths. Or is that impossible with fc?
Please test current git head.
Generally, please do not cut FFmpeg output but provide complete, uncut output, do not use external libraries if it is not necessary to reproduce the problem and it is appreciated if your command line matches the sample that you provide.