Forum
DIVX3 Video only audio - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Configuration (/forum-17.html)
+--- Thread: DIVX3 Video only audio (/thread-2244.html)



DIVX3 Video only audio - fabero - 23rd Apr, 2014 05:11 PM

Sometimes happens that some video files are not played, but in the list i can see the image preview and just pressed play I can hear the audio of the video. Any hint?


RE: Video not played - belese - 23rd Apr, 2014 05:14 PM

You probably need a license key (mpeg or vc1).
check which codec is used on that video.


RE: Video not played - fabero - 23rd Apr, 2014 07:23 PM

(23rd Apr, 2014 05:14 PM)belese Wrote:  You probably need a license key (mpeg or vc1).
check which codec is used on that video.

Mediainfo says:
1 video stream: mpeg4 visual (divx3 low)


So, whats the matter?


RE: Video not played - belese - 23rd Apr, 2014 07:37 PM

so you need the mpeg license.


RE: Video not played - fabero - 23rd Apr, 2014 07:59 PM

(23rd Apr, 2014 07:37 PM)belese Wrote:  so you need the mpeg license.

Sorry but I dont understand. Why another video with:

Mpeg4 (divx4)

works normally?

Perhaps divx3 is too old?


RE: Video not played - belese - 23rd Apr, 2014 08:31 PM

(23rd Apr, 2014 07:59 PM)fabero Wrote:  
(23rd Apr, 2014 07:37 PM)belese Wrote:  so you need the mpeg license.

Sorry but I dont understand. Why another video with:

Mpeg4 (divx4)

works normally?

Perhaps divx3 is too old?

i'm not sure about mpeg4 (normally it doesn't need license), but have sound without image, it looks really like a missing codec,
but you can wait another advice from someone who know better it this domain.


RE: Video not played - fabero - 23rd Apr, 2014 09:00 PM

(23rd Apr, 2014 08:31 PM)belese Wrote:  
(23rd Apr, 2014 07:59 PM)fabero Wrote:  
(23rd Apr, 2014 07:37 PM)belese Wrote:  so you need the mpeg license.

Sorry but I dont understand. Why another video with:

Mpeg4 (divx4)

works normally?

Perhaps divx3 is too old?

i'm not sure about mpeg4 (normally it doesn't need license), but have sound without image, it looks really like a missing codec,
but you can wait another advice from someone who know better it this domain.

Ok thanks, I'll wait. If you see in this case the difference, is in divx version.

But a related question, how is generated the preview image? If a codec is missing, also the image can be missing or not?


RE: Video not played - rikardo1979 - 23rd Apr, 2014 09:10 PM

yes divx3 is way to old and to my knowledge doesn't work on RPi

read section
1.4 Video and audio formats the Raspberry Pi can playback


RE: Video not played - fabero - 23rd Apr, 2014 09:58 PM

(23rd Apr, 2014 09:10 PM)rikardo1979 Wrote:  yes divx3 is way to old and to my knowledge doesn't work on RPi

read section
1.4 Video and audio formats the Raspberry Pi can playback

OK sadly to listen this Sad but of course, I'll try to remux with an actual codec Smile

Thanks for your answer.


RE: Video not played - IriDium - 24th Apr, 2014 02:47 AM

Changed title to be meaningful


RE: DIVX3 Video only audio - fabero - 24th Apr, 2014 09:59 PM

Thanks to all.

For those have same issue this is my solution:

go in ssh and at command line do

Code:
sudo apt-get install ffmpeg

This command install the useful ffmpeg for video conversion.

After ffmpeg is installed to convert to more convenient xvid codec do this command.

Code:
ffmpeg -i filenameinputvideo -vcodec mpeg4 -vtag xvid filenameoutputvideo

This convert the video in XVID and can be viewed without problems with XBIAN/XBMC.

UPDATE:
ffmpeg seems to be deprecated, so there is another way:

Fist of all, install mencoder

Code:
sudo apt-get install mencoder

Next there are 2 methods for conversion to xvid.

For high quality but a little slow conversion you can do the command:
Code:
mencoder input.avi -ovc xvid -oac copy -xvidencopts autoaspect:bitrate=16000:chroma_opt:vhq=4:bvhq=1:quant_type=mpeg -o output.avi

For a good quality and speedy conversion do:

Code:
mencoder input.avi -ovc xvid -oac copy -xvidencopts autoaspect:bitrate=16000 -o output.avi

Check this reference for more options:
http://www.mplayerhq.hu/DOCS/HTML/it/menc-feat-xvid.html

I hope this helps


RE: DIVX3 Video only audio - mk01 - 7th Aug, 2014 05:37 AM

xbian-package-xbmc-alsa

should play also such format ... (by using sw decode directly)