Skip to content

Idea: convert our episode audio files into mp4, then upload to YouTube automatically #244

@LinuxSuRen

Description

@LinuxSuRen

YouTube already have the Postcast support. It would be great to convert our episode audio files into mp4, then upload to YouTube automatically. For example, we could find or create a CLI to do it. Then create a GitHub workflow to trigger it.

I found some potential tools could help us:

The steps might be:

  • Check if the episode exist in YouTube
  • Convert the mp3 to mp4 with a picture
  • Upload the mp4 file

See also the following example command:

ffmpeg -loop 1 -i logo.png -i osf2f-s01e21-richard.mp3 -vf "scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:-1:-1:color=black,setsar=1,format=yuv420p" -shortest -fflags +shortest osf2f-s01e21-richard.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    HacktoberfestMore details from https://hacktoberfest.digitalocean.com/help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions