Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FILE: record.sh
- #!/bin/bash
- read -p "Enter the file name:" name
- ffmpeg -f x11grab -s 1366X768 -r 30 -i :0.0 ~/$name.mpg
- ----------------- Output
- ffmpeg version 2.0.1 Copyright (c) 2000-2013 the FFmpeg developers
- built on Aug 13 2013 19:30:00 with gcc 4.7 (SUSE Linux)
- 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
- libavutil 52. 38.100 / 52. 38.100
- libavcodec 55. 18.102 / 55. 18.102
- libavformat 55. 12.100 / 55. 12.100
- libavdevice 55. 3.100 / 55. 3.100
- libavfilter 3. 79.101 / 3. 79.101
- libavresample 1. 1. 0 / 1. 1. 0
- libswscale 2. 3.100 / 2. 3.100
- libswresample 0. 17.102 / 0. 17.102
- libpostproc 52. 3.100 / 52. 3.100
- [x11grab @ 0xd64a80] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 1366 height: 768
- [x11grab @ 0xd64a80] shared memory extension found
- Input #0, x11grab, from ':0.0':
- Duration: N/A, start: 1376639299.134194, bitrate: 1007124 kb/s
- Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1366x768, 1007124 kb/s, 30 tbr, 1000k tbn, 30 tbc
- [mpeg @ 0xd82ba0] VBV buffer size not set, muxing may fail
- Output #0, mpeg, to '/home/aiena/.mpg':
- Metadata:
- encoder : Lavf55.12.100
- Stream #0:0: Video: mpeg1video, yuv420p, 1366x768, q=2-31, 200 kb/s, 90k tbn, 30 tbc
- Stream mapping:
- Stream #0:0 -> #0:0 (rawvideo -> mpeg1video)
- Press [q] to stop, [?] for help
- [swscaler @ 0xd4e080] Warning: data is not aligned! This can lead to a speedloss
- [mpeg1video @ 0xd83100] warning, clipping 1 dct coefficients to -255..255
- frame= 438 fps= 30 q=31.0 Lsize= 2714kB time=00:00:14.56 bitrate=1526.3kbits/s
- video:2701kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.473638%
- Received signal 2: terminating.
- -------------------
- How do get rid of the:
- [mpeg @ 0xd82ba0] VBV buffer size not set, muxing may fail
- and align data properly to avoid:
- [swscaler @ 0xd4e080] Warning: data is not aligned! This can lead to a speedloss
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement