Guest User

rabbe ffmpeg

a guest
Sep 29th, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.67 KB | None | 0 0
  1. HTTPPort 8090
  2. HTTPBindAddress 0.0.0.0
  3. MaxHTTPConnections 200
  4. MaxClients 100
  5. MaxBandwidth 10000
  6.  
  7. <Feed live.ffm>
  8. File /tmp/feed1.ffm
  9. FileMaxSize 1G
  10. ACL allow 127.0.0.1
  11. </Feed>
  12.  
  13. <Stream live.mp4>
  14. Feed live.ffm
  15. Format mp4
  16.  
  17. VideoCodec libx264
  18. VideoFrameRate 60
  19. VideoBitRate 800
  20. VideoSize 1920x1088
  21. AVOptionVideo crf 23
  22. AVOptionVideo preset medium
  23. AVOptionVideo me_range 16
  24. AVOptionVideo qdiff 4
  25. AVOptionVideo qmin 10
  26. AVOptionVideo qmax 51
  27. AVOptionVideo flags +global_header
  28.  
  29. AudioCodec aac
  30. Strict -2
  31. AudioBitRate 128
  32. AudioChannels 2
  33. AudioSampleRate 44100
  34. AVOptionAudio flags +global_header
  35. </Stream>
  36.  
  37. ---------------------------------------------------------------------------------------------
  38.  
  39. ffmpeg -f x11grab -s 1920x1080 -i :0.0 -f alsa -i default -strict -2 -movflags +faststart http://localhost:8090/live.ffm
  40.  
  41. ffmpeg version 2.4.3-1ubuntu1~trusty6 Copyright (c) 2000-2014 the FFmpeg developers
  42. built on Nov 22 2014 17:07:19 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  43. configuration: --prefix=/usr --extra-version='1ubuntu1~trusty6' --build-suffix=-ffmpeg --toolchain=hardened --extra-cflags= --extra-cxxflags= --libdir=/usr/lib/x86_64-linux-gnu --shlibdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared --disable-stripping --enable-avresample --enable-avisynth --enable-fontconfig --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-opengl --enable-x11grab --enable-libxvid --enable-libx265 --enable-libdc1394 --enable-libiec61883 --enable-libzvbi --enable-libzmq --enable-frei0r --enable-libx264 --enable-libsoxr --enable-openal --enable-libopencv
  44. libavutil 54. 7.100 / 54. 7.100
  45. libavcodec 56. 1.100 / 56. 1.100
  46. libavformat 56. 4.101 / 56. 4.101
  47. libavdevice 56. 0.100 / 56. 0.100
  48. libavfilter 5. 1.100 / 5. 1.100
  49. libavresample 2. 1. 0 / 2. 1. 0
  50. libswscale 3. 0.100 / 3. 0.100
  51. libswresample 1. 1.100 / 1. 1.100
  52. libpostproc 53. 0.100 / 53. 0.100
  53. [x11grab @ 0xbb9fc0] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 1920 height: 1080
  54. [x11grab @ 0xbb9fc0] shared memory extension found
  55. Input #0, x11grab, from ':0.0':
  56. Duration: N/A, start: 1506674555.894267, bitrate: 1988667 kb/s
  57. Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1920x1080, 1988667 kb/s, 29.97 tbr, 1000k tbn, 29.97 tbc
  58. Guessed Channel Layout for Input Stream #1.0 : stereo
  59. Input #1, alsa, from 'default':
  60. Duration: N/A, start: 1506674555.929576, bitrate: 1536 kb/s
  61. Stream #1:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
  62. [libx264 @ 0xc0cd40] VBV is incompatible with constant QP, ignored.
  63. [libx264 @ 0xc0cd40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
  64. [libx264 @ 0xc0cd40] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit
  65. [libx264 @ 0xc0cd40] 264 - core 142 r2389 956c8d8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0x1:0x111 me=dia subme=8 psy=0 mixed_ref=0 me_range=16 chroma_me=0 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=12 keyint_min=7 scenecut=0 intra_refresh=0 rc=cqp mbtree=0 qp=0
  66. Output #0, ffm, to 'http://localhost:8090/live.ffm':
  67. Metadata:
  68. creation_time : now
  69. encoder : Lavf56.4.101
  70. Stream #0:0: Audio: aac, 44100 Hz, stereo, fltp, 128 kb/s
  71. Metadata:
  72. encoder : Lavc56.1.100 aac
  73. Stream #0:1: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv444p, 1920x1088, q=10-51, 800 kb/s, 29.97 fps, 1000k tbn, 29.97 tbc
  74. Metadata:
  75. encoder : Lavc56.1.100 libx264
  76. Stream mapping:
  77. Stream #1:0 -> #0:0 (pcm_s16le (native) -> aac (native))
  78. Stream #0:0 -> #0:1 (rawvideo (native) -> h264 (libx264))
  79. Press [q] to stop, [?] for help
  80. frame= 18 fps=0.0 q=0.0 size= 1660kB time=00:00:00.41 bitrate=32553.7kbits/
  81. frame= 33 fps= 33 q=0.0 size= 4104kB time=00:00:00.95 bitrate=35300.1kbits/
  82. frame= 48 fps= 32 q=0.0 size= 5408kB time=00:00:01.46 bitrate=30260.9kbits/
  83. frame= 63 fps= 31 q=0.0 size= 6716kB time=00:00:01.97 bitrate=27855.2kbits/
  84. ...
  85.  
  86. ---------------------------------------------------------------------------------------------
  87.  
  88. ffplay http://localhost:8090/live.mp4
  89.  
  90. ffplay version 2.4.3-1ubuntu1~trusty6 Copyright (c) 2003-2014 the FFmpeg developers
  91. built on Nov 22 2014 17:07:19 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  92. configuration: --prefix=/usr --extra-version='1ubuntu1~trusty6' --build-suffix=-ffmpeg --toolchain=hardened --extra-cflags= --extra-cxxflags= --libdir=/usr/lib/x86_64-linux-gnu --shlibdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared --disable-stripping --enable-avresample --enable-avisynth --enable-fontconfig --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-opengl --enable-x11grab --enable-libxvid --enable-libx265 --enable-libdc1394 --enable-libiec61883 --enable-libzvbi --enable-libzmq --enable-frei0r --enable-libx264 --enable-libsoxr --enable-openal --enable-libopencv
  93. libavutil 54. 7.100 / 54. 7.100
  94. libavcodec 56. 1.100 / 56. 1.100
  95. libavformat 56. 4.101 / 56. 4.101
  96. libavdevice 56. 0.100 / 56. 0.100
  97. libavfilter 5. 1.100 / 5. 1.100
  98. libavresample 2. 1. 0 / 2. 1. 0
  99. libswscale 3. 0.100 / 3. 0.100
  100. libswresample 1. 1.100 / 1. 1.100
  101. libpostproc 53. 0.100 / 53. 0.100
  102. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd5f00008c0] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible!
  103. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd5f00008c0] moov atom not found
  104. http://localhost:8090/live.mp4: Invalid data found when processing input
Advertisement
Add Comment
Please, Sign In to add comment