Music video

For works-in-progress. This is the place to upload things that aren't done yet, or tech demos of specific systems or technologies.
Forum rules
This is the only download category to upload works in progress of your application or game.
Post Reply
User avatar
desertfish
Posts: 1126
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

Music video

Post by desertfish »

Inspired by Tony's work on this I wanted to create my own music video "creation pipeline" and playback program, mostly as an exercise to see what's involved in realizing something like this.

Source a/v conversion heavy lifting is done by ffmpeg + a python script that converts the resulting frame data into the correct vera vram format. Source code available on request.

I simply had to use one of my favorite songs and video clips from the 80's for this: Take On Me from A-ha.

The video runs at 160*128 pixels at 15 fps and the sound is fairly high quality at 27Khz. But it's mono, because the sd-card isn't fast enough to support decent quality stereo sound next to the video stream. I think it's theoretically possible given the 180-200 kb/sec data transfer speed limit of a decent sdcard, but it just doesn't sync right with the way the current implementation works (reading video and audio blocks from 2 different files independently - it is difficult to sync them up properly).
The playback speed of the song is changed by a factor of 0.992 because this is the factor of the VGA refresh rate v.s. precise 60 FPS as to sync the audio and video up again otherwise they would desync gradually.
Attachments
takeonme.zip
(20.23 MiB) Downloaded 231 times
Edmond D
Posts: 506
Joined: Thu Aug 19, 2021 1:42 am

Re: Music video

Post by Edmond D »

If you haven't watched it:

Unveiling A-ha’s Rare 'Take On Me' Demos: 40th Anniversary Special
https://www.youtube.com/watch?v=SrTkZsnukrA
User avatar
desertfish
Posts: 1126
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

Re: Music video

Post by desertfish »

I have not! Thanks for the link, what a nice coincidence
User avatar
ahenry3068
Posts: 1218
Joined: Tue Apr 04, 2023 9:57 pm

Music video, Same concept, Different language.

Post by ahenry3068 »

Colorized version of the above Video.

Not trying to one up. Thought mine with code could be useful

Desertfish and I corresponded over this one quite a bit.


HERE IT IS:
AHA.zip
(22.04 MiB) Downloaded 279 times
mortarm
Posts: 342
Joined: Tue May 16, 2023 6:21 pm

Re: Music video

Post by mortarm »

desertfish wrote: Thu Dec 12, 2024 10:44 pm I simply had to use one of my favorite songs and video clips from the 80's for this: Take On Me from A-ha.
Would've been hilarious to "Rick roll" us. :D
User avatar
ahenry3068
Posts: 1218
Joined: Tue Apr 04, 2023 9:57 pm

Re: Music video

Post by ahenry3068 »

mortarm wrote: Mon Dec 30, 2024 3:07 am
desertfish wrote: Thu Dec 12, 2024 10:44 pm I simply had to use one of my favorite songs and video clips from the 80's for this: Take On Me from A-ha.
Would've been hilarious to "Rick roll" us. :D
Image
Edmond D
Posts: 506
Joined: Thu Aug 19, 2021 1:42 am

Re: Music video

Post by Edmond D »

Post Reply