Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Hardware & Software > Software players
Register FAQ Calendar Today's Posts Search

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 23rd January 2012, 10:08   #1  |  Link
SumuduF
Registered User
 
Join Date: Dec 2011
Posts: 4
MPlayer2 seek does not work for MPEG1 program stream files

I’m working with the new MPlayer2.exe under windows in slave mode.
I want to do a precise seek in a MPEG1 program stream files(m2v video with mp2 audio), using the new MPlayer2.exe precise seek command, seek <value> [type] [hr-seek].

The way I used the command is,
seek <value> [type] [hr-seek]
type = 2 is a seek to an absolute position of <value> seconds.
hr-seek = 1 means force precise seek if possible.
In my C code I gave the command with the <value> for the time position as a double, calculated for the required frame. ("seek %f 2 1", fTime).

This works for MPEG2 program stream files(m2v video with mp2 audio), and other types like .AVI.
But for MPEG1 program stream files it jumps only to the key frames and not to the exact frame as expected.

Can someone please tell me why it does not work for MPEG1 files? Is there anyway to sort this out?
I have uploaded MPEG1 program stream sample files at,
http://uploading.com/files/46f51fcc/Mpeg1_mid.mpg/
http://uploading.com/files/aeda943b/Mpeg1_small.mpg/
SumuduF is offline  
Old 25th January 2012, 14:02   #2  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Closing crosspost.
Guest is offline  
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:49.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.