Opened 21 months ago

Closed 20 months ago

Last modified 19 months ago

#13244 closed Bug Report - General (fixed)

Could not open decoder error on Raspberry Pi

Reported by: andrewjwilkinson@… Owned by: Peter Bennett
Priority: minor Milestone: 29.2
Component: Ports - rPi Version: Unspecified
Severity: medium Keywords:
Cc: Ticket locked: no

Description (last modified by Peter Bennett)

Hi,

Since upgrading to v29 some of my videos have stopped playing. There is a black “Please wait” screen then it goes back to the menu with a “Could not open decoder” error message. I’ve included the relevant log lines from the frontend below.

This is mythtv-light running on a Raspberry Pi using the OpenMax? High Quality playback profile.

2018-03-10 22:03:05.805560 I  TV::TV(): Creating TV object
2018-03-10 22:03:06.043987 N  Suspending idle timer
2018-03-10 22:03:06.064876 I  TV::Init(): Created TvPlayWindow.
2018-03-10 22:03:06.186015 I  TV::HandleStateChange(): Attempting to change from None to WatchingVideo
2018-03-10 22:03:06.783428 N  AudioPlayer: Enabling Audio
2018-03-10 22:03:07.722608 I  AFD: codec AAC has 2 channels
2018-03-10 22:03:07.726779 I  AFD: Opened codec 0x2f17af0, id(AAC) type(Audio)
2018-03-10 22:03:07.770945 I  DOMX:0 Installed h264_mp4toannexb filter
2018-03-10 22:03:07.793047 E  AFD: Could not open codec 0x2f14600, id(H264) type(Video) ignoring. reason Invalid data found when processing input
2018-03-10 22:03:07.793155 E  Couldn't open decoder for: myth://Videos@tv/Kids/Chuggington/Series 4/S4E15 Snow Patrol.mp4
2018-03-10 22:03:07.793206 E  Player(0): Unable to open video file.
2018-03-10 22:03:07.793220 E  playCtx: StartPlaying() Failed to start player
2018-03-10 22:03:07.793259 C  TV::StartPlayer(): Failed to create player.

It seems to be saying that the file is invalid, but it plays correctly other players, and MythTV 0.28. They also plays fine on a v29 frontend on my MacBook?.

I've uploaded in one of the videos that refuses to play to http://www.indiegigs.co.uk/~andrew/decoder_error.mp4. I couldn't truncate the file as it's an mp4, so the file is 240MB.

Many thanks, Andrew

Change History (6)

comment:1 Changed 20 months ago by Peter Bennett

Description: modified (diff)

comment:2 Changed 20 months ago by Peter Bennett

Status: newaccepted

comment:3 Changed 20 months ago by Peter Bennett <pbennett@…>

Resolution: fixed
Status: acceptedclosed

In 4a828998bf0cd82430e1854429742a125eb80815/mythtv:

Raspberry Pi: Fix decoder error on mp4 files

There was test code in OpenMAX support that corrupts
AVCodecContext. New versions of FFmpeg fail to open the
codec with that corrupted data in existence.

Fixes #13244

comment:4 Changed 20 months ago by Peter Bennett <pbennett@…>

In 329c235b572f9aa5de3758ca8b311f225de45d1e/mythtv:

Raspberry Pi: Fix decoder error on mp4 files

There was test code in OpenMAX support that corrupts
AVCodecContext. New versions of FFmpeg fail to open the
codec with that corrupted data in existence.

Fixes #13244

(cherry picked from commit 4a828998bf0cd82430e1854429742a125eb80815)

comment:5 Changed 19 months ago by Stuart Auchterlonie

Milestone: needs_triage29.2

comment:6 Changed 19 months ago by Peter Bennett

Owner: changed from Peter Bennett to Peter Bennett
Note: See TracTickets for help on using tickets.