<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19019"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=605252808-17062011><FONT color=#008080
size=2 face=Arial>Hi James, </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=605252808-17062011><FONT color=#008080
size=2 face=Arial>I can't use -i option with -4 option...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=605252808-17062011><FONT color=#008080
size=2 face=Arial>could you make me an example of use with
openRTSP</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=605252808-17062011><FONT color=#008080
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=605252808-17062011><FONT color=#008080
size=2 face=Arial>Thanks</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=605252808-17062011><FONT color=#008080
size=2 face=Arial>Gianluigi</FONT></SPAN></DIV><BR>
<DIV dir=ltr lang=it class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>Da:</B> live-devel-bounces@ns.live555.com
[mailto:live-devel-bounces@ns.live555.com] <B>Per conto di </B>James
Dougherty<BR><B>Inviato:</B> venerd́ 13 maggio 2011 0.46<BR><B>A:</B> LIVE555
Streaming Media - development & use<BR><B>Oggetto:</B> Re: [Live-devel] how
to capture H264 stream and save it in a avifile<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi Gianluigi,</DIV>
<DIV> </DIV>
<DIV>Please provide the -i option and review the options on the main site,
below:</DIV>
<DIV><A
href="http://www.live555.com/openRTSP/#quicktime">http://www.live555.com/openRTSP/#quicktime</A></DIV>
<DIV> </DIV>
<DIV>Those options all work for me, and very well!</DIV>
<DIV> </DIV>
<DIV>Here is another recipe I use for additional cross-validation.<BR></DIV>
<DIV>If you have L16 media, put a riff header on it:</DIV>
<DIV><BR>sox -B -t raw -s -b 16 -c 2 -r 48k audio-L16-2
audio-L16-2.wav<BR></DIV>
<DIV>For MP4 (openRTSP -4 option):<BR></DIV>
<DIV>mp4box -fps 30 -add video-H264-1.264 -add audio-L16-2.wav -<SPAN
class=code-keyword>new</SPAN> myfile.mp4<BR><BR>For AVI (openRTSP -i
option)</DIV>
<DIV>ffmpeg -r 30 -i video-H264-1 -i audio-L16-2.wav -vcodec copy -acodec copy
myfile.avi<BR></DIV>
<DIV>I use the openRTSP options, but at times, I have used the above to verify I
didn't break something :-)</DIV>
<DIV> </DIV>
<DIV>YMMV</DIV>
<DIV> </DIV>
<DIV>best regards</DIV>
<DIV>-james</DIV>
<DIV> </DIV>
<DIV><BR> </DIV>
<DIV class=gmail_quote>On Wed, May 11, 2011 at 6:53 AM, Autuori Gianluigi <SPAN
dir=ltr><<A
href="mailto:Autuori.Gianluigi.Wintime@ansaldobreda.it">Autuori.Gianluigi.Wintime@ansaldobreda.it</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV>
<DIV><FONT size=2 face=Arial><SPAN>Hello,</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN>I'm trying to capture a video stream from
Axis IP camera with openRTSP.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN>I get a correct file if I
use:</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN>openRTSP -d 20 -4 -f 3 -w 640 -h 480 -b
400000 "rtsp://<A
href="http://10.10.1.61/axis-media/media.amp?compression=35&fps=3"
target=_blank>10.10.1.61/axis-media/media.amp?compression=35&fps=3</A>"
>video.avi</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN>but I try this:</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN>
<DIV><FONT size=2 face=Arial><SPAN>openRTSP -d 20 -f 3 -w 640 -h 480 -b 400000
"rtsp://<A
href="http://10.10.1.61/axis-media/media.amp?compression=35&fps=3"
target=_blank>10.10.1.61/axis-media/media.amp?compression=35&fps=3</A>"</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN>I obtain this file:
video-H264-1</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN>but I can't open it.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN>What is wrong?</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN>I read this post:</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN><A
href="http://lists.live555.com/pipermail/live-devel/2007-January/005886.html"
target=_blank>http://lists.live555.com/pipermail/live-devel/2007-January/005886.html</A></SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN>is it the same problem?</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN>thanks</SPAN></FONT></DIV>
<DIV><FONT size=2
face=Arial><SPAN>Gianluigi</SPAN></FONT></DIV></SPAN></FONT></DIV></DIV>
<P align=center><FONT size=2 face=Tahoma><FONT color=#0000ff>
<HR>
</FONT></FONT><FONT size=2 face=Tahoma><FONT color=#0000ff>Questo messaggio
e-mail e ogni documento ad esso eventualmente allegato puo' avere carattere
riservato ed essere tutelato da segreto. Esso,comunque, e'<BR>ad esclusivo
utilizzo del destinatario in indirizzo. Qualora non foste il destinatario del
messaggio vi preghiamo di volerci avvertire immediatamente per e-mail o
telefono e di cancellare il presente messaggio e ogni eventuale allegato dal
vostro sistema. E' vietata la duplicazione o l'utilizzo per qualunque fine del
messaggio e di ogni allegato, nonche' la loro divulgazione, distribuzione o
inoltro a terzi senza l'espressa autorizzazione del mittente. In ragione del
mezzo di trasmissione utilizzato, il mittente non assume alcuna
responsabilita' sulla segretezza/riservatezza delle informazioni contenute nel
messaggio e nei relativi allegati. </FONT></FONT>
<P></P>
<P align=left>This e-mail and any file transmitted with it may contain
material that is confidential, privileged and/or attorney work product for the
sole use of the intended recipient. If you are not the intended recipient of
this e-mail, please do not read it, notify us immediately by e-mail or by
telephone and then delete this message and any file attached from your system.
You should not copy or use it for any purpose, disclose the contents of the
same to any other person or forward it without express
permission.<BR>Considering the means of transmission, we do not undertake any
liability with respect to the secrecy and confidentiality of the information
contained in this e-mail and its
attachments.</P><BR>_______________________________________________<BR>live-devel
mailing list<BR><A
href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</A><BR><A
href="http://lists.live555.com/mailman/listinfo/live-devel"
target=_blank>http://lists.live555.com/mailman/listinfo/live-devel</A><BR><BR>
<P></P></BLOCKQUOTE></DIV><BR></BODY><!--[object_id=#ansaldobreda.it#]--><P align=center><FONT face=Tahoma size=2><FONT color=#0000ff>
<HR>
</FONT></FONT><FONT face=Tahoma size=2><FONT color=#0000ff>Questo messaggio e-mail e ogni documento ad esso eventualmente allegato puo' avere carattere riservato ed essere tutelato da segreto. Esso,comunque, e'<BR>ad esclusivo utilizzo del destinatario in indirizzo. Qualora non foste il destinatario del messaggio vi preghiamo di volerci avvertire immediatamente per e-mail o telefono e di cancellare il presente messaggio e ogni eventuale allegato dal vostro sistema. E' vietata la duplicazione o l'utilizzo per qualunque fine del messaggio e di ogni allegato, nonche' la loro divulgazione, distribuzione o inoltro a terzi senza l'espressa autorizzazione del mittente. In ragione del mezzo di trasmissione utilizzato, il mittente non assume alcuna responsabilita' sulla segretezza/riservatezza delle informazioni contenute nel messaggio e nei relativi allegati. </P>
<P align=left>This e-mail and any file transmitted with it may contain material that is confidential, privileged and/or attorney work product for the sole use of the intended recipient. If you are not the intended recipient of this e-mail, please do not read it, notify us immediately by e-mail or by telephone and then delete this message and any file attached from your system. You should not copy or use it for any purpose, disclose the contents of the same to any other person or forward it without express permission.<BR>Considering the means of transmission, we do not undertake any liability with respect to the secrecy and confidentiality of the information contained in this e-mail and its attachments.</FONT></FONT></P></HTML>