Seeking through mpg videos doesn't work properly

Bug #33325 reported by Lukas Sabota
44
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Totem
Fix Released
Medium
totem (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs
totem-pl-parser (Ubuntu)
Invalid
Low
Unassigned

Bug Description

I'm using totem-gstreamer with all plugins, and I have a nvidia geforce4 with the nvidia-glx driver installed. Steps to reproduce (details follow):
* Open totem-gstreamer.
* Open a *.mpg file.
* Choose a position to seek to.
* Totem will seek to a position in the video about twenty seconds before where you requested.

I have tested these with multiple mpg files. This behavior does not occur with avi files. If you would like to use the videos I tested for TESTING PURPOSES ONLY you may contact me via email.

Related branches

Revision history for this message
Claudio André (claudioandre.br) wrote :

I tried some (small) mpg files. Eg. http://www.novell.com/linux/xglrelease/transparency.mpg

I noticed some problems, but "smaller" than yours.

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

Thanks for your bug. Do you still have that issue? Does it happen on the example of the previous comment?

Changed in totem:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Revision history for this message
Lukas Sabota (punkrockguy318) wrote :

Yes, I'm still receiving this problem.

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

What about "Does it happen on the example of the previous comment?"?

Revision history for this message
Lukas Sabota (punkrockguy318) wrote :

Yes, this happens on the example on the previous comment :) sorry for my lack of clarity! =)

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

Probably the same issue than upstream http://bugzilla.gnome.org/show_bug.cgi?id=151909, it uses keyframes which is faster but has less precision

Changed in totem:
status: Needs Info → Unconfirmed
Revision history for this message
Leonardo Santagada (santagada) wrote :

The same thing is happening to me. I think the error is somewhat proportional to the size of the movie, so maybe it is not always 20secs, but it is always wrong and before where you put the slider.

Revision history for this message
Leonardo Santagada (santagada) wrote :

i have a nvidia 5900FX and I am using the nvidia drivers running on dapper drake with all the latest updates. Can this bug be confirmed at least?

Revision history for this message
Martin Bergner (martin-bergner) wrote :

Yes, sure, in that case you could have also confirmed it yourself.

Changed in totem:
status: Unconfirmed → Confirmed
Revision history for this message
jens_acamedia (commercial-acamedia) wrote :

it does not seem to be a the same issue as http://bugzilla.gnome.org/show_bug.cgi?id=151909

see https://launchpad.net/bugs/43590

i think this is a totem bug and there is something wrong with the position slider...it is an issue of lack of sync between slider and time code...

Revision history for this message
Leonardo Santagada (santagada) wrote :

it has nothing to do with that bug, but maybe it is in gstreamer as maybe totem passes the slider position to gstreamer and then it validates reading the number back and it come wrong from gstreamer. Only someone that knows totem can say for sure who is responsible for it. I'm back with totem-xine for the time being.

Revision history for this message
Larry (larry-salibra) wrote :

