Advertisement
Guest User

Untitled

a guest
Aug 16th, 2013
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 KB | None | 0 0
  1. FILE: record.sh
  2.  
  3. #!/bin/bash
  4. read -p "Enter the file name:" name
  5. ffmpeg -f x11grab -s 1366X768 -r 30 -i :0.0 ~/$name.mpg
  6.  
  7. ----------------- Output
  8.  
  9. ffmpeg version 2.0.1 Copyright (c) 2000-2013 the FFmpeg developers
  10. built on Aug 13 2013 19:30:00 with gcc 4.7 (SUSE Linux)
  11. configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared --disable-static --enable-debug --disable-stripping --extra-cflags='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fPIC -I/usr/include/gsm' --enable-gpl --enable-x11grab --enable-version3 --enable-pthreads --enable-avfilter --enable-libpulse --enable-libvpx --enable-libopus --enable-libass --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libxvid --enable-libx264 --enable-libschroedinger --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-postproc --enable-libdc1394 --enable-librtmp --enable-libfreetype --enable-avresample --enable-libtwolame --enable-libvo-aacenc
  12. libavutil 52. 38.100 / 52. 38.100
  13. libavcodec 55. 18.102 / 55. 18.102
  14. libavformat 55. 12.100 / 55. 12.100
  15. libavdevice 55. 3.100 / 55. 3.100
  16. libavfilter 3. 79.101 / 3. 79.101
  17. libavresample 1. 1. 0 / 1. 1. 0
  18. libswscale 2. 3.100 / 2. 3.100
  19. libswresample 0. 17.102 / 0. 17.102
  20. libpostproc 52. 3.100 / 52. 3.100
  21. [x11grab @ 0xd64a80] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 1366 height: 768
  22. [x11grab @ 0xd64a80] shared memory extension found
  23. Input #0, x11grab, from ':0.0':
  24. Duration: N/A, start: 1376639299.134194, bitrate: 1007124 kb/s
  25. Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1366x768, 1007124 kb/s, 30 tbr, 1000k tbn, 30 tbc
  26. [mpeg @ 0xd82ba0] VBV buffer size not set, muxing may fail
  27. Output #0, mpeg, to '/home/aiena/.mpg':
  28. Metadata:
  29. encoder : Lavf55.12.100
  30. Stream #0:0: Video: mpeg1video, yuv420p, 1366x768, q=2-31, 200 kb/s, 90k tbn, 30 tbc
  31. Stream mapping:
  32. Stream #0:0 -> #0:0 (rawvideo -> mpeg1video)
  33. Press [q] to stop, [?] for help
  34. [swscaler @ 0xd4e080] Warning: data is not aligned! This can lead to a speedloss
  35. [mpeg1video @ 0xd83100] warning, clipping 1 dct coefficients to -255..255
  36. frame= 438 fps= 30 q=31.0 Lsize= 2714kB time=00:00:14.56 bitrate=1526.3kbits/s
  37. video:2701kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.473638%
  38. Received signal 2: terminating.
  39.  
  40. -------------------
  41.  
  42. How do get rid of the:
  43. [mpeg @ 0xd82ba0] VBV buffer size not set, muxing may fail
  44.  
  45. and align data properly to avoid:
  46. [swscaler @ 0xd4e080] Warning: data is not aligned! This can lead to a speedloss
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement