Video but no sound

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Video but no sound

Stephen Holmes
Just messing around with my openSUSE 11.0 install (latest patches up to
RC4/GM).  MP4 video (video podcasts) play just fine, but there's no
audio.  Playing in mplayer is just fine.  

Running with --debug, I get...

[Debug 23:10:42.386] Player state change: Idle -> Loading
** Message: don't know how to handle audio/mpeg, mpegversion=(int)4,
framed=(boolean)true, codec_data=(buffer)1210, rate=(int)44100,
channels=(int)2

So I guess I'm missing something in the mp4 codec, but I have gstreamer
good, bad and ugly present.

Where should I look?  Any ideas?

Steve.


_______________________________________________
Banshee-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/banshee-list
Reply | Threaded
Open this post in threaded view
|

Re: Video but no sound

Gabriel Burt
On Tue, Jun 10, 2008 at 5:11 PM, Stephen Holmes <[hidden email]> wrote:

> Just messing around with my openSUSE 11.0 install (latest patches up to
> RC4/GM).  MP4 video (video podcasts) play just fine, but there's no
> audio.  Playing in mplayer is just fine.
>
> Running with --debug, I get...
>
> [Debug 23:10:42.386] Player state change: Idle -> Loading
> ** Message: don't know how to handle audio/mpeg, mpegversion=(int)4,
> framed=(boolean)true, codec_data=(buffer)1210, rate=(int)44100,
> channels=(int)2

Sounds like you need a mp3 decoder for the audio data.

Gabriel
_______________________________________________
Banshee-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/banshee-list
Reply | Threaded
Open this post in threaded view
|

Re: Video but no sound

Stephen Holmes
On Tue, 2008-06-10 at 17:12 -0500, Gabriel Burt wrote:

> On Tue, Jun 10, 2008 at 5:11 PM, Stephen Holmes <[hidden email]> wrote:
> > Just messing around with my openSUSE 11.0 install (latest patches up to
> > RC4/GM).  MP4 video (video podcasts) play just fine, but there's no
> > audio.  Playing in mplayer is just fine.
> >
> > Running with --debug, I get...
> >
> > [Debug 23:10:42.386] Player state change: Idle -> Loading
> > ** Message: don't know how to handle audio/mpeg, mpegversion=(int)4,
> > framed=(boolean)true, codec_data=(buffer)1210, rate=(int)44100,
> > channels=(int)2
>
> Sounds like you need a mp3 decoder for the audio data.
>

Yeah, I'd thought that originally, so I installed fluendo-mp3 and other
components, aswell as a bunch of other mp2 and mp3 decoders.  The debug
log above though seems to want an version 4 for the mpegversion, so I
was wondering what decoder might help?


> Gabriel

_______________________________________________
Banshee-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/banshee-list
Reply | Threaded
Open this post in threaded view
|

Re: Video but no sound

Christopher James Halse Rogers-3
On Tue, 2008-06-10 at 23:18 +0100, Stephen Holmes wrote:

> On Tue, 2008-06-10 at 17:12 -0500, Gabriel Burt wrote:
> > On Tue, Jun 10, 2008 at 5:11 PM, Stephen Holmes <[hidden email]> wrote:
> > > Just messing around with my openSUSE 11.0 install (latest patches up to
> > > RC4/GM).  MP4 video (video podcasts) play just fine, but there's no
> > > audio.  Playing in mplayer is just fine.
> > >
> > > Running with --debug, I get...
> > >
> > > [Debug 23:10:42.386] Player state change: Idle -> Loading
> > > ** Message: don't know how to handle audio/mpeg, mpegversion=(int)4,
> > > framed=(boolean)true, codec_data=(buffer)1210, rate=(int)44100,
> > > channels=(int)2
> >
> > Sounds like you need a mp3 decoder for the audio data.
> >
>
> Yeah, I'd thought that originally, so I installed fluendo-mp3 and other
> components, aswell as a bunch of other mp2 and mp3 decoders.  The debug
> log above though seems to want an version 4 for the mpegversion, so I
> was wondering what decoder might help?
MPEG 4 audio is also known as AAC, if I remember correctly.
'gst-inspect0.10 faad' on my system suggests that you should be able to
find a decoder in a gstreamer-plugins-bad package from your package
manager of choice.

_______________________________________________
Banshee-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/banshee-list

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Video but no sound

Sandy Armstrong
2008/6/10 Christopher James Halse Rogers <[hidden email]>:

