[Live-devel] testOnDemandRTSPServer always stream audio/MPA and video/MPV ?

edi87 at fibertel.com.ar edi87 at fibertel.com.ar
Wed Jan 26 05:00:37 PST 2011


Hello,

I'm seeing something that I consider weird.
I downloaded a lot of .mpg files which I'm streaming using testOnDemandRTSPServer. I run it and then launch openRTSP with '-q' arg to obtain a mov file.
When openRTSP open the stream I see:

Created receiver for "video/MPV" subsession (client ports 53502-53503)
Created receiver for "audio/MPA" subsession (client ports 42830-42831)
Setup "video/MPV" subsession (client ports 53502-53503)
Setup "audio/MPA" subsession (client ports 42830-42831)
Warning: We don't implement a QuickTime Video Media Data Type for the "MPV" track, so we'll insert a dummy "????" Media Data Atom instead.  A separate, codec-specific editing pass will be needed before this track can be played.
Warning: We don't implement a QuickTime Audio Media Data Type for the "MPA" track, so we'll insert a dummy "????" Media Data Atom instead.  A separate, codec-specific editing pass will be needed before this track can be played.
Started playing session
Receiving streamed data (signal with "kill -HUP 22469" or "kill -USR1 22469" to terminate)...

Which result in a .mov file that cannot be playable, afaik because openRTSP insert a dummy media atom instead correct one. This happen with ALL mpg files I tried.


If I do a ffmpeg -i test.mpg:
FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --extra-version=4:0.5.1-1ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 1 / 52.20. 1
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Mar  4 2010 12:35:30, gcc: 4.4.3
Input #0, mpegvideo, from 'test.mpg':
  Duration: 00:00:00.00, bitrate: 104867 kb/s
    Stream #0.0: Video: mpeg1video, yuv420p, 400x400 [PAR 1:1 DAR 1:1], 104857 kb/s, 30 tbr, 1200k tbn, 30 tbc

This happen with a lot of mpg that I tried.
My question is, what do I need to do to stream a mpg file and then be able to open it with openRTSP and obtain a valid .mov file?

Thanks in advance,

Jonathan
-------------- next part --------------
Ross

First all, thanks you and all the people who has contributed for being
developed such a nice piece of software.
Now, I would like to know, if it?s possible marking packets using QoS DSCP
based, RFC2474, (I think so) in live555mediaserver implementation RTP-UDP or
RTP-TCP.
According to good practices for DSCP QoS documentation:
for  RTSP DSCP would be CS4 -> 32 Dec -> 100000
for RTP DSCP would be AF31 -> 26 Dec -> 011010

I was digging into the code (specifically MultiFramedRTPSink.cpp) and can
see you?re inserting frames and packing into RTP packets (not founded where
you?re handling RTSP packets yet), so and I?m trying to understand where
would be the best place to insert the code for proper DSCP marking.

Thanks in advance
Rama
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20110126/f58c79e6/attachment.html>
-------------- next part --------------
_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel


More information about the live-devel mailing list