2021年1月15日星期五

ffmpeg programatically set the export date to download date using python

i'm currently using the code below to export a youtube-dl converted video (with ffmpeg and youtube-dl for python) how could i programatically set the good options for ffmpeg to add the download date (at least today's date) to the .mp3 file?

ydl_opts = {      'format': 'bestaudio/best',      'outtmpl': path + urlToTitleYT(link) + '.mp3',      'postprocessors': [{          'key': 'FFmpegExtractAudio',          'preferredcodec': 'mp3',          'preferredquality': '320',      }],  }    with youtube_dl.YoutubeDL(ydl_opts) as ydl:      ydl.download([link])    
https://stackoverflow.com/questions/65746104/ffmpeg-programatically-set-the-export-date-to-download-date-using-python January 16, 2021 at 11:06AM

没有评论:

发表评论