Page 1 of 1

cannot find encoder Dirac

Posted: 28 Jan 2011 22:36
by andrixnet
VLC-1.1.6 official build.
I tried to convert a file to Dirac format and got the following in the Messages :

Code: Select all

avcodec error: cannot find encoder Dirac *** Your FFMPEG installation is crippled. *** *** Please check with your FFMPEG packager. *** *** This is NOT a VLC media player issue. ***
VLC has libdirac_plugin.dll, in the preferences Dirac encoder is present, selectable and with options.
AFAIK VLC is a self-contained player/encoder of many formats and does not depend on system/external codecs.

What am I missing ?

P.S.
I got a similar error with Theora, until I installed Xiph.org's opencodec pack.
So VLC does indeed depend on external codecs and libtheora_plugin.dll is only a decoder and libavcodec_plugin.dll does not contain support for Theora ?

Re: cannot find encoder Dirac

Posted: 29 Jan 2011 14:39
by VLC_help
Installing any additional codecs shouldn't matter. And it seems libdirac isn't used (avcodec error), which would either suggest that there is priority issue in VLC or that libdirac has a bug. How did you init the conversion? (via GUI, command-line or)

Re: cannot find encoder Dirac

Posted: 29 Jan 2011 16:12
by andrixnet
It is a fresh install, with default settings, I put VLC-1.1.5 first, then, seeing a new version is available, I upgraded.
XP is clean, fresh, with ffdshow from 2010-09.

1) Dirac : I used the GUI : File->Convert/Save->choose file->stream->select Dirac+AAC preset profile

2) Theora : I used the GUI : File->Convert/Save->choose file->stream->select Theora+Vorbis preset profile
This complained about missing Theora from Xiph.org.

3) I installed opencodec pack from Xiph.org and then 2) worked.

Re: cannot find encoder Dirac

Posted: 30 Jan 2011 14:46
by VLC_help
Thanks.
1. Encoding should work, albeit there is a error message. Just close the message dialog. I try to do something for this.
2. It should work without any additional installs. At least it does for me.

Re: cannot find encoder Dirac

Posted: 30 Jan 2011 22:02
by andrixnet
1), 2) well, it does not. I've tested on another freshly installed system, VLC-1.1.6. Same behaviour for 1) and 2).

I understand it works for you "out of the box", but it doesn't seem to be the case for me.
Please, tell me what can I do more to locate the problem.
Thank you.

Re: cannot find encoder Dirac

Posted: 31 Jan 2011 19:52
by VLC_help
Please, tell me what can I do more to locate the problem.
Open Tools -> Messages (set Verbosity to 2) before you do any conversion. The message dialog will complain when something happens.

Re: cannot find encoder Dirac

Posted: 31 Jan 2011 22:30
by andrixnet

Code: Select all

main debug: using sout chain=`transcode{vcodec=drac,vb=800,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100}:file{dst='d:\test.mkv'}' [...] main debug: set config option: sout-transcode-vcodec to drac main debug: set config option: sout-transcode-vb to 800 main debug: set config option: sout-transcode-scale to 1 main debug: set config option: sout-transcode-acodec to mp4a main debug: set config option: sout-transcode-ab to 128 main debug: set config option: sout-transcode-channels to 2 main debug: set config option: sout-transcode-samplerate to 44100 stream_out_transcode debug: codec audio=mp4a 44100Hz 2 channels 128Kb/s stream_out_transcode debug: codec video=drac 0x0 scaling: 1.000000 800kb/s [...] stream_out_transcode debug: creating video transcoding from fcc=`mp4v' to fcc=`drac' main debug: looking for decoder module: 34 candidates avcodec debug: libavcodec already initialized avcodec debug: trying to use direct rendering avcodec debug: ffmpeg codec (MPEG-4 Video) started main debug: using decoder module "avcodec" main debug: TIMER module_need() : 17.000 ms - Total 17.000 ms / 1 intvls (Avg 17.000 ms) main debug: looking for encoder module: 12 candidates avcodec debug: libavcodec already initialized avcodec error: cannot find encoder Dirac *** Your FFMPEG installation is crippled. *** *** Please check with your FFMPEG packager. *** *** This is NOT a VLC media player issue. *** main debug: using encoder module "dirac" main debug: TIMER module_need() : 9.000 ms - Total 9.000 ms / 1 intvls (Avg 9.000 ms) main debug: removing module "dirac" main debug: Decoder buffering done in 199 ms avcodec debug: using direct rendering stream_out_transcode debug: decoder aspect is 1.777778:1 stream_out_transcode debug: source pixel aspect is 1.000000:1 stream_out_transcode debug: scaled pixel aspect is 1.000000:1 stream_out_transcode debug: source 704x396, destination 704x396 stream_out_transcode debug: encoder aspect is 704:396 stream_out_transcode debug: destination (after video filters) 704x396 main debug: looking for encoder module: 12 candidates avcodec debug: libavcodec already initialized avcodec error: cannot find encoder Dirac *** Your FFMPEG installation is crippled. *** *** Please check with your FFMPEG packager. *** *** This is NOT a VLC media player issue. ***
As I see, 2 is the highest debug level that can be set.
Also, while doing nothing else but scrolling through the messages window, VLC crashed. I got this 5 times in a row, with 2 different input files.