Posts: 55
Joined: Oct 2013
Reputation:
1
Hi all
I am running XBMC on a Pi under Openelec.
For some reason files using the xvid codec do not play. The codec seems to be disabled.
Via SSH I ran
OpenELEC:~ # vcgencmd codec_enabled XVID
XVID=disabled
How can I enable this to get XVID working?
Thanks
Posts: 55
Joined: Oct 2013
Reputation:
1
Update:
Files encoded with XviD 1.1.2 Final codec play fine.
Files encoded with XviD 1.0.3 do not play.
Files encoded with XviD 1.0.2 do not play.
Posts: 55
Joined: Oct 2013
Reputation:
1
Yes MPG4 is enabled but for some reason XVID shows as disabled.
OpenELEC:~ # vcgencmd codec_enabled XVID
XVID=disabled
OpenELEC:~ # vcgencmd codec_enabled MPG4
MPG4=enabled
I dont know if the above XVID being disabled has anything to do with the issue but thought I should mention it.
I agree that XVID is supposed to be MPG4 compliant but maybe there there were some problems in older versions?
The files play fine on my PC installed version of XBMC, but not on the Pi Openelec version of XBMC, so this should rule out any problems with the actual files.
The files are all over 200Mb so its not really feasible to provide one of them.
Posts: 55
Joined: Oct 2013
Reputation:
1
OK I reinstalled the codec and virtualdub can now open the file.
I did a 30 second export with the direct stream copy.
Strangely enough, this 30 second clip can now play on all my devices perfectly but yet the original can't. I have checked and the codec information on the new file is identical to the info on the old one.
Any ideas on what could be causing this?
I really don't want to have to do through hundreds of files and have to do this for each and every one of them.
If it was a once off then I could resign myself to doing it but it is quite likely that I would just have the same issue again in the future when adding any further content.
Posts: 55
Joined: Oct 2013
Reputation:
1
I have just done it again but with a complete file this time.
After checking all the file details side by side using g-spot I find the following differences. Not sure exactly what they mean but maybe somebody here would know and have an idea on why the new file plays fine but the original does not.
Original file
Container
----------
Note: 4 bytes unneeded bytes at end of file
OpenDML (AVI v2.0)
Interleave: 1 vid frame (40 ms), preload=480
Audio frames: Aligned on interleaves
Video: 201 MB (86.52%)
Audio: 28.6 MB (12.28%)
AVI Overhead: 2.79 MB (1.20%)
User Data/Metadata
[ISFT] Nandub v1.0rc2
[JUNK] Nandub build 1852/release
[USER] XviD0037
New file
Container
----------
File Length Correct
OpenDML (AVI v2.0)
Interleave: 1 vid frame (40 ms), preload=504
Audio frames: Aligned on interleaves
Video: 201 MB (86.52%)
Audio: 28.6 MB (12.28%)
AVI Overhead: 2.79 MB (1.20%)
User Data/Metadata
[JUNK] VirtualDub build 35491/release
[USER] XviD0037
Posts: 8,967
Joined: Feb 2011
Reputation:
426
Got the file. It plays fine on my development build of xbmc (gotham).
It also played fine with command line omxplayer.
At the moment I'm guessing it's a problem with ffmpeg (frodo uses an older version).
Can you try it with a gotham build of xbmc?
Posts: 55
Joined: Oct 2013
Reputation:
1
What platform was that on? It plays fine on Frodo on XBMC on my PC.
Posts: 55
Joined: Oct 2013
Reputation:
1
I am very apprehensive about moving to a development build. Everything I am reading say that I should not do this if I need a stable system.