Group:  English: Entertainment » microsoft.public.windowsmedia
Thread: Convert a live stream from h264 to WM format?

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Convert a live stream from h264 to WM format?
jChambers 30.06.2007 18:20:02
Hello all --

I am receiving a live stream in H.264 and need to convert it so I can
redistribute the stream via WMS. Are there any solutions for this?

Also I would like to create a “TIVO style” live stream so the user can
rewind/replay a scene and then fast forward to the live stream. Are there any
solutions for this as well?

Any ideas/hints are appreciated.

Jon

Re: Convert a live stream from h264 to WM format?
"Neil Smith [MVP Digital Media]" <neil[ at ]nospam.com> 01.07.2007 18:03:16
On Sat, 30 Jun 2007 11:20:02 -0700, jChambers
<jChambers[ at ]discussions.microsoft.com> wrote:

[Quoted Text]
>Hello all --
>
>I am receiving a live stream in H.264 and need to convert it so I can
>redistribute the stream via WMS. Are there any solutions for this?

I don't know how efficient it will be, but you should be able to
decode the H264 in VideoLAN, and convert it to ASF format then
re-packetise and send using http to the media server. Check out
http://www.videolan.org/vlc/features.html


Decoding H264 is very processor intensive, as is re-encoding on the
fly so I'm really not clear if a generic PC solution is going to be
much help.

Instead, you might want to contact Viewcast to see if the Niagara
series encoders / streamers can do the transcode for you :
http://www.viewcast.com/products/Niagara/vc_niagara_overview.htm


>Also I would like to create a “TIVO style” live stream so the user can
>rewind/replay a scene and then fast forward to the live stream. Are there any
>solutions for this as well?


The ability to play while archiving a stream is a native feature in
WMS enterprise or datacenter (other versions don't have that).

See http://msdn2.microsoft.com/en-us/library/ms753906.aspx

HTH
Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2007
http://mvp.support.microsoft.com/mvpfaqs
Re: Convert a live stream from h264 to WM format?
"Mac" <mac[ at ]nospam.com> 01.07.2007 23:27:27
Windows Media Encoder?

"jChambers" <jChambers[ at ]discussions.microsoft.com> wrote in message
news:2E77DB9B-9658-483E-858A-8557F5FE77E7[ at ]microsoft.com...
[Quoted Text]
> Hello all --
>
> I am receiving a live stream in H.264 and need to convert it so I can
> redistribute the stream via WMS. Are there any solutions for this?
>
> Also I would like to create a “TIVO style” live stream so the user can
> rewind/replay a scene and then fast forward to the live stream. Are there
> any
> solutions for this as well?
>
> Any ideas/hints are appreciated.
>
> Jon
>
Re: Convert a live stream from h264 to WM format?
"Neil Smith [MVP Digital Media]" <neil[ at ]nospam.com> 02.07.2007 20:47:31
WME in general doesn't have the ability to re-encode streams, it works
on a hardware and file basis (apart from some minor Axis network
camera drivers which are device specific).

WMS can't play or reflect H264 content, so it needs to be transcoded
after unpacking from the stream transport which is delivering the H264
content.

Cheers - Neil


On Mon, 2 Jul 2007 00:27:27 +0100, "Mac" <mac[ at ]nospam.com> wrote:

[Quoted Text]
>Windows Media Encoder?
>
>"jChambers" <jChambers[ at ]discussions.microsoft.com> wrote in message
>news:2E77DB9B-9658-483E-858A-8557F5FE77E7[ at ]microsoft.com...
>> Hello all --
>>
>> I am receiving a live stream in H.264 and need to convert it so I can
>> redistribute the stream via WMS. Are there any solutions for this?
>>
>> Also I would like to create a “TIVO style” live stream so the user can
>> rewind/replay a scene and then fast forward to the live stream. Are there
>> any
>> solutions for this as well?
>>
>> Any ideas/hints are appreciated.
>>
>> Jon
>>
------------------------------------------------
Digital Media MVP : 2004-2007
http://mvp.support.microsoft.com/mvpfaqs
Re: Convert a live stream from h264 to WM format?
jChambers 03.07.2007 04:42:01
Hi Neil and thank you for responding.

The H264 works well for me using a Core 2 Duo, still uses most of the
processing power though. I will worry more about that if I get the below to
work.


Have you successfully run vlc transcode that WMS can accept and redistribute?
I don not see any options that will name the stream so WMS can recognize it?
(for testing am viewing a wmv file to simplify things)
:sout=#std{access=http,mux=asf,dst=10.0.0.101/live2:80} (does not work)
:sout=#std{access=http,mux=asf,dst=10.0.0.101:80,name=live} (does not work)
(Sorry I know this not a VideoLan forum..)

When you say “re-packetise” is that transcoding the stream to wmv2 / mp3?




Using Server 2003 Enterprise edition
I see the archiving option but I am not sure that will help me.

I will try to explain myself better.

So let’s I have a live broadcast that has been streaming for 10 minutes now.
The goal is to let any user “seek” back to any point in the broadcast watch a
reply and then fast-forward or jump to current live portion of the stream
again.


Live broadcast stream

Archived VoD portion live stream adding to the VoD
continually
|-----------------------------------------|||

||| denotes the current live stream position.


Am I missing something and there is an easy way to do this?


Thanks,
Jon



"Neil Smith [MVP Digital Media]" wrote:

[Quoted Text]
> On Sat, 30 Jun 2007 11:20:02 -0700, jChambers
> <jChambers[ at ]discussions.microsoft.com> wrote:
>
> >Hello all --
> >
> >I am receiving a live stream in H.264 and need to convert it so I can
> >redistribute the stream via WMS. Are there any solutions for this?
>
> I don't know how efficient it will be, but you should be able to
> decode the H264 in VideoLAN, and convert it to ASF format then
> re-packetise and send using http to the media server. Check out
> http://www.videolan.org/vlc/features.html
>
>
> Decoding H264 is very processor intensive, as is re-encoding on the
> fly so I'm really not clear if a generic PC solution is going to be
> much help.
>
> Instead, you might want to contact Viewcast to see if the Niagara
> series encoders / streamers can do the transcode for you :
> http://www.viewcast.com/products/Niagara/vc_niagara_overview.htm
>
>
> >Also I would like to create a “TIVO style” live stream so the user can
> >rewind/replay a scene and then fast forward to the live stream. Are there any
> >solutions for this as well?
>
>
> The ability to play while archiving a stream is a native feature in
> WMS enterprise or datacenter (other versions don't have that).
>
> See http://msdn2.microsoft.com/en-us/library/ms753906.aspx
>
> HTH
> Cheers - Neil
> ------------------------------------------------
> Digital Media MVP : 2004-2007
> http://mvp.support.microsoft.com/mvpfaqs
>

Re: Convert a live stream from h264 to WM format?
"Neil Smith [MVP Digital Media]" <neil[ at ]nospam.com> 04.07.2007 20:12:14
On Mon, 2 Jul 2007 21:42:01 -0700, jChambers
<jChambers[ at ]discussions.microsoft.com> wrote:

[Quoted Text]
>Hi Neil and thank you for responding.
>
>The H264 works well for me using a Core 2 Duo, still uses most of the
>processing power though. I will worry more about that if I get the below to
>work.
>
>
>Have you successfully run vlc transcode that WMS can accept and redistribute?
>I don not see any options that will name the stream so WMS can recognize it?
>(for testing am viewing a wmv file to simplify things)
>:sout=#std{access=http,mux=asf,dst=10.0.0.101/live2:80} (does not work)
>:sout=#std{access=http,mux=asf,dst=10.0.0.101:80,name=live} (does not work)
>(Sorry I know this not a VideoLan forum..)


It's OK I'll try it out some time over the weekend and let you know if
I can get successful session description for VLC.


>Using Server 2003 Enterprise edition
>I see the archiving option but I am not sure that will help me.
>
>I will try to explain myself better.
>
>So let’s I have a live broadcast that has been streaming for 10 minutes now.
>The goal is to let any user “seek” back to any point in the broadcast watch a
>reply and then fast-forward or jump to current live portion of the stream
>again.
>
>
>Live broadcast stream
>
>Archived VoD portion live stream adding to the VoD
>continually
>|-----------------------------------------|||
>
>||| denotes the current live stream position.


Yes, and although you're broadcasting live, for the user to view and
random-access the data they would have to connect to a publishing
poitn which referenced the file.

That would be equivalent to accessing the live stream in the manner
you describe - of course live streams have no concept of forwards /
backwards.

In real player you can connect to a stream and do this by scrubbing
the timeline, but that's because the player caches the received
content.

I don't think WMP has a similar facility to jump within a locally
cached copy of the data, instead it relies on the server to provide
that feature.

Hope that's clearer.
Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2007
http://mvp.support.microsoft.com/mvpfaqs
Re: Convert a live stream from h264 to WM format?
jChambers 11.07.2007 17:28:16

Hi Neil, I am curious if you made headway with vlc connecting to wms?

Regards,
Jon

Re: Convert a live stream from h264 to WM format?
"Neil Smith [MVP Digital Media]" <neil[ at ]nospam.com> 11.07.2007 18:00:28
On Wed, 11 Jul 2007 10:28:16 -0700, jChambers
<jChambers[ at ]discussions.microsoft.com> wrote:

[Quoted Text]
>
>Hi Neil, I am curious if you made headway with vlc connecting to wms?

Ha, not not yet, my weekends seem overbooked until when I retire (in
about 25 years ;-)

I'll see if I can remember to have a go this weekend after a friends
stag do - so the testing might be sub optimal LOL

Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2007
http://mvp.support.microsoft.com/mvpfaqs

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net