Find Jobs
Hire Freelancers

Bash script to play images and videos in loop

$30-250 USD

Completed
Posted almost 5 years ago

$30-250 USD

Paid on delivery
Hi, I just want to make a media loop opening the pi3d app [login to view URL] [login to view URL] and launching this code "python3 [login to view URL]" that is part of the demos of 3dpi: [login to view URL] This code "python3 [login to view URL]" is an image viewer that show a blending/cross-fading transition between the slides. The slides are not moving forward automatically, the slides are going forward only clicking the RIGHT ARROW key. "FOR NOW I JUST NEED A STATIC DEMO" and click on the RIGHT ARROW every N seconds to show the next picture, and the next and the next, then sometimes pause the images and launch the OMXPLAYER [login to view URL] over these images/slide-show, and at the end of the mp4playng, go back again to run this code "python3 [login to view URL]" and restart to use the RIGHT ARROW to show the next pictures, and the next and the next, etc.. So now you can imagine that this new MEDIA PLAYER (images with pi3d plus videos with omxplayer) could work with all the png/jpeg and mp4 saved on the same folder (that we call NOWPLAYING) and then playing in this way: SLIDE1 (of N seconds defined from the user area) + cross-fading to black of 0.5 seconds or less to a black image + black-image of 0.01 seconds (immediately click on arrow to the right) + cross-fading of 0.5 seconds or less from the black image to the next slide + SLIDE 2 (of N seconds defined from the user area) + + black-image of 0.01 seconds (immediately click on arrow to the right) + cross-fading of 0.5 seconds or less from the black image to the next slide + SLIDE 3 (of N seconds defined from the user area) + + black-image of 0.01 seconds (immediately click on arrow to the right) + cross-fading of 0.5 seconds or less from the black image to the next slide + SLIDE 4 (of N seconds defined from the user area) + Etc... Then if/when a mp4 is coming in the loop, we don't close pi3d "python3 [login to view URL]" and we launch omxplayer over it, so then no one see the lag of 0.1 seconds that omxplayer needs to open. When omxplayer is closing because the mp4 is ended, then we restart to count the seconds to restart the slide-show managed from python3 [login to view URL] . For now I just need a static demo doing it. Then The project will go quickly forward (with other next extra payments) adding these features: 1) change the slides from a CSV file downloaded from a URL, example [login to view URL] and each URL will match with a different play list 2) update the folder that we call NOWPLAYING deleting the media(mp4 and png/jpeg) files that are are not to play now and add the new that must be downloaded, closing and reopening pi3d to update the playlist 3) store also the schedule of the future playing, saving the future png/jpeg and mp4 files in a folder named FUTURE-PLAYING so then if this media players goes offline for a while it can works well for more time, waiting that the internet line will be back again. For these extra features, also the start date and time and end date and time will be written into the filename or in the playlist. PS. About the RIGHT ARROW, actually I do it by hand, the pythin code doesn't do it automatically and the bash script has to do it. FOR NOW I JUST NEED A STATIC DEMO. The operating system is raspbian, debian for raspberry. do you have a raspberry? Then in future maybe I will use this script on ubuntu core too. I think that the best is if you have a raspberry too, to can test all quickly, because for example pi3d don't show the images on anydesk. My raspberry is reayd with anydesk and dataplicity, and I repeat is a lot better to test it directly on your raspberry.. If you don't have a raspberry, you can install raspbian on your pc: [login to view URL] My raspberry is raspberry pi3 model b+ for the sample any image of 1920x1080 and 1080 x 1920 are ok, the sample for videos
Project ID: 19783812

About the project

4 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi there! I have 3 Raspberry Pi boards that I can test and develop this on. In addition to the Pi boards I have other ARM boards as well. I estimate it will take about 7 days to get the prototype software running. Thank you so much!
$250 USD in 2 days
5.0 (7 reviews)
3.2
3.2
4 freelancers are bidding on average $250 USD for this job
User Avatar
Hi. thanks for your posting. I'm very happy to have a chance of bidding your project. I have experience in development of the projects like yours If you hire me, I'll do my best for your project and finish greatly in a short time. I'm sure I can satisfy for you as you want. best regards.
$300 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello, I have read the details provided and i am positive i can provide quality work,please contact me to discuss more on the project deadline and some other few things
$250 USD in 5 days
1.0 (1 review)
0.5
0.5
User Avatar
Ciao, anche io sviluppo con raspberry :) direi che se fattibile non ci sono problemi! No problem with any Linux and Windows Server, Desktop administration, mail server, vpn, dns, networking, firewall configuration, domain administration with Plesk, Cpanel and Virtualmin, VMWare and Proxmox virtualization. I use all the Ubiquiti family products, pfSense on most complicate scenarios, sometimes Openwrt and Mikrotik. Oscar
$200 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of ITALY
Forli, Italy
5.0
50
Payment method verified
Member since Feb 7, 2006

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.