[FFmpeg-trac] #1570(avdevice:open): libv4l2: error dequeuing buf: Resource temporarily unavailable
FFmpeg
trac at avcodec.org
Thu Jul 26 20:53:08 CEST 2012
#1570: libv4l2: error dequeuing buf: Resource temporarily unavailable
-------------------------------------+-------------------------------------
Reporter: llarevo | Owner:
Type: defect | Status: open
Priority: normal | Component: avdevice
Version: unspecified | Resolution:
Keywords: | Blocked By:
video4linux, video4linux2, | Reproduced by developer: 0
v4l2.c, regression, capture, |
analog, tv |
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by ubitux):
Just to make sure, can you try this hack with an upstream FFmpeg?
{{{
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index 2808e13..0acd3da 100644
--- a/libavdevice/v4l2.c
+++ b/libavdevice/v4l2.c
@@ -694,7 +694,7 @@ static int v4l2_set_parameters(AVFormatContext *s1)
}
}
- if (framerate_q.num && framerate_q.den) {
+ if (0 && framerate_q.num && framerate_q.den) {
av_log(s1, AV_LOG_DEBUG, "Setting time per frame to %d/%d\n",
framerate_q.den, framerate_q.num);
tpf->numerator = framerate_q.den;
}}}
(Since according to your report 70f7736 looks faulty).
Also, could you post a complete command line and output with -debug 1
(with an up-to-date tree but without the hack above) so we can have more
information on the issue?
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1570#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list