3.0.0-a5: Option lavcopts: Unknown suboption crf
3.0.0-a5: Option lavcopts: Unknown suboption crf
I was playing around with h.264 transcoding and bandwidth settings to see how it handle low bandwidth and I got this error
Code: Select all
INFO 2013-09-12 20:21:40.829 [New I/O worker #2] Starting transcode/remux of test.mkv
DEBUG 2013-09-12 20:21:40.832 [New I/O worker #2] Launching transcode with media info: container: mkv / bitrate: 7236673 / size: 7085523240 / codecV: h264 / duration: 02:10:32.00 / width: 1280 / height: 534 / frameRate: 23.976 / thumb size : 1587 / muxingMode: null
audio: id=0 / lang: en / flavor: null / codec: dts / sf:48000 / na: 6 / bs: 24
audio: id=1 / lang: en / flavor: null / codec: ogg / sf:48000 / na: 2 / bs: 16
sub: id=0 / lang: en / flavor: null / type: SUBRIP
sub: id=1 / lang: en / flavor: null / type: SUBRIP
sub: id=2 / lang: fr / flavor: null / type: VOBSUB
sub: id=3 / lang: nl / flavor: null / type: VOBSUB
sub: id=4 / lang: el / flavor: null / type: VOBSUB
sub: id=5 / lang: ar / flavor: null / type: VOBSUB
sub: id=6 / lang: ru / flavor: null / type: VOBSUB
sub: id=7 / lang: uk / flavor: null / type: VOBSUB
sub: id=8 / lang: bg / flavor: null / type: VOBSUB
sub: id=9 / lang: lv / flavor: null / type: VOBSUB
sub: id=10 / lang: lt / flavor: null / type: VOBSUB
sub: id=11 / lang: et / flavor: null / type: VOBSUB
sub: id=12 / lang: it / flavor: null / type: SUBRIP
sub: id=13 / lang: sv / flavor: null / type: SUBRIP
sub: id=14 / lang: no / flavor: null / type: SUBRIP
sub: id=15 / lang: da / flavor: null / type: SUBRIP
sub: id=16 / lang: fi / flavor: null / type: SUBRIP
sub: id=17 / lang: pl / flavor: null / type: SUBRIP
sub: id=118 / lang: und / flavor: null / type: SUBRIP
DEBUG 2013-09-12 20:21:40.834 [New I/O worker #2] Reading maximum_bitrate: default: "110", previous: "24", current: "30"
DEBUG 2013-09-12 20:21:40.850 [New I/O worker #2] Creating pipe \\.\pipe\mencoder1379028100850
DEBUG 2013-09-12 20:21:40.966 [Thread-36] Waiting for pipe connection \\.\pipe\mencoder1379028100850
DEBUG 2013-09-12 20:21:40.967 [mencoder.exe-6] Starting C:\UMS\win32\mencoder.exe -ss 0 C:\Peliculas\test\test.mkv -msglevel statusline=2 -oac lavc -of lavf -lavfopts format=mpegts -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 6 -lavdopts debug=0:threads=4 -lavcopts autoaspect=1:vcodec=libx264:acodec=ac3:abitrate=640:threads=4:o=preset=superfast,crf=19,g=250,i_qfactor=0.71,qcomp=0.6,level=4.1,weightp=0,8x8dct=0,aq-strength=0:crf=19,:vrc_maxrate=14000:vrc_buf_size=5000 -ass -ass-color ffffff00 -ass-border-color 00000000 -ass-font-scale 1.4 -font C:\Windows\Fonts\Arial.ttf -ass-force-style FontName=C:\Windows\Fonts\Arial.ttf,Outline=1,Shadow=1,MarginV=10 -noflip-hebrew -fontconfig -subcp cp1252 -aid 0 -nosub -sub C:\Peliculas\test\test.srt -ofps 24000/1001 -vf expand=-0:-2,softskip -lavdopts fast -mc 0 -noskip -af lavcresample=48000 -srate 48000 -o \\.\pipe\mencoder1379028100850
DEBUG 2013-09-12 20:21:40.974 [mencoder.exe-6] Reading pipe: \\.\pipe\mencoder1379028100850
DEBUG 2013-09-12 20:21:40.974 [mencoder.exe-6] Attaching thread: mencoder.exe-6
DEBUG 2013-09-12 20:21:41.014 [Thread-40] MEncoder SB52 (C) 2000-2013 MPlayer Team
DEBUG 2013-09-12 20:21:41.015 [Thread-40] Custom build by SubJunk, http://www.spirton.com
DEBUG 2013-09-12 20:21:41.015 [Thread-40]
DEBUG 2013-09-12 20:21:41.016 [Thread-40]
DEBUG 2013-09-12 20:21:41.016 [Thread-39] Option lavcopts: Unknown suboption crf
DEBUG 2013-09-12 20:21:41.016 [Thread-40] Exiting... (error parsing command line)
DEBUG 2013-09-12 20:21:41.016 [Thread-39] Error parsing option on the command line: -lavcopts
INFO 2013-09-12 20:21:41.018 [mencoder.exe-6] Process C:\UMS\win32\mencoder.exe has a return code of 1! Maybe an error occurred... check the log file
Re: 3.0.0-a5: Option lavcopts: Unknown suboption crf
Comparing the command line generated for H.264 on 2.6.5 vs the one on 3.0.0-a5 I found this:
2.6.5 (works)
2.6.5 (works)
3.0.0-a5 (fails with the crf error):-lavcopts autoaspect=1:vcodec=libx264:acodec=ac3:abitrate=640:threads=4:o=preset=superfast,crf=20,g=250,i_qfactor=0.71,qcomp=0.6,level=4.1,weightp=0,8x8dct=0,aq-strength=0:keyint=25:vqmax=5:vqmin=2:vrc_maxrate=14000:vrc_buf_size=5000
Apparently it's concatenating the "crf" value where the mpeg2 quality settings used to be.-lavcopts autoaspect=1:vcodec=libx264:acodec=ac3:abitrate=640:threads=4:o=preset=superfast,crf=19,g=250,i_qfactor=0.71,qcomp=0.6,level=4.1,weightp=0,8x8dct=0,aq-strength=0:crf=19,:vrc_maxrate=14000:vrc_buf_size=5000
Re: 3.0.0-a5: Option lavcopts: Unknown suboption crf
Thanks for reporting this. It will be fixed in a6, and if you want the fix now you can build from the latest code (on Windows you can use our one-click compiler UMSBuilder)