Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: OGG Multiplexer leaves dead "duration" at end of file?
Started by kdixon at 06-10-2009 17:41. Topic has 5 replies.

Print Search « Previous Thread Next Thread »
  06-10-2009, 17:41
kdixon is not online. Last active: 12/11/2009 11:18:11 PM kdixon

Top 500 Posts
Joined on 06-05-2009
Posts 16
OGG Multiplexer leaves dead "duration" at end of file?
Reply Quote
Hello,

I'm using the OGG Multiplexer to record video/audio stream to disk. The video stream is MPEG2, and the audio is AC3. When I multiplex these streams to the OGG Multiplexer, there seems to be some issue with indexing when I play it back. GraphEdit and other applications show there to be several seconds of time at the end of the file that cannot be seeked to or played back, though the end of the video/audio stream corresponds to when I halted the capture.

When I use the MPEG2 Multiplexer, it does not exhibit this behavior.

Is this a bug in the OGG Multiplexer, or a short-coming of OGG indexing with MPEG2 and AC3?

Thanks

   Report 
  06-11-2009, 12:52
Basel is not online. Last active: 12/29/2009 11:15:20 AM Basel



Top 10 Posts
Joined on 03-24-2009
Posts 410
Re: OGG Multiplexer leaves dead "duration" at end of file?
Reply Quote
I tested this as follows with our C# Capture Demo:
1. Changed the output format in the code to OGG.
2. Used our MPEG2 video compressor and AC3 audio compressor.
3. Captured video with audio for 500 seconds.

When I played back the resulting OGG file, the audio was synchronized with the video until the last second.

Can you send me details for how you tested exactly?
Basel Abdel-Aziz
LEAD Technical Support

   Report 
  06-11-2009, 18:01
kdixon is not online. Last active: 12/11/2009 11:18:11 PM kdixon

Top 500 Posts
Joined on 06-05-2009
Posts 16
Re: OGG Multiplexer leaves dead "duration" at end of file?
Reply Quote
I've been looking through the code, what file and line do I need to see to adjust the container format?

   Report 
  06-14-2009, 9:18
Basel is not online. Last active: 12/29/2009 11:15:20 AM Basel



Top 10 Posts
Joined on 03-24-2009
Posts 410
Re: OGG Multiplexer leaves dead "duration" at end of file?
Reply Quote
You need to change the TargetFormat property of our ltmmCapture control and instead of ltmmCapture_TargetFormat_AVI, you should make it ltmmCapture_TargetFormat_OGG.
Basel Abdel-Aziz
LEAD Technical Support

   Report 
  06-15-2009, 13:34
kdixon is not online. Last active: 12/11/2009 11:18:11 PM kdixon

Top 500 Posts
Joined on 06-05-2009
Posts 16
Re: OGG Multiplexer leaves dead "duration" at end of file?
Reply Quote
Hi Basel,

I set my target format as OGG like you said, and it worked correctly.

By the way, I am building my DirectShow graph by hand. Are there any API calls I should be making to the OGG multiplexer?

   Report 
  06-16-2009, 13:30
Basel is not online. Last active: 12/29/2009 11:15:20 AM Basel



Top 10 Posts
Joined on 03-24-2009
Posts 410
Re: OGG Multiplexer leaves dead "duration" at end of file?
Reply Quote
Do you mean you're using a tool like EditGraph, or you're writing code using the MS DirectShow SDK?

In any case, setting the target format to ltmmCapture_TargetFormat_OGG in our Multimedia toolkit is equivalent to inserting our OGG Mux and a File Writer at the end of the filter graph, so it shouldn't matter how you do it.
Basel Abdel-Aziz
LEAD Technical Support

   Report 
Post
LEAD Support Fo... » Enduser » Multimedia Code... » Re: OGG Multiplexer leaves dead "duration" at end of file?

Powered by Community Server, by Telligent Systems