Advertisement
Guest User

Untitled

a guest
Sep 18th, 2012
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.49 KB | None | 0 0
  1. # cli
  2.  
  3. 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
  4.  
  5. #log
  6. ffmpeg version git-2012-09-12-8e082df Copyright (c) 2000-2012 the FFmpeg developers
  7. built on Sep 12 2012 18:15:17 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  8. 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
  9. libavutil 51. 72.100 / 51. 72.100
  10. libavcodec 54. 55.100 / 54. 55.100
  11. libavformat 54. 26.101 / 54. 26.101
  12. libavdevice 54. 2.100 / 54. 2.100
  13. libavfilter 3. 16.103 / 3. 16.103
  14. libswscale 2. 1.101 / 2. 1.101
  15. libswresample 0. 15.100 / 0. 15.100
  16. libpostproc 52. 0.100 / 52. 0.100
  17. [video4linux2,v4l2 @ 0x30e9720] Estimating duration from bitrate, this may be inaccurate
  18. Input #0, video4linux2,v4l2, from '/dev/video0':
  19. Duration: N/A, start: 1347987771.377169, bitrate: 176947 kb/s
  20. Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 768x576, 176947 kb/s, 25 tbr, 1000k tbn, 25 tbc
  21. [alsa @ 0x30e9140] Estimating duration from bitrate, this may be inaccurate
  22. Guessed Channel Layout for Input Stream #1.0 : stereo
  23. Input #1, alsa, from 'hw:0':
  24. Duration: N/A, start: 1347987771.787710, bitrate: 1411 kb/s
  25. Stream #1:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
  26. [mpeg @ 0x3101e00] VBV buffer size not set, muxing may fail
  27. Output #0, mpeg, to 'video_640.mpg':
  28. Metadata:
  29. encoder : Lavf54.26.101
  30. Stream #0:0: Video: mpeg2video, yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=1-3, 200 kb/s, 90k tbn, 25 tbc
  31. Stream #0:1: Audio: mp2, 44100 Hz, stereo, s16, 192 kb/s
  32. Stream mapping:
  33. Stream #0:0 -> #0:0 (rawvideo -> mpeg2video)
  34. Stream #1:0 -> #0:1 (pcm_s16le -> mp2)
  35. Press [q] to stop, [?] for help
  36. [swscaler @ 0x313c9e0] Warning: data is not aligned! This can lead to a speedloss
  37. frame=90000 fps= 25 q=31.0 Lsize= 3743064kB time=01:00:00.00 bitrate=8517.5kbits/s s/s
  38. video:3643403kB audio:84375kB subtitle:0 global headers:0kB muxing overhead 0.410042%
  39.  
  40. #Error?
  41. [swscaler @ 0x313c9e0] Warning: data is not aligned! This can lead to a speedloss
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement