<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Dear All,<div> I am trying to encode the input from the live source that is from flash media server since it has no support rtsp mp4 streaming to rtsp stream live.</div><div><br></div><div>can any one please assist me to achieve this..</div><div><br></div><div><br></div><div>thank you all...</div><div> <br><br>--- On <b>Mon, 7/16/12, Meftah Tayeb <i><tayeb.dotnet@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Meftah Tayeb <tayeb.dotnet@gmail.com><br>Subject: Re: [FFserver-user] New guy with some questions<br>To: "FFserver user questions and RTFMs" <ffserver-user@ffmpeg.org><br>Date: Monday, July 16, 2012, 11:40 PM<br><br><div class="plainMail">hello<br>first of all that's a ffmpeg issue not a ffserver issue at
i seen to me you're not using FFserver;<br>but, let's go on<br>please install librtmp or librtmpc i couldn't remember the exact package name<br>and in your configure add: --enable-librtmp<br>try and let me know<br>thank you<br>----- Original Message ----- From: "Steven Spartz" <<a ymailto="mailto:spartman27@itctel.com" href="/mc/compose?to=spartman27@itctel.com">spartman27@itctel.com</a>><br>To: <<a ymailto="mailto:ffserver-user@ffmpeg.org" href="/mc/compose?to=ffserver-user@ffmpeg.org">ffserver-user@ffmpeg.org</a>><br>Sent: Tuesday, July 17, 2012 1:57 AM<br>Subject: [FFserver-user] New guy with some questions<br><br><br>> Have been working with ffmpeg on my HP dc5800 desktop running Trisquel 5.5 and have encountered a problem.<br>> <br>> What I am doing is this, running video and audio from a Logitech C270 USB camera through ffmpeg to justin.tv<br>> <br>> If I run just the video to the justin.tv page the stream will work
flawlessly for as long as I wish.<br>> <br>> However if I try to add audio to the stream it will fail with the following error: DTS 411312205 next 411318601 st:0 invalid dropping and PTS 411312205 next 411318601 invalid dropping st:0<br>> <br>> The stream will usually fail within 5 minutes or less.<br>> <br>> Here is the command I am issuing to the server:<br>> <br>> ffmpeg -f alsa -ac 1 -i pulse -f video4linux2 -i /dev/video0 -s 1024x576 -vf drawtext="fontfile=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf: text='\%D \%r': fontcolor=white@1.0: x=30: y=440: fontsize=30: box=1: boxcolor=black@1.0" -vcodec libx264 -acodec libmp3lame -ab 28k -ar 22050 -vb 350k -f flv rtmp://live.justin.tv/app/live_<br>> <br>> <br>> Here is my FFMPEG info<br>> <br>> ffmpeg -version<br>> ffmpeg version git-2012-07-03-d8013f3<br>> built on Jul 3 2012 18:16:27 with gcc 4.6.1<br>> configuration:
--enable-gpl --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab<br>> libavutil 51. 63.100 / 51. 63.100<br>> libavcodec 54. 32.100 / 54. 32.100<br>> libavformat 54. 14.100 / 54. 14.100<br>> libavdevice 54. 0.100 / 54. 0.100<br>> libavfilter 3. 0.101 / 3. 0.101<br>> libswscale 2. 1.100 / 2. 1.100<br>> libswresample 0. 15.100 / 0. 15.100<br>> libpostproc 52. 0.100 / 52. 0.100<br>> <br>> And a Sample of output data<br>> <br>> DTS 411032947, next:411314602 st:0 invalid dropping<br>> PTS 411032947, next:411314602 invalid dropping
st:0<br>> DTS 411127066, next:411315935 st:0 invalid dropping<br>> PTS 411127066, next:411315935 invalid dropping st:0<br>> DTS 411220151, next:411317268 st:0 invalid dropping<br>> PTS 411220151, next:411317268 invalid dropping st:0<br>> DTS 411312205, next:411318601 st:0 invalid dropping<br>> PTS 411312205, next:411318601 invalid dropping st:0<br>> Trying to remove 576 samples, but que emptytime=00:17:12.68 bitrate= 347.4kbits/s<br>> frame= 1660 fps=1.2 q=16675933.0 Lsize= 50746kB time=00:19:14.90 bitrate= 360.0kbits/s<br>> video:49371kB audio:1115kB subtitle:0 global headers:0kB muxing overhead 0.515765%<br>> [libx264 @ 0xa92c840] frame I:7 Avg QP:14.20 size:161374<br>> [libx264 @ 0xa92c840] frame P:422 Avg QP:15.51 size: 65734<br>> [libx264 @ 0xa92c840] frame B:1231 Avg QP:21.55 size: 17617<br>> [libx264 @ 0xa92c840] consecutive
B-frames: 0.8% 0.5% 1.6% 97.1%<br>> [libx264 @ 0xa92c840] mb I I16..4: 14.4% 41.1% 44.5%<br>> [libx264 @ 0xa92c840] mb P I16..4: 0.8% 3.8% 0.9% P16..4: 33.2% 20.0% 20.7% 0.0% 0.0% skip:20.7%<br>> [libx264 @ 0xa92c840] mb B I16..4: 0.1% 1.2% 0.2% B16..8: 24.1% 4.9% 2.6% direct:14.2% skip:52.8% L0:46.3% L1:35.0% BI:18.8%<br>> [libx264 @ 0xa92c840] final ratefactor: 15.59<br>> [libx264 @ 0xa92c840] 8x8 transform intra:69.0% inter:50.2%<br>> [libx264 @ 0xa92c840] coded y,uvDC,uvAC intra: 91.3% 94.5% 91.1% inter: 28.7% 44.7% 29.8%<br>> [libx264 @ 0xa92c840] i16 v,h,dc,p: 20% 23% 9% 47%<br>> [libx264 @ 0xa92c840] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 33% 27% 4% 3% 2% 5% 4% 8%<br>> [libx264 @ 0xa92c840] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 37% 13% 5% 6% 4% 7%
5% 7%<br>> [libx264 @ 0xa92c840] i8c dc,h,v,p: 65% 16% 12% 8%<br>> [libx264 @ 0xa92c840] Weighted P-Frames: Y:0.0% UV:0.0%<br>> [libx264 @ 0xa92c840] ref P L0: 35.4% 4.0% 41.9% 18.7%<br>> [libx264 @ 0xa92c840] ref B L0: 56.5% 34.0% 9.5%<br>> [libx264 @ 0xa92c840] ref B L1: 86.3% 13.7%<br>> [libx264 @ 0xa92c840] kb/s:320.22<br>> <br>> I hope this helps.<br>> <br>> I look forward to hearing from you as to what I can do to correct this.<br>> <br>> _______________________________________________<br>> ffserver-user mailing list<br>> <a ymailto="mailto:ffserver-user@ffmpeg.org" href="/mc/compose?to=ffserver-user@ffmpeg.org">ffserver-user@ffmpeg.org</a><br>> <a href="http://ffmpeg.org/mailman/listinfo/ffserver-user" target="_blank">http://ffmpeg.org/mailman/listinfo/ffserver-user</a><br>> <br>> <br>> __________ Information from ESET NOD32 Antivirus, version of virus signature
database 7305 (20120717) __________<br>> <br>> The message was checked by ESET NOD32 Antivirus.<br>> <br>> <a href="http://www.eset.com" target="_blank">http://www.eset.com</a><br>> <br>> <br>> <br><br><br>__________ Information from ESET NOD32 Antivirus, version of virus signature database 7305 (20120717) __________<br><br>The message was checked by ESET NOD32 Antivirus.<br><br><a href="http://www.eset.com" target="_blank">http://www.eset.com</a><br><br><br><br>_______________________________________________<br>ffserver-user mailing list<br><a ymailto="mailto:ffserver-user@ffmpeg.org" href="/mc/compose?to=ffserver-user@ffmpeg.org">ffserver-user@ffmpeg.org</a><br><a href="http://ffmpeg.org/mailman/listinfo/ffserver-user" target="_blank">http://ffmpeg.org/mailman/listinfo/ffserver-user</a><br></div></blockquote></div></td></tr></table>