Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # cli
- ffmpeg -f video4linux2 -aspect 4:3 -s 768x576 -channel 1 -pix_fmt yuyv422 -i /dev/video0 -f alsa -ar 44100 -ac 2 -acodec pcm_s16le -i hw:0 -vcodec mpeg2video -r 25 -vf "yadif,crop=760:570:8:1,scale=640:480" -sws_flags lanczos -t 01:00:00 -aspect 4:3 -pix_fmt yuv420p -qmin 1 -qmax 3 -acodec mp2 -ab 192k -y video_640.mpg
- #log
- ffmpeg version git-2012-09-12-8e082df Copyright (c) 2000-2012 the FFmpeg developers
- built on Sep 12 2012 18:15:17 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
- configuration: --enable-gpl --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab --enable-libx264 --enable-nonfree --enable-version3
- libavutil 51. 72.100 / 51. 72.100
- libavcodec 54. 55.100 / 54. 55.100
- libavformat 54. 26.101 / 54. 26.101
- libavdevice 54. 2.100 / 54. 2.100
- libavfilter 3. 16.103 / 3. 16.103
- libswscale 2. 1.101 / 2. 1.101
- libswresample 0. 15.100 / 0. 15.100
- libpostproc 52. 0.100 / 52. 0.100
- [video4linux2,v4l2 @ 0x30e9720] Estimating duration from bitrate, this may be inaccurate
- Input #0, video4linux2,v4l2, from '/dev/video0':
- Duration: N/A, start: 1347987771.377169, bitrate: 176947 kb/s
- Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 768x576, 176947 kb/s, 25 tbr, 1000k tbn, 25 tbc
- [alsa @ 0x30e9140] Estimating duration from bitrate, this may be inaccurate
- Guessed Channel Layout for Input Stream #1.0 : stereo
- Input #1, alsa, from 'hw:0':
- Duration: N/A, start: 1347987771.787710, bitrate: 1411 kb/s
- Stream #1:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
- [mpeg @ 0x3101e00] VBV buffer size not set, muxing may fail
- Output #0, mpeg, to 'video_640.mpg':
- Metadata:
- encoder : Lavf54.26.101
- Stream #0:0: Video: mpeg2video, yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=1-3, 200 kb/s, 90k tbn, 25 tbc
- Stream #0:1: Audio: mp2, 44100 Hz, stereo, s16, 192 kb/s
- Stream mapping:
- Stream #0:0 -> #0:0 (rawvideo -> mpeg2video)
- Stream #1:0 -> #0:1 (pcm_s16le -> mp2)
- Press [q] to stop, [?] for help
- [swscaler @ 0x313c9e0] Warning: data is not aligned! This can lead to a speedloss
- frame=90000 fps= 25 q=31.0 Lsize= 3743064kB time=01:00:00.00 bitrate=8517.5kbits/s s/s
- video:3643403kB audio:84375kB subtitle:0 global headers:0kB muxing overhead 0.410042%
- #Error?
- [swscaler @ 0x313c9e0] Warning: data is not aligned! This can lead to a speedloss
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement