added ffmpeg line. i tested it: it works.

This commit is contained in:
commie 2024-04-11 22:11:17 -04:00
parent ad2835f38c
commit 4f05adcb9a
2 changed files with 20 additions and 0 deletions

6
bash/feed-reader Normal file
View file

@ -0,0 +1,6 @@
#!/bin/bash
feed2exec \
parse \
https://www.nasa.gov/rss/dyn/breaking_news.rss \
--output echo \
--args '{item.title}'

View file

@ -33,3 +33,17 @@ these lines are taken straight out of the man page and made a bit more readable
--output echo \
--args '{item.title}'
#+end_src
* ffmpeg
this is the hardest bit, honestly. once i figure out how to build the video file from the pieces, gathering the pieces and upping them to youtube etc will be cake.
i already know that to build the spectrometer is out of the scope of what i can build in one evening, but i am sure i can put together the ffmpeg command to build from a single image file and a single audio file
#+begin_src shell :tangle video-builder
#!/bin/bash
ffmpeg -loop 1 -i ../media-assets/sample_pic.png \
-i /tmp/output.mp3 \
-shortest \
-c:v libx264 \
-c:a copy \
output.mp4
#+end_src