Seeking MPEGs very imprecise

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
bfcapell
New Cone
New Cone
Posts: 3
Joined: 07 Apr 2009 15:29

Seeking MPEGs very imprecise

Postby bfcapell » 09 Apr 2009 16:01

Hello,
I noticed a problem when playing mpeg files. If I try to seek to a specific time, it will do it but with a poor precision. That means that e.g. if I seek to 00:04:00, it may go to 00:03:50, or to 00:04:20, seems quite arbitrary. The problem is bigger with bigger videos (trying to go to 30' in a 1h video can go to some minutes before or after). But it works more acceptably if I seek to near the beginning or the end of the video.
Here are the details of my environment. Tried in:
- Ubuntu / Windows xp
- VLC 0.9.8a, 0.9.9a
- mpeg1 and mpeg2 ps files, from different sources, and they all fail. FLV or AVI files seek perfectly, that's why I think this is mpeg-specific.
Any thoughts about why this is happening?

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Re: Seeking MPEGs very imprecise

Postby The DJ » 10 Apr 2009 18:25

Quite correct, this is because mpeg files are not indexed file formats, and also can be very "lossy" (dropped data packets, corruptions etc). As such, it is much more difficult to do exact searching, without pre-parsing the entire file.
Don't use PMs for support questions.

bfcapell
New Cone
New Cone
Posts: 3
Joined: 07 Apr 2009 15:29

Re: Seeking MPEGs very imprecise

Postby bfcapell » 13 Apr 2009 19:25

Hi again, thanks for your answer. Is there a way to do this pre-parsing? Or if I want to seek with more precision, my best bet is simply to use another format?


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 9 guests