by saaaam on 5/23/22, 7:02 PM with 56 comments
by vaughan on 5/23/22, 10:27 PM
Text based document would be so much easier for this than big clunky Premiere.
by giberson on 5/23/22, 9:12 PM
Ie `videogrep --input *.mp4 --produce "I am a robot"` and will find all the pieces it needs to produce the desired output?
by filmgirlcw on 5/23/22, 8:36 PM
Love this.
by eduren on 5/23/22, 11:43 PM
I got it working by manually adding `-map 0:2` (`2` being the trackid I'm interested in) when calling ffmpeg.
You'll have to make that edit in both `videogrep/transcribe.py` as well as `moviepy/audio/io/readers.py`.
And I'm not sure how easy adding real support for that would be, considering that moviepy doesn't currently have a way to support it (https://github.com/Zulko/moviepy/issues/1654)
by mmanfrin on 5/23/22, 8:50 PM
by abathur on 5/23/22, 8:24 PM
Back in 2011-12, my MFA (poetry) thesis project was a sort of poetic ~conversation between myself, and (selected) poems generated by a program I wrote, using transcripts of Glenn Beck's TV show.
I really, really wanted to be able to generate video ~performances of the generated poem in each pair for my thesis reading (and for evolving the project beyond the thesis). I have to imagine videogrep could support that in some form, at least if I had the footage. (Not that I want to re-heat that particular project at this point).
Great work.
by sirius87 on 5/24/22, 12:31 PM
I've used ffmpeg before to chop video bits and merge them before. Mixed results. It'd struggle to cut at exact frames or the audio would go out of sync or the frame rate would get messed up.
I gave up and decided to tackle the problem on the playback side. Like players respect subtitle srt/vtt files, I wish there were a "jumplist" format (like a playlist but "intra-file") that you could place alongside video/audio files, and players would automatically play the media as per markers in the file, managing any prebuffering, etc. for smooth playback.
For a client project, I did this with the Exoplayer lib on Android, which kinda already has an "evented" playback support where you can queue events on the playback timeline. A "jumplist" file is a simple .jls CSV file with the same filename as the video file.
Each line contains: <start-time>,<end-time>,<extra-features>
"extra-features" could be playback speed, pan, zoom, whatever.
Code parses the file and queues events on the playback timeline (On tick 0 jump to first <start-time>, on each <end-time> go to next <start-time>).
I set it up to buffer the whole file aggressively, but that could be improved. Downside may be that more data is downloaded than is played. Upside is that multiple people can author their own "jumplist" files without time consuming re-encode of media.
by rektide on 5/23/22, 7:25 PM
> "All of the elements of a shot’s mise en scène, all of the non-relational objects within the film frame, are figures of a sort. The figure is the likeness of a material object, whether that likeness is by-design or purely accidental. A shot is a cluster of cinematic figures, an entanglement. Actors and props are by no means the only kinds of cinematic figures—the space that they occupy and navigate is itself a figure"
And the words they say, as seen here.
[1] https://en.wikipedia.org/wiki/Object-oriented_ontology
[2] https://larvalsubjects.wordpress.com/2010/05/03/cinema-and-o...
[3] https://sullivandaniel.wordpress.com/2010/05/02/film-theory-...
by r-k-jo on 5/23/22, 10:36 PM
by woudsma on 5/23/22, 7:40 PM
Would be cool if it didn't need a .srt file, but that it would scan the audio for a search prase.
Edit: Never mind, I see that you can create transcriptions using vosk!
by nullc on 5/24/22, 1:43 AM
Also it would be fun if it output a kdenlive project file, so you could easily tweak the boundaries or clip orders.
by xn on 5/23/22, 10:20 PM
by ellisd on 5/24/22, 12:07 AM
by 867-5309 on 5/23/22, 11:23 PM
by sergiotapia on 5/23/22, 9:10 PM
Search by text, generated videos of frequent phrases and other meme-worthy sayings from the Sith Lord.
What do you think about that DALE?
by aantix on 5/23/22, 8:54 PM
by mdrzn on 5/26/22, 8:54 AM
Great work, can't wait to try them!
by 867-5309 on 5/23/22, 11:05 PM
by aktuel on 5/23/22, 7:20 PM
by lobocinza on 5/24/22, 4:49 AM
by fulafel on 5/24/22, 6:17 AM
by harel on 5/23/22, 9:45 PM
by OJFord on 5/23/22, 9:04 PM
by krat0sprakhar on 5/23/22, 9:39 PM
Also is Zuckerberg for real? Half of those snippets look like it is a NPC from from a game. ¯\_(ツ)_/¯
by wiz21c on 5/24/22, 6:39 AM