View difference between Paste ID: eQwLWGyy and CHkA8zvR
SHOW: | | - or go back to the newest paste.
1
#!/bin/bash
2-
ffmpeg -i /dev/video0 -acodec libfaac -aq 100 -vcodec libx264 -preset fast -crf 22 - | netcat -l 3333
2+
ffmpeg -i /dev/video0 -acodec libfaac -aq 100 -vcodec libx264 -preset fast -crf 22 - | netcat -l 3333
3
4
################################################################################################
5
6
ffmpeg version git-2011-12-05-51177b1, Copyright (c) 2000-2011 the FFmpeg developers
7
  built on Dec  5 2011 10:05:58 with gcc 4.6.1
8
  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
9
  libavutil    51. 30. 0 / 51. 30. 0
10
  libavcodec   53. 40. 0 / 53. 40. 0
11
  libavformat  53. 24. 0 / 53. 24. 0
12
  libavdevice  53.  4. 0 / 53.  4. 0
13
  libavfilter   2. 51. 0 /  2. 51. 0
14
  libswscale    2.  1. 0 /  2.  1. 0
15
  libpostproc  51.  2. 0 / 51.  2. 0
16
[mpeg @ 0x168e7e0] max_analyze_duration 5000000 reached at 5005000
17
[mpeg @ 0x168e7e0] Estimating duration from bitrate, this may be inaccurate
18
Input #0, mpeg, from '/dev/video0':
19
  Duration: N/A, start: 0.351422, bitrate: 8224 kb/s
20
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 8000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
21
    Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 224 kb/s
22
[NULL @ 0x16951a0] Unable to find a suitable output format for 'pipe:'
23
pipe:: Invalid argument