[FFmpeg-user] Capture from USB Dazzle: *** dropping frames

MrNice wxcvbn2006 at iol.ie
Fri Jul 31 13:53:41 CEST 2015



On 30/07/15 13:14, MrNice wrote:
> On 30/07/15 12:28, Carl Eugen Hoyos wrote:
>> MrNice <wxcvbn2006 <at> iol.ie> writes:
>>
>>> At this time, the output image is not good at all; 
>>> It looks like a lot of lines are missing, white 
>>> areas are ribbed by black lines.
>>
>> Is this also reproducible if you record without 
>> audio, something like:
>> $ ffmpeg -channel 1 -i /dev/video0 -qscale 2 out.avi
>> ?
>>
>> Carl Eugen
>>
> 
> Yes, same issue
> 

BIG new problem.

So far I did all the tests with my laptop as player (output Y/C), the
Dazzle and my desktop as recorder.
I played a B&W file with a flashing square and in the same time a bip
every second to check sync.

I just tested with other files with colours: The output video files are
Black and White!
I tried with (see output below)
./ffmpeg -channel 1 -i /dev/video0 -qscale 2 /Store3/Test/out_`date
+%Y%m%d_%H%M`.avi
in the desktop or laptop, same problem.
I am sure the output of the laptop is coloured because I test with a
small monitor with Y/C input.

With VLC, Capture Device, I have B&W video as well.

Is the Dazzle dead? How to be sure?


./ffmpeg -channel 1 -i /dev/video0 -qscale 2 /Store3/Test/out_`date
+%Y%m%d_%H%M`.avi
ffmpeg version N-73832-g736a386 Copyright (c) 2000-2015 the FFmpeg
developers
  built with gcc 5.1.1 (GCC) 20150618 (Red Hat 5.1.1-4)
  configuration: --enable-libpulse --enable-gpl --enable-libx264
  libavutil      54. 28.100 / 54. 28.100
  libavcodec     56. 49.101 / 56. 49.101
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 25.100 /  5. 25.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Input #0, video4linux2,v4l2, from '/dev/video0':
  Duration: N/A, start: 3336.677338, bitrate: 165888 kb/s
    Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 720x576,
165888 kb/s, 25 fps, 25 tbr, 1000k tbn, 1000k tbc
Please use -q:a or -q:v, -qscale is ambiguous
Output #0, avi, to '/Store3/Test/out_20150731_1116.avi':
  Metadata:
    ISFT            : Lavf56.40.101
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 720x576,
q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc56.49.101 mpeg4
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
Past duration 0.601036 too large
Past duration 0.800774 too large
Past duration 0.801247 too large
Past duration 0.801918 too large    109kB time=00:00:00.60
bitrate=1482.1kbits/s dup=0 drop=1
Past duration 0.802467 too large
Past duration 0.803062 too large
Past duration 0.806221 too large
Past duration 0.803566 too large    163kB time=00:00:01.08
bitrate=1240.0kbits/s dup=0 drop=4
Past duration 0.805336 too large
Past duration 0.804115 too large
Past duration 0.805946 too large
Past duration 0.804771 too large    219kB time=00:00:01.60
bitrate=1122.1kbits/s dup=0 drop=6
Past duration 0.806572 too large
Past duration 0.804924 too large
Past duration 0.807167 too large
Past duration 0.805885 too large
Past duration 0.807823 too large
Past duration 0.608360 too large    274kB time=00:00:02.08
bitrate=1079.9kbits/s dup=0 drop=9
Past duration 0.808418 too large
Past duration 0.608986 too large
Past duration 0.809013 too large
Past duration 0.609642 too large    330kB time=00:00:02.60
bitrate=1040.4kbits/s dup=0 drop=11
Past duration 0.810997 too large
frame=   70 fps= 25 q=2.0 Lsize=     335kB time=00:00:02.80 bitrate=
979.5kbits/s dup=0 drop=13
video:328kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 2.205871%


More information about the ffmpeg-user mailing list