Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ffmpeg -vsync 1 -f video4linux2 -pix_fmt uyvy422 -s 720x576 -aspect 4:3 -i /dev/video1 -f pulse -acodec pcm_s32le -ar 48000 -i alsa_input.1.analog-stereo -acodec ac3 -ab 192k -ac 2 -vcodec mpeg2video -pix_fmt uyvy422 -threads 2 -b:v 3500k -bt 500k -bf 2 test.avi
- No frames get encoded :
- ffmpeg version 0.10.6 Copyright (c) 2000-2012 the FFmpeg developers
- built on Nov 13 2012 16:03:45 with gcc 4.6.3
- configuration: --prefix=/usr --enable-shared --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include --disable-stripping --enable-postproc --enable-gpl --enable-pthreads --enable-libtheora --enable-libvorbis --disable-encoder=vorbis --enable-libvpx --enable-x11grab --enable-runtime-cpudetect --enable-libdc1394 --enable-libschroedinger --enable-librtmp --enable-libspeex --enable-libfreetype --enable-libnut --enable-libgsm --enable-libcelt --enable-libopencv --enable-libopenjpeg --enable-libxavs --enable-frei0r --enable-libmodplug --enable-libass --enable-gnutls --enable-libcdio --enable-libpulse --enable-libdirac --enable-libv4l2 --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libx264 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libxvid
- libavutil 51. 35.100 / 51. 35.100
- libavcodec 53. 61.100 / 53. 61.100
- libavformat 53. 32.100 / 53. 32.100
- libavdevice 53. 4.100 / 53. 4.100
- libavfilter 2. 61.100 / 2. 61.100
- libswscale 2. 1.100 / 2. 1.100
- libswresample 0. 6.100 / 0. 6.100
- libpostproc 52. 0.100 / 52. 0.100
- [video4linux2,v4l2 @ 0x1e4d6c0] The v4l2 frame is 391680 bytes, but 829440 bytes are expected
- [video4linux2,v4l2 @ 0x1e4d6c0] Estimating duration from bitrate, this may be inaccurate
- Input #0, video4linux2,v4l2, from '/dev/video1':
- Duration: N/A, bitrate: 165888 kb/s
- Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 720x576, 165888 kb/s, 25 tbr, 1000k tbn, 25 tbc
- [pulse @ 0x1e53fe0] Estimating duration from bitrate, this may be inaccurate
- Input #1, pulse, from 'alsa_input.1.analog-stereo':
- Duration: N/A, start: 0.014507, bitrate: N/A
- Stream #1:0: Audio: pcm_s32le, 48000 Hz, 2 channels, s32, 3072 kb/s
- File 'test.avi' already exists. Overwrite ? [y/N] y
- Incompatible pixel format 'uyvy422' for codec 'mpeg2video', auto-selecting format 'yuv422p'
- [buffer @ 0x1e54800] w:720 h:576 pixfmt:uyvy422 tb:1/1000000 sar:0/1 sws_param:
- [buffersink @ 0x1e4b7c0] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out'
- [scale @ 0x1e4be00] w:720 h:576 fmt:uyvy422 -> w:720 h:576 fmt:yuv422p flags:0x4
- Incompatible sample format 's32' for codec 'ac3', auto-selecting format 'flt'
- [ac3 @ 0x1e38c00] channel_layout not specified
- [ac3 @ 0x1e38c00] No channel layout specified. The encoder will guess the layout, but it might be incorrect.
- Output #0, avi, to 'test.avi':
- Metadata:
- ISFT : Lavf53.32.100
- Stream #0:0: Video: mpeg2video (mpg2 / 0x3267706D), yuv422p, 720x576, q=2-31, 3500 kb/s, 25 tbn, 25 tbc
- Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, flt, 192 kb/s
- Stream mapping:
- Stream #0:0 -> #0:0 (rawvideo -> mpeg2video)
- Stream #1:0 -> #0:1 (pcm_s32le -> ac3)
- Press [q] to stop, [?] for help
- frame= 0 fps= 0 q=0.0 Lsize= 10kB time=00:00:00.00 bitrate= 0.0kbits/s
- video:0kB audio:0kB global headers:0kB muxing overhead inf%
- Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement