MPEG-4 Visual - omxplayer - decode_MPG2 - decode_WVC1


8 posts
by marcelp1 » Sat Sep 15, 2012 1:18 pm
Hi all,

I am want to watch AVI file on my RaspberryPi but it does not play with omxplayer
,so I purchased decode_MPG2 and decode_WVC1 licence but still no luck :(

pi@raspberrypi ~ $ omxplayer -s -o hdmi /media/2TB/nu.pagadi/Nu_Pagadi-01.avi
file : /media/2TB/nu.pagadi/Nu_Pagadi-01.avi reult 18 format avi audio streams 1 video streams 1 chapters 0 subtitles 0

have a nice day ;)


Here is the file details:
pi@raspberrypi ~ $ mediainfo -f /media/2TB/nu.pagadi/Nu_Pagadi-01.avi
General
Count : 279
Count of stream of this kind : 1
Kind of stream : General
Kind of stream : General
Stream identifier : 0
Count of video streams : 1
Count of audio streams : 1
Video_Format_List : MPEG-4 Visual
Video_Format_WithHint_List : MPEG-4 Visual (DivX 3 Low)
Codecs Video : DivX 3 Low
Audio_Format_List : MPEG Audio
Audio_Format_WithHint_List : MPEG Audio (MP3)
Audio codecs : MPEG-2 Audio layer 3
Complete name : /media/2TB/nu.pagadi/Nu_Pagadi-01.avi
Folder name : /media/2TB/nu.pagadi
File name : Nu_Pagadi-01
File extension : avi
Format : AVI
Format : AVI
Format/Info : Audio Video Interleave
Format/Extensions usually used : avi
Commercial name : AVI
Internet media type : video/vnd.avi
Interleaved : Yes
Codec : AVI
Codec : AVI
Codec/Info : Audio Video Interleave
Codec/Extensions usually used : avi
File size : 39680000
File size : 37.8 MiB
File size : 38 MiB
File size : 38 MiB
File size : 37.8 MiB
File size : 37.84 MiB
Duration : 569244
Duration : 9mn 29s
Duration : 9mn 29s 244ms
Duration : 9mn 29s
Duration : 00:09:29.244
Overall bit rate : 557652
Overall bit rate : 558 Kbps
Stream size : 388031
Stream size : 379 KiB (1%)
Stream size : 379 KiB
Stream size : 379 KiB
Stream size : 379 KiB
Stream size : 378.9 KiB
Stream size : 379 KiB (1%)
Proportion of this stream : 0.00978
File last modification date : UTC 2010-07-13 07:38:28
File last modification date (local) : 2010-07-13 07:38:28
Writing library : VirtualDub build 10015/release
Writing library : VirtualDub build 10015/release

Video
Count : 248
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
ID : 0
ID : 0
Format : MPEG-4 Visual
Commercial name : MPEG-4 Visual
Internet media type : video/MP4V-ES
Codec ID : DIV3
Codec ID/Hint : DivX 3 Low
Codec ID/Url : http://www.divx.com
Codec : DIV3
Codec : DivX 3 Low
Codec/Family : MPEG-4V
Codec/Url : http://www.divx.com
Codec/CC : DIV3
Duration : 569160
Duration : 9mn 29s
Duration : 9mn 29s 160ms
Duration : 9mn 29s
Duration : 00:09:29.160
Bit rate : 520427
Bit rate : 520 Kbps
Width : 352
Width : 352 pixels
Height : 288
Height : 288 pixels
Pixel aspect ratio : 1.000
Display aspect ratio : 1.222
Display aspect ratio : 1.222
Frame rate : 25.000
Frame rate : 25.000 fps
Frame count : 14229
Standard : PAL
Resolution : 8
Resolution : 8 bits
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8
Bit depth : 8 bits
Compression mode : Lossy
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.205
Delay : 0
Delay : 00:00:00.000
Stream size : 37025809
Stream size : 35.3 MiB (93%)
Stream size : 35 MiB
Stream size : 35 MiB
Stream size : 35.3 MiB
Stream size : 35.31 MiB
Stream size : 35.3 MiB (93%)
Proportion of this stream : 0.93311

Audio
Count : 217
Count of stream of this kind : 1
Kind of stream : Audio
Kind of stream : Audio
Stream identifier : 0
ID : 1
ID : 1
Format : MPEG Audio
Commercial name : MPEG Audio
Format version : Version 2
Format profile : Layer 3
Internet media type : audio/mpeg
Codec ID : 55
Codec ID/Hint : MP3
Codec ID/Url : http://www.iis.fraunhofer.de/amm/index.html
Codec : MPA2L3
Codec : MPEG-2 Audio layer 3
Codec/Family : MPEG-1
Codec/Info : MPEG-1 or 2 layer 3
Codec/Url : http://www.iis.fraunhofer.de/amm/index.html
Codec/CC : 55
Duration : 569244
Duration : 9mn 29s
Duration : 9mn 29s 244ms
Duration : 9mn 29s
Duration : 00:09:29.244
Bit rate mode : CBR
Bit rate mode : Constant
Bit rate : 32000
Bit rate : 32.0 Kbps
Channel(s) : 1
Channel(s) : 1 channel
Sampling rate : 22050
Sampling rate : 22.05 KHz
Samples count : 12551830
Compression mode : Lossy
Compression mode : Lossy
Delay : 0
Delay : 00:00:00.000
Delay, origin : Stream
Delay, origin : Raw stream
Delay relative to video : 0
Video0 delay : 0
Stream size : 2266160
Stream size : 2.16 MiB (6%)
Stream size : 2 MiB
Stream size : 2.2 MiB
Stream size : 2.16 MiB
Stream size : 2.161 MiB
Stream size : 2.16 MiB (6%)
Proportion of this stream : 0.05711
Alignment : Split
Alignment : Split accross interleaves
Interleave, duration : 12.49
Interleave, duration : 500
Interleave, duration : 500 ms (12.49 video frames)
Interleave, preload duration : 466
Interleave, preload duration : 466 ms