> On Tue, 2008-06-10 at 23:18 +0100, Stephen Holmes wrote:
>> On Tue, 2008-06-10 at 17:12 -0500, Gabriel Burt wrote:
>> > On Tue, Jun 10, 2008 at 5:11 PM, Stephen Holmes <[hidden email]> wrote:
>> > > Just messing around with my openSUSE 11.0 install (latest patches up to
>> > > RC4/GM).  MP4 video (video podcasts) play just fine, but there's no
>> > > audio.  Playing in mplayer is just fine.
>> > >
>> > > Running with --debug, I get...
>> > >
>> > > [Debug 23:10:42.386] Player state change: Idle -> Loading
>> > > ** Message: don't know how to handle audio/mpeg, mpegversion=(int)4,
>> > > framed=(boolean)true, codec_data=(buffer)1210, rate=(int)44100,
>> > > channels=(int)2
>> >
>> > Sounds like you need a mp3 decoder for the audio data.
>> >
>>
>> Yeah, I'd thought that originally, so I installed fluendo-mp3 and other
>> components, aswell as a bunch of other mp2 and mp3 decoders.  The debug
>> log above though seems to want an version 4 for the mpegversion, so I
>> was wondering what decoder might help?
>
> MPEG 4 audio is also known as AAC, if I remember correctly.
> 'gst-inspect0.10 faad' on my system suggests that you should be able to
> find a decoder in a gstreamer-plugins-bad package from your package
> manager of choice.

And if that doesn't work, gstreamer-ffmpeg (gstreamer-0_10-ffmpeg in
oS 11) is usually a pretty good shotgun approach to the codec problem.

Sandy
_______________________________________________
Banshee-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/banshee-list
Reply | Threaded
Open this post in threaded view
|

Re: Video but no sound

Stephen Holmes
In reply to this post by Christopher James Halse Rogers-3
On Wed, 2008-06-11 at 08:57 +1000, Christopher James Halse Rogers wrote:

> MPEG 4 audio is also known as AAC, if I remember correctly.
> 'gst-inspect0.10 faad' on my system suggests that you should be able to
> find a decoder in a gstreamer-plugins-bad package from your package
> manager of choice.

Useful tip Christopher, thanks!  I get the following output (below)... I
guess the part I'm 'not getting' is (1) Is the encoder to content
association made automatically by gtreamer and (2) Is there a way to
force/edit/change an association?


Factory Details:
  Long name: AAC audio decoder
  Class: Codec/Decoder/Audio
  Description: Free MPEG-2/4 AAC decoder
  Author(s): Ronald Bultje <[hidden email]>
  Rank: primary (256)

Plugin Details:
  Name: faad
  Description: Free AAC Decoder (FAAD)
  Filename: /usr/lib/gstreamer-0.10/libgstfaad.so
  Version: 0.10.7
  License: GPL
  Source module: gst-plugins-bad
  Binary package: GStreamer Bad Plug-ins source release
  Origin URL: Unknown package origin


> _______________________________________________
> Banshee-list mailing list
> [hidden email]
> http://mail.gnome.org/mailman/listinfo/banshee-list

_______________________________________________
Banshee-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/banshee-list
Reply | Threaded
Open this post in threaded view
|

Re: Video but no sound

Christopher James Halse Rogers-3
On 6/11/08, Stephen Holmes <[hidden email]> wrote:

> On Wed, 2008-06-11 at 08:57 +1000, Christopher James Halse Rogers wrote:
>
>  > MPEG 4 audio is also known as AAC, if I remember correctly.
>  > 'gst-inspect0.10 faad' on my system suggests that you should be able to
>  > find a decoder in a gstreamer-plugins-bad package from your package
>  > manager of choice.
>
>
> Useful tip Christopher, thanks!  I get the following output (below)... I
>  guess the part I'm 'not getting' is (1) Is the encoder to content
>  association made automatically by gtreamer
Yes.  There are a bunch of typefind elements for exactly this purpose.
 Also, Banshee just uses the playbin element, one of Gstreamer's
auto-plugging bins.

>and (2) Is there a way to
>  force/edit/change an association?
Not that I know of.

The sink caps on faad say that it supports audio/mpeg version 4 (and
2, but that's not interesting).  I'm not sure why it wouldn't be
getting autoplugged.

Does running "gst-launch0.10 playbin
uri=file:///path/to/your/file.mp4" play the file correctly?  You can
add the '-v' parameter to make the playbin output what elements it's
using to decode.
_______________________________________________
Banshee-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/banshee-list