Data flow error on divx avi file

Bug #39164 reported by BHowell
This bug report is a duplicate of:  Bug #70223: Internal data flow error.. Edit Remove
16
Affects Status Importance Assigned to Milestone
totem (Ubuntu)
Incomplete
Medium
Ubuntu Desktop Bugs

Bug Description

Totem doesn't want to play a divx avi. It tries to load and sometimes resizes the player window but then crashes with "An error occurred. Internal Data flow error."

I have the codecs installed and it plays fine with gst-launch.

totem --debug and gdb were not giving me any useful debug info. Any suggestions?

Oh and I'm running dapper with the latest updates on amd64.

Revision history for this message
BHowell (mute-howell-ersatz) wrote :

Sorry. I said "crashes" but it actually just pops up an error window. I can open and play other files.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Can you check which version of totem you are using (If you go to Help -> About it will mention a version number and also crucially it will mention whether it is using xine or gstreamer. Can you report back the details here.

Also could you include a link to the divx file in question? Without this file it may be hard for other people to reproduce your bug...

Revision history for this message
BHowell (mute-howell-ersatz) wrote :

Totem 1.4.0
Using GStreamer 0.10.4

Contact me privately and I can provide the file in question. It's copyrighted (and rather large) so I can't distribute it publicly. I'll try to find another file with the same issue.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

I don't want to touch that file (as you said the file is copyrighted). You might struggle to get this one fixed unless you find a dev willing to look at your file privately...

Revision history for this message
BHowell (mute-howell-ersatz) wrote :

Ok. I found a public domain file that causes the same error.

http://www.archive.org/download/Modesoft1917/Modesoft1917.avi

This file exhibits the same problem. I get the "data flow error" when trying to play in totem but gst-launch playbin works just fine. Note, this particular file is from a silent movie so you'll get no sound.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

I can't reproduce the problem with the given link here (x86 dapper) with:
totem-gstreamer 1.4.0-0ubuntu2
gstreamer0.10-alsa 0.10.5-0ubuntu3
gstreamer0.10-esd 0.10.2-2ubuntu2
gstreamer0.10-ffmpeg 0.10.1-0ubuntu1
gstreamer0.10-gnomevfs 0.10.5-0ubuntu3
gstreamer0.10-plugins-bad 0.10.1-0ubuntu1
gstreamer0.10-plugins-bad-multiverse 0.10.1-1
gstreamer0.10-plugins-base 0.10.5-0ubuntu3
gstreamer0.10-plugins-base-apps 0.10.5-0ubuntu3
gstreamer0.10-plugins-good 0.10.2-2ubuntu3
gstreamer0.10-plugins-ugly 0.10.3-0ubuntu1
gstreamer0.10-tools 0.10.4-1ubuntu1
gstreamer0.10-x 0.10.5-0ubuntu3
libgstreamer-plugins-base0.10-0 0.10.5-0ubuntu3
libgstreamer-plugins0.8-0 0.8.12-1ubuntu1
libgstreamer0.10-0 0.10.4-1ubuntu1
libgstreamer2.8-0 0.8.12-1ubuntu1

BHowell:
Can you give step by step instructions on how to reproduce the problem? e.g.:
Steps to reproduce:
1. Download the link http://www.archive.org/download/Modesoft1917/Modesoft1917.avi to the desktop.
2. Press the right mouse button over Modesoft1917.avi and choose Open with "Movie Player".

Expected results:
Video to start playing.

Actual results:
Error window saying "An error occurred. Internal Data flow error."

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

(bug might be platform specific - i.e. amd64)

Revision history for this message
BHowell (mute-howell-ersatz) wrote :

Exactly as you say:

Steps to reproduce:
1. Download the link http://www.archive.org/download/Modesoft1917/Modesoft1917.avi to the desktop.
2. Double click on Modesoft1917.avi.

Expected results:
Video to start playing in totem.

Actual results:
Totem opens and pops open an error window saying "An error occurred. Internal Data flow error." No video plays.

Alternatively step 2 could be:

2. from the command line type "totem Modesoft1917.avi"

or

2. Open Movie Player from gnome menu then click Movie> Open> "Modesoft1917.avi".

The results are exactly the same in all cases. Is there some debug switch or gdb trace that can give us some more useful context?

Revision history for this message
Sebastien Bacher (seb128) wrote :

That works fine for me on i386 and dholbach on amd64... could you get a debug log with "GST_DEBUG=*:4 totem &>gst.log" and attach it to the bug (don't copy it to a comment it'll probably be too verbose for that)?

Revision history for this message
Michael Vogt (mvo) wrote :

I can't reproduce it on my amd64 either.

Revision history for this message
BHowell (mute-howell-ersatz) wrote : gst.log file demonstrating errors loading divx avi file

Here's the debug log.

Revision history for this message
BHowell (mute-howell-ersatz) wrote :

the log is pretty big and it may have timed out during the upload. if it's not all there, I can post it somewhere else.

Revision history for this message
Jan Becvar (jan-becvar) wrote :

I have same problem with video "RIFF (little-endian) data, AVI, 320 x 240, ~15 fps, video: XviD, audio: MPEG-1 Layer 3 (mono, 48000 Hz)" on slow computer (Duron 600). But it works fine on fast computer with same gstreamer and totem versions.

Error message is same: "internal data flow error".

Revision history for this message
BHowell (mute-howell-ersatz) wrote :

I just tried again recently. I think there were some updates last week. It works now, but I get a really crappy playback frame rate in Totem. If I open the file with gst-launch-0.10, it looks really good, so I think something is wrong in Totem.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Do you still have that issue? What gst-launch command do you use to play it correctly?

Changed in totem:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Revision history for this message
BHowell (mute-howell-ersatz) wrote :

Playback is a bit better but gst-launch is still giving smother playback.

My gst-launch string is:

gst-launch-0.10 playbin uri="file:///home/mute/Desktop/Modesoft1917.avi"

My guess is that totem is using some sort of video output sink that is sub-optimal for my setup.

-Brendan

Revision history for this message
Sebastien Bacher (seb128) wrote :

playbin should use the same sinks than totem, maybe you should try opening a bug upstream, I don't get that issue, it doesn't make it easy to work on it and upstream knows the code better

Revision history for this message
Vytas (vytas) wrote :

Maybe it occurs only with subtitles?
I have one DivX file with English subtitles and it exhibits the bug.

Please take a look
http://bugzilla.gnome.org/show_bug.cgi?id=350299

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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