Video sometimes only plays Audio
#1
Hi everyone,

I just got my Raspberry Pi up and running with xbmc but something is a little bit weird. When I want to start a Video it sometimes does not work but plays the Audio. This is really random, I saw this happening to .mkv, .avi and .mp4 file so far. The other day I watched two .mp4 files with no problems and then with the third it suddenly did not work anymore. The files are accessed through smb from my NAS.

I already searched the forum but none of the threads solved my problem.

Hope anyone can help.
Thanks!
Reply
#2
Can you post a debug log (wiki) of when this happens?
Reply
#3
No worries, I uploaded a log file to Ubuntu One: http://ubuntuone.com/4zZ6THqLSDqSVPyJMu6ADy

As you can see in the log file I opened three episodes of Game of Thrones, which played fine. Then I tried to play a movie called 'Lammbock' wich did not play at all (no Video and no Audio). Finally I reproduced the error I mention above by playing 'Der letzte Lude' (Audio worked but no Video).

Can you tell from the log file what I can do to fix it?

Thanks very much
-Flosky
Reply
#4
Quote:21:22:49 T:3036192768 NOTICE: Starting XBMC (12.2 Git:Unknown), Platform: Linux (Debian GNU/Linux 7.1 (n/a), 3.6.11+ armv6l). Built on May 3 2013
This is pretty old in Pi terms. Can you try updating to a newer build ? (I'd recommend the latest rbej Gotham build).

Also can you post mediainfo of file?
http://mediaarea.net/en/MediaInfo
Reply
#5
I just recently set up my raspberry pi with the latest net installer of raspbian, so I'm surprised its outdated. Can I update the system without reinstalling it? Say with apt-get upgrade?

To be honest, the error occurs with quite a few files that normally play fine on my laptop. But I pasted the mediainfo for the two files below.
Thanks.

Mediainfo of the file that did not play at all:
General
Complete name : /home/flo/Hans-Peter/Public/movies/deutsch/Lammbock/Lammbock.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 698 MiB
Duration : 1h 29mn
Overall bit rate : 1 091 Kbps
Writing application : Nandub v1.0rc2
Writing library : Nandub build 1853/release

Video
ID : 0
Format : MPEG-4 Visual
Format settings, BVOP : 1
Format settings, QPel : No
Format settings, GMC : 2 warppoints
Format settings, Matrix : Default (H.263)
Muxing mode : Packed bitstream
Codec ID : DX50
Codec ID/Hint : DivX 5
Duration : 1h 29mn
Bit rate : 861 Kbps
Width : 704 pixels
Height : 384 pixels
Display aspect ratio : 1.85:1
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.127
Stream size : 551 MiB (79%)
Writing library : DivX 5.0.2 (UTC 2002-05-16)

Audio
ID : 1
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 2000
Duration : 1h 29mn
Bit rate mode : Constant
Bit rate : 224 Kbps
Channel count : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 143 MiB (21%)
Alignment : Aligned on interleaves
Interleave, duration : 128 ms (3.20 video frames)
Interleave, preload duration : 128 ms

Mediainfo of the file that only played Audio but no Video:
General
Complete name : /home/flo/Hans-Peter/Public/movies/deutsch/Der letzte Lude/Der letzte Lude.mpg
Format : MPEG-PS
File size : 776 MiB
Duration : 1h 27mn
Overall bit rate mode : Variable
Overall bit rate : 1 246 Kbps

Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 1
Format settings, BVOP : Yes
Format settings, Matrix : Default
Format settings, GOP : M=3, N=15
Duration : 1h 27mn
Bit rate mode : Variable
Bit rate : 998 Kbps
Width : 352 pixels
Height : 288 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 : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.394
Time code of first frame : 00:00:00:00
Time code source : Group of pictures header
Stream size : 621 MiB (80%)

Audio
ID : 192 (0xC0)
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Duration : 1h 27mn
Bit rate mode : Constant
Bit rate : 224 Kbps
Channel count : 2 channels
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 140 MiB (18%)
Reply
#6
did you buy an MPEG-2 licence from RPi store and added it to your config.txt? if no than that would be the reason
Reply
#7
(2013-08-07, 23:52)rikardo1979 Wrote: did you buy an MPEG-2 licence from RPi store and added it to your config.txt? if no than that would be the reason

Likely a combination of that and encodes the Pi just can't play, seeing the file that doesn't play at all is using warppoints.
Reply
#8
(2013-08-08, 00:18)DocG Wrote: Likely a combination of that and encodes the Pi just can't play, seeing the file that doesn't play at all is using warppoints.

I believe 1 warppoint is supported. Not 2 or 3.
Quote:Due to the extra decoding CPU cost of global motion compensation, most hardware players do not support global motion compensation.
http://en.wikipedia.org/wiki/Global_motion_compensation
Reply
#9
Could just be a bad encode, seeing it's DivX with 2 warppoints, and doesn't play at all. I've successfully, even though not perfectly, played files with multiple warppoints on my Pi.
Reply
#10
@rikardo1979: No, didn't know I have to.

What are warppoints?
Reply
#11
(2013-08-08, 07:22)flosky Wrote: @rikardo1979: No, didn't know I have to.

Looks like you've got to pay the two odd pounds if you want to play MPEG-2 video.

(2013-08-08, 07:22)flosky Wrote: What are warppoints?

See the link popcornmix posted. In short, it's something you'd want to avoid unless you've got a little beefier hardware than a Pi. Same holds true for certain other encodes, like Hi10P. Though I've got to say, my Pi has been playing a lot more, and has played it a lot better, than I expected.
Reply
#12
(2013-08-08, 07:22)flosky Wrote: @rikardo1979: No, didn't know I have to.

What are warppoints?
without the licence RPi would not encode the codec so you will have just a sound and no picture. RPi do not have MPEG" or VC-1 embended in HW so these too needs to by added. Its cost nothing anyway Wink
http://www.raspberrypi.com/mpeg-2-license-key/
Reply
#13
Thanks guys, I just purchased the MPEG-2 and VC-1 licence keys. Hope that will fix my issues.
Reply
#14
@flosky: any luck with the purchased license keys? I'm exactly into the same issue and purchasing/installing the MPEG-2 and VC-1 license keys didn't help...
Reply
#15
Sort of. It worked with the .avi files but I recently wanted to watch a .mkv and had the same problem again.
Reply

Logout Mark Read Team Forum Stats Members Help
Video sometimes only plays Audio0