Log in

View Full Version : ffmpeg QDMC error on second pass


pcooke2002
23rd December 2011, 21:12
Thought someone here may know the answer to this.


Ok We had installed a runnable version of ffmpeg on my mac and the centos (linux vm) and were able to 2 pass aac encode the file.
on the second pass. the following used to be successful.

But based on on various postings we deiced switch to faac and recompile ffmpeg with the --enable-libfaac. but am getting "Decoder (codec qdmc) not found for input stream #0:1" on the second pass(in red at bottom) for both acodec of aac and libfaac.

Google is not showing anything on, what I need to do to enabable qdmc. I really need to be able to read in those old quick time videos and convert them.
Any one know how to enable the qdmc decoder???
--------COMMANDS EXECUTED BELOW HERE---------------

ffmpeg -i generations.mov -an -pass 1 -vcodec libx264 -coder 1 -flags +loop -cmp +chroma -partitions -parti8x8-parti4x4-partp8x8-partb8x8 -me_method dia -subq 2 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 2 -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -bf 3 -refs 1 -directpred 3 -trellis 0 -flags2 +bpyramid-mixed_refs+wpred-dct8x8+fastpskip -wpredp 2 -rc_lookahead 50 -g 60 -threads 0 -ab 64k -ar 22050 -b 448.0k -bt 448.0k -y ../output/generations.mov.mp4
...........OUTPUT DELETED.........


ffmpeg -i generations.mov -acodec libfaac -pass 2 -vcodec libx264 -coder 1 -flags +loop -cmp +chroma -partitions +parti8x8+parti4x4+partp8x8+partb8x8 -me_method umh -subq 8 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 2 -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -bf 3 -refs 5 -directpred 3 -trellis 1 -flags2 +bpyramid+mixed_refs+wpred+dct8x8+fastpskip -wpredp 2 -rc_lookahead 50 -threads 0 -g 60 -ab 64k -ar 22050 -b 448.0k -bt 448.0k -y ../output/generations.mov.mp4
ffmpeg version N-36033-g7028c9f, Copyright (c) 2000-2011 the FFmpeg developers
built on Dec 22 2011 08:15:19 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-memalign-hack --enable-libmp3lame --enable-nonfree --enable-libfaac --enable-libx264 --enable-libmp3lame --enable-gpl --enable-version3 --enable-avconv
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 46. 1 / 53. 46. 1
libavformat 53. 27. 0 / 53. 27. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x191cd760] multiple edit list entries, a/v desync might occur, patch welcome
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x191cd760] max_analyze_duration 5000000 reached at 5015510

Seems stream 0 codec frame rate differs from container frame rate: 600.00 (600/1) -> 15.00 (15/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'generations.mov':
Metadata:
creation_time : 2001-11-28 12:17:04
Duration: 00:01:01.92, start: 0.000000, bitrate: 306 kb/s
Stream #0:0(eng): Video: svq1 (SVQ1 / 0x31515653), yuv410p, 256x192, 289 kb/s, 15 fps, 15 tbr, 600 tbn, 600 tbc
Metadata:
creation_time : 2001-11-28 12:17:04
handler_name : ?Apple Alias Data Handler
Stream #0:1(eng): Audio: qdmc (QDMC / 0x434D4451), 11025 Hz, 1 channels
Metadata:
creation_time : 2001-11-28 12:17:04
handler_name : ?Apple Alias Data Handler
Please use -b:a or -b:v, -b is ambiguous
Incompatible pixel format 'yuv410p' for codec 'libx264', auto-selecting format 'yuv420p'
[buffer @ 0x191df1c0] w:256 h:192 pixfmt:yuv410p tb:1/1000000 sar:0/1 sws_param:
[buffersink @ 0x191e4da0] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out'
[scale @ 0x191de760] w:256 h:192 fmt:yuv410p -> w:256 h:192 fmt:yuv420p flags:0x4
[libx264 @ 0x191e55e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle Cache64
[libx264 @ 0x191e55e0] profile High, level 1.3
[libx264 @ 0x191e55e0] 264 - core 120 r2120 0c7dab9 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:0:0 analyse=0x3:0x113 me=umh subme=8 psy=0 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=60 keyint_min=25 scenecut=40 intra_refresh=0 rc=2pass mbtree=0 bitrate=448 ratetol=1.0 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 cplxblur=20.0 qblur=0.5 ip_ratio=1.40 pb_ratio=1.30 aq=1:1.00
Output #0, mp4, to '../output/generations.mov.mp4':
Metadata:
creation_time : 2001-11-28 12:17:04
Stream #0:0(eng): Video: h264, yuv420p, 256x192, q=10-51, pass 2, 448 kb/s, 90k tbn, 15 tbc
Metadata:
creation_time : 2001-11-28 12:17:04
handler_name : ?Apple Alias Data Handler
Stream #0:1(eng): Audio: aac, 22050 Hz, 1 channels, s16, 64 kb/s
Metadata:
creation_time : 2001-11-28 12:17:04
handler_name : ?Apple Alias Data Handler
Stream mapping:
Stream #0:0 -> #0:0 (svq1 -> libx264)
Stream #0:1 -> #0:1 (? -> libfaac)
Decoder (codec qdmc) not found for input stream #0:1

tebasuna51
24th December 2011, 00:18
Seems ffmpeg don't support now QDMC, was replaced by QDM2:
http://wiki.multimedia.cx/index.php?title=QDesign_Music_Codec

pcooke2002
27th December 2011, 17:17
Ok can you recommend some tool (preferably free) that will read in QDMC movies and spit out AAC/H262 version.

tebasuna51
28th December 2011, 03:39
Sorry, I don't know.

nm
28th December 2011, 14:20
If it used to work, it should work now or there's a regression.

What do your config.log and config.h files say about QDM2 decoder (which is used to decode QDMC fourcc)? Which ffmpeg version were you using previously and can you post a sample clip that exhibits this problem.