[rtmpdump] "--stop" param not working

Francis Yáñez fjyaniez at gmail.com
Tue Mar 26 10:38:38 CET 2013


I would like to give more information to nginx-rtmp-module maintainer, so I used wireshark to capture the communication: 

$ rtmpdump -B 0.01 -r rtmp://video2.tercermilenio.tv/vod/mp4:449-1.250-360.mp4

103	1.577491000	192.168.1.90	SERVER	RTMP	163	Handshake C0+C1
128	1.812334000	192.168.1.90	SERVER	RTMP	162	Handshake C2

145	2.022642000	SERVER		192.168.1.90	RTMP	162	Handshake S0+S1+S2

148	2.022976000	192.168.1.90	SERVER	RTMP	148	connect('vod')

163	2.266173000	SERVER		192.168.1.90	RTMP	82	Window Acknowledgement Size 5000000
181	2.474262000	SERVER		192.168.1.90	RTMP	301	Set Peer Bandwidth 5000000,Dynamic | Set Chunk Size 4096 | _result('NetConnection.Connect.Success')

183	2.474912000	192.168.1.90	SERVER	RTMP	82	Window Acknowledgement Size 5000000
184	2.474914000	192.168.1.90	SERVER	RTMP	84	Set Buffer Length 0,300ms
185	2.474915000	192.168.1.90	SERVER	RTMP	99	createStream()

199	2.709950000	SERVER		192.168.1.90	RTMP	107	_result()

201	2.710364000	192.168.1.90	SERVER	RTMP	137	play('mp4:449-1.250-360.mp4')
202	2.710389000	192.168.1.90	SERVER	RTMP	77	Set Buffer Length 1,36000000ms

215	2.920354000	SERVER		192.168.1.90	RTMP	84	Stream Begin 1
217	2.945028000	SERVER		192.168.1.90	RTMP	1506	onStatus('NetStream.Play.Start') | Stream Is Recorded 1 | onMetaData() | Video Data | Audio Data
228	2.954073000	SERVER		192.168.1.90	RTMP	1506	Video Data
230	2.955202000	SERVER		192.168.1.90	RTMP	1506	Audio Data | Video Data | Audio Data | Video Data | Audio Data | Video Data | Audio Data | Video Data | Audio Data | Video Data
…

Where does rtmpdump indicate the duration parameter?

Thank you,

Francis Yáñez

El 26/03/2013, a las 02:07, NhJm <nhjm449 at gmail.com> escribió:

> It looks like nginx-rtmp-module does not honor the duration parameter of play().
> 
> You should probably talk to the maintainer of nginx-rtmp-module about this. :)
> 
> On Tue, Mar 19, 2013 at 2:31 PM, Francis Yáñez <fjyaniez at gmail.com> wrote:
>> Hello,
>> 
>> I'm triying to partially download a mp4 file though a rtmp stream
>> (server by nginx-rtmp-module) so I can generate a thumbnail without
>> downloading the entire file.
>> 
>> This is my test:
>> 
>> $ rtmpdump -B 0.01 -r rtmp://video2.tercermilenio.tv/vod/mp4:449-1.mp4
>> -o test.flv
>> 
>> When I run the previous command, rtmpdump output includes:
>> 
>> "For duration: 0.010 sec"
>> 
>> But it never stops, always downloads 100% of the file. I also tried
>> using the "-v" switch and another stop values, running version 2.3 or
>> current 2.4... with no success. What could be the problem?
>> 
>> Thank you.
>> _______________________________________________
>> rtmpdump mailing list
>> rtmpdump at mplayerhq.hu
>> https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump
> _______________________________________________
> rtmpdump mailing list
> rtmpdump at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20130326/3140e999/attachment.html>


More information about the rtmpdump mailing list