Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#11597 closed Bug Report - General (fixed)

Mythnews - some audio podcasts stutter before ending with video buffer error

Reported by: dheianevans@… Owned by: JYA
Priority: minor Milestone: 0.27.4
Component: MythTV - Video Decoding Version: 0.26-fixes
Severity: medium Keywords: audio mythnews podcast
Cc: Ticket locked: no

Description

While trying to play the Adam Carolla audio podcast (http://theadamcarollashow.libsyn.com/rss) it skips and stutters before exiting with an error message about video buffers, e.g.

Mar 31 03:08:34 buster mythlogserver: mythfrontend[29506]: I CoreContext streamingringbuffer.cpp:69 (OpenFile) StreamRingBuf(http://www.podtrac.com/pts/redirect.mp3/traffic.libsyn.com/theadamcarollashow/2013.03.22ACS.mp3): Trying http://www.podtrac.com/pts/redirect.mp3/traffic.libsyn.com/theadamcarollashow/2013.03.22ACS.mp3 (allow seeks: 1
Mar 31 03:08:34 buster mythlogserver: mythfrontend[29506]: I CoreContext audio/audiopulsehandler.cpp:322 (SuspendInternal) Pulse: PulseAudio suspend OK
Mar 31 03:08:34 buster mythlogserver: mythfrontend[29506]: N CoreContext audioplayer.cpp:167 (ReinitAudio) AudioPlayer: Enabling Audio
Mar 31 03:08:36 buster mythlogserver: mythfrontend[29506]: I CoreContext avformatdecoder.cpp:2021 (ScanStreams) AFD: codec MP3 has 1 channels
Mar 31 03:08:36 buster mythlogserver: mythfrontend[29506]: I CoreContext avformatdecoder.cpp:2163 (ScanStreams) AFD: Opened codec 0x2a0b380, id(MP3) type(Audio)
Mar 31 03:08:36 buster mythlogserver: mythfrontend[29506]: E CoreContext avformatdecoder.cpp:1958 (ScanStreams) AFD: Unknown video codec - defaulting to MPEG2
Mar 31 03:08:36 buster mythlogserver: mythfrontend[29506]: I CoreContext avformatdecoder.cpp:2163 (ScanStreams) AFD: Opened codec 0x5d80f20, id(MJPEG) type(Video)
Mar 31 03:08:36 buster mythlogserver: mythfrontend[29506]: I CoreContext audio/audiooutputbase.cpp:791 (Reconfigure) AO: Opening audio device 'hdmi:CARD=NVidia_1,DEV=3' ch 2(1) sr 44100 sf signed 16 bit reenc 0
Mar 31 03:08:36 buster mythlogserver: mythfrontend[29506]: I CoreContext mythpainter_ogl.cpp:62 (ClearCache) Clearing OpenGL painter cache.
Mar 31 03:08:36 buster mythlogserver: mythfrontend[29506]: I CoreContext mythrender_vdpau.cpp:1682 (CreatePresentationSurfaces) VDPAU: Created 2 output surfaces.
Mar 31 03:08:36 buster mythlogserver: mythfrontend[29506]: I CoreContext mythrender_vdpau.cpp:402 (Create) VDPAU: Created VDPAU render device 1920x1080
Mar 31 03:08:36 buster mythlogserver: mythfrontend[29506]: E CoreContext mythplayer.cpp:2347 (VideoStart) Player(2): Video sync method can't support double framerate (refresh rate too low for 2x deint)
Mar 31 03:08:36 buster mythlogserver: mythfrontend[29506]: I CoreContext mythplayer.cpp:1752 (InitAVSync) Player(2): Video timing method: USleep with busy wait
Mar 31 03:08:36 buster mythlogserver: mythfrontend[29506]: I CoreContext tv_play.cpp:5240 (StartPlayer) TV: Created player.
Mar 31 03:08:36 buster mythlogserver: mythfrontend[29506]: I CoreContext tv_play.cpp:2394 (HandleStateChange) TV: Changing from None to WatchingVideo
Mar 31 03:08:36 buster mythlogserver: mythfrontend[29506]: I CoreContext tv_play.cpp:2485 (HandleStateChange) TV: Main UI disabled.
Mar 31 03:08:36 buster mythlogserver: mythfrontend[29506]: I CoreContext tv_play.cpp:403 (StartTV) TV: Entering main playback loop.
Mar 31 03:08:36 buster mythlogserver: mythfrontend[29506]: N CoreContext mythplayer.cpp:2093 (PrebufferEnoughFrames) Player(2): Waited 101ms for video buffers
Mar 31 03:08:36 buster mythlogserver: mythfrontend[29506]: N CoreContext mythplayer.cpp:2093 (PrebufferEnoughFrames) Player(2): Waited 203ms for video buffers AAAAAAAAAAAAAAAAAAAAAAAAAAAf
Mar 31 03:08:36 buster mythlogserver: mythfrontend[29506]: N CoreContext mythplayer.cpp:2093 (PrebufferEnoughFrames) Player(2): Waited 304ms for video buffers
Mar 31 03:08:37 buster mythlogserver: mythfrontend[29506]: N CoreContext mythplayer.cpp:2093 (PrebufferEnoughFrames) Player(2): Waited 405ms for video buffers

Change History (6)

comment:1 Changed 11 years ago by mnizod@…

Same problem can be found with mp3 podcast files from here: Tom Barnard Podcast http://www.tombarnardpodcast.com/feed/podcast/

While trying to play, file plays as if it's on fast skip forward, and then after 20-30 seconds MythTV errors with, "Video frame buffering failed too many times "

Running MythFrontEnd? fixes/0.26 (v0.26.1-1-g6a46ea0)

The mp3 files seem to play fine when using other playback means - just not MythTV FE.

comment:2 Changed 11 years ago by mnizod@…

This problem is still occurring, even after upgrading to 0.27.

comment:3 Changed 10 years ago by JYA

Component: Plugin - MythNewsMythTV - Video Decoding
Owner: set to JYA
Status: newaccepted

comment:4 Changed 10 years ago by Jean-Yves Avenard <jyavenard@…>

Resolution: fixed
Status: acceptedclosed

In 9df8bb364ba56cc34d34af40e5980110193bd334/mythtv:

Don’t attempt to play the video streams for mp3, flac, off and m4a container.

FFmpeg incorrectly detects the artwork in those file as MJPEG, which myth would then attempt to play.
A nicer fix would be to display that image instead.

Fixes #11597

comment:5 Changed 10 years ago by Jean-Yves Avenard <jyavenard@…>

In 3b0f5790c9081a17a019ded726ae497bd5c6f62c/mythtv:

Don’t attempt to play the video streams for mp3, flac, off and m4a container.

FFmpeg incorrectly detects the artwork in those file as MJPEG, which myth would then attempt to play.
A nicer fix would be to display that image instead.

Fixes #11597

(cherry picked from commit 9df8bb364ba56cc34d34af40e5980110193bd334)

comment:6 Changed 10 years ago by paulh

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