howto:ffmpeg

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
howto:ffmpeg [2021/11/17 01:13] andihowto:ffmpeg [2023/06/11 00:55] – [audio channel mapping / repair] andi
Line 93: Line 93:
   -metadata title="<title>" \   -metadata title="<title>" \
     -metadata album="<album>" \     -metadata album="<album>" \
-    -metadata copyright="Licensed to the public under http://creativecommons.org/licenses/by-sa/3.0/" \+    -metadata copyright="This work is licensed under a Creative Commons Attribution 4.0 International License. https://creativecommons.org/licenses/by/4.0/" \
   <output-file-name>   <output-file-name>
 </code> </code>
Line 106: Line 106:
   -c:a libfdk_aac -b:a 192k -aspect 16:9 -metadata title="<title>" \   -c:a libfdk_aac -b:a 192k -aspect 16:9 -metadata title="<title>" \
     -metadata album="<album>" \     -metadata album="<album>" \
-    -metadata copyright="Licensed to the public under http://creativecommons.org/licenses/by-sa/3.0/" \+    -metadata copyright="This work is licensed under a Creative Commons Attribution 4.0 International License. https://creativecommons.org/licenses/by/4.0/" \
     -f mp4 -movflags faststart <output-file-name>     -f mp4 -movflags faststart <output-file-name>
 </code> </code>
Line 222: Line 222:
 https://trac.ffmpeg.org/wiki/AudioChannelManipulation https://trac.ffmpeg.org/wiki/AudioChannelManipulation
  
 +
 +=== mono mixdown
 +
 +```ffmpeg -i 27-hd-orig.mp4 -codec:v copy -map_metadata 0 -ac 1 -ab 128k 27-hd.mp4 ```
  
  
Line 239: Line 243:
 == metadata fix == metadata fix
  
-=== map metadata and fix spezific entry+=== map metadata and fix specific entry
  
 <code> <code>
 ffmpeg -i br0ken_licence/$file \ ffmpeg -i br0ken_licence/$file \
   -map_metadata 0 \   -map_metadata 0 \
-  -metadata:s:a:0 LICENSE="Licensed to the public under https://creativecommons.org/licenses/by/2.0/de/ - http://media.ccc.de" \+  -metadata:s:a:0 LICENSE="This work is licensed under a Creative Commons Attribution 4.0 International License. https://creativecommons.org/licenses/by/4.0/" \
   -c:a copy $file   -c:a copy $file
 </code> </code>
  • howto/ffmpeg.txt
  • Last modified: 2023/06/11 00:58
  • by andi