Profile cover photo
Profile photo
James Kasper - CBWP
2,389 followers -
Minecraft and electronics!
Minecraft and electronics!

2,389 followers
About
Posts

Post has attachment
Hey, at least I tried...
Photo

Post has attachment

Post has attachment
Smoked...

Post has attachment
Part 4...

Post has attachment
Number 3...

Post has attachment
Episode 2 of my first UHC recording.

Post has attachment
My first recorded UHC...

Post has attachment

Any linux cli peeps out there who know pipes and variables and grep maybe awk?...

I don't know how to disable the G+ text formatting so there are the strike throughs... sorry

I have a basic code here:
ffmpeg i "movie01.avi" -r 1 -f image2 ./S01E01/S01E01%4d.jpeg

It will take a video and grab screenshots from it once/second and save them as jpeg.

I want to use ls or something and pipe the results in place of the "movie01.avi" AND I want to increment the episode number based on the query from ls being alphabetical/numerical.

Just in case that wasn't understood, I can say it in another way:
instead of running these scripts:
ffmpeg i "a01.avi" -r 1 -f image2 ./S01E01/S01E01%4d.jpeg
ffmpeg i "a02.avi" -r 1 -f image2 ./S01E02/S01E02%4d.jpeg
ffmpeg i "b01.mp4" -r 1 -f image2 ./S01E03/S01E03%4d.jpeg
ffmpeg i "c01.mkv" -r 1 -f image2 ./S01E04/S01E04%4d.jpeg

I want to run one script to search one directory at a time.  Bonus if it can mkdir the proper folder for each episode. I kind of know what I want, but I don't know syntax and cli variables very well.

Post has attachment
Hey fuckers! Tonight's the night!
If you're in Pittsburgh get your ass to the show!

tugg.com/events/11720
Photo
Wait while more posts are being loaded