Wednesday, April 8, 2015

Session Description Protocol on FreeBox V5

Currently here is what I have on FreeBox v5 (firmware 1.5.20):

$ avprobe "rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=996&flavour=hd"
[...]
Input #0, rtsp, from 'rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=996&flavour=hd': Metadata: title : unknown comment : unknown Duration: N/A, start: 13461.359467, bitrate: N/A Stream #0.0: Data: [0][0][0][0] / 0x0000 Stream #0.1: Data: [0][0][0][0] / 0x0000 Stream #0.2: Audio: aac, 48000 Hz, stereo, s16 Stream #0.3: Data: [0][0][0][0] / 0x0000 Stream #0.4: Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 26.40 fps, 25 tbr, 90k tbn, 50 tbc
[...]

This is part of the Real Time Streaming Protocol, during a `DESCRIBE` (https://en.wikipedia.org/wiki/Real_Time_Streaming_Protocol#Protocol_directives) an application/sdp message is sent containing:


v=0
o=leCDN 1428411111 1234565108 IN IP4 kapouet.proxad.net
s=unknown
i=unknown
c=IN IP4 0.0.0.0
t=0 0
m=video 0 RTP/AVP 33
a=control:rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=100008

It would have been nicer to include the actual name of the show to store it as title in an MP4 container !

No comments: