problems with some movies - mp4? gpu_mem ???
#1
I have some problems playing some movies,
in these cases the playing starts giving me just the audio.

e.g. this example:
* * * MediaInfo Mac 0.7.36.0 file analysis report.
* * * MediaInfo Mac is ©2010 by Diego Massanti - http://mediainfo.massanti.com
* * * MediaInfoLib by Jerome Martinez - http://mediainfo.sourceforge.net
Created on: 07/gen/2014 22.25.47 GMT+01.00
Report for file: Boeing Boeing (1965).avi

General / Container Stream #1
Total Video Streams for this File.................1
Total Audio Streams for this File.................1
Video Codecs Used.................................DivX 3 Low
Audio Codecs Used.................................MPEG-1 Audio layer 3
File Format.......................................AVI
Play Time.........................................1h 38mn
Total File Size...................................1.12 GiB
Total Stream BitRate..............................1 639 Kbps
Encoding Library..................................VirtualDub build 14328/release
Video Stream #1
Codec (Human Name)................................MPEG-4 Visual
Codec (FourCC)....................................DIV3
Frame Width.......................................720 pixels
Frame Height......................................576 pixels
Frame Rate........................................25.000 fps
Total Frames......................................147283
Display Aspect Ratio..............................5:4
Video Standard....................................PAL
Color Space.......................................YUV
Codec Settings (Packet BitStream).................No
QF (like Gordian Knot)............................0.148
Video Stream Length...............................1h 38mn 11s 320ms
Video Stream BitRate..............................1 533 Kbps
Bit Depth.........................................8 bits
Video Stream Size.................................1.05 GiB (94%)
Audio Stream #1
Codec.............................................MPEG Audio
Codec (FourCC)....................................55
Codec Profile.....................................Joint stereo
Audio Stream Length...............................1h 38mn 11s 328ms
Audio Stream BitRate..............................96.0 Kbps
Audio Stream BitRate Mode.........................CBR
Number of Audio Channels..........................2
Sampling Rate.....................................48.0 KHz
Audio Stream Size.................................67.4 MiB (6%)


I believe that raspbmc should be able to play these codecs!

My /boot/config.txt :

arm_freq=850
core_freq=375
force_turbo=1
disable_overscan=1
gpu_mem=128
start_file=start_x.elf
fixup_file=fixup_x.dat


any hint?
Reply
#2
DIV3 is not supported on Pi.
Reply
#3
ouch! I understand nothing about codecs so I thought it was simply an AVI encoded by MPEG4

Another question if I can:
since I have a TON of movies on my HD, somebody did invent a script able to parse a tree, finding problematic movies (like this one)?
If not I'll try to write one, but I'll have to find a console mediainfo-like utility
Reply
#4
Easy enough with a smart playlist in XBMC, set it to "Video codec is div3".
You have to do it separately for movies and episodes though.
Reply
#5
I'm not expert at playlists under XBMC, so here's how I did it:

1) install mediainfo from http://mediaarea.net/it/MediaInfo/Download

2) do this perl oneliner from the root of your movies folder:

$> find . -iname "*.avi" -print0 | xargs -0 perl -we 'foreach(@ARGV){print"$_\t";@l=`mediainfo "$_"`;foreach(@l){if(/Codec ID\s+: (\S+)/){print"$1\n";last}}}'
Reply
#6
P.S. the oneliner works, and oh boy... I have tens and tens of DIV3 movies !!!

Damn - DIV3 unsupported? This is EVIL !
Reply
#7
Handbrake is your friend.
You can make a queue and let it run during the night and voila.
Reply
#8
You could try this build:
http://forum.xbmc.org/showthread.php?tid...pid1592934

Do a context menu on the file and select "play using dvdplayer".

This will software decode the video on the arm.
I think this would be likely to work for ~640x480 videos.

Yours is 720x576 which might be pushing it, but if you are overclocking your Pi, it could work...
Reply
#9
also, as I just found out:

ffmpeg -i "The Prisoner - 1x11 - A Change Of Mind.avi" -vcodec h264 -acodec copy test.avi
Reply

Logout Mark Read Team Forum Stats Members Help
problems with some movies - mp4? gpu_mem ???0