On 10/9/20 12:19 pm, Alan Corey wrote:
> Wacky idea probably.  But most social media sites won't let you post
> an mp3 (might be copyrighted) but will let you post videos.  So do a
> video of the Audacity main window with the cursor moving through the
> waveform as the audio is played.  Yes, you could capture a screen area
> with ffmpeg and try to sync it to the audio.  Just an idea.  You can
> feed frames and probably the audio through ffmpeg.  Sharp lines won't
> make a good MPEG though.

I'd probably have a look at gstreamer and see if there's a
"visualisation" plug-in that would do what you want.

https://gstreamer.freedesktop.org/documentation/audiovisualizers/index.html

Something like:

> gst-launch-1.0 filesrc location="${HOME}/music/by-track-artist/Santana/Let It 
> Shine.ogg" ! oggdemux ! vorbisdec ! tee name=t ! queue ! audioconvert ! mux. 
> t. ! queue ! audioconvert ! spectrascope ! videoconvert ! avenc_mjpeg ! mux. 
> avimux name=mux ! filesink location=/tmp/test.avi

might do what you want.
-- 
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.


_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to