Guest User

Untitled

a guest
Oct 29th, 2014
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.62 KB | None | 0 0
  1. $ <feed> | ffmpeg \
  2.                 -probesize 50 -analyzeduration 1000 -r 20 -i - \
  3.                 -f alsa -ar $ar -ac 1 -itsoffset 1 -probesize 50 -analyzeduration 1000 -i btheadset \
  4.                 -c:v copy -r $fps -vsync 1 \
  5.                 -c:a libfdk_aac -afterburner 0 -async 2 -ar 48000 -ac 1 -b:a 48k \
  6.                 -tune zerolatency -bufsize $((bw*2)) \
  7.                 -rtmp_buffer 100 -rtmp_live live \
  8.                 -flags +global_header+low_delay \
  9.                 -f flv rtmp://*****************
  10.  
  11.  
  12. $ cam_rpi
  13. ffmpeg version git-2014-10-17-bbd8c85 Copyright (c) 2000-2014 the FFmpeg developers
  14.   built on Oct 25 2014 19:37:51 with gcc 4.7.1 (crosstool-NG 1.15.2) 20120402 (prerelease)
  15.   configuration: --enable-cross-compile --cross-prefix=/opt/tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/bin/arm-bcm2708hardfp-linux-gnueabi- --arch=armel --target-os=linux --prefix=/home/david/built_ffmpeg/ --enable-gpl --enable-libx264 --enable-nonfree --enable-libfdk_aac --extra-cflags='-I/home/david/built_ffmpeg/include -O3 -march=armv6zk -mfpu=vfp -mfloat-abi=hard' --extra-ldflags=-L/home/david/built_ffmpeg/lib --extra-libs=-ldl
  16.   libavutil      54. 10.100 / 54. 10.100
  17.   libavcodec     56.  8.100 / 56.  8.100
  18.   libavformat    56.  9.100 / 56.  9.100
  19.   libavdevice    56.  1.100 / 56.  1.100
  20.   libavfilter     5.  1.106 /  5.  1.106
  21.   libswscale      3.  1.101 /  3.  1.101
  22.   libswresample   1.  1.100 /  1.  1.100
  23.   libpostproc    53.  3.100 / 53.  3.100
  24. [h264 @ 0x15bdd50] Stream #0: not enough frames to estimate rate; consider increasing probesize
  25. [h264 @ 0x15bdd50] decoding for stream 0 failed
  26. Input #0, h264, from 'pipe:':
  27.   Duration: N/A, bitrate: N/A
  28.     Stream #0:0: Video: h264 (High), yuv420p, 1280x720, 25 tbr, 1200k tbn, 50 tbc
  29. Guessed Channel Layout for  Input Stream #1.0 : mono
  30. Input #1, alsa, from 'btheadset':
  31.   Duration: N/A, start: 1414563845.956580, bitrate: 128 kb/s
  32.     Stream #1:0: Audio: pcm_s16le, 8000 Hz, 1 channels, s16, 128 kb/s
  33. -async is forwarded to lavfi similarly to -af aresample=async=2:min_hard_comp=0.100000:first_pts=0.
  34. Output #0, flv, to 'rtmp://especificos.com.ar:1935/xorg/movie':
  35.   Metadata:
  36.     encoder         : Lavf56.9.100
  37.     Stream #0:0: Video: h264 ([7][0][0][0] / 0x0007), yuv420p, 1280x720, q=2-31, 1k tbn, 20 tbc
  38.     Stream #0:1: Audio: aac (libfdk_aac) ([10][0][0][0] / 0x000A), 48000 Hz, mono, s16, 48 kb/s
  39.     Metadata:
  40.       encoder         : Lavc56.8.100 libfdk_aac
  41. Stream mapping:
  42.   Stream #0:0 -> #0:0 (copy)
  43.   Stream #1:0 -> #0:1 (pcm_s16le (native) -> aac (libfdk_aac))
  44. frame=13895 fps= 20 q=-1.0 size=   81100kB time=00:11:24.48 bitrate= 970.6kbits/s
Advertisement
Add Comment
Please, Sign In to add comment