* Michael Hatzold <m.hatz...@web.de> [2014-07-22 15:03 +0200]:

> Am 22.07.2014, 08:41 Uhr, schrieb Elimar Riesebieter <riese...@lxtec.de>:
> 
> Hi,
> 
> severity: normal seems too low, as here it /moc!) doesn't work at all.

As long as there is only one codec out of many many more which can't
be decoded normal is correct. mocp is usable!

> 
> ...
> >It seems that libav is somewhat defect. I came up with a similar
> >behavior. Moving all mp4's out of the directory let me play the
> >others very well.
> 
> I cannot play mp3 even if there are no other files:

Did you tested this with mocp as well?

> avplay "brst01mt.mp3"
> avplay version 10.2-6:10.2-2, Copyright (c) 2003-2014 the Libav developers
>     built on Jul 20 2014 19:34:00 with gcc 4.9 (Debian 4.9.0-9)
> [mp3 @ 0xb2000480] Estimating duration from bitrate, this may be inaccurate
> Input #0, mp3, from 'brst01mt.mp3':
>     Metadata:
>       title           : xxxxxxxxxxxxxxxx
>       artist          : xxxxxxxx
>       album           : xxxxxxxxxxxx
>       date            : xxxxxxx
>       comment         :
>       genre           : xxxxxxxxxxxxxx
>     Duration: 00:03:41.81, start: 0.000000, bitrate: 160 kb/s
>       Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 160 kb/s
> *** Error in `avplay': free(): invalid pointer: 0xb204c200 ***0
> Abgebrochen

Just for clarification:

avplay is out of the libav-tools and has therefore no influence to
the function of moc. But avplay uses the same libraries as the
moc-ffmpeg-plugin:

$ ldd `which avplay` | grep av

        libavdevice.so.54 => /usr/lib/x86_64-linux-gnu/libavdevice.so.54 
(0x00007f4ebe0c3000)
        libavfilter.so.4 => /usr/lib/x86_64-linux-gnu/libavfilter.so.4 
(0x00007f4ebde74000)
        libavformat.so.55 => /usr/lib/x86_64-linux-gnu/libavformat.so.55 
(0x00007f4ebdb3f000)
        libavresample.so.1 => /usr/lib/x86_64-linux-gnu/libavresample.so.1 
(0x00007f4ebd920000)
        libavcodec.so.55 => /usr/lib/x86_64-linux-gnu/libavcodec.so.55 
(0x00007f4ebca43000)
        libavutil.so.53 => /usr/lib/x86_64-linux-gnu/libavutil.so.53 
(0x00007f4ebc5d0000)

$ ldd /usr/lib/moc/decoder_plugins/libffmpeg_decoder.so | grep libav
        libavutil.so.53 => /usr/lib/x86_64-linux-gnu/libavutil.so.53 
(0x00007f7ca3e83000)
        libavcodec.so.55 => /usr/lib/x86_64-linux-gnu/libavcodec.so.55 
(0x00007f7ca2fa6000)
        libavformat.so.55 => /usr/lib/x86_64-linux-gnu/libavformat.so.55 
(0x00007f7ca2c71000)

So from that point of view the failure of playing your codec from a
mp4 container grounds to the responsible libraries provided by the
libav*.so libraries.

> 
> 
> >
> >Could you please try to play a mp4 via avplay? Does it produce
> >sound? If not (a segfault?) we have to reassign this bug to the
> >libbavcodec55 package.
> 
> This is the error with mp4:
> avplay "ambg.mp4"
> avplay version 10.2-6:10.2-2, Copyright (c) 2003-2014 the Libav developers
>     built on Jul 20 2014 19:34:00 with gcc 4.9 (Debian 4.9.0-9)
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ambg.mp4':
>     Metadata:
>       major_brand     : mp42
>       minor_version   : 0
>       compatible_brands: isommp42
>       creation_time   : xxxxxxxxxxxxxxxxxx
>     Duration: 00:02:41.75, start: 0.000000, bitrate: 1803 kb/s
>       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
> 1280x720, 1609 kb/s, 30 fps, 30 tbr, 60 tbn, 60 tbc (default)
>       Metadata:
>         handler_name    : VideoHandler
>       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
> fltp, 192 kb/s (default)
>       Metadata:
>         creation_time   : xxxxxxxxxxxxxxxxxxxxxxx
>         handler_name    : xxxxxxxxxxxxxxxxxxxxxxxxxxxx
> *** Error in `avplay': corrupted double-linked list: 0xb0401e28 ***
> Abgebrochen

You pointed out a bug in the libavcodecs, though.

> After some test on the same hardware, but with a DEBIAN/sid(uction) live
> system it seems the problem has several parts:

[...]

We are talking about an up to date sіd/testing here. We dont't support older
versions nor stable ones (only in security cases, though)

> First conclusion: moc-ffmpeg-plugin has bug with mp4

Not directly. I explained the relation to libav above.

> Now on my regular installation avplay does not work as shown
> above. And this seems to be part two of the problem. I have some
> DMO packages installed, which used to work without problems but
> might or might not be a problem here.  I understand the Debian
> maintainers cannot care about DMO packages (libav-tools here is a
> DMO-package).

A mix of DMO packages and Debian distri is very bad and not
supported. You find everything you need in our sid distribution.

> But I want to mention that downgrading it to Debian libav-tools=6:10.2-1 0
> does not solve the problem.
> 
> Let me know if you need more info.

Before we reassign this bug to libav please show us the output of:

$ ldd `which moc`
$ ldd /usr/lib/moc/decoder_plugins/libffmpeg_decoder.so | grep libav

Move all mp4 containers to a sepearte directory and start mocp to
play mp3's, flac's, ogg's, opus', aac's, spx's, m4a's, wav's, sid's,
wma's ..... just everthing you have available. Does it work?

Elimar
-- 
 Learned men are the cisterns of knowledge,
  not the fountainheads ;-)


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to