Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #203890

Re: have you used ffplay with v4l2?

From Long Wind <longwind2@yahoo.com>
Newsgroups linux.debian.user
Subject Re: have you used ffplay with v4l2?
Date 2019-01-03 20:00 +0100
Message-ID <xcgnL-75U-9@gated-at.bofh.it> (permalink)
References <xc6eJ-1df-5@gated-at.bofh.it> <xc6eJ-1df-3@gated-at.bofh.it> <xcck9-4L9-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

I have just tested your script:
 ffplay -f video4linux2 -framerate 15 -video_size 640x480 /dev/video0
It doesn't work, Segmentation fault. 
Thanks anyway! 
 

    On Thursday, January 3, 2019 10:34 PM, Reco <recoverym4n@enotuniq.net> wrote:
 

     Hi.

On Thu, Jan 03, 2019 at 08:08:13AM +0000, Long Wind wrote:
> ffplay -f video4linux2 -framerate 30 -video_size hd720 /dev/video0
> 
> sample script above doesn't work: "Segmentation fault"

Kind of works for me:

$ ffplay -f video4linux2 -framerate 15 -video_size 640x480 /dev/video0
[video4linux2,v4l2 @ 0xe8a004a0] The driver changed the time per frame
from 1/15 to 1/30
Input #0, video4linux2,v4l2, from '/dev/video0':B sq=    0B f=0/0
  Duration: N/A, start: 15807.597194, bitrate: 147456 kb/s
    Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 147456 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc

I prefer mpv for this, but ffplay works too.

Since you're getting a SIGSEGV, you may have to follow the usual
routine: get a coredump, extract a backtrace with gdb, fill a bugreport.

Reco



   

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

have you used ffplay with v4l2? Long Wind <longwind2@yahoo.com> - 2019-01-03 09:10 +0100
  Re: have you used ffplay with v4l2? Reco <recoverym4n@enotuniq.net> - 2019-01-03 15:40 +0100
    Re: have you used ffplay with v4l2? Long Wind <longwind2@yahoo.com> - 2019-01-03 20:00 +0100

csiph-web