Elecard
May 18, 2013, 08:38:02 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Stop position ignored  (Read 634 times)
flobadob
Newbie
*
Posts: 2


View Profile
« on: July 22, 2011, 07:53:03 am »

I cannot get my graph to recognise the stop position when calling IMediaSeeking::SetPositions. I'm grabbing a small video clip so the stop position is important. The start position works ok. Graph looks like...

async reader -> mp4 demuxer -> mp4 muxer -> file writer.

I build the graph, set the reference clock to null, call SetPositions, run the graph, waitforcompletion. The call to setpositions returns S_OK. It's all working fine apart from the output file being too long - starting at the correct place but continuing right to the end of the original file.

I understand that the demuxer is responsible for honouring the stop position. Does the Elecard mp4 demuxer honour the stop position?
Logged
IrinaM
Moderator
*****
Posts: 138


View Profile
« Reply #1 on: July 27, 2011, 02:18:53 am »

Hello flobadob!

What values do you set for the parameters when you call the SetPosition function?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!