Can not play *.wmv files

Bug #486915 reported by Ryan B
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ffmpeg (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I am running Ubuntu 9.10

I have several wmv files that I was able to play in 9.04 and now that I have installed 9.10 they will not play.

With totem i get this shell output when open a *.wmv file

"** Message: Error: Internal data stream error.
gstasfdemux.c(1387): gst_asf_demux_loop (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin22/GstASFDemux:asfdemux0:
streaming stopped, reason not-negotiated"

With vlc I get this output

"[0x27ffb48] avcodec decoder error: cannot open codec (Windows Media Audio 2)
[0x27ffb48] main decoder error: no suitable decoder module for fourcc `wma2'.
VLC probably does not support this sound or video format.
[0x27ffb48] avcodec decoder error: cannot open codec (Windows Media Video 3)
[0x27ffb48] main decoder error: no suitable decoder module for fourcc `WMV3'.
VLC probably does not support this sound or video format."

I have the gstreamer_** , W64codecs and ubuntu_restricted_extras installed.

Narcissus (narcissus)
affects: ubuntu → totem (Ubuntu)
Revision history for this message
WeatherGod (ben-v-root) wrote :

Ryan, thank you for taking the time to report this bug.

Your report seems similar to a discussion on this thread: http://ubuntuforums.org/showthread.php?t=1281367

Did you happen to install any video editing software recently like Openshot?

Changed in totem (Ubuntu):
status: New → Incomplete
Revision history for this message
Ryan B (coffebean) wrote :

I have not installed Openshot, bu I did install dvdstyler and Oggconvert. I am removing these packages and will try the suggestion in the linked forum.

Revision history for this message
Ryan B (coffebean) wrote :

Thank you We can mark this one SOLVED

Changed in totem (Ubuntu):
status: Incomplete → Fix Committed
WeatherGod (ben-v-root)
Changed in totem (Ubuntu):
status: Fix Committed → Invalid
Revision history for this message
WeatherGod (ben-v-root) wrote :

Ryan, I am glad that helped you. Note that "Fix Committed" is for when there is a package update. I am going to set this for further investigation, though. Could you see if it is just dvdstyler or oggconvert that caused the issue?

Changed in totem (Ubuntu):
status: Invalid → Incomplete
Revision history for this message
Ryan B (coffebean) wrote :

WeatherGod, I checked the packages (dvdstyler and oggconvert) in synaptic. When dvdstyler is selected for install libavcodec52 is replaced with libavcodec-extra-52.

After some tinkering today I believe libavcodec-extra-52 is the problem child.

Revision history for this message
WeatherGod (ben-v-root) wrote :

Moving this to the ffmpeg package, although, I think totem (and even vlc) should also be listed, as well?

affects: totem (Ubuntu) → ffmpeg (Ubuntu)
Changed in ffmpeg (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Reinhard Tartler (siretart) wrote :

please state the exact package version of the related packages. Also attach the output of 'ffmpeg -i /path/to/affected/file'

Changed in ffmpeg (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Ryan B (coffebean) wrote :

Reinhard Tartler,

Here is the info you requested

libavcodec52 -> 4:0.4+svn20090706-2ubunutu2

libavcodec-extra-52 -> 4:0.4+svn20090706-2ubunutu3 (with this installed video play back is broken)

totem -> 2.28.2-0ubuntu3
===============================================================================
[coffeeboy:~]-[05:48:43 on Mon Nov 23]-> ffmpeg -i /usr/bin/totem
FFmpeg version SVN-r19352-4:0.5+svn20090706-2ubuntu2, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --extra-version=4:0.5+svn20090706-2ubuntu2 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --extra-cflags=-I/build/buildd/ffmpeg-0.5+svn20090706/debian/include --enable-shared --disable-static
  libavutil 49.15. 0 / 49.15. 0
  libavcodec 52.20. 0 / 52.20. 0
  libavformat 52.31. 0 / 52.31. 0
  libavdevice 52. 1. 0 / 52. 1. 0
  libavfilter 0. 4. 0 / 0. 4. 0
  libswscale 0. 7. 1 / 0. 7. 1
  libpostproc 51. 2. 0 / 51. 2. 0
  built on Oct 13 2009 22:35:00, gcc: 4.4.1
Input #0, mp3, from '/usr/bin/totem':
  Duration: 00:00:29.96, start: 0.000000, bitrate: 128 kb/s
    Stream #0.0: Audio: mp1, 32000 Hz, stereo, s16, 128 kb/s
At least one output file must be specified
===============================================================================

vlc -> 1.0.2-1ubuntu2
===============================================================================
[coffeeboy:~]-[05:53:30 on Mon Nov 23]-> ffmpeg -i /usr/bin/vlc
FFmpeg version SVN-r19352-4:0.5+svn20090706-2ubuntu2, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --extra-version=4:0.5+svn20090706-2ubuntu2 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --extra-cflags=-I/build/buildd/ffmpeg-0.5+svn20090706/debian/include --enable-shared --disable-static
  libavutil 49.15. 0 / 49.15. 0
  libavcodec 52.20. 0 / 52.20. 0
  libavformat 52.31. 0 / 52.31. 0
  libavdevice 52. 1. 0 / 52. 1. 0
  libavfilter 0. 4. 0 / 0. 4. 0
  libswscale 0. 7. 1 / 0. 7. 1
  libpostproc 51. 2. 0 / 51. 2. 0
  built on Oct 13 2009 22:35:00, gcc: 4.4.1
Input #0, mp3, from '/usr/bin/vlc':
  Duration: 00:00:01.31, start: 0.000000, bitrate: 64 kb/s
    Stream #0.0: Audio: mp1, 48000 Hz, stereo, s16, 64 kb/s
At least one output file must be specified

Revision history for this message
Reinhard Tartler (siretart) wrote : Re: [Bug 486915] Re: Can not play *.wmv files

Ryan B <email address hidden> writes:

> Reinhard Tartler,
>
> Here is the info you requested
>
> libavcodec52 -> 4:0.4+svn20090706-2ubunutu2
>
> libavcodec-extra-52 -> 4:0.4+svn20090706-2ubunutu3 (with this installed
> video play back is broken)

can you please attach the file. If the file is too big, try if the bug
can be reproduced on a part of this file.

If I understand you correctly, video playback works with
libavcodec52_4:0.4+svn20090706-2ubunutu2, right?

> [coffeeboy:~]-[05:48:43 on Mon Nov 23]-> ffmpeg -i /usr/bin/totem

No, not on the player binary, but on the media file you want to play
back. I need to see what ffmpeg thinks the file is.

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

Revision history for this message
Ryan B (coffebean) wrote :

Ok here is the ffmpeg output for one of my *.wmv file.

[coffeeboy:~]-[11:06:59 on Wed Nov 25]-> ffmpeg -i ~/Videos/Puppet.wmv
FFmpeg version SVN-r19352-4:0.5+svn20090706-2ubuntu2, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --extra-version=4:0.5+svn20090706-2ubuntu2 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --extra-cflags=-I/build/buildd/ffmpeg-0.5+svn20090706/debian/include --enable-shared --disable-static
  libavutil 49.15. 0 / 49.15. 0
  libavcodec 52.20. 0 / 52.20. 0
  libavformat 52.31. 0 / 52.31. 0
  libavdevice 52. 1. 0 / 52. 1. 0
  libavfilter 0. 4. 0 / 0. 4. 0
  libswscale 0. 7. 1 / 0. 7. 1
  libpostproc 51. 2. 0 / 51. 2. 0
  built on Oct 13 2009 22:35:00, gcc: 4.4.1

Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1)
Input #0, asf, from '/home/coffeeboy/Videos/Puppet.wmv':
  Duration: 00:02:16.06, start: 3.000000, bitrate: 139 kb/s
    Stream #0.0: Audio: wmav2, 44100 Hz, stereo, s16, 64 kb/s
    Stream #0.1: Video: wmv3, yuv420p, 480x270, 58 kb/s, 25 tbr, 1k tbn, 1k tbc
At least one output file must be specified

Yes, video playback works with
libavcodec52_4:0.4+svn20090706-2ubunutu2.

I have also attached one of the *.wmv files

Revision history for this message
Reinhard Tartler (siretart) wrote :

I've tried the attached file (Puppet.wmv), and it plays back just fine with ffplay.

Tested with libavcodec-extra-52, Version: 4:0.5+svn20090706-2ubuntu4.

I've also tried vlc and totem, all players play the attached file just fine for me.

have you perhaps installed some ppa that replaced ffmpeg related packages?

Revision history for this message
Ryan B (coffebean) wrote :

==============================================================================================
WeatherGod wrote on 2009-11-23:

Ryan, thank you for taking the time to report this bug.

Your report seems similar to a discussion on this thread: http://ubuntuforums.org/showthread.php?t=1281367

Did you happen to install any video editing software recently like Openshot?
==============================================================================================

I did not have Openshot installed but after reading this thread I took a look at my sources.list and I did have the Openshot PPA enabled.

Revision history for this message
WeatherGod (ben-v-root) wrote :

Ryan, having the Openshot PPA enabled may have caused the package manager to take on certain updates from that repo. It appears that this issue is being caused not by OpenShot directly, but rather one of its dependencies.

Can you please run the following command: aptitude search ~i~Oopenshot
and post the output, if any?
Note, if you get nothing, then run the command: aptitude search ~Oopenshot
to double-check that I made this command correctly (the ~i should search for only installed packages that originated (~O) from the openshot ppa).

Revision history for this message
Ryan B (coffebean) wrote :

WeatherGod,

I ran the command you requested (aptitude search ~i~Oopenshot) I got no output at the terminal. At this point I have removed the errant packages, disabled the OpenShot PPA and reinstalled the packages. This seems to have fixed my issue.

If you would like I can add the Openshot repo again and update the packages for debugging purposes.

Revision history for this message
WeatherGod (ben-v-root) wrote :

I'll leave that decision up to the developers at this point. If Reinhard wants to pursue this, he may ask you to do so.

Thanks for your help, and I am glad we have you at a point where videos work again.

Revision history for this message
Ryan B (coffebean) wrote :

  Thanks for the help. I enjoyed working through the issue with you.

On 12/01/2009 01:54 PM, WeatherGod wrote:
> I'll leave that decision up to the developers at this point. If
> Reinhard wants to pursue this, he may ask you to do so.
>
> Thanks for your help, and I am glad we have you at a point where videos
> work again.
>

WeatherGod (ben-v-root)
Changed in ffmpeg (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Reinhard Tartler (siretart) wrote :

reported confirmed this issue was caused by defective 3rd party packages

Changed in ffmpeg (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.