[Helix-producer-dev] Live encoding and RM Events

[Helix-producer-dev] Live encoding and RM Events

szuzso at thot-soft.com szuzso at thot-soft.com
Tue Apr 4 14:33:45 PDT 2006


Hi Sujeet,

Thank you very much your reply. Setting disableWallClock property solved
the problem.

Thanks again,
Zsolt Szunyog

> I think the problem is result of difference in time stamp in audio video
> stream got via capture, which uses wall-clock time and Event stream which
> is provided with 0 based time.
>
> Here are the possible solutions
>
> 1> Make Capture use a zero base time.
> You will have to set a boolean property on the job
> <disableWallClock type="bool">true</disableWallClock>
>
> 2> Add the WallClockoffset from Preview.
> Unfortunately the way to do this is not as straightforward. You will have
> to subscribe to input preview for audio/video sample and the first
> sample's
> start timestamp is the WallClock offset used by the capture. You can refer
> to Active-X code for details.
>
> Thanks
> Sujeet
>
>
>
>
>>Hi All,
>>
>>I still have problem with live encoding and RM events using producer sdk.
>>The problem is that the video stops in the Realplayer after encoding the
>>URL/TAC events. I tried several ways to solve the problems, perhaps
>>somebody will have any idea.
>>
>>My starting point was the advencoder sample application. I changed it by
>>uncommenting the _DO_EVENTS define (enabling events). After running the
>>application, the video stops only, if I configuring the application in
>> the
>>way that the input is capture input. It stops not exactly at the time
>> when
>>the EncodeSample function is called, but some seconds later and it is
>>independent of the start and end time of the EventSample.
>>
>>I tried uncompressed avi file input instead of capture input and
>>everything worked fine! The other parts of the configuration (setup of
>> the
>>event input, the event stream, audiences, output etc.) the same, the only
>>difference is the file input.
>>
>>I also tried my sources under linux and windows sdk too but in case of
>>capture input I got the same problem.
>>
>>I tried to send TAC event instead of URL event but I have the same
>> problem.
>>
>>I built a produrer with Activex using Visual Studio .NET. In both case
>>(file and capture input) everything worked fine! I checkout'ed the source
>>of the Activex sdk and checked it by line-by-line regarding the event
>>sending mechanism but did not find relevant difference.
>>The Activex solution is not suits me for final solution because I want to
>>use the encoder on linux.
>>
>>Summarize: in case of capture input using producer sdk the video stops
>>after encoding the (URL/TAC) event, but no problem in case of file input.
>>And it works with activex sdk.
>>
>>Can somebody point me any directions where could be the problem or who
>> can
>>help me to solved this issue?
>>Any idea would be very much appreciated.
>>
>>Thanks,
>>Zsolt Szunyog
>>
>>
>>Zsolt Szunyog wrote:
>>>Hi All,
>>>I would like to build an application using producer sdk that do the
>>>following:
>>>  * the input is captured live stream
>>>  * the output is a single-password pushserver
>>>  * the configuration is specified in jobfile; not to build the whole
>>> producer by program
>>>  * during the live encoding for a certain event I would like to send an
>>> URL event
>>>My sources mainly based on the encoder and the mediasinkencoder sample
>>>applications. Everything works fine but when I send an event, the video
>>>in the RealPlayer freezes. Seems like I mix the RM event into the video
>>>stream not to the event stream, but I don't know what I messed up.
>>>If you have any idea please help me. You can find detailed description
>>>below what I did. If you need more precise source code/job file I can
>>>send them.
>>>Thanks in advance,
>>>Zsolt Szunyog
>>
>>_______________________________________________
>>Helix-producer-dev mailing list
>>Helix-producer-dev at helixcommunity.org
>>http://lists.helixcommunity.org/mailman/listinfo/helix-producer-dev
>





More information about the Helix-producer-dev mailing list
 

Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
All other trademarks or registered trademarks are the property of their respective holders.