Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Local machine:
- ffmpeg -f alsa -i plughw:CARD=Intel,DEV=0 -f video4linux2 -s vga -i /dev/video0 -f mpegts pipe:1 | sudo netcat ...
- ffmpeg version 2.2.git-66e30a2 Copyright (c) 2000-2014 the FFmpeg developers
- built on Apr 30 2014 11:16:55 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
- configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-x11grab --enable-libpulse --enable-libx264 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr
- libavutil 52. 79.100 / 52. 79.100
- libavcodec 55. 59.100 / 55. 59.100
- libavformat 55. 37.101 / 55. 37.101
- libavdevice 55. 13.100 / 55. 13.100
- libavfilter 4. 4.100 / 4. 4.100
- libavresample 1. 2. 0 / 1. 2. 0
- libswscale 2. 6.100 / 2. 6.100
- libswresample 0. 18.100 / 0. 18.100
- libpostproc 52. 3.100 / 52. 3.100
- Guessed Channel Layout for Input Stream #0.0 : stereo
- Input #0, alsa, from 'plughw:CARD=Intel,DEV=0':
- Duration: N/A, start: 1398962566.002048, bitrate: 1536 kb/s
- Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
- [video4linux2,v4l2 @ 0x1b5dea0] Time per frame unknown
- Input #1, video4linux2,v4l2, from '/dev/video0':
- Duration: N/A, start: 44794.413853, bitrate: N/A
- Stream #1:0: Video: mjpeg, yuvj422p(pc), 640x480, 30 tbr, 1000k tbn, 1000k tbc
- [swscaler @ 0x1b42b40] deprecated pixel format used, make sure you did set range correctly
- No pixel format specified, yuv422p for MPEG-2 encoding chosen.
- Use -pix_fmt yuv420p for compatibility with outdated media players.
- Output #0, mpegts, to 'pipe:1':
- Metadata:
- encoder : Lavf55.37.101
- Stream #0:0: Video: mpeg2video, yuv422p, 640x480, q=2-31, 200 kb/s, 90k tbn, 30 tbc
- Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
- Stream mapping:
- Stream #1:0 -> #0:0 (mjpeg -> mpeg2video)
- Stream #0:0 -> #0:1 (pcm_s16le -> mp2)
- Press [q] to stop, [?] for help
- [alsa @ 0x1b4ada0] ALSA buffer xrun.
- frame= 597 fps= 31 q=27.7 Lsize= 1931kB time=00:00:20.03 bitrate= 789.4kbits/s dup=1 drop=0
- video:793kB audio:897kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 14.275245%
- ##########################################################
- Remote computer:
- sudo nc -l -p 110 | avconv -v verbose -r 30 -s 640x480 -f rawvideo -i - http://localhost/webcam.ffm
- avconv version 0.8.10-6:0.8.10-1, Copyright (c) 2000-2013 the Libav developers
- built on Feb 5 2014 03:52:19 with gcc 4.7.2
- configuration: --arch=amd64 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.8.10-1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libdirac --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-swscale --enable-libcdio --enable-x11grab --enable-libx264 --enable-libxvid --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
- libavutil 51. 22. 2 / 51. 22. 2
- libavcodec 53. 35. 0 / 53. 35. 0
- libavformat 53. 21. 1 / 53. 21. 1
- libavdevice 53. 2. 0 / 53. 2. 0
- libavfilter 2. 15. 0 / 2. 15. 0
- libswscale 2. 1. 0 / 2. 1. 0
- libpostproc 52. 0. 0 / 52. 0. 0
- [rawvideo @ 0x643d00] Estimating duration from bitrate, this may be inaccurate
- Input #0, rawvideo, from 'pipe:':
- Duration: N/A, start: 0.000000, bitrate: N/A
- Stream #0.0: Video: rawvideo, yuv420p, 640x480, 30 tbr, 30 tbn, 30 tbc
- [buffer @ 0x632ca0] w:640 h:480 pixfmt:yuv420p
- Output #0, ffm, to 'http://localhost/webcam.ffm':
- Metadata:
- encoder : Lavf53.21.1
- Stream #0.0: Video: mpeg1video, yuv420p, 640x480, q=2-31, 200 kb/s, 1000k tbn, 30 tbc
- Stream mapping:
- Stream #0:0 -> #0:0 (rawvideo -> mpeg1video)
- Press ctrl-c to stop encoding
- frame= 8 fps= 0 q=24.8 size= 1448kB time=0.23 bitrate=50837.1kbits/s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement