LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   can't play avi file (https://www.linuxquestions.org/questions/linux-software-2/cant-play-avi-file-4175473843/)

timl 08-18-2013 07:35 PM

can't play avi file
 
Hi, I have raspbmc running on my Raspberry Pi and I can't play a video. The file looks like this:

Quote:

Format : AVI
Format/Info : Audio Video Interleave
File size : 414 MiB
Duration : 48mn 14s
Overall bit rate : 1 199 Kbps

Video
ID : 0
Format : MPEG-4 Visual
Codec ID : MP42
Codec ID/Info : Microsoft MPEG-4 v2 (pre-standard)
Codec ID/Hint : Microsoft
Duration : 48mn 14s
Bit rate : 997 Kbps
Width : 352 pixels
Height : 288 pixels
Display aspect ratio : 1.222
Frame rate : 25.000 fps
Standard : PAL
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.393
Stream size : 344 MiB (83%)

Audio
ID : 1
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Codec ID : 55
Codec ID/Hint : MP3
Duration : 48mn 14s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel count : 2 channels
Sampling rate : 44.1 KHz
Compression mode : Lossy
Delay relative to video : 26ms
Stream size : 66.2 MiB (16%)
Alignment : Split accross interleaves
Interleave, duration : 40 ms (1.00 video frame)
Title : Audio Stream
I tried running on my PC with Fedora and XBMC media center and it looks good. On the Pi I get sound but the video is just coloured boxes.

Any suggestions?

Cheers

jdkaye 08-18-2013 11:09 PM

I have zero experience with Pi. Are the proper codecs installed? If you run the video from a command line does it throw up any error messages?
jdk

timl 08-19-2013 02:15 AM

thanks. From my investigation all the codecs should be part of the install (like I never heard that before :))

The command line suggestion makes a lot of sense. Thanks. I'll have a tinker tonight

jdkaye 08-19-2013 02:50 AM

Quote:

Originally Posted by timl (Post 5011720)
thanks. From my investigation all the codecs should be part of the install (like I never heard that before :))

The command line suggestion makes a lot of sense. Thanks. I'll have a tinker tonight

Yes, that's a wise move. Many distributions do not include codecs particularly codecs of the non-free type.
jdk


All times are GMT -5. The time now is 11:36 PM.