Re: v4l2 Device with H264 support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



   Hello,

On Tue, 17 Apr 2012 12:02:25 +1200 (NZST), Pieter De Wit
<pieter@xxxxxxxxxxxxx> wrote:
> I would like to stream H264 from a v4l2 device that does hardware 
> encoding. ffmpeg and all of those doesn't seem to understand H264, but 
> v4l2 "does". If I run qv4l2, it shows that H264 is in the encoding list 
> and I can preview that. Using v4l2-ctl, I can set the pixel format to
H264 
> and the "get-fmt" reports it correctly.
> 
> Is there any way I can get a "raw" frame dump from the v4l2 device ? I 
> have used "all" the samples I can find and none seems to work.

If the device supports read(/write) mode, I suppose you could simply read
the device node as a file.

'vlc v4l2c:///dev/video0 --demux h264' might work "thanks" to a software
bug whereby the format is not reset, but I have not tried. V4L2 H.264 is
supported in VLC version 2.0.2-git: 'vlc v4l2:///dev/video0:chroma=h264'.

-- 
Rémi Denis-Courmont
Sent from my collocated server
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux