:: Re: [Frei0r] filter for splitting a…
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Federico Allegretti
Ημερομηνία:  
Προς: Minimalistic plugin API for video effects
Καινούρια Θέματα: [Frei0r] select0r bug fix
Αντικείμενο: Re: [Frei0r] filter for splitting an image to 2 eyes
Thanks for the kind answer Dan, but i suppose that's not the case.

I found a cool way to play 2 videos side by side (with ffplay):
ffplay -i inputleft.avi -vf "movie=inputright.avi [in1];
[in]pad=iw*2:ih:iw:0[in0]; [in0][in1] overlay=0:0 [out]"

i suppose that i could also feed ffplay with webcam feed because i can get
a "decent" video using:
ffplay -f v4l2 -framerate 25 -video_size 640x480 -input_format yuyv422 -i
/dev/video0

now i need to find how to:
1) reduce latency in webcam feed (1 got more than a second of delay)
2) feed another webcam for the "right eye" and
3) to warp left and right eye "sources" to compensate lens unwarping

the idea was to get something like the image at this url:
https://architechnologist.com/wp-content/uploads/2015/10/VR_Esplanade-2.png

On Tue, 23 Apr 2019 at 21:28, Dan Dennedy <dan@???> wrote:

> I am not exactly sure what you are trying to do or need, but there is this
> interesting 360 video filter that can be integrated into FFmpeg/libavfilter
> (manual patching):
> https://github.com/facebook/transform360
> It does more that just equirectangular and cubemap. It also does 2D
> flat_fixed extraction and stereoscopic, but it does not take fisheye input
> layouts. In any case, it might be a starting point for you.
>
> On Tue, Apr 23, 2019 at 9:44 AM Federico Allegretti <allegfede@???>
> wrote:
>
>> hello everybody, i'm starting a project that will use a stupid simple vr
>> head set (google cardboard vr like) to render some images on "eyes" and i
>> think could be a frei0r plug in or plug in chain to get a 16:9 image and
>> split in two, deform it and render on the correct screen position, so lens
>> and brain could reconscruct the corrent "fake" stereo image.
>>
>> Is already there? If not, could you address me to some
>> docs/papers/articles to write a frei0r plugin to handle those
>> transformations by myself (i'll try at least)?
>>
>> Thanks,
>>
>> Federico
>> --
>> Sourceforge: https://sourceforge.net/u/allegfede/
>>
>> YouTube Channel: https://www.youtube.com/c/v1p3rslab
>>
>> VIMEO HD videos: http://www.vimeo.com/user1912745/videos
>> _______________________________________________
>> Frei0r mailing list - http://frei0r.dyne.org
>> Free video plugins, minimal and cross-platform.
>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/frei0r
>>
>
>
> --
> +-DRD-+
> _______________________________________________
> Frei0r mailing list - http://frei0r.dyne.org
> Free video plugins, minimal and cross-platform.
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/frei0r
>



--
Sourceforge: https://sourceforge.net/u/allegfede/

YouTube Channel: https://www.youtube.com/c/v1p3rslab

VIMEO HD videos: http://www.vimeo.com/user1912745/videos