Opened 7 years ago
Closed 4 years ago
#13008 closed Bug Report - General (Unverified)
AFD: Unknown decoding error
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | MythTV - DVB | Version: | Unspecified |
Severity: | medium | Keywords: | audio afd 0 channels |
Cc: | Ticket locked: | no |
Description
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
Attachments (1)
Change History (5)
comment:1 Changed 7 years ago by
comment:2 Changed 7 years ago by
It appears that playback is OK if you start a few minutes in. Is this a part-time channel, with the recording overlapping the start or end of the service?
comment:3 Changed 7 years ago by
I believe number of audio tracks and their types change at the beginning of programming (suppose new program starts 30 seconds late, then first 30 seconds (ad or program title running) may have different set of audio tracks and subtitles from following recording. For example ads are usually missing descriptive audio track (for visually impaired) which is noted as dutch language audio track in Finnish broadcasts.
Maybe jumping to a running program enables it to find correct information in a more accurate manner.
comment:4 Changed 4 years ago by
Resolution: | → Unverified |
---|---|
Status: | new → closed |
Closing all old tickets in trac.
If your issue still persists, please open an issue in Github https://github.com/MythTV/mythtv/issues
and reference the existing trac ticket.
This is what ffplay finds on that .ts: