Date
1 - 20 of 28
New release EUMETCastView v1.5.5
Ernst Lobsiger
On Mon, Dec 5, 2022 at 06:06 AM, Hugo wrote:
Something else I'm going to change : for creating video's , it is probably better that the parameters for FFmpeg can be changed and saved by the user instead of hard coded in EUMETCastVideo.Hugo, that's a good idea. Advanced users of EUMETCastVideo or my SPS 4.x could experiment with these parameters resulting in some even better FFmpeg oneliners for EUMETCast. In addition to what I said about possible legal implications when publishing/distributing such videos there is an official kind of statement here: http://www.ffmpeg.org/legal.html Cheers, Ernst |
|
Douglas Deans
On 05/12/2022 14:06, Hugo wrote:
Douglas,================================================================================ Many thanks Hugo. Sounds good. Best regards, Douglas. |
|
Hugo
Douglas,
You are right ... When I integrated EUMETCastVideo into the build process of EUMETCastView I must screwed up something :) Something else I'm going to change : for creating video's , it is probably better that the parameters for FFmpeg can be changed and saved by the user instead of hard coded in EUMETCastVideo. (see the FFmpeg tests of Ernst) I let the group know when it's ready ... Best Regards, Hugo |
|
Ernst Lobsiger
On Sun, Dec 4, 2022 at 05:44 AM, Hugo wrote:
ffmpeg -framerate 5 -i tempvideo/PROJ%04d.png -vf minterpolate=fps=60:mi_mode=blend -c:v libx264 -pix_fmt yuv420p -y outfile.mp4Dear All, as we had a thread about publishing images and products from EUMETCast we should also know our rights (or maybe the absence of those) to publish videos we make from material (frames) we gather with EUMETCast. IANAL but for sure I do never want to get e-mails from some American lawyers firm with respect to some video codec I have used and distributed with wetransfer or whatever means on the WEB. Some codecs are said the be royalty free for "personal and noncommercial" use. But there is for sure no common agreement what this means. If I publish a *.avi or *.mp4 file this could be seen as promoting some software I have written and be said commercial use. Again IANAL but I just want to stay out of any such trouble. That's why began to encode with libtheora (*.ogv) and later libvpx (*.webm). After all the reason that these libraries exist is the problematic license/patent issue. There is now even a new "Alliance for Open Media" creating AV1 where developers of *.webm also contribute and with a lot of famous names behind. https://www.webmproject.org/ https://www.webmproject.org/about/ https://aomedia.org/ https://aomedia.org/membership/members/ It's interesting to discuss FFmpeg oneliners here but there is a codec in such lines. If your video codec is "-c:v libx264" you might have to read stuff like below YMMV. That's exactly why my codec is "-c:v libvpx". https://www.mpegla.com/wp-content/uploads/avcweb.pdf Cheers, Ernst P.S. I attach a couple of FFmpeg tests I have made back in 2021. Adding a filter for frame interpolation/blending is child's play as has been discussed here. |
|
Douglas Deans
On 04/12/2022 13:44, Hugo wrote:
Hi John,======================================================================================== Hugo, can I add that the station location in videos, always shows as what I assume to be your location, and not mine although mine works perfectly on the rest of the program. I am also finding that I cannot get HRV to work on videos. Maps etc all fine but no image superimposed on the map layout. All other videos working well. Other than that the new program is working very well. Thanks again. Best regards, Douglas. |
|
Hugo
Hi John,
The 'speed' is hard coded for the moment in the program. However I will change that so people can make their own preferences for making a video. You can of course experiment with ffmpeg yourself. For example : ffmpeg -framerate 5 -i tempvideo/PROJ%04d.png -vf minterpolate=fps=60:mi_mode=blend -c:v libx264 -pix_fmt yuv420p -y outfile.mp4 will make a video with 60fps and the number of interpolated frames per second will be (60/4 - 2) * (5 - 1) = 52. The best interpolation mode is blend. The other mode (motion estimation) gives artefacts in the twilight zones. Hope this helps, Hugo |
|
g3pha.morris@btinternet.com
Thanks for the release of the animation feature to EUMETCastView.
How does one control/regulate the speed of the animation frames please. John Morris |
|
Ernst Lobsiger
On Sat, Dec 3, 2022 at 10:14 AM, Hugo wrote:
... strange that the encoding is almost 10 times longerAFAIK/IIRC this is a problem of (minterpolate) blending filter being single threaded (?). Ernst |
|
Ernst Lobsiger
Hugo,
webm is a truly *free* codec that plays directly in any modern browser and can easily be integrated into HTML5 pages where you can even play different videos concurrently. It has also been developed for the WEB. Most other codecs have been developed for CD/DVD players. There is also webp as picture format that can be used as a replacement for jpeg. webp images can further be concatenated for animations similar to animated gifs (with similar problems of final file size). Cheers, Ernst |
|
Hugo
Ernst,
Very interesting test ... strange that the encoding is almost 10 times longer . Is there any advantage for using webm video's ? Cheers, Hugo |
|
Graham Woolf
Hi Ernst
You're not wrong - you know me too well !! Regards Graham |
|
Ernst Lobsiger
Hugo,
I made a test with my eruption video of Mauna Loa 20221128. Unfortunately there are some images missing in the EUMETCast received GOES18 data (you will see some jumps in both videos). I found these encoding times on my receiver Kallisto (Xeon 3.3GHz, 24GB RAM): No blending, 1 day = 144 (input) images, 6 FPS : encoding time 0min 17sec With blending, 1 day = 144 (input) images, 11 FPS : encoding time 2min 32sec Videos *.webm can be downloaded from wetransfer here: https://we.tl/t-uOLBt2mFVz Interestingly the size of the videos does not differ much. On the blended video the time in the legend is harder to read because the numbers are blended as well. Maybe I add that as a switch in my future movie scripts (Graham will use it ;-) !) Cheers, Ernst |
|
Ernst Lobsiger
On Sat, Dec 3, 2022 at 06:36 AM, Hugo wrote:
Yes, I do use the interpolation possibilities of ffmpeg.Hugo, I haven't downloaded your program or source code but my eyes made me suspect something like that :-). I currently rebuild 22 movies every hour on a GNU/Linux receiver with BAS / HVS-1 / HVS-2 that does produce all the frames, prepare MSLP overlays and generates a couple of LEO pictures as well. It might not be something an average user really needs. I just wanted to know how far I can go without causing packet loss. I will certainly do some experiments with frame interpolation but that again adds more CPU usage. On my Windows 10 system PyTROLL/Satpy scripts need up to twice the execution time. So this is probably rather something for interactive use to produce videos that can also be shown on youtube. Cheers, Ernst |
|
Douglas Deans
Hugo just to confirm all is working fine now including animations.
My problem turned out to be caused by importing my old'POI'. So I just re-built it from scratch and all works well. Just one small note. The gshhs overlay file reference in the 'Preferences' should refer to version 2_3_7 (which is what the program folder is called). Once changing it to that I was able to get overlays. Once again Hugo many thanks for all your hard work with the program. Kind regards, Douglas. |
|
Hugo
Yes, I do use the interpolation possibilities of ffmpeg.
In main.cpp of EUMETCastVideo : process.setArguments({"-r", "10", "-f", "image2", "-i", inputimagename, "-filter", "minterpolate='mi_mode=blend'", "-c:v", "libx264", "-pix_fmt", "yuv420p", "-y", outputvideoname}); Cheers, Hugo |
|
Ernst Lobsiger
On Sat, Dec 3, 2022 at 05:09 AM, Hugo wrote:
The original canvas size of those video's are all 1920x1080 pixels when I upload them to YouTube.Hugo, I noted a one day MSG3 RSS movie is 29 seconds. This evaluates to a frame rate of 10. But AFAIK youtube seems to ask for frame rates 24+. Do you upload videos with 10 FPS and youtube makes some sort of frame interpolation? Or do you interpolate frames with your software? My videos are made with ffmpeg and have only 6 FPS (hard coded in my script). But ffmpeg is rather mighty (and complex). I only scratched the surface. I seems e.g. that ffmpeg can interpolate frames as well. There is yet a lot of room for users of my 4.x scripts to experiment :-). https://blog.programster.org/ffmpeg-create-smooth-videos-with-frame-interpolation Cheers, Ernst |
|
Hugo
Thank you Ernst,
The original canvas size of those video's are all 1920x1080 pixels when I upload them to YouTube. EUMETCastVideo renders every frame as a GVP projection and you can choose with HRV or not. For video's with the complete globe I don't use HRV. For closeups (Europe) it is nicer to take the HRV images (more details). Of course it takes longer to render with HRV... Regards, Hugo |
|
Ernst Lobsiger
On Fri, Dec 2, 2022 at 02:18 AM, Hugo wrote:
Examples of video's created : https://www.youtube.com/channel/UCXt6CBoa9X_u2s3eRsVEUhQHugo, your youtube videos look really impressive! What pixel size do you normally choose for frame image production? Best regards, Ernst P.S. As you might remember I only have FullHD resolution monitors here :-(. |
|
Douglas Deans
Hugo, solved the problem.
I had removed the old program but after the new program had been installed so I deleted the new EUMETCastView and completely re-installed it. Now it has loaded successfully. May well have been a path thing. Many thanks. Douglas. |
|
Douglas Deans
Hugo, by adding a 'Pause' instruction into the batch file I have been able to copy the entire contents of the opening DOS window.
I suspect it may tell you something (beyond me). I could send it directly to you as a .txt file attachment if that would help. Regards, Douglas. |
|