Discussion:
[ATrpms-users] ffmpeg audio problem with mythstreamtv
Thomas Börkel
2006-04-04 12:27:48 UTC
Permalink
HI!

I've installed mythstreamtv into MythWeb 0.19 and it works basically.

But I do not get audio, because of this error from vlc:
ffmpeg encoder error: cannot find encoder MPEG Audio layer 1/2/3

I've looked at the .spec file for ffmpeg, and MPEG audio seems to be
enabled (--enable-mp3lame), although the README from mythstreamtv uses
--with-ffmpeg-mp3lame.

Using these packages in FC3:
lame 3.96.1-10.rhfc3.at
ffmpeg 0.4.9-14_cvs20060301.rhfc3.at
videolan-client 0.8.1-2.1.fc3.fr

Any hints?

Thanks!

Thomas
Axel Thimm
2006-04-04 12:49:46 UTC
Permalink
Post by Thomas Börkel
HI!
I've installed mythstreamtv into MythWeb 0.19 and it works basically.
ffmpeg encoder error: cannot find encoder MPEG Audio layer 1/2/3
I've looked at the .spec file for ffmpeg, and MPEG audio seems to be
enabled (--enable-mp3lame), although the README from mythstreamtv uses
lame 3.96.1-10.rhfc3.at
ffmpeg 0.4.9-14_cvs20060301.rhfc3.at
videolan-client 0.8.1-2.1.fc3.fr
Any hints?
I'd first check whether vlc w/o myth/mythstreamtv etc. works with MPEG
Audio layer 1/2/3.
--
Axel.Thimm at ATrpms.net
Thomas Börkel
2006-04-04 13:36:09 UTC
Permalink
HI!
Post by Axel Thimm
Post by Thomas Börkel
ffmpeg encoder error: cannot find encoder MPEG Audio layer 1/2/3
I've looked at the .spec file for ffmpeg, and MPEG audio seems to be
enabled (--enable-mp3lame), although the README from mythstreamtv uses
lame 3.96.1-10.rhfc3.at
ffmpeg 0.4.9-14_cvs20060301.rhfc3.at
videolan-client 0.8.1-2.1.fc3.fr
I'd first check whether vlc w/o myth/mythstreamtv etc. works with MPEG
Audio layer 1/2/3.
It does not, same error:

/usr/bin/vlc -I http --http-host=:8002 --sout-transcode-fps=$FPS
--sout-transcode-deinterlace
/mythtv/backend/video/recordings//7_20060403065000.mpg
":sout=#transcode{vcodec=DIV3,acodec=mp3,vb=300,ab=64,scale=1}:std{access=http{user=$HTTP_USER,pwd=$HTTP_PWD,mime=video/x-ms-asf},mux=asf,url=:8001}"
VLC media player 0.8.1 Janus
[00000228] main interface: creating httpd
[00000302] mpeg_audio packetizer: MPGA channels:2 samplerate:48000
bitrate:384
[00000308] ffmpeg encoder error: cannot find encoder MPEG Audio layer 1/2/3
[00000234] stream_out_transcode private error: cannot find encoder
[00000234] stream_out_transcode private error: cannot create audio chain


That is why I suspected, that the ffmpeg package does have a problem.

Thomas
Thomas Börkel
2006-04-04 14:12:33 UTC
Permalink
HI!
Post by Thomas Börkel
/usr/bin/vlc -I http --http-host=:8002 --sout-transcode-fps=$FPS
--sout-transcode-deinterlace
/mythtv/backend/video/recordings//7_20060403065000.mpg
":sout=#transcode{vcodec=DIV3,acodec=mp3,vb=300,ab=64,scale=1}:std{access=http{user=$HTTP_USER,pwd=$HTTP_PWD,mime=video/x-ms-asf},mux=asf,url=:8001}"
VLC media player 0.8.1 Janus
[00000228] main interface: creating httpd
[00000302] mpeg_audio packetizer: MPGA channels:2 samplerate:48000
bitrate:384
[00000308] ffmpeg encoder error: cannot find encoder MPEG Audio layer 1/2/3
[00000234] stream_out_transcode private error: cannot find encoder
[00000234] stream_out_transcode private error: cannot create audio chain
Apparently it works, if I use mpga instead of mp3 as audio codec.

Thomas
Axel Thimm
2006-04-04 14:24:20 UTC
Permalink
Post by Thomas Börkel
HI!
Post by Axel Thimm
Post by Thomas Börkel
ffmpeg encoder error: cannot find encoder MPEG Audio layer 1/2/3
I've looked at the .spec file for ffmpeg, and MPEG audio seems to be
enabled (--enable-mp3lame), although the README from mythstreamtv uses
lame 3.96.1-10.rhfc3.at
ffmpeg 0.4.9-14_cvs20060301.rhfc3.at
videolan-client 0.8.1-2.1.fc3.fr
I'd first check whether vlc w/o myth/mythstreamtv etc. works with MPEG
Audio layer 1/2/3.
/usr/bin/vlc -I http --http-host=:8002 --sout-transcode-fps=$FPS
/mythtv/backend/video/recordings//7_20060403065000.mpg
":sout=#transcode{vcodec=DIV3,acodec=mp3,vb=300,ab=64,scale=1}:std{access=http{user=$HTTP_USER,pwd=$HTTP_PWD,mime=video/x-ms-asf},mux=asf,url=:8001}"
VLC media player 0.8.1 Janus
[00000228] main interface: creating httpd
[00000302] mpeg_audio packetizer: MPGA channels:2 samplerate:48000
bitrate:384
[00000308] ffmpeg encoder error: cannot find encoder MPEG Audio layer 1/2/3
[00000234] stream_out_transcode private error: cannot find encoder
[00000234] stream_out_transcode private error: cannot create audio chain
That is why I suspected, that the ffmpeg package does have a problem.
Or vlc, since ffmpeg is used quite extensively at other bits at
ATrpms. Try rebuilding vlc.
--
Axel.Thimm at ATrpms.net
Loading...