[mythtv-users] Could not open decoder error on some videos

Andrew Wilkinson andrewjwilkinson at gmail.com
Sun Mar 11 21:48:45 UTC 2018


> On 11 Mar 2018, at 15:16, Peter Bennett <pb.mythtv at gmail.com> wrote:
> On 03/11/2018 05:25 AM, Andrew Wilkinson wrote:
>> 
>> On Sun, 11 Mar 2018 at 01:04, Peter Bennett <pb.mythtv at gmail.com <mailto:pb.mythtv at gmail.com>> wrote:
>> 
>> 
>> On 03/10/2018 05:08 PM, Andrew Wilkinson wrote:
>> > Hi,
>> >
>> > I recently upgraded to MythTV 29 and mostly it’s worked fine, but one issue that I have is some of my videos (not recordings) don’t play any more. 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.
>> >
>> > 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. Is anyone aware of any changes that might have caused this? Is there anything I can do to get these files to play? I was considering reencoding them, but I’d rather not reencode already encoded files.
>> >
>> > Thanks is advance for any help,
>> > Andrew
>> > _______________________________________________
>> >
>> Let me know what playback profile you are using.
>> 
>> There are some problems of this type on Master and I have made a fix for
>> them, but I was not aware of this on version 29
>> 
>> Peter
>> _______________________________________________Thanks for the reply Peter. This is running on my Raspberry Pi, and I'm using the OpenMax High Quality profile. 
>> 
>> Cheers,
>> Andrew
>> 
> Please open a ticket and supply a sample video so that I can look into it. Set the component in the ticket as Ports - rpi. You can extract the first 100MB of video using a command like this (see below). Put the video on dropbox or some site where I can download it.
> 
> dd bs=1MB count=100 if=3763_20161107030000.ts of=extracted_with_dd.ts

Thanks, I’ve created https://code.mythtv.org/trac/ticket/13244 <https://code.mythtv.org/trac/ticket/13244>. Because the problem files are an mp4 I couldn’t truncate them, so I picked the smallest - 240MB. If that’s too large I can attempt to reencode the first few minutes, but obviously that might create a file that works…

Thanks,
Andrew

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20180311/4ef83094/attachment.html>


More information about the mythtv-users mailing list