You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But this will fail because ffmpeg-python will add a -map 1 parameter here for the ffmetadata input. FFmpeg will complain and fail because input #1 doesn't have streams.
To fix this, ffmpeg-python must not add a -map 1 parameter if input is an FFMETADATA text file. These files must have .ffmetadata extension in order to ffmpeg command to recognize their format, so ffmpeg-python should decide to not add -map 1 based on such file name.
Meanwhile I would appreciate some advice on how to overcome current limitation and use ffmetadata files somehow.
Thank you in advance.
The text was updated successfully, but these errors were encountered:
avibrazil
changed the title
Can't add metadata with an ffmetadata file
Impossible to add metadata with an ffmetadata file
Dec 21, 2020
Documentation teaches how to embed metadata using an FFMETADATA file as input. Its basically
ffmpeg -i INPUT -i FFMETADATAFILE -map_metadata 1 -codec copy OUTPUT
On ffmpeg-python would be like this:
But this will fail because ffmpeg-python will add a
-map 1
parameter here for the ffmetadata input. FFmpeg will complain and fail because input #1 doesn't have streams.To fix this, ffmpeg-python must not add a
-map 1
parameter if input is an FFMETADATA text file. These files must have.ffmetadata
extension in order to ffmpeg command to recognize their format, so ffmpeg-python should decide to not add-map 1
based on such file name.Meanwhile I would appreciate some advice on how to overcome current limitation and use ffmetadata files somehow.
Thank you in advance.
The text was updated successfully, but these errors were encountered: