howto:youtube

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
howto:youtube [2020/12/16 20:54] – youtube renamed to howto:youtube andihowto:youtube [2024/01/28 17:50] (current) – [Development] andi
Line 1: Line 1:
-Youtube+YouTube
  * Our youtube channel: https://youtube.com/mediacccde aka https://www.youtube.com/channel/UC2TXq_t06Hjdr2g_KdKpHQg  * Our youtube channel: https://youtube.com/mediacccde aka https://www.youtube.com/channel/UC2TXq_t06Hjdr2g_KdKpHQg
 + * Explainer blog post: https://events.ccc.de/en/2015/01/03/the-youtube-and-stream-dump-problem/
  * revoke OAuth tokens: https://myaccount.google.com/u/1/b/101540674416643721492/security  * revoke OAuth tokens: https://myaccount.google.com/u/1/b/101540674416643721492/security
  * Link to accept Brand invite: https://myaccount.google.com/brandaccounts?si=1  * Link to accept Brand invite: https://myaccount.google.com/brandaccounts?si=1
  
 == Releasing == Releasing
-=== Licence + 
-Youtube supports two different [[licences]]+=== License 
 +Youtube supports two different [[licences]], which the publishing script [[https://github.com/voc/voctopublish/blob/7c28112b70ef3fbd74e729da52672f5ff2f4b5c8/voctopublish/api_client/youtube_client.py#L179-L183|automatically chooses]] based on the Meta.License property setting.
 * YouTube Standard Licence * YouTube Standard Licence
 * "Creative Commons" which is [[https://creativecommons.org/licenses/by/3.0/legalcode|CC BY 3.0]] according to their [[https://support.google.com/youtube/answer/2797468?hl=en|help page]]. * "Creative Commons" which is [[https://creativecommons.org/licenses/by/3.0/legalcode|CC BY 3.0]] according to their [[https://support.google.com/youtube/answer/2797468?hl=en|help page]].
Line 18: Line 20:
 * Click "Go to YouTube" * Click "Go to YouTube"
 * Select the Channel you want the VOC to publish to * 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 you get a "Thank You" message you're done
 * If not copy the complete output and contact us at voc@c3voc.de * If not copy the complete output and contact us at voc@c3voc.de
Line 34: Line 38:
   * **Publishing.YouTube.Privacy** mit den Werten **public**, **private** oder **unlisted**   * **Publishing.YouTube.Privacy** mit den Werten **public**, **private** oder **unlisted**
   * **Publishing.YouTube.Tags** Kommaseparierte Liste von zu setzenden Tags   * **Publishing.YouTube.Tags** Kommaseparierte Liste von zu setzenden Tags
-  * **Publishing.YouTube.TitlePrefixSpeakers** Speakernamen vor den Videotitel ("yes", optional) 
-  * **Publishing.YouTube.TitleSuffix** Text-Stück welches an das Ende des Titels angehängt wird  (optional) 
-  * **Publishing.YouTube.TitlePrefix** Text-Stück welches an das Anfang des Titels angehängt wird  (optional) 
   * **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).    * **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 können automatisch über Tags befüllt werden. Dazu in den ''Playlist settings'' ''Auto add'' auf ein sinnvolles Tag setzen+    * Playlisten konnten früher auch automatisch durch YouTube über Tags befüllt werden, inzwischen braucht es zwingend die obige Option. 
-  * **Publishing.YouTube.Category** int aus der folgenden Liste+ 
 + 
 +==== 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 z.B. `37C3 - ` 
 +  * **Publishing.YouTube.TranslationTitlePrefix** ersetzt `TitlePrefix` bei übersetzten Uploads, z.B. `37C3 ${language_code} - ` 
 +  * **Publishing.YouTube.TranslationTitleSuffix** analog 
 +    * 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     * 1 => Film & Animation
     * 2 => Autos & Vehicles     * 2 => Autos & Vehicles
Line 77: Line 102:
  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   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 
 </code> </code>
 +
 +
 +== Development
 +
 +Neben dem oben verlinkten Channel `mediacccde`, 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.1608148479.txt.gz
  • Last modified: 2020/12/16 20:54
  • by andi