Advertisement
rconline

Untitled

Jun 18th, 2012
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. ./ffmpeg -f rawvideo -vcodec rawvideo -preset slow -i /dev/graphics/fb0 http://localhost:8090/feed1.ffm
  3.  
  4. ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
  5.   built on Jun 18 2012 15:09:13 with gcc 4.4.3
  6.   configuration: --enable-version3 --disable-pthreads --enable-libx264 --disable-yasm --disable-asm --enable-gpl --enable-nonfree --disable-doc --enable-small --target-os=linux --disable-debug --disable-stripping --enable-cross-compile --cross-prefix=/home/rohit/Downloads/android-ndk-r7b/toolchains/x86-4.4.3/prebuilt/linux-x86/bin/i686-android-linux- --sysroot=/home/rohit/Downloads/android-ndk-r7b/platforms/android-9/arch-x86 --arch=x86 --extra-cflags=-I/home/rohit/android-ec2/streamserver/newffmpeg/libs/x264-snapshot-20120616-2245/ --extra-ldflags=-L/home/rohit/android-ec2/streamserver/newffmpeg/libs/x264-snapshot-20120616-2245/
  7.   libavutil      51. 54.100 / 51. 54.100
  8.   libavcodec     54. 23.100 / 54. 23.100
  9.   libavformat    54.  6.100 / 54.  6.100
  10.   libavdevice    54.  0.100 / 54.  0.100
  11.   libavfilter     2. 77.100 /  2. 77.100
  12.   libswscale      2.  1.100 /  2.  1.100
  13.   libswresample   0. 15.100 /  0. 15.100
  14.   libpostproc    52.  0.100 / 52.  0.100
  15. [rawvideo @ 0x8c2ab70] Warning: not compiled with thread support, using thread emulation
  16. [rawvideo @ 0x8c1c620] Estimating duration from bitrate, this may be inaccurate
  17. Input #0, rawvideo, from '/dev/graphics/fb0':
  18.   Duration: N/A, start: 0.000000, bitrate: N/A
  19.     Stream #0:0: Video: rawvideo (RGB[16] / 0x10424752), rgb565le, 800x640, 25 tbr, 25 tbn, 25 tbc
  20. [buffer @ 0x8c1be50] w:800 h:640 pixfmt:rgb565le tb:1/25 sar:0/1 sws_param:flags=2
  21. [buffersink @ 0x8c1bf80] No opaque field provided
  22. [scale @ 0x8c1c110] w:800 h:640 fmt:rgb565le sar:0/1 -> w:800 h:640 fmt:yuv420p sar:0/1 flags:0x4
  23. [libx264 @ 0x8c1b7a0] Warning: not compiled with thread support, using thread emulation
  24. [libx264 @ 0x8c1b7a0] broken ffmpeg default settings detected
  25. [libx264 @ 0x8c1b7a0] use an encoding preset (e.g. -vpre medium)
  26. [libx264 @ 0x8c1b7a0] preset usage: -vpre <speed> -vpre <profile>
  27. [libx264 @ 0x8c1b7a0] speed presets are listed in x264 --help
  28. [libx264 @ 0x8c1b7a0] profile is optional; x264 defaults to high
  29. Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
  30.     Stream #0:0: Video: h264, yuv420p, 800x640, q=2-31, 128 kb/s, 1000k tbn, 25 tbc
  31. Stream mapping:
  32.   Stream #0:0 -> #0:0 (rawvideo -> libx264)
  33. Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
  34.  
  35.  
  36.  
  37.  
  38. Here's the ffserver configuration:
  39.  
  40. Port 8090
  41. RTSPPort 7654
  42. BindAddress 0.0.0.0
  43. RTSPBindAddress 0.0.0.0
  44. MaxHTTPConnections 2000
  45. MaxClients 1000
  46. MaxBandwidth 1000
  47. CustomLog -
  48.  
  49.  
  50. <Feed feed1.ffm>
  51. File /data/feed1.ffm
  52. ACL allow 127.0.0.1
  53. </Feed>
  54.  
  55.  
  56. <Stream test1.flv>
  57.   Feed feed1.ffm
  58.   Format flv
  59.   VideoCodec libx264
  60.   AVOptionVideo flags +global_header
  61.   VideoSize 800X640
  62.   NoAudio
  63. </Stream>
  64.  
  65.  
  66. ##################################################################
  67. # Special streams
  68.  
  69. # Server status
  70.  
  71. <Stream stat.html>
  72. Format status
  73.  
  74. # Only allow local people to get the status
  75. ACL allow localhost
  76. ACL allow 192.168.0.0 192.168.255.255
  77.  
  78. #FaviconURL http://pond1.gladstonefamily.net:8080/favicon.ico
  79. </Stream>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement