[ubuntu-uk] Problem Playing some Video files

Liam Wilson liamwilson93 at gmail.com
Tue Oct 6 18:08:52 BST 2009


Jonathon Fernyhough wrote:
> 2009/10/6 Liam Wilson <liamwilson93 at gmail.com>:
>   
>> Jonathon Fernyhough wrote:
>>     
>>> 2009/10/6 Liam Wilson <liamwilson93 at gmail.com>:
>>>
>>>       
>>>> Jonathon Fernyhough wrote:
>>>>
>>>>         
>>>>> 2009/10/6 Liam Wilson <liamwilson93 at gmail.com>:
>>>>>
>>>>>
>>>>>           
>>>>>> Hey all,
>>>>>>
>>>>>> After uninstalling Openshot, it seems that I cannot play some Video
>>>>>> files (Notably .avi files that use a xvid video codec). No matter what
>>>>>> Player I use, VLC, Mplayer, Totem, etc; The sound plays, but no video.
>>>>>>
>>>>>> And after searching for a codec with Totem, it seems to be that there
>>>>>> isn't an xvid codec, and yet, before uninstalling Openshot, the videos
>>>>>> played just fine!
>>>>>>
>>>>>>
>>>>>> Now, I've re-installed Openshot, in the hope that my video files would
>>>>>> play, and I've had some luck in that they play in Openshot, but still no
>>>>>> luck in anything else - and I don't really plan on having to import a
>>>>>> video into openshot every time I want to play a movie.
>>>>>>
>>>>>> I've even tried un and re-installing Gstreamer, intalling the
>>>>>> restricted-extras package, all to no avail' ;_;
>>>>>>
>>>>>> Does anyone have any ideas on how to diagnose or solve this problem at all?
>>>>>>
>>>>>> If anyone does, I would GREATLY appreciate it!
>>>>>>
>>>>>> Thanks; Liam.
>>>>>>
>>>>>> --
>>>>>> ubuntu-uk at lists.ubuntu.com
>>>>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
>>>>>> https://wiki.ubuntu.com/UKTeam/
>>>>>>
>>>>>>
>>>>>>
>>>>>>             
>>>>> I'm running Karmic, so YMMV.
>>>>>
>>>>> This sounds like the problem I had when I added a PPA which updated
>>>>> libavutil49 (among others). It replaced /usr/lib/libavutil.so.49 with
>>>>> /usr/lib/libavutil.so.50 meaning Gstreamer couldn't find the .49
>>>>> version and failed (a symlink didn't fix it). The version which broke
>>>>> mine was svn20090924, the version I have now is svn20090706.
>>>>>
>>>>> If you run Totem in a terminal it should tell you what's wrong (and if
>>>>> it can't find a file).
>>>>>
>>>>>
>>>>>
>>>>>           
>>>> Well Running Totem gets me this:
>>>>
>>>> liam at ubuntu-laptop:~$ totem
>>>> /var/lib/python-support/python2.6/gdata/tlslite/utils/cryptomath.py:9:
>>>> DeprecationWarning: the sha module is deprecated; use the hashlib module
>>>> instead
>>>>  import sha
>>>> ** Message: don't know how to handle video/x-xvid,
>>>> framerate=(fraction)25/1, width=(int)640, height=(int)480
>>>> ** Message: Missing plugin: gstreamer|0.10|totem|XVID MPEG-4
>>>> decoder|decoder-video/x-xvid (XVID MPEG-4 decoder)
>>>> ** Message: No installation candidate for missing plugins found.
>>>>
>>>>
>>>> and running VLC gets me this:
>>>>
>>>> liam at ubuntu-laptop:~$ totem
>>>> /var/lib/python-support/python2.6/gdata/tlslite/utils/cryptomath.py:9:
>>>> DeprecationWarning: the sha module is deprecated; use the hashlib module
>>>> instead
>>>>  import sha
>>>> ** Message: don't know how to handle video/x-xvid,
>>>> framerate=(fraction)25/1, width=(int)640, height=(int)480
>>>> ** Message: Missing plugin: gstreamer|0.10|totem|XVID MPEG-4
>>>> decoder|decoder-video/x-xvid (XVID MPEG-4 decoder)
>>>> ** Message: No installation candidate for missing plugins found.
>>>>
>>>>
>>>> Sounds like it isn't installed, but I don't know?
>>>>
>>>> Liam.
>>>>
>>>>
>>>>         
>>> Have you double-checked you have gstreamer0.10-plugins-bad-multiverse
>>> installed? Plus check the output of vlc, you emailed totem output
>>> twice. :)
>>>
>>>
>>>       
>> Aah, so I did!
>> Yes,
>>
>> gstreamer0.10-plugins-bad-multiverse
>>
>> is installed, and the output for VLC is:
>>
>> liam at ubuntu-laptop:~$ vlc
>> VLC media player 1.0.2 Goldeneye
>> [0x9583140] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
>> main warning: can't store message (Invalid or incomplete multibyte or wide character): found Chunk fourcc:28dd5416 (
>> [0xb7607a50] avcodec decoder error: cannot open codec (MPEG-4 Video)
>> [0xb7607a50] main decoder error: no suitable decoder module for fourcc `XVID'.
>> VLC probably does not support this sound or video format.
>>
>> Hope this helps a little;
>>
>> Liam
>>
>>
>> --
>> ubuntu-uk at lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
>> https://wiki.ubuntu.com/UKTeam/
>>
>>     
>
> Ah ha, just looked at the Openshot PPA to see what else it installs
> and it is indeed likely to be an issue with the shared av libraries
> (it's part of the ffmpeg stuff). You'll probably need to to remove
> libavutil49 or libavutil50, remove the Openshot PPA from your
> sources.list, then reinstall libavutil49. It will want to
> automatically remove things like VLC and mplayer but nothing
> important; you can then reinstall them.
>
>   
Yaaay!
It worked!
I could kiss you right now, but I can't, because that would be probably 
wrong on a lot of levels :)

Thanks a lot Jonathon.

Liam
:D



More information about the ubuntu-uk mailing list