Morten W. Petersen wrote: > Den man. 6. aug. 2018, 23.52 skrev Joel Roth <[email protected]>: > > > Morten W. Petersen wrote: > > > > > > I think this is interesting, and it shouldn't be difficult to write a > > > frontend to it. > > > > > > If you post the code on GitHub, it would make it easier for someone to > > > write a GUI. > > > > Okay, here it is, slightly cleaned up, and possibly added a > > couple bugs :-) One thing I notice is the output files > > are hardcoded to mp4. > > > > https://github.com/bolangi/fftrim > > > Ah, Perl, OK. 🙂
Better than okay, it's wonderful! Changed my life, it has. > Well I guess one can write a quick wrapper and GUI in Python, and then call > fftrim. In general people would want to click on a timeline to mark their cuts. Isn't creating a GUI for that a pretty big job? > It is file processing after all, and Perl should be good at that, I just > never took the time to learn Perl. Search and substitute functions in perl use syntax like vi, ed, sed and awk. Perl regular expression syntax also began life elsewhere, so not all new but yes there is a lot mastering to a language. I did try some python recently, and found it to be fun. The indenting reminds me of working with YAML. have fun, joel > -Morten > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". -- Joel Roth _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
