On Mon, Sep 12, 2011 at 10:07 AM, hatsch <[email protected]> wrote:
> at the moment the source stream contains no audio channel. good to
> know that it's very likely the missing audio channel. i'll get another
> device to test within the next days and will give it another try.
> the "strange" thing is that multicast works, where rtp is not.

hmm, but then is there some "empty" audio stream in the TS mux? If
not, then it appears that in libavformat, a RTP session without SDP
sets up a default audio stream that does not get filled. I can make a
fix in the avformat producer such that a 0 channel audio stream is not
a valid audio stream during streams detection.

> anyway, thanks for pointing to that direction
> ste
>
> On Mon, Sep 12, 2011 at 6:41 PM, Dan Dennedy <[email protected]> wrote:
>> On Mon, Sep 12, 2011 at 9:01 AM, hatsch <[email protected]> wrote:
>>> hello there,
>>> i am currently setting up a streaming server for remote studios to
>>> broadcast through our infrastructure.
>>> the streaming part is done with open broadcast encoder (
>>> https://github.com/kierank/broadcastencoder ) which generates a X264
>>> udp or rtp stream.
>>>
>>> on the other end i want to use melt to catch the stream and output it
>>> to SDI or SDL for the moment.
>>> that works fine when i set up OBE with udp.
>>> melt udp://224.224.224.224:3000 shows the stream
>>>
>>> but it doesn't work with the rtp stream. i've tried version 0.7.4 as
>>> well as todays git. both compiled with the melted build scripts.
>>> ffplay complains a little bit but plays the stream almost instantly.
>>> melt quits with a Segmentation Fault, so i guess it might be some
>>> additional integrity check from mlt that causes the problem?
>>>
>>> any idea what this could be? i've attached the outputs of ffplay and melt.
>>
>> The number of audio channels is determined by ffmpeg to be 0, which
>> causes the audio resampling filter to fail. I believe even if the
>> resampler is fixed or removed that it would cause other problems. And
>> the end result of all fixes is going to be no audio output. So, I
>> would try to figure out what is causing the audio to signal 0 channels
>> with ffplay and then retry with melt.
>>
>>> greetings
>>> stefan
>>>
>>> output of ffplay:
>>>
>>> ./ffplay rtp://192.168.1.132:3000
>>> ffplay version N-30686-g677a831, Copyright (c) 2003-2011 the FFmpeg 
>>> developers
>>>  built on Sep 12 2011 17:32:23 with gcc 4.4.5
>>>  configuration: --prefix=/home/hatsch/melted/20110912 --disable-doc
>>> --disable-ffserver --enable-gpl --enable-version3 --enable-shared
>>> --enable-debug --enable-pthreads --enable-runtime-cpudetect
>>> --enable-libtheora --enable-libvorbis --enable-libmp3lame
>>> --enable-libx264
>>>  libavutil    51. 16. 0 / 51. 16. 0
>>>  libavcodec   53. 13. 0 / 53. 13. 0
>>>  libavformat  53. 12. 0 / 53. 12. 0
>>>  libavdevice  53.  3. 0 / 53.  3. 0
>>>  libavfilter   2. 39. 0 /  2. 39. 0
>>>  libswscale    2.  1. 0 /  2.  1. 0
>>>  libpostproc  51.  2. 0 / 51.  2. 0
>>> [NULL @ 0x953c720] non-existing PPS referenced
>>> [h264 @ 0x953c720] non-existing PPS 0 referenced
>>> [h264 @ 0x953c720] decode_slice_header error
>>> [h264 @ 0x953c720] no frame!
>>> [h264 @ 0x953c720] non-existing PPS referenced
>>> [h264 @ 0x953c720] non-existing PPS 0 referenced
>>> [h264 @ 0x953c720] decode_slice_header error
>>> [h264 @ 0x953c720] no frame!
>>> [h264 @ 0x953c720] non-existing PPS referenced
>>> [h264 @ 0x953c720] non-existing PPS 0 referenced
>>> [h264 @ 0x953c720] decode_slice_header error
>>> [h264 @ 0x953c720] no frame!
>>> [h264 @ 0x953c720] Missing reference picture
>>>    Last message repeated 1 times
>>> [h264 @ 0x953c720] mmco: unref short failure
>>>    Last message repeated 2 times
>>> [rtp @ 0x953ea60] max_analyze_duration 5000000 reached at 5000000
>>> [rtp @ 0x953ea60] Estimating duration from bitrate, this may be
>>> inaccurate
>>> Input #0, rtp, from 'rtp://192.168.1.132:3000':
>>>  Duration: N/A, start: 10.000000, bitrate: N/A
>>>  Program 1
>>>    Stream #0.0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p,
>>> 720x576 [SAR 1:1 DAR 5:4], 25.40 fps, 25 tbr, 90k tbn, 50 tbc
>>>    Stream #0.1: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
>>> Invalid sample rate or channel count
>>> [h264 @ 0x953c720] mmco: unref short failureq=   29KB sq=    0B f=0/0
>>> [rtp @ 0x953ea60] Continuity check failed for pid 49 expected 2 got 8
>>> [rtp @ 0x953ea60] Continuity check failed for pid 0 expected 2 got 3
>>>
>>>
>>> verbose output of melt (also tried without the profile)
>>>
>>> ./melt -profile dv_pal  rtp://192.168.1.132:3000 -verbose
>>> [rtp @ 0x8f1ec40] SDP:
>>> v=0
>>> c=IN IP4 192.168.1.132
>>> m=application 3000 RTP/AVP 33
>>>
>>> [NULL @ 0x8f236a0] non-existing PPS referenced
>>> [h264 @ 0x8f236a0] non-existing PPS 0 referenced
>>> [h264 @ 0x8f236a0] decode_slice_header error
>>> [h264 @ 0x8f236a0] no frame!
>>> [h264 @ 0x8f236a0] non-existing PPS referenced
>>> [h264 @ 0x8f236a0] non-existing PPS 0 referenced
>>> [h264 @ 0x8f236a0] decode_slice_header error
>>> [h264 @ 0x8f236a0] no frame!
>>> [h264 @ 0x8f236a0] non-existing PPS referenced
>>> [h264 @ 0x8f236a0] non-existing PPS 0 referenced
>>> [h264 @ 0x8f236a0] decode_slice_header error
>>> [h264 @ 0x8f236a0] no frame!
>>> [h264 @ 0x8f236a0] non-existing PPS referenced
>>> [h264 @ 0x8f236a0] non-existing PPS 0 referenced
>>> [h264 @ 0x8f236a0] decode_slice_header error
>>> [h264 @ 0x8f236a0] no frame!
>>> [h264 @ 0x8f236a0] non-existing PPS referenced
>>> [h264 @ 0x8f236a0] non-existing PPS 0 referenced
>>> [h264 @ 0x8f236a0] decode_slice_header error
>>> [h264 @ 0x8f236a0] no frame!
>>> [h264 @ 0x8f236a0] non-existing PPS referenced
>>> [h264 @ 0x8f236a0] non-existing PPS 0 referenced
>>> [h264 @ 0x8f236a0] decode_slice_header error
>>> [h264 @ 0x8f236a0] no frame!
>>> [h264 @ 0x8f236a0] non-existing PPS referenced
>>> [h264 @ 0x8f236a0] non-existing PPS 0 referenced
>>> [h264 @ 0x8f236a0] decode_slice_header error
>>> [h264 @ 0x8f236a0] no frame!
>>> [h264 @ 0x8f236a0] non-existing PPS referenced
>>> [h264 @ 0x8f236a0] non-existing PPS 0 referenced
>>> [h264 @ 0x8f236a0] decode_slice_header error
>>> [h264 @ 0x8f236a0] no frame!
>>> [h264 @ 0x8f236a0] non-existing PPS referenced
>>> [h264 @ 0x8f236a0] non-existing PPS 0 referenced
>>> [h264 @ 0x8f236a0] decode_slice_header error
>>> [h264 @ 0x8f236a0] no frame!
>>> [h264 @ 0x8f236a0] non-existing PPS referenced
>>> [h264 @ 0x8f236a0] non-existing PPS 0 referenced
>>> [h264 @ 0x8f236a0] decode_slice_header error
>>> [h264 @ 0x8f236a0] no frame!
>>> [h264 @ 0x8f236a0] non-existing PPS referenced
>>> [h264 @ 0x8f236a0] non-existing PPS 0 referenced
>>> [h264 @ 0x8f236a0] decode_slice_header error
>>> [h264 @ 0x8f236a0] no frame!
>>> [rtp @ 0x8f1ec40] max_analyze_duration 5000000 reached at 5000000
>>> [rtp @ 0x8f1ec40] Estimating duration from bitrate, this may be inaccurate
>>> [producer avformat] audio: total_streams 1 max_stream 1 total_channels
>>> 0 max_channels 0
>>> +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+
>>> |1=-10| |2= -5| |3= -2| |4= -1| |5=  0| |6=  1| |7=  2| |8=  5| |9= 10|
>>> +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+
>>> +---------------------------------------------------------------------+
>>> |               H = back 1 minute,  L = forward 1 minute              |
>>> |                 h = previous frame,  l = next frame                 |
>>> |           g = start of clip, j = next clip, k = previous clip       |
>>> |                0 = restart, q = quit, space = play                  |
>>> +---------------------------------------------------------------------+
>>> [h264 @ 0x8f236a0] mmco: unref short failure
>>> Unsupported audio resampling. Allowed output channels for 0 input
>>> channel:
>>> [filter resample] SRC ratio outside [1/256, 256] range. 0,0,48000
>>> Gleitkomma-Ausnahme        0
>>>
>>> ------------------------------------------------------------------------------
>>> Doing More with Less: The Next Generation Virtual Desktop
>>> What are the key obstacles that have prevented many mid-market businesses
>>> from deploying virtual desktops?   How do next-generation virtual desktops
>>> provide companies an easier-to-deploy, easier-to-manage and more affordable
>>> virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
>>> _______________________________________________
>>> Mlt-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/mlt-devel
>>>
>>
>>
>>
>> --
>> +-DRD-+
>>
>



-- 
+-DRD-+

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to