How the fuck can you edit (or add) title metadata for webm files without having to recompress them?
WEBM metadata (title)
Other urls found in this thread:
>>>g/sqt/
ffmpeg -i input.webm -metadata title="This is your metadata title" -c copy output.webm
thanks user.
I also found this (which makes it easier if you need to edit more than just the title on one go)
github.com
it appears to write the title, but also gives me a strange error. pic related.
testing if the ffmpeg method worked.
should be ayy lmao title
>31kb
file is ruined. probably because I told it to overwrite the original file. how can I get around this? I don't want to have to delete the old file every time.
>github.com
testing this editor.
title should be a youtube link.
You should definitely not overwrite the original file. Personally I use a script to loop through all webms in a directory, add the filename as the title metadata and automate the process of deleting the old files.
sounds nice too, but most webms I've got don't have filenames that are useful in the title (like youtube link to source material). I want a batch (.bat) file where I can drag&drop a webm onto, type a title and have it replace the one I dropped.
currently I have this:
@echo off
set title=0
set /p title= "Enter title (empty to ignore): "
echo title is %title%
pause
%~dp0/ffmpeg -i %1 -metadata title="%title%" -c copy %1
pause
but I would somehow have to remember the filename of the dropped file, then rename it to a temporary name before editing its metadata title, and then saving the new one using the original filename of the dropped file, and deleting the original file that now has a random/temp filename.
>drag&drop a file onto a batch script
What the hell is wrong with you? Can't you run it from the terminal like a normal person?