ffmerge 0.2b

Audio editors, music players, video players, burning software, etc.
Post Reply
Message
Author
plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

ffmerge 0.2b

#1 Post by plinej »

This started as gtk-yt-dl:
http://www.murga-linux.com/puppy/viewtopic.php?t=117731

This requires: gtkdialog, ffmpeg, and youtube-dl

If you don't have youtube-dl installed the program will download and install it to /usr/local/bin/

I've added more options and improved some code as well as made everything possible via the command line without running the gui. The main idea of this project is to enter a url of a youtube playlist that contains multiple videos and have options to trim the start and end of videos that are silent, convert to mkv with a couple of settings, and merge (concat) the videos in to a single file with metadata that contains chapters. All of these steps can be done individually or together. You can also enter a text file with multiple playlist url's to download multiple playlists.

If you have fftag installed http://www.murga-linux.com/puppy/viewtopic.php?t=117253 the merged video will open and you can edit the metadata including the chapters. The metadata extracted from youtube videos is definitely hit or miss.

If you run with no arguments the gui will start, or you can run from the command line with these options:

Code: Select all

root# ffmerge -h
Run script on existing videos with no downloading:
-i /path/to/video
This command will merge all videos of selected type.
The conversion will take place in the directory that the selected file resides.
Download only options will be ignored and skipping the gui will be assumed.

Enter playlist url or text file of multiple url's to download:
If entering a url you can either enter the part after list= 
or the full url in quotes
-p (url or /path/to/text-file)(if text file - skip option is assumed) 

Miscellaneous-options:
-v (ignores other arguments and displays version number - 0.1a)
-s (skip the gui and run cli only)
-d /path/to/output (assumes last used or current directory if not available)
-z (ignores all other arguments and only displays the currently saved options)
-u (updates the settings and then exits the program without running)

Download only options (no trimming, converting, or merging):
-O (enable) (downloads videos from entered playlist in default mode) 
-o (disable download only)
-B (enable) (downloads best mp4+m4a - assumes -O) 
-b (disable best mode - assumes -o) 

If no download only options selected (defaults to enable or last used):
-m (disable conversion to mkv) 
-M (enable conversion to mkv) 
-t (disable trimming of silence at start and end of videos)
-T (enable trimming of silence at start and end of videos)

Options if mkv conversion is not disabled: 
-c (crf quality in range 1-51)(1-best 51-worst - default 23 or last used) 
-q (conversion speed preset value - medium is default or last used)

Current settings:
preset=medium output-directory=/mnt/home/1-cdrip/ crf=23 download-best=false download=false disabletrim=false disablemkv=true
Attachments
ffmerge-0.2b.pet
(7.48 KiB) Downloaded 245 times
Screenshot.jpg
(67.02 KiB) Downloaded 244 times
Last edited by plinej on Thu 21 May 2020, 22:17, edited 8 times in total.
You can also download many of my packages at:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#2 Post by plinej »

delete
You can also download many of my packages at:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#3 Post by plinej »

0.1a is up. minor bugfix.
You can also download many of my packages at:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#4 Post by plinej »

0.2 is up, internationalized
You can also download many of my packages at:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#5 Post by plinej »

0.2a is up. minor bug fix
You can also download many of my packages at:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

User avatar
jplt3
Posts: 118
Joined: Mon 08 Apr 2019, 20:40
Location: Planet Earth

#6 Post by jplt3 »

Thanks for your work , will soon use it.
JpLt

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#7 Post by plinej »

0.2b is up
You can also download many of my packages at:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

Post Reply