[mythtv-commits] Ticket #13008: AFD: Unknown decoding error

MythTV noreply at mythtv.org
Mon Mar 6 17:34:41 UTC 2017


#13008: AFD: Unknown decoding error
--------------------------------------+----------------------------------
     Reporter:  ksalmela@…            |      Owner:
         Type:  Bug Report - General  |     Status:  new
     Priority:  minor                 |  Milestone:  unknown
    Component:  MythTV - DVB          |    Version:  Unspecified
     Severity:  medium                |   Keywords:  audio afd 0 channels
Ticket locked:  0                     |
--------------------------------------+----------------------------------
 Hello,

 for since about 2-3 months ago I have been experiencing problems with
 Mythtv recordings from one particular source (YLE Finland), don't know if
 this is a more common issue. It seems AFD fails to find correct audio
 format or audio channels altogether which results in no audio at all. The
 audio is fine if I play the same recording with ffplay.

 Sometimes audio is recognized as MP3 (while it is MPEG2). If I fast-
 forward couple of minutes, set a bookmark, and start play again, audio
 tracks are occasionally recognized correctly.

 I can submit a .ts sample if needed.

 When it's working its like this in log:
 {{{
 2017-03-06 19:25:17.844709 I  AFD: codec MP2 has 2 channels
 2017-03-06 19:25:17.844809 I  AFD: Opened codec 0x5390420, id(MP2)
 type(Audio)
 2017-03-06 19:25:17.844880 I  AFD: Opened codec 0x5156c80,
 id(DVB_SUBTITLE) type(Subtitle)
 2017-03-06 19:25:17.844905 I  AFD: Opened codec 0x7685120,
 id(DVB_SUBTITLE) type(Subtitle)
 2017-03-06 19:25:17.846609 I  AFD: Opened codec 0x7677ec0, id(MPEG2VIDEO)
 type(Video)
 2017-03-06 19:25:17.846652 I  AOBase: Opening audio device 'pulse' ch 2(2)
 sr 48000 sf signed 16 bit reenc 0
 }}}
 When its not, its like this:
 {{{
 2017-03-06 19:26:40.752511 I  TV::StartPlayer(): Created player.
 2017-03-06 19:26:40.752558 I  TV::HandleStateChange(): Changing from None
 to WatchingPreRecorded
 2017-03-06 19:26:40.753357 I  TV::HandleStateChange(): Main UI disabled.
 2017-03-06 19:26:40.753429 I  TV::StartTV(): Entering main playback loop.
 2017-03-06 19:26:40.754377 E  AFD: Unknown video codec - defaulting to
 MPEG2
 2017-03-06 19:26:40.758903 N  VidOutGL: Deferring creation of OpenGL
 resources
 2017-03-06 19:26:40.759534 I  AFD: Opened codec 0x7f0f90005fc0,
 id(MPEG2VIDEO) type(Video)
 2017-03-06 19:26:40.759550 N  AudioPlayer: Enabling Audio
 2017-03-06 19:26:40.808931 N  VidOutGL: Deferring creation of OpenGL
 resources
 2017-03-06 19:26:40.841603 I  GLVid: Using custom UYVY input textures.
 2017-03-06 19:26:43.820909 E  AFD: Unknown video codec - defaulting to
 MPEG2
 2017-03-06 19:26:43.824808 N  VidOutGL: Deferring creation of OpenGL
 resources
 2017-03-06 19:26:43.825732 I  AFD: Opened codec 0x7f0f900184c0,
 id(MPEG2VIDEO) type(Video)
 2017-03-06 19:26:43.869561 E  AFD: Unknown decoding error
 2017-03-06 19:26:43.869600 E  AFD: Unknown decoding error
 2017-03-06 19:26:43.869690 E  AFD: Unknown decoding error
 2017-03-06 19:26:43.869756 E  AFD: Unknown decoding error
 2017-03-06 19:26:43.869815 E  AFD: Unknown decoding error
 2017-03-06 19:26:43.869870 E  AFD: Unknown decoding error
 2017-03-06 19:26:43.869935 E  AFD: Unknown decoding error
 2017-03-06 19:26:43.870047 E  AFD: Unknown decoding error
 2017-03-06 19:26:43.894591 N  VidOutGL: Deferring creation of OpenGL
 resources
 2017-03-06 19:26:43.927323 I  GLVid: Using custom UYVY input textures.
 }}}

 (those are from same recording, first sample playback started 5 minutes
 from start)

 All the other channels play the audio just fine.
 Version:
 {{{
 Please attach all output as a file in bug reports.
 MythTV Version : v29-pre-349-gd8e5e0f
 MythTV Branch : master
 Network Protocol : 91
 Library API : 29.20170212-1
 QT Version : 5.5.1
 Options compiled in:
  linux profile use_hidesyms using_alsa using_oss using_pulse
 using_pulseoutput using_backend using_bindings_perl using_bindings_python
 using_bindings_php using_dvb using_frontend using_hdhomerun using_vbox
 using_ceton using_hdpvr using_ivtv using_joystick_menu using_libcec
 using_libdns_sd using_lirc using_mheg using_opengl using_opengl_video
 using_opengl_themepainter using_qtwebkit using_qtscript using_qtdbus
 using_taglib using_v4l2 using_x11 using_xrandr using_xv using_profiletype
 using_systemd_notify using_systemd_journal using_bindings_perl
 using_bindings_python using_bindings_php using_freetype2
 using_mythtranscode using_opengl using_vaapi using_vdpau
 using_ffmpeg_threads using_mheg using_libmp3lame

 }}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13008>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list