[rtmpdump] Puzzled !
NhJm
nhjm449 at gmail.com
Fri Sep 23 05:39:10 CEST 2011
"rtmpdump blah --resume -o /tmp/blah.flv & sleep 5 && someplayercommand
/tmp/blah.flv"
"rtmpdump blah --resume -o /tmp/blah.flv & sleep 5 && cat /tmp/blah.flv |
whateverstdoutcommand"
...or whatever... but expect it to start playing from the beginning.
What you're wanting to do isn't very sensible.
On Thu, Sep 22, 2011 at 9:43 PM, Michael <tiemichael at gmail.com> wrote:
> Thank you!
> As you realized correctly my linux skills are very bad ...
> So, how do I tell RTMPDUM to use an outputfile (-o filename) so that resume
> is possible AND write to STDOUT at the same time?
> Your help is greatly appreciated!
>
>
> On 22/09/2011 19:53, Howard Chu wrote:
>
>> Michael wrote:
>>
>>> Thank you!
>>> There could be other ways to calculate the timestamp ... e.g. by saving
>>> to a temp-file in parallel,
>>>
>>
>> You can do that yourself. rtmpdump | tee /tmp/somefile | whatever. Learn
>> how to use your computer before you make stupid feature requests.
>>
>> or storing the last timestamp every second
>>> or so ...
>>>
>>
>> But my main question is: why is streaming failing 100%, and recording is
>>> always fine ?
>>>
>>
>> Because.
>>
>> I've spent a lot of effort writing glue code so that apps like mplayer,
>> ffmpeg, VLC, and XBMC can all integrate directly with librtmp. If viewing
>> media just by running rtmpdump and spitting data to stdout worked reliably,
>> there would be no need to jump in at a lower level (library integration).
>>
>> But the fact is, an RTMP stream is a complex beast; it's a 2-way
>> conversation between a client and a server. Piping output from rtmpdump to
>> some other program is only 1-way communication; much flexibility is lost
>> doing this.
>>
>> Now please quit asking the same questions over and over again.
>>
>> On 22/09/2011 14:55, Ralph Spitzner wrote:
>>>
>>>> Michael wrote:
>>>>
>>>>> Hi,
>>>>> maybe someone out the can help me to understand things a little better!
>>>>>
>>>> [..]
>>>>
>>>>> excludes the 'resume-option' in streaming mode (why is there no resume
>>>>> possible?)
>>>>>
>>>>
>>>> To answer this question a zillionth time:
>>>> Because rtmpdump doesn't now where you left off.
>>>> (last timestamp isn't known....)
>>>>
>>>> regards
>>>> -rasp
>>>>
>>>
>>
> ______________________________**_________________
> rtmpdump mailing list
> rtmpdump at mplayerhq.hu
> https://lists.mplayerhq.hu/**mailman/listinfo/rtmpdump<https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20110922/440bc09e/attachment.html>
More information about the rtmpdump
mailing list