<div dir="ltr"><div>hi</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le dim. 18 août 2019 à 16:41, Jack <<a href="mailto:jack@rybn.org">jack@rybn.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Antoine,<br>
<br>
I just tested this new object and thanks for it.<br>
<br>
Here my comments :<br>
- play and pause messages return mpv: no method for ...<br></blockquote><div><br></div><div>This is a mistake, they should have been removed from help patcher.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
- i was expecting less usage of CPU than the couple<br>
gemframebuffer/pix_film. On my computer the CPU usage is the same.<br></blockquote><div><br></div><div>it depends on the codec and hardware you're using.</div><div>If your codec can't be decoded on your hardware then it should be the same as pix_film/gemframebuffer.</div><div>But I made this external when I need to display 2048x2048 video at 30 fps.</div><div>I tried several solution, including decoding the video with FFMPEG directly and passing it through v4l2loopback to Gem.</div><div>But the only thing that works at 30fps was to use libmpv.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
- the sound of the video is audible, it will be nice to have x signal<br>
outlets (with x channels of sounds) from the mpv object.<br></blockquote><div><br></div><div>indeed, that could be an improvement</div><div>PR are welcome :-)</div><div><br></div><div>+<br></div><div>a</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Hope, these comments can help.<br>
++<br>
<br>
Jack<br>
<br>
<br>
<br>
<br>
Le 17/08/2019 à 14:50, Antoine Villeret a écrit :<br>
> Hi, <br>
> <br>
> I wrote an object based on gemframbuffer that uses libmpv<br>
> (<a href="https://mpv.io/" rel="noreferrer" target="_blank">https://mpv.io/</a>) to decode a video file and output it directly to a<br>
> texture.<br>
> This circumvent the bottleneck of uploading the pixes to the GPU and<br>
> provides a wide range of codecs to Gem (if MPV can play your video, then<br>
> gem-mpv can too).<br>
> This have been successfully tested with 4K HAP video on Linux.<br>
> It also supports video with alpha channel.<br>
> <br>
> The source code is here : <a href="https://github.com/avilleret/gem-mpv" rel="noreferrer" target="_blank">https://github.com/avilleret/gem-mpv</a><br>
> The build system is CMake, there is no binary release.<br>
> Follow the Readme to build it.<br>
> It has been only tested on Linux for now.<br>
> <br>
> Inside, it's more or less a wrapper around libmpv, that means every<br>
> properties and commands should be supported but only few have been<br>
> tested yet.<br>
> Some are documented in the help file, for the others, please refer to<br>
> libmpv help : <a href="https://mpv.io/manual/stable/" rel="noreferrer" target="_blank">https://mpv.io/manual/stable/</a><br>
> <br>
> Best regards<br>
>  <br>
> Antoine<br>
> <br>
> _______________________________________________<br>
> GEM-dev mailing list<br>
> <a href="mailto:GEM-dev@lists.iem.at" target="_blank">GEM-dev@lists.iem.at</a><br>
> <a href="https://lists.puredata.info/listinfo/gem-dev" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/gem-dev</a><br>
> <br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
GEM-dev mailing list<br>
<a href="mailto:GEM-dev@lists.iem.at" target="_blank">GEM-dev@lists.iem.at</a><br>
<a href="https://lists.puredata.info/listinfo/gem-dev" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/gem-dev</a><br>
</blockquote></div></div>