Any ideas?
Posts: 115
Joined: Mon Jun 11, 2012 8:41 pm
by malakai » Sat Sep 15, 2012 1:34 pm
Haven't played with omxplayer try this for install and permission issues.

http://elinux.org/Omxplayer

http://www.tumblr.com/tagged/raspberry-pi?before=1339882911

test a different avi to make sure it's not something with the encoding of the avi you have

Post exactly what happens when you try to play the file what error do you get for example
http://www.raspians.com - always looking for content feel free to ask to have it posted. Or sign up and message me to become a contributor to the site. Raspians is not affiliated with the Raspberry Pi Foundation. (RPi's + You = Raspians)
User avatar
Posts: 1383
Joined: Sat Sep 15, 2012 10:35 am
by malakai » Sat Sep 15, 2012 1:41 pm
I think the problem is this line
omxplayer -s -o hdmi /media/2TB/nu.pagadi/Nu_Pagadi-01.avi

-s is stats I think your asking it to return the stats and not run the video try

omxplayer -o hdmi /media/2TB/nu.pagadi/Nu_Pagadi-01.avi


pi@raspberrypi:~$ omxplayer --help
Usage: omxplayer [OPTIONS] [FILE]
Options :
-h / --help print this help
-a / --alang language audio language : e.g. ger
-n / --aidx index audio stream index : e.g. 1
-o / --adev device audio out device : e.g. hdmi/local
-i / --info dump stream format and exit
-s / --stats pts and buffer stats
-p / --passthrough audio passthrough
-d / --deinterlace deinterlacing
-w / --hw hw audio decoding
-3 / --3d switch tv into 3d mode
-y / --hdmiclocksync adjust display refresh rate to match video
-t / --sid index show subtitle with index
-r / --refresh adjust framerate/resolution to video


http://www.brianhensley.net/2012/07/how-to-get-1080p-videos-running-on-my.html
http://www.raspians.com - always looking for content feel free to ask to have it posted. Or sign up and message me to become a contributor to the site. Raspians is not affiliated with the Raspberry Pi Foundation. (RPi's + You = Raspians)
User avatar
Posts: 1383
Joined: Sat Sep 15, 2012 10:35 am
by dom » Sat Sep 15, 2012 1:48 pm
The problem is:
Codec ID : DIV3

That is not MPEG 4 compliant and not supported.
DIVX3 is actually a codec reverse engineered from an old Microsoft codec, than was a non-standard variant of MPEG 4.
The hardware codec can't support it.
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4042
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by marcelp1 » Sat Sep 15, 2012 3:07 pm
malakai wrote:Haven't played with omxplayer try this for install and permission issues.

http://elinux.org/Omxplayer

http://www.tumblr.com/tagged/raspberry-pi?before=1339882911

test a different avi to make sure it's not something with the encoding of the avi you have

Post exactly what happens when you try to play the file what error do you get for example


pi@raspberrypi ~ $ omxplayer -o hdmi /media/2TB/nu.pagadi/Nu_Pagadi-01.avi
file : /media/2TB/nu.pagadi/Nu_Pagadi-01.avi reult 18 format avi audio streams 1 video streams 1 chapters 0 subtitles 0
Vcodec id unknown: 11

have a nice day ;)
pi@raspberrypi ~ $
Posts: 115
Joined: Mon Jun 11, 2012 8:41 pm
by Paul Webster » Sat Sep 15, 2012 4:42 pm
See earlier answer from Dom - it is vey likely to be right!
User avatar
Posts: 425
Joined: Sat Jul 30, 2011 4:49 am
Location: London, UK
by al67 » Tue Oct 30, 2012 7:02 pm
i ve buy 2 codecs mp4 and vic1, and i would know if can put them (both codecs)
in /boot/config.txt?.
i ve to initialize some commands to play correctly a full-hd stream?
User avatar
Posts: 2
Joined: Tue Oct 30, 2012 6:53 pm
by chaoucholfa » Mon Jul 08, 2013 11:07 am
Good morning ,I want to watch a film from my pc in raspberry pi but I have an error message "périphérique inattendu", I work with linux and I have the xbmc player in Raspberry , please help me
Posts: 1
Joined: Mon Jul 08, 2013 11:00 am