Opened 5 years ago

Last modified 4 years ago

#11961 new Bug Report - General

Live TV Fails to switch to Analog tuner after digital tuner used

Reported by: Jay Jaeger <cube1@…> Owned by:
Priority: minor Milestone: unknown
Component: MythTV - General Version: Unspecified
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Installed mythbuntu 12.04.3, then upgrading MythTV to 0.27 before configuring anything. After initial configuration of analog only, one tuner, Live TV would not work until I went back into the back end configuration and manually changed to a different channel.

Tuner: Hauppauge HVR-2250

Message: "Could not find A/V decoder" (presumably because it could not find the media file). (Same message as ticket #11960, but, possibly, a different cause, though I suppose they could be related).

Relevant front end log messages:

Nov 28 09:16:36 mythtemp mythfrontend.real: mythfrontend[2831]: W CoreContext? ringbuffer.cpp:1035 (WaitForReadsAllowed?) RingBuf?(/video1/livetv/1002_20131128151635.mpg): Taking too long to be allowed to read.. Nov 28 09:16:37 mythfrontend.real: last message repeated 4 times Nov 28 09:16:37 mythtemp mythfrontend.real: mythfrontend[2831]: E CoreContext? mythplayer.cpp:963 (OpenFile?) Player(0): Couldn't find an A/V decoder for: '/video1/livetv/1002_20131128151635.mpg'

Relevant backend messages:

Nov 28 09:16:38 mythtemp mythbackend: mythbackend[2805]: I TVRecEvent tv_rec.cpp :3602 (TuningCheckForHWChange) TVRec[1]: HW Tuner: 1->1 Nov 28 09:16:38 mythtemp mythbackend: mythbackend[2805]: I TVRecEvent recorders/ v4lchannel.cpp:558 (SetInputAndFormat?) V4LChannel[1](/dev/video0): SetInputAndFo? rmat(1, NTSC) (v4l v2) input_switch: 0 mode_switch: 1 Nov 28 09:16:38 mythtemp mythbackend: mythbackend[2805]: N CoreContext? autoexpir e.cpp:264 (CalcParams?) AutoExpire?: CalcParams?(): Max required Free Space: 2.0 GB

w/freq: 15 min

Nov 28 09:16:39 mythtemp mythbackend: mythbackend[2805]: E TVRecEvent recordingi nfo.cpp:928 (InsertProgram?) RecordingInfo::InsertProgram?(ProgramInfo?(1002_201311 28151638.mpg): channame(WBUW) startts(Thu Nov 28 15:16:38 2013) endts(Thu Nov 28

15:30:00 2013)#012 recstartts(Thu Nov 28 15:16:38 2013) recendts(Th

u Nov 28 15:30:00 2013)#012 title(Unknown)): recording already exist s...

Attachments (5)

mythfrontend-version.txt (919 bytes) - added by Jay Jaeger <cube1@…> 5 years ago.
mythfrontend --version output
mythbackend-version.txt (919 bytes) - added by Jay Jaeger <cube1@…> 5 years ago.
mythbackend --version output
mythfrontend.log (148.1 KB) - added by Jay Jaeger <cube1@…> 5 years ago.
MythTV Front End Log around the time of the error
mythbackend.log (596.0 KB) - added by Jay Jaeger <cube1@…> 5 years ago.
MythTV Backend Log around time of error.
mythfrontend-log-20131128.txt (17.8 KB) - added by Jay Jaeger <cube1@…> 5 years ago.
Front end log with -v libav --loglevel debug [Captured via script command]

Download all attachments as: .zip

Change History (11)

Changed 5 years ago by Jay Jaeger <cube1@…>

Attachment: mythfrontend-version.txt added

mythfrontend --version output

Changed 5 years ago by Jay Jaeger <cube1@…>

Attachment: mythbackend-version.txt added

mythbackend --version output

Changed 5 years ago by Jay Jaeger <cube1@…>

Attachment: mythfrontend.log added

MythTV Front End Log around the time of the error

Changed 5 years ago by Jay Jaeger <cube1@…>

Attachment: mythbackend.log added

MythTV Backend Log around time of error.

comment:1 Changed 5 years ago by Jim Stichnoth

I have a feeling this might be related to #11211. Can you attach a mythfrontend log with "-v libav --loglevel debug", where this failure occurs?

Changed 5 years ago by Jay Jaeger <cube1@…>

Front end log with -v libav --loglevel debug [Captured via script command]

comment:2 Changed 5 years ago by Jay Jaeger <cube1@…>

In this test, I first brought up the frontend, tuned to a digital channel, then tried to change to the analog tuner with the "Y" command. The front end did not issue the "Could not find A/V decoder" message - it just stayed black. Note that I have not yet tried to do recording from analog while in this state - in progress today, I hope.

comment:3 Changed 5 years ago by Jay Jaeger <cube1@…>

It does seem that recordings work OK, even when LiveTV does not - except that I find that after making configuration changes (and possibly even after a reboot), I have to go into the backend configuration and manually change the last channel used, at which point things start working again - I will report that as another ticket, since that affects the back end as well as the front end.

comment:4 Changed 5 years ago by Jay Jaeger <cube1@…>

In looking thru a search I found a different problem that *might* be related to this one, #11402 .

comment:5 Changed 4 years ago by bspcolumbus@…

Did anyone ever find a resolution to this? I'm having the exact same problem with 0.27.4

comment:6 Changed 4 years ago by cube1@…

What I found over time was that it seemed to be an issue of the front end getting upset when the file created by the back end was empty. I have not spent any further time on it in months, and do not expect to.

Note: See TracTickets for help on using tickets.