[FFmpeg-user] mp4 streaming error on ffmpeg
Ameeth Vikram
ameeth at watchy.in
Mon Oct 1 14:41:03 CEST 2012
Hi
i tried with h264 format the but streaming stops at a particular amount of
time say abut 2-3 minutes of duration the command which i used is
./ffmpeg \
-f alsa -async 1 -ac 2 -i hw:2,0 \
-f video4linux2 -s vga -i /dev/video0 \
-acodec aac -b:a 40k \
-r 25 -s vga -vcodec libx264 -preset fast -strict -2 -b:v 320K -pass 1 \
-f h264 rtmp://192.168.2.105/live/testing
output is
ffmpeg version 0.11.1-rpmfusion Copyright (c) 2000-2012 the FFmpeg
developers
built on Sep 12 2012 11:03:11 with gcc 4.6.3
configuration: --prefix=/home/watchy/build/ffmpeg11/ffmpeg-0.11.1/my_bin
--arch=arm --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -mfpu=neon '
--disable-debug --disable-stripping --disable-static
--enable-runtime-cpudetect --enable-shared --enable-gpl --enable-postproc
--enable-pthreads --extra-version=rpmfusion --enable-nonfree --enable-bzlib
--enable-version3 --enable-libdc1394 --enable-libmp3lame
--enable-libopenjpeg --enable-librtmp --enable-libschroedinger
--enable-libspeex --enable-libtheora --enable-libvorbis
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx
--enable-libxvid --enable-libx264 --enable-avfilter
libavutil 51. 54.100 / 51. 54.100
libavcodec 54. 23.100 / 54. 23.100
libavformat 54. 6.100 / 54. 6.100
libavdevice 54. 0.100 / 54. 0.100
libavfilter 2. 77.100 / 2. 77.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[alsa @ 0x130d450] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, alsa, from 'hw:2,0':
Duration: N/A, start: 1349094365.676807, bitrate: 1024 kb/s
Stream #0:0: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s
[video4linux2,v4l2 @ 0x1307970] Estimating duration from bitrate, this may
be inaccurate
Input #1, video4linux2,v4l2, from '/dev/video0':
Duration: N/A, start: 1349094367.264340, bitrate: 122880 kb/s
Stream #1:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480,
122880 kb/s, 25 tbr, 1000k tbn, 25 tbc
[buffer @ 0x13050a0] w:640 h:480 pixfmt:yuyv422 tb:1/1000000 sar:0/1
sws_param:flags=2
[buffersink @ 0x1305370] No opaque field provided
[scale @ 0x1305570] w:640 h:480 fmt:yuyv422 sar:0/1 -> w:640 h:480
fmt:yuv422p sar:0/1 flags:0x4
[libx264 @ 0x13088e0] using cpu capabilities: ARMv6 NEON
[libx264 @ 0x13088e0] profile High 4:2:2, level 3.0, 4:2:2 8-bit
Output #0, h264, to 'rtmp://192.168.2.105/live/mp4:testing':
Metadata:
encoder : Lavf54.6.100
Stream #0:0: Video: h264, yuv422p, 640x480, q=-1--1, pass 1, 320 kb/s,
90k tbn, 25 tbc
Stream mapping:
Stream #1:0 -> #0:0 (rawvideo -> libx264)
Press [q] to stop, [?] for help
frame= 1638 fps= 26 q=28.0 size= 2531kB time=00:02:03.96 bitrate=
324.1kbits/s dup=1263 drop=0
while command is running on the rtmp sever page their is no visual on the
jw player it just buffers and after sometimes the command stops and their
is no error output is displayed on the console.
---
Thanks
ameeth
More information about the ffmpeg-user
mailing list