howto:youtube

This is an old revision of the document!


= YouTube

== Releasing === License Youtube supports two different Licences, which the publishing script automatically chooses based on the Meta.License property setting.

  • YouTube Standard Licence
  • “Creative Commons” which is CC BY 3.0 according to their help page.

=== For Channel Owners

Easy way:

  • Click “Go to YouTube”
  • Select the Channel you want the VOC to publish to
  • When the “warning” appears: Click “Advanced” and then “Go to C3VOC Publisher (unsafe)”
  • Click “Allow”
  • If you get a “Thank You” message you're done
  • If not copy the complete output and contact us at voc@c3voc.de

Manual way:

  • As YT channel owner, go to the YT channel page (e.g. FrOSCon)
  • Go to settings (gear-wheel beside subscribe button)
  • Navigate through Account settings - Overview - manage permissions
  • Add account clarimond.bagenski[at]c3voc.de to the manager role

=== Für das VOC

  • Nach dem Klick sollte eine Mail auf voc@c3voc.de ankommen
  • Die Daten werden auf web.c3voc.de im Ordner /home/youtube/youtube-accounts/ abgelegt
  • Darin steht ein Token, welches in der Property Publishing.YouTube.Token in den Projektsettings im Tracker zu hinterlegen ist
  • Ebenfalls können im Tracker folgende Properties gesetzt werden. Diese Properties können auch durch anlegen im Meta-Ticket überschrieben werden
    • Publishing.YouTube.Privacy mit den Werten public, private oder unlisted
    • Publishing.YouTube.Tags Kommaseparierte Liste von zu setzenden Tags
    • Publishing.YouTube.Playlists Optional: Komma getrennte Liste von YouTube Playlist IDs zu denen das Video hinzugefügt werden soll (keine URLs, sondern nur der ID Teil davon).
      • Playlisten konnten früher auch automatisch durch YouTube über Tags befüllt werden, inzwischen braucht es zwingend die obige Option.

==== Titel

Da YouTube keine extra Felder für die Namen der Vortragenden, den Konferenztitel, etc. hat habe sich über die Jahre verschiedene optionale Konfigurationsoptionen angesammelt:

  • Publishing.YouTube.TitlePrefixSpeakers Namen der Vortragenden vor den Videotitel (“yes” oder int)
  • Publishing.YouTube.TitleAppendSpeakers Namen der Vortragenden nach den Videotitel (“yes” oder int)
    • Bei int werden die Vortragenden nur dann angefügt wenn Anzahl ⇐ Wert
  • Publishing.YouTube.TitleSuffix Text-Stück welches an das Ende des Titels angehängt wird, z.B. @ 31C3
  • Publishing.YouTube.TitlePrefix Text-Stück welches an das Anfang des Titels angehängt wird
  • Publishing.YouTube.TranslationTitlePrefix
  • Publishing.YouTube.TranslationTitleSuffix
    • können jeweils sprachbezogene Variablen enthalten, damit man flexible je nachdem, ob's eine Übersetzung ist oder nicht, andere Praefixe/Suffixe verwenden kann.
      • ${translation} z.B. deutsche Übersetzung, english translation, traduction française
      • ${language_code} z.B. deu, eng, fra
      • ${language_name} z.B. German, English, French
  • Fahrplan.Title.deu, Fahrplan.Title.eng, Fahrplan.Title.fra … lokalisierter Titel für Übersetzungs-Uploads

==== Kategorie

Publishing.YouTube.Category int aus der folgenden Liste

  • 1 ⇒ Film & Animation
  • 2 ⇒ Autos & Vehicles
  • 10 ⇒ Music
  • 15 ⇒ Pets & Animals
  • 17 ⇒ Sports
  • 18 ⇒ Short Movies
  • 19 ⇒ Travel & Events
  • 20 ⇒ Gaming
  • 21 ⇒ Videoblogging
  • 22 ⇒ People & Blogs
  • 23 ⇒ Comedy
  • 24 ⇒ Entertainment
  • 25 ⇒ News & Politics
  • 26 ⇒ Howto & Style
  • 27 ⇒ Education
  • 28 ⇒ Science & Technology
  • 30 ⇒ Movies
  • 31 ⇒ Anime/Animation
  • 32 ⇒ Action/Adventure
  • 33 ⇒ Classics
  • 34 ⇒ Comedy
  • 35 ⇒ Documentary
  • 36 ⇒ Drama
  • 37 ⇒ Family
  • 38 ⇒ Foreign
  • 39 ⇒ Horror
  • 40 ⇒ Sci-Fi/Fantasy
  • 41 ⇒ Thriller
  • 42 ⇒ Shorts
  • 43 ⇒ Shows
  • 44 ⇒ Trailers

== Streaming

 while sleep 1; do ffmpeg -re -i rtmp://live.ber.c3voc.de/stream/fcmc_native_hd -c copy -f flv rtmp://x.rtmp.youtube.com/live2/xse9-d313…; done 

== Development

Neben dem oben verlinkten Channel media.ccc.de, gibt es noch einen gesonderten Account c3voc für Tests und Experimente: https://www.youtube.com/channel/UCrO0LLA6xhVxBBtwklQbVUA

Dieser Kanal lässt sich beispielsweise über den Tracker-Worker Z_releasing-dev bespielen, der in releasing.c3voc.de:~voc/publishing_dev/ lebt.

  • howto/youtube.1645738797.txt.gz
  • Last modified: 2022/02/24 21:39
  • by andi