Solved vob file doesn't play on OE 4.95.5 or Milhouse nighly
#1
When starting playback (from music videos list) the screen goes black and nothing happens. When pressing "i" on kbd the progress bar is stuck at 6 seconds. I can stop the video though.
Tested on OE 4.95.5, upgraded to latest Milhouse build but the video doesn't play. It plays on OE 4.2.1 RPi and Kodi 14.0-BETA5 Git:4465fbf on Linux x86 32-bit.

Log file: http://sprunge.us/PUjF

Code:
OpenELEC:~ # lsb_release
OpenELEC (Milhouse) - Version: devel-20141129210155-r19703-gf0b95eb [Build #1129]
OpenELEC:~ # vcgencmd codec_enabled MPG2
MPG2=enabled
Code:
General
Complete name                            : Krush - House Arrest.vob
Format                                   : MPEG-PS
File size                                : 186 MiB
Duration                                 : 3mn 42s
Overall bit rate                         : 7 005 Kbps

Video
ID                                       : 224 (0xE0)
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : Main@Main
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Custom
Format settings, GOP                     : M=3, N=12
Duration                                 : 3mn 42s
Bit rate                                 : 6 000 Kbps
Width                                    : 720 pixels
Height                                   : 576 pixels
Display aspect ratio                     : 4:3
Frame rate                               : 25.000 fps
Standard                                 : PAL
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.579
Stream size                              : 158 MiB (85%)

Audio #1
ID                                       : 189 (0xBD)-129 (0x81)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Muxing mode                              : DVD-Video
Duration                                 : 3mn 42s
Bit rate mode                            : Constant
Bit rate                                 : 448 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Delay relative to video                  : -112ms
Stream size                              : 11.9 MiB (6%)

Audio #2
ID                                       : 189 (0xBD)-130 (0x82)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Muxing mode                              : DVD-Video
Duration                                 : 3mn 42s
Bit rate mode                            : Constant
Bit rate                                 : 448 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Delay relative to video                  : -112ms
Stream size                              : 11.9 MiB (6%)

Menu
Reply
#2
Any chance you could upload the file (e.g. to dropbox or google drive) and give me a link?
(I remember that song...)
Reply
#3
OK, I've sent you a PM.
Reply
#4
Got the file, and it doesn't play.
Surprisingly it fails with omxplayer, dvdplayer with acceleration and dvdplayer with software decode.

I suspect it will also fail on other kodi platforms running Helix beta buids - just building on linux to check...
Reply
#5
Did you see that I wrote that it works on Kodi 14.0-BETA5 Git:4465fbf on Linux x86 32-bit?
I'll delete the file then.
Reply
#6
Any progress in getting the file playing?
Reply
#7
Yes.
In my dev environment at work I found the file worked with omxplayer and dvdplayer with mmal enabled. It failed with software decode.
I then checked log in OE at home and found actually I'd only tested the software decode case as the MPEG-2 licence wasn't enabled.

The software decode case was fixed about a week back.

I've just tested software decode, MMAL, and omxplayer cases in OE and all are currently working. Have you tried with latest Milhouse build?
Reply
#8
I tested with the Milhouse build a couple of days ago (maybe Thursday) and it didn't work. I'll install the latest in a moment and post the results.
Reply
#9
(2014-12-06, 18:29)nikstra Wrote: I tested with the Milhouse build a couple of days ago (maybe Thursday) and it didn't work. I'll install the latest in a moment and post the results.

Try with all the combinations of OMXPlayer and MMAL acceleration enabled and report which ones work.
Reply
#10
When disabling OMXPlayer acceleration the file plays no matter if I enable or disable MMAL. As soon as I enable OMXPlayer acceleration the file won't play.
Log from earlier with OMXPlayer accel enabled: http://sprunge.us/IdJN
Reply
#11
(2014-12-06, 18:57)nikstra Wrote: When disabling OMXPlayer acceleration the file plays no matter if I enable or disable MMAL. As soon as I enable OMXPlayer acceleration the file won't play.
Log from earlier with OMXPlayer accel enabled: http://sprunge.us/IdJN

Ah - seems to be deinterlace related.
Try disabling deinterlace and it plays with omxplayer. It looks like you can then enable deinterlace and it still plays. Just doesn't like deinterlace enabled at start...
Reply
#12
I can confirm that. When I disable deinterlace video in the playback OSD it starts playing and after that I can set it to enabled or auto and playback continues. So, is this a firmware related issue rather than OMXPlayer related?
Reply
#13
(2014-12-06, 19:39)nikstra Wrote: I can confirm that. When I disable deinterlace video in the playback OSD it starts playing and after that I can set it to enabled or auto and playback continues. So, is this a firmware related issue rather than OMXPlayer related?

Not sure yet, but I suspect the fix will lie in kodi/omxplayer code. At least I have enough information now to know where to start looking.
Reply
#14
The file plays fine with passthrough disabled.
This provides a useful clue:
Code:
ERROR: ffmpeg[A73BE460]: [ac3] frame sync error

on the first audio frame. The file is "bad" - first audio packet is 227 bytes and all subsequent ones are 1792 bytes. The first audio packet is just garbage.

We attach a special flag to the first audio/video packets indicating they should start the clock, and the corrupt packet gets discarded resulting in the clock not starting.
Looks like I need a firmware fix to keep hold of this flag and apply it to the next audio packet.
Reply
#15
Interesting, since the file plays on OE 4.2.1 and any version back to 3.x. Has there been any resent change in the firmware that could cause this behaviour?
So the root cause is really that file is broken and it worked before because you used some other method to start the clock?

I know that I can extract audio and video streams with ffmpeg. Do you think that it is possible to cut the first frame without reencoding the audio?
Reply

Logout Mark Read Team Forum Stats Members Help
vob file doesn't play on OE 4.95.5 or Milhouse nighly0