Advertisement
Guest User

FFmpeg VAAPI

a guest
Jun 12th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.63 KB | None | 0 0
  1. env PULSE_LATENCY_MSEC=20 LD_LIBRARY_PATH=/home/usuario/ffmpeg_linux/lib /home/usuario/ffmpeg_linux/bin/ffmpeg -vaapi_device /dev/dri/renderD128 -hwaccel vaapi -hwaccel_output_format vaapi -thread_queue_size 2048 -f pulse -channels 2 -i alsa_output.pci-0000_00_1f.3.analog-stereo.monitor -r 30 -thread_queue_size 2048 -f x11grab -probesize 12M -s 1280x720 -i :0.0+56,26 -acodec libopus -application lowdelay -vf format=nv12,hwupload -vcodec vp8_vaapi -threads 4 -r 30 -f webm -flags +global_header video000.webm
  2. ffmpeg version N-91268-g8a0c2901f1 Copyright (c) 2000-2018 the FFmpeg developers
  3. built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
  4. configuration: --prefix=/home/usuario/ffmpeg_linux --enable-gpl --enable-libfontconfig --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-libxcb-shape --enable-libpulse --enable-vaapi --enable-libfreetype --enable-libfdk_aac --enable-libopus --enable-libvorbis --enable-libx264 --enable-libvpx --enable-nonfree --disable-doc --disable-ffprobe --disable-ffplay
  5. libavutil 56. 18.102 / 56. 18.102
  6. libavcodec 58. 20.101 / 58. 20.101
  7. libavformat 58. 17.100 / 58. 17.100
  8. libavdevice 58. 4.100 / 58. 4.100
  9. libavfilter 7. 25.100 / 7. 25.100
  10. libswscale 5. 2.100 / 5. 2.100
  11. libswresample 3. 2.100 / 3. 2.100
  12. libpostproc 55. 2.100 / 55. 2.100
  13. Guessed Channel Layout for Input Stream #0.0 : stereo
  14. Input #0, pulse, from 'alsa_output.pci-0000_00_1f.3.analog-stereo.monitor':
  15. Duration: N/A, start: 1528861393.463817, bitrate: 1536 kb/s
  16. Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
  17. Input #1, x11grab, from ':0.0+56,26':
  18. Duration: N/A, start: 1528861393.544215, bitrate: N/A
  19. Stream #1:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1280x720, 30 fps, 29.92 tbr, 1000k tbn, 1000k tbc
  20. Stream mapping:
  21. Stream #1:0 -> #0:0 (rawvideo (native) -> vp8 (vp8_vaapi))
  22. Stream #0:0 -> #0:1 (pcm_s16le (native) -> opus (libopus))
  23. Press [q] to stop, [?] for help
  24. [libopus @ 0x55ad630f04c0] No bit rate set. Defaulting to 96000 bps.
  25. Output #0, webm, to 'video000.webm':
  26. Metadata:
  27. encoder : Lavf58.17.100
  28. Stream #0:0: Video: vp8 (vp8_vaapi), vaapi_vld(progressive), 1280x720, q=2-31, 30 fps, 1k tbn, 30 tbc
  29. Metadata:
  30. encoder : Lavc58.20.101 vp8_vaapi
  31. Stream #0:1: Audio: opus (libopus), 48000 Hz, stereo, s16, 96 kb/s
  32. Metadata:
  33. encoder : Lavc58.20.101 libopus
  34. frame= 6417 fps= 30 q=-0.0 Lsize= 30558kB time=00:03:33.91 bitrate=1170.2kbits/s speed= 1x
  35. video:27649kB audio:2788kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.393712%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement