vlc -vvv v4l:/dev/video1:channel=0:norm=PAL:size=768x576 --no-audio --no-sout-audio --color --width 1024 --heigh 768 --vout sdl
Code: Select all
[00000215] v4l demuxer debug: main device=`/dev/video1'
[00000215] v4l demuxer debug: V4L device BT878 video ( *** UNKNOWN/GENER 4 channels 1 audios 48 < w < 924 32 < h < 576
[00000215] v4l demuxer debug: invalid width 0
[00000215] v4l demuxer debug: invalid height 0
[00000215] v4l demuxer debug: setting channel Television(0) 1 tuners flags=0x3 type=0x1 norm=0x0
[00000215] v4l demuxer debug: will use 320x240
[00000215] v4l demuxer debug: v4l device uses brightness: 32768
[00000215] v4l demuxer debug: v4l device uses colour: 32768
[00000215] v4l demuxer debug: v4l device uses hue: 32768
[00000215] v4l demuxer debug: v4l device uses contrast: 32768
[00000215] v4l demuxer debug: v4l device uses frame size: 230400
[00000215] v4l demuxer debug: v4l device uses chroma: RV24
[00000215] v4l demuxer debug: v4l grabbing started
[00000215] v4l demuxer debug: added new video es RV24 320x240
....
[00000242] main video output error: no chroma module for RV24 to RGB2
[00000242] main video output debug: thread 131081 (video output) created at priority 0 (src/video_output/video_output.c:453)
[00000242] main video output error: video output creation failed
But next code work fine:
ffmpeg -y -vd /dev/video0 -vcodec msmpeg4 -b 300 -r 25 -s 4cif -tvstd PAL -an /test.avi
Code: Select all
ffmpeg version 0.4.9-pre1, build 4756, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --enable-xvid --enable-mp3lame --enable-v4l --enable-gpl --enable-shared --enable-pp
built on Jul 8 2005 19:07:46, gcc: 3.4.3
Input #0, video4linux, from '':
Duration: N/A, bitrate: N/A
Stream #0.0: Video: rawvideo, yuv420p, 704x576, 25.00 fps
Output #0, avi, to '/test.avi':
Stream #0.0: Video: msmpeg4, yuv420p, 704x576, 25.00 fps, q=2-31, 300 kb/s
Stream mapping:
Stream #0.0 -> #0.0
[msmpeg4 @ 0xb7ea4010]removing common factors from framerate
Press [q] to stop encoding
frame= 218 q=0.0 Lsize= 577kB time=8.7 bitrate= 541.9kbits/s
video:517kB audio:0kB global headers:0kB muxing overhead 11.622229%
Received signal 2: terminating.
HELP ME. PLS.