[streaming] Reg:H.264 video streaming

Thomas Christensen tchristensen at nordija.com
Wed Oct 31 23:18:00 CET 2007


Well I noticed the 0.8.6c line in the sdp.
I'm using 0.8.6a and when I use the sdp generated by my vlc I get an  
image with artifacts and it's all sort of dimmed. When I use the  
following line from you sdp:
a=fmtp:96 packetization-mode=1;profile-level-id=4d4033;sprop-parameter- 
sets=Z01AM7kYFgJNgQgAAAMACAAAAwGUeMGJwA==,aO48gA==;
the image turns completely green.

My sdp file (yes I'm currently using normal mpeg audio - haven't got  
the AAC libs on my box yet):
v=0
o=- 1193866005708667 2 IN IP4 127.0.0.1
s=NONE
t=0 0
a=tool:vlc 0.8.6a
c=IN IP4 172.27.1.2
m=audio 8192 RTP/AVP 14
a=rtpmap:14 MPA/90000
b=AS:96
m=video 8190 RTP/AVP 96
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4d4033;sprop-parameter- 
sets=Z01AM7kYFgJNgQgAAAMACAAAAwGUeMGJwA==,aO48gA==;
b=AS:800

Any ideas?

How did you btw set it up to used an old x264 lib?

Thomas

On 31 Oct 2007, at 22:38, Thomas Christensen wrote:

> Thanks for the information. What version of vlc are you using and  
> under what Linux are you running it?
>
> On 31 Oct 2007, at 19:25, Sergei Gurjev wrote:
>
>> Here is my vlm config to transcode from mpeg2-ts to H.264+AAC for  
>> darwin server:
>>
>> new enter broadcast enabled loop
>> setup enter input udp://@239.255.0.7:1234
>> setup enter output  
>> #transcode{vcodec=h264,deinterlace,acodec=mp4a,ab=96,scale=1,fps=25,\
>> venc=x264{vbv- 
>> maxrate=1500,me=hex,subme=2,partitions=normal,bframes=1,b- 
>> adapt=none,\
>> chroma- 
>> me 
>> =none,merange=16,cabac=none,keyint=25},channels=2,samplerate=44100}:\
>> rtp{mp4a-latm,port-video=8120,port-audio=8122,dst=10.11.0.85,sdp="file:///usr/local/movies/sdp/enter.sdp 
>> "}
>> control enter play
>>
>> Darwin server located in another machine with standart config file  
>> and sdp file presented in /usr/local/movies :
>>
>> v=0
>> o=- 1190289201288561 2 IN IP4 127.0.0.1
>> s=NONE
>> t=0 0
>> a=tool:vlc 0.8.6c
>> c=IN IP4 10.11.0.85
>> m=audio 8122 RTP/AVP 97
>> b=AS:96
>> a=rtpmap:97 MP4A-LATM/44100/2
>> a=fmtp:97 profile-level-id=15; object=2; cpresent=0;  
>> config=400024203fc0
>> m=video 8120 RTP/AVP 96
>> b=AS:1500
>> a=rtpmap:96 H264/90000
>> a=fmtp:96 packetization-mode=1;profile-level-id=4d4033;sprop- 
>> parameter-sets=Z01AM7kQFoJN/4AIAAeIAAADAAgAAAMBlHjBlQ==,aO48gA==;
>>
>>
>> P.S. look careful to payload tyles of sdp file "fmtp:96 or fmtp: 
>> 97". I'm using old release (r655) of x264
>>
>> Thomas Christensen wrote:
>>> Well using 0.8.6a we have managed to stream through Darwin  
>>> Streaming Server, however the encoded H.264 doesn't seem to go  
>>> down well with Quicktime. Lots of "green" fragments and what seems  
>>> like dropped frames. Do you know of a successful command line for  
>>> this?
>>>
>>> On 31 Oct 2007, at 09:21, Sergei Gurjev wrote:
>>>
>>>> Successful streaming of H.264+AAC to Quicktime reported if darwin  
>>>> streaming server used as reflector
>>>>
>>>>
>>>> Thomas Christensen wrote:
>>>>> I have had success streaming H.264 wrapped in MPEG-TS using RTP  
>>>>> packets. This works great using VLC as the client as well. I  
>>>>> have also tried to make Quicktime be the receiver but without  
>>>>> luck. I tried to remove the mux=ts so the H.264 was transported  
>>>>> in a raw format, still using RTP but that doesn't make Quicktime  
>>>>> receive it.
>>>>>
>>>>> Version used to stream: 0.8.6a
>>>>> Command line streaming a scaled down image in low bitrate:
>>>>> /usr/bin/vlc -vvvv --ttl 2 -I dummy --color <input url> --sout  
>>>>> #transcode 
>>>>> {venc 
>>>>> = 
>>>>> x264 
>>>>> {keyint 
>>>>> = 
>>>>> 25 
>>>>> ,me 
>>>>> = 
>>>>> hex 
>>>>> },fps 
>>>>> = 
>>>>> 25 
>>>>> ,threads 
>>>>> = 
>>>>> 2 
>>>>> ,scodec 
>>>>> = 
>>>>> dvbs 
>>>>> ,vcodec 
>>>>> = 
>>>>> h264 
>>>>> ,vb 
>>>>> = 
>>>>> 204 
>>>>> ,scale 
>>>>> = 
>>>>> 0.75 
>>>>> ,acodec 
>>>>> = 
>>>>> mpga 
>>>>> ,ab 
>>>>> = 
>>>>> 96 
>>>>> ,channels 
>>>>> = 
>>>>> 2 
>>>>> ,deinterlace}:duplicate{dst=rtp{mux=ts,late=500,dst=<destination  
>>>>> ip>,port=<destination port>,sdp=http://:8101/h264.sdp}} --sout-all
>>>>>
>>>>> Cheers
>>>>>
>>>>> Thomas
>>>>>
>>>>> On 31 Oct 2007, at 07:21, alok Yadav wrote:
>>>>>
>>>>>> Hi All,
>>>>>>       I just want to know that H.264 video can be streamed by  
>>>>>> vlc or
>>>>>> not.
>>>>>>
>>>>>> Thanks and regards
>>>>>> Alok
>>>>>> _______________________________________________
>>>>>> streaming mailing list
>>>>>> streaming at videolan.org
>>>>>> http://mailman.videolan.org/listinfo/streaming
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> _______________________________________________
>>>>> streaming mailing list
>>>>> streaming at videolan.org
>>>>> http://mailman.videolan.org/listinfo/streaming
>
> _______________________________________________
> streaming mailing list
> streaming at videolan.org
> http://mailman.videolan.org/listinfo/streaming

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1950 bytes
Desc: not available
Url : http://mailman.videolan.org/pipermail/streaming/attachments/20071031/bf1bf43e/attachment.bin 


More information about the streaming mailing list