I have a similar problem with seeking and MPEG-1 videos. Seeking either does results in the video being 20 seconds or so off. On some MPEG-1 videos seeking to any location results in play freezing until the video is restarted from the beginning. After seeking a couple times using the slider or the fast-forward ("skip forwards) context menu entry, totem will seg fault.

Revision history for this message
DarkMageZ (darkmagez) wrote :

that upstream bug appears to be about frame by frame seeking...
does this bug still happen in edgy?
can someone provide a small (under 50MB) testfile for this particular bug? this appears to me with all of the .mpg files that i have tested to have been fixed in totem cvs built against edgy. (tho possibly also already fixed in edgy's totem).

Revision history for this message
xtknight (xt-knight) wrote :

Same issue here.

Revision history for this message
spectrm (spectrum-ver-x) wrote : Re: [Bug 33325] Re: Seeking through mpg videos doesn't work properly

Yeah, and I'm about to take time out of my schedule to fix the damned
problem myself - it's been well over 6 months and at least one update of
GNOME (proper) and no fix for this. I do believe, however, that it's an
amd64 specific problem...you running amd64?

Regards,
spectrm

Revision history for this message
Rich Wales (richw) wrote :

spectrm wrote:

> Yeah, and I'm about to take time out of my schedule to fix the damned
> problem myself - it's been well over 6 months and at least one update of
> GNOME (proper) and no fix for this. I do believe, however, that it's an
> amd64 specific problem...you running amd64?

I am NOT running amd64. My machine is an amd64, but I'm running 32-bit:

Linux liberation 2.6.20-16-generic #2 SMP Fri Aug 31 00:55:27 UTC 2007 i686
GNU/Linux

--
Rich Wales === Palo Alto, CA, USA === <email address hidden>
http://www.richw.org === http://en.wikipedia.org/wiki/User:Richwales
    "The difference between theory and practice is that, in theory,
theory and practice are identical -- whereas in practice, they aren't."

Revision history for this message
spectrm (spectrum-ver-x) wrote :

Rich Wales wrote:
> spectrm wrote:
>
>
>> Yeah, and I'm about to take time out of my schedule to fix the damned
>> problem myself - it's been well over 6 months and at least one update of
>> GNOME (proper) and no fix for this. I do believe, however, that it's an
>> amd64 specific problem...you running amd64?
>>
>
> I am NOT running amd64. My machine is an amd64, but I'm running 32-bit:
>
> Linux liberation 2.6.20-16-generic #2 SMP Fri Aug 31 00:55:27 UTC 2007 i686
> GNU/Linux
>
>
the problem, as I understand it thus far, has less to do with the
bytecode as it does the byte-cruncher (CPU) and the way the gstreamer
engine chunks up the bits for a 64-bitCPU...I've seen people running
Intel64 with the same problem, but only temporarily (eg. prior to a
patch) for 32bit CPUs.

If in your web-grepping, you find something I missed, please let me know.

Regards,
spectrm

Changed in totem:
status: Confirmed → Triaged
Revision history for this message
prem (premanand) wrote :

hi,
 im playing mp3 song from my http server like http://18.36.57.78/song.mp3 . im able to play .. but when i do seeking its not seeking .... is it possble to seek in totem-gstreamer ... but im able to seek when i play local mp3 files.....

Revision history for this message
tomten (fredrik-corneliusson) wrote :

I can confirm this issue on Ubuntu 8.04 running on:
CPU: AMD 64X2
GFX: ATI X1950 (fglrx 8.4)
MB: Asus A8N SLI delux MB.

The funny thing is I thought this issue was solved in 7.10 as I cant remember experiencing the issue there but I might just have missed it.

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

why did you open a totem-pl-parser bug? closing this one since it's not correct

Changed in totem-pl-parser:
importance: Undecided → Low
status: New → Invalid
Revision history for this message
Miloš Mandarić (mandzo18) wrote :

I think I have similar problem. Seek works awfully bad . Video is .vob file (MPEG-2,audio codec is AC-3). First time when i press right arrow it goes forward 2min. Next time 3, and third time 7min's. At about 12min of video it hangs. Same thing happens if I press left arrow, it goes forward. Also if I grab scrollbar with mouse and seek forward it hangs at 13min. Video is about 20min.
I am using Jaunty. If somebody thinks it's another issue, I could report as another bug.

Revision history for this message
Kristoffer Lundén (kristoffer-lunden) wrote :

I have something similar to your problem in Intrepid, Miloš. Totem seeks forward on VOB files even when I press the left arrow, and clicking the seek bar with middle button is imprecise.

No idea if it's the same bug as this though, but please let me know if you open a separate bug?

Changed in totem:
status: Confirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug has been fixed upstream now

Changed in totem (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package totem - 2.27.2-0ubuntu1

---------------
totem (2.27.2-0ubuntu1) karmic; urgency=low

  * New upstream release (LP: #403816)
    - Movie Player
      - Add frame-by-frame stepping (LP: #33325)
      - Better fallback names for audio and languages tracks
      - Make the arrow keys navigate DVD menus when one is loaded
      - Move subtitles-related menu items to View → Subtitles.
      - Bug fixes:
        - Fix loading subtitles from the cache
        - Fix loading videos when Totem is already running (LP: #383386)
        - Fix drag'n'dropping a video onto itself reloading the video
        - Only add a file to the recent files when it has been played,
          makes startup with loads of files much quicker
    - GStreamer backend:
      - Prevent tags from other tracks to show up when
        they're not used
      - Try to mount the location where the file is when it's
        not already mounted
    - YouTube plugin:
      - Fix a possible crasher when loading thumbnails
      - Fix problems in non-English locales
      - Fix video list rendering problems
      - Added stop button (LP: #376190)
    - Fix UI differences between the YouTube, Jamendo and local seach plugins
  * debian/control.in:
    - Bump gstreamer requirements to 0.10.23.2
  * debian/patches/67_inverted_allow_screensaver_on_audio.patch:
    - Applied upstream
  * debian/patches/02_lpi.patch:
  * debian/patches/66_show-cover-image.patch:
  * debian/patches/70_bbc_plugin.patch:
  * debian/patches/90_autotools.patch:
    - Refreshed

 -- Robert Ancell <email address hidden> Fri, 24 Jul 2009 10:29:40 +1000

Changed in totem (Ubuntu):
status: Fix Committed → Fix Released
Changed in totem:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

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