v17 MPEG2 files no longer play (libreelec)
#1
Hello,

I have upgraded my Raspberry Pi to LibreELEC (Krypton) v7.95.2 BETA. Unfortunately, I can no longer play the MPEG2 .ts files. The error seems to be:
Code:
22:14:53.561 T:1865413536   ERROR: COMXCoreComponent::DecoderEventHandler OMX.broadcom.audio_render - OMX_ErrorInsufficientResources, insufficient resources
22:14:53.561 T:1604318112   ERROR: COMXAudio::PortSettingsChanged - m_omx_tunnel_decoder.Establish omx_err(0x80001000)
22:14:53.561 T:1604318112   ERROR: COMXAudio::AddPackets - error PortSettingsChanged omx_err(0x00000000)
The file would open, but there will be no sound and only black screen will be visible.
Log is available at http://lesloueizeh.com/belegdol/kodi.zip. Thank you for helping in advance.
Reply
#2
Can you post mediainfo for a file you are trying to play?
Have you tried rebooting?
Reply
#3
I did try rebooting, it did not help. The file in question (and several others like it, it's an episode of a show) were playing fine with LibreELEC 7.0.2. mediainfo below:
Code:
$ mediainfo xxx.ts
General
ID                                       : 1 (0x1)
Complete name                            : xxx.ts
Format                                   : MPEG-TS
File size                                : 5.97 GiB
Duration                                 : 1 h 10 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 12.1 Mb/s
Movie name                               : xxx
Law rating                               : TV-MA (LSV)

Video
ID                                       : 33 (0x21)
Menu ID                                  : 1 (0x1)
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : Main@High
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Custom
Format settings, GOP                     : Variable
Format settings, picture structure       : Frame
Codec ID                                 : 2
Duration                                 : 1 h 10 min
Bit rate mode                            : Variable
Bit rate                                 : 11.2 Mb/s
Maximum bit rate                         : 64.0 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Active Format Description                : Letterbox 16:9 image
Frame rate                               : 29.970 (30000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                               : Top Field First
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.179
Time code of first frame                 : 00:00:00;00
Time code source                         : Group of pictures header
Stream size                              : 5.48 GiB (92%)

Audio
ID                                       : 36 (0x24)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : 129
Duration                                 : 1 h 10 min
Bit rate mode                            : Constant
Bit rate                                 : 384 kb/s
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 spf)
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 193 MiB (3%)
Language                                 : English

Text #1
ID                                       : 33 (0x21)-CC1
Menu ID                                  : 1 (0x1)
Format                                   : EIA-608
Muxing mode                              : A/53 / DTVCC Transport
Muxing mode, more info                   : Muxed in Video #1
Duration                                 : 1 h 10 min
Bit rate mode                            : Constant
Stream size                              : 0.00 Byte (0%)

Text #2
ID                                       : 33 (0x21)-CC3
Menu ID                                  : 1 (0x1)
Format                                   : EIA-608
Muxing mode                              : A/53 / DTVCC Transport
Muxing mode, more info                   : Muxed in Video #1
Duration                                 : 1 h 10 min
Bit rate mode                            : Constant
Stream size                              : 0.00 Byte (0%)

Text #3
ID                                       : 33 (0x21)-1
Menu ID                                  : 1 (0x1)
Format                                   : EIA-708
Muxing mode                              : A/53 / DTVCC Transport
Muxing mode, more info                   : Muxed in Video #1
Duration                                 : 1 h 10 min
Bit rate mode                            : Constant
Stream size                              : 0.00 Byte (0%)

Text #4
ID                                       : 33 (0x21)-2
Menu ID                                  : 1 (0x1)
Format                                   : EIA-708
Muxing mode                              : A/53 / DTVCC Transport
Muxing mode, more info                   : Muxed in Video #1
Duration                                 : 1 h 10 min
Bit rate mode                            : Constant
Stream size                              : 0.00 Byte (0%)
Reply
#4
Can you create a sample file? e.g. cut the file down to 1 minute. Confirm the problem still occurs.
Upload it to a hosting site like google drive or dropbox.
Reply
#5
Could you recommend a tool to use?
Code:
$ mencoder -oac copy -ovc copy -endpos 00:01:00 xxx.ts -o sample.ts
does not play in kodi, and
Code:
$ ffmpeg -i xxx.ts -c copy -t 00:01:00 sample.ts
does not exhibit the issue.
Reply
#6
I'm surprised the ffmpeg command didn't have the issue - it should be pretty much unchanged.
You could try:
Code:
dd if=xxx.ts of=sample.ts bs=1M count=100
Reply
#7
OK, I can reproduce the problem with the sample created with dd. Could you share your gmail via PM please?

Wysłane z mojego XT1580 przy użyciu Tapatalka
Reply
#8
File seems to be playing here.
Does it play if you disable omxplayer (leaving mmal enabled) in player/video/acceleration settings?
Can you try increasing gpu_mem. e.g. add gpu_mem=256 to config.txt?
Reply
#9
Omxplayer setting has not helped but the gpu_mem did. Is new kodi starting to slowly become too heavy for first generation Pi? Another issue I am seeing is that after a bit of playback the tv screen starts blinking and the hdmi marker on the sound bar is blinking too - as if the pi was unable to deliver a stable hdmi stream.

Wysłane z mojego Nexus 9 przy użyciu Tapatalka
Reply
#10
(2017-02-14, 20:54)belegdol Wrote: Omxplayer setting has not helped but the gpu_mem did. Is new kodi starting to slowly become too heavy for first generation Pi? Another issue I am seeing is that after a bit of playback the tv screen starts blinking and the hdmi marker on the sound bar is blinking too - as if the pi was unable to deliver a stable hdmi stream.

Does disabling deinterlace help?
If that helps, instead try setting deinterlace method to bob (x2).
Reply
#11
It does - it was set as default and defaulting to adv(x2). bob(x2) works too. Thanks!
Looks like this one might be too much for the Pi. Would it be possible to change the default for first generation Pi to bob(x2)?

Wysłane z mojego Nexus 9 przy użyciu Tapatalka
Reply
#12
(2017-02-14, 21:08)belegdol Wrote: Looks like this one might be too much for the Pi. Would it be possible to change the default for first generation Pi to bob(x2)?

Yes, that probably is best.
Reply
#13
(2017-02-14, 21:36)popcornmix Wrote:
(2017-02-14, 21:08)belegdol Wrote: Looks like this one might be too much for the Pi. Would it be possible to change the default for first generation Pi to bob(x2)?

Yes, that probably is best.

Where is the default configured? In Kodi, or in by LibreELEC? If it is the latter, should I let the LibreELEC devs know? Thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
MPEG2 files no longer play (libreelec)0