audio encoder not found

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Heinz

audio encoder not found

Postby Heinz » 14 Dec 2003 22:44

hi!

i've compiled ffmpeg from cvs with --enable-pp --enable-a52 --enable-mp3lame and then compiled vlc also from cvs (--enable-v4l)

when i try to stream from my tv-card
vlc -vvv v4l:/dev/video:norm=pal:frequency=543:size=640x480:channel=E6:adev=/dev/dsp:audio=0 --sout '#transcode{vcodec=mp4v,acodec=a52,vb=3000,ab=256,vt=800000,keyint=80,deinterlace}:std{access=udp,mux=ts,url=192.168.0.6:1234}'

i get the picture on my client, but no sound. and the output of vlc is:

[00000342] ffmpeg encoder debug: libavcodec initialized (interface 4696 )
[00000342] ffmpeg encoder error: cannot open encoder
[00000342] ffmpeg encoder debug: libavcodec already initialized
[00000342] ffmpeg encoder error: cannot open encoder
[00000335] stream_out_transcode private error: cannot open encoder
[00000335] stream_out_transcode private error: cannot create audio chain

analog if i try to use acodec=mp3:

[00000342] ffmpeg encoder debug: libavcodec initialized (interface 4696 )
[00000342] ffmpeg encoder error: cannot find encoder MPEG Audio layer 1/2/3
[00000342] ffmpeg encoder debug: libavcodec already initialized
[00000342] ffmpeg encoder error: cannot find encoder MPEG Audio layer 1/2/3

streaming VCD and MP3 works perfect!

what have i done wrong?????

ciao
H.

Guest

Postby Guest » 15 Dec 2003 01:24

Try with acodec=mpga

If this works it would mean that in fact your ffmpeg is not compiled with mp3lame and a52 support (maybe because you have an old libavcodec.a laying around which takes precedence over the new one).

Heinzi

audiocodec not found

Postby Heinzi » 16 Dec 2003 01:18

hi!

same result with mpga.

and i also get the same result on a freshly installed fedora-system, i got video-images on the client, but no video-sound, always "cannot open encoder"

where should the encoder-files reside???

yours
H.

Heinzi

Re: audiocodec not found

Postby Heinzi » 16 Dec 2003 10:45

hi!

since i do not get these error messages when i try to encode a local file by

./vlc --sout '#transcode{vcodec=mp4v,acodec=a52,vb=1500,ab=256,vt=800000,keyint=80,deinterlace}:std{access=udp,mux=ts,url=192.168.0.6:1234}' /data2/Video/AVSEQ01.MPG

i think that the problem is my TV-card and there is a problem on reading from /dev/dsp as audio-input?!?

seems that i have to buy a hauppauge PVR instead ....

best regards
H.

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 16 Dec 2003 10:59

Hmmm. might be a problem with the samplerate of your soundcard input.
Try to play with the "samplerate=" option in the v4l input options.

Heinzi

Re: audiocodec not found - partly solved

Postby Heinzi » 16 Dec 2003 16:21

hi!

perfect tipp!!!! with samplerate=48000 i get no more error messages, but sound on the client. although there is a difference in time (between video- and audio-signal), but i think i have to play around with further settings.

thanks for your great help!!!!!

ciao
H.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 15 guests