[streaming] Streaming or dumping from receiving sdp stream
Siegfried Wagner
wagner at ftw.at
Wed Dec 13 20:12:24 CET 2006
Hi,
today I posted my question into the public web forum. But I also want to
ask it here:
I'm trying to watch DVB-H streams with vlc and thanks to the
improvements of H.264 decoding this really works fine now!
To watch the ip-encapsulated video and audio data I need to start vlc
with the appropriate sdp-file (see below). This includes two different
ports on the multicast-ip with one for video and one for audio.
As mentioned this works fine for just playing. But I need to re-stream
this stream, and here is where the error occurs: In the best case I can
manage to dump audio to a file, but never video!?
For example with
":sout=#duplicate{dst=display,dst=std{access=file,mux=ts,dst="vlc_record"}}" I can listen to the audio but no video is shown, and the same is for the recorded file.
Stream information is always correct:
Stream 0:
Codec: h264
Language:
Type: Video
Stream 1:
Codec: mp4a
Language:
Type: Audio
Channels: 2
Samplerate: 48000 Hz
But the statistics show that there are no video frames decoded.
Without any sout parameters I can see the video without problems!
So I guess there is just something wrong in the processing chain, so
that streams consisting of more than one sub-stream cannot be
re-streamed.
Am I right?
Thanks for your help!
Below this is the example sdp file I'm using:
o=- 4772692213944784 4772692213944785 IN IP4 172.22.5.10
s=enc_orf1
c=IN IP4 225.225.225.10
b=AS:522
t=0 0
a=control:*
a=range:npt=now-
m=video 1100 RTP/AVP 96
b=AS:435
b=RR:16312
b=RS:5437
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1; profile-level-id=42e00d;
sprop-parameter-sets=Z0LgDdoFB+wEQAAAAwBAAK/I
GiAEmADBm974PjhVQA==,aM41IA==
a=control:trackID=1
a=TIAS:300000
a=maxprate:400
m=audio 1102 RTP/AVP 97
b=AS:87
b=RR:3262
b=RS:1087
a=rtpmap:97 mpeg4-generic/48000/2
a=fmtp:97
streamType=5;profile-level-id=41;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3
;config=11920000
a=control:trackID=2
a=lang:de
a=TIAS:64000
a=maxprate:50
--
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html
More information about the streaming
mailing list