Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#7841 closed defect (fixed)

MythMusic unable play mp3 file (0 audio channels)

Reported by: otto at kolsi dot fi Owned by: janneg
Priority: minor Milestone: 0.23
Component: MythTV - Video Playback Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

MythMusic is unable to play certain mp3 song cause 0 audio channels are available. This is what is shown in logs:

[dca @ 0xc820c50]Not a valid DCA frame
[dca @ 0xc820c50]Non standard configuration 27 !
2010-01-02 13:05:12.921 AVCodecContext tells us 0 channels are available, this is bad, bailing.

At the same time, all other players (ffplay, mplayer, vlc, xmms, WinAmp?, ...) can play the file. Ffplay output:

$ ffplay 14\ -\ Sensitive\ Kind.mp3
FFplay version SVN-r20557-snapshot, Copyright (c) 2003-2009 Fabrice Bellard, et al.
  built on Nov 22 2009 01:51:55 with gcc 4.4.1 20090725 (Red Hat 4.4.1-2)
  configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables' --disable-stripping
  libavutil     50. 4. 0 / 50. 4. 0
  libavcodec    52.41. 0 / 52.41. 0
  libavformat   52.39. 2 / 52.39. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1. 8. 0 /  1. 8. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
[mp3 @ 0xb3300710]Header missing 0KB vq=    0KB sq=    0B
[mp3 @ 0xb3309f80]max_analyze_duration reached
Input #0, mp3, from '14 - Sensitive Kind.mp3':
  Duration: 00:05:50.15, start: 0.000000, bitrate: 159 kb/s
    Stream #0.0: Audio: mp3, 44100 Hz, 2 channels, s16, 160 kb/s
  Metadata
    TIT2            : Sensitive Kind
    TPE1            : J.J. Cale
    TALB            : The Very Best Of J.J. Cale
    TYER            : 1997
    TRCK            : 14/20
    TCON            : Rock
    TENC            : Exact Audio Copy   (Secure-tila)
[mp3 @ 0xb3300710]Header missing

Change History (7)

comment:1 Changed 10 years ago by otto at kolsi dot fi

Forgot to mention that when this happens, all music playback is stopped. Even if a problem is encountered with one particular song, IMO the player should skip to the next song and log the problem. Maybe this could be improved during MM rewrite..

Of course this particular problem/file should be possible to make playable since all other players can play it.

comment:2 Changed 10 years ago by stuartm

Component: Plugin - MythMusicMythTV - Video Playback

comment:3 Changed 10 years ago by stuartm

Owner: changed from stuartm to janneg
Status: newassigned

comment:4 Changed 10 years ago by robertm

Status: assignedinfoneeded

Still a problem in .23 post-ffmpeg-sync? Your copy of ffplay was much newer than .22's libav* libraries.

comment:5 in reply to:  4 Changed 10 years ago by otto at kolsi dot fi

Replying to robertm:

Still a problem in .23 post-ffmpeg-sync? Your copy of ffplay was much newer than .22's libav* libraries.

This is working now with trunk head, must have been fixed by the ffmpeg-sync.

comment:6 Changed 10 years ago by stuartm

Resolution: fixed
Status: infoneededclosed

comment:7 Changed 10 years ago by stuartm

Milestone: unknown0.23
Note: See TracTickets for help on using tickets.