RadioShow/After the show

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
(Importing)
(Encoding)
Line 5: Line 5:
  
 
=== Encoding===
 
=== Encoding===
If the show needs to be cut, encode it at 256 kb/s with '''CONSTANT BITRATE''', as otherwise Germain cannot properly use his toolset which does not support VBR. The replay gain option calculates the volume for radio transmission (AFAIK). (The recording device in Studio 2 is set to limit the recording to -2.0 dB, so it would be a good idea to amplify the recording to 0dB.)
+
* Cutting by Germain
 +
If the show needs to be cut by Germain, encode it at 256 kb/s with '''CONSTANT BITRATE''', as otherwise he cannot properly use his toolset which does not support VBR. The replay gain option calculates the volume for radio transmission (AFAIK). (The recording device in Studio 2 is set to limit the recording to -2.0 dB, so it would be a good idea to amplify the recording to 0dB.)
  
 
<pre>
 
<pre>
 
-$ lame --replaygain-accurate -h -b 256 --cbr in.wav LetzHack_epX_2012mmdd.mp3
 
-$ lame --replaygain-accurate -h -b 256 --cbr in.wav LetzHack_epX_2012mmdd.mp3
 
</pre>
 
</pre>
 +
 +
* Cutting yourself
 +
Just use fancy audacity and edit as you like.
  
 
'''When encoding for the podcast: use the artist, title and date flags!''' (is there a podcast genre now?--[[User:Tschew|Tschew]] 08:02, 1 October 2009 (UTC))
 
'''When encoding for the podcast: use the artist, title and date flags!''' (is there a podcast genre now?--[[User:Tschew|Tschew]] 08:02, 1 October 2009 (UTC))
  
 +
Setting some variables will make the following steps just cut & paste into your bash prompt
 
<pre>
 
<pre>
-$ oggenc in.wav -o LetzHack_epX_2012mmdd_podcast.ogg -d 2012 -a syn2cat -t "Lët'z Hack! episode X - title of episode"
+
InputFile=        # mp3 or wav file with the ready cut show
-$ lame -V 7 -v -h --ty 2012 --ta syn2cat --tt "Lët'z Hack! episode X - title of episode" in.wav LetzHack_epX_2012mmdd_podcast.mp3
+
MyName=""       # who are you, not filling this will simply use your curren user login
</pre>
+
EpisodeNumber=    # put episode number here, e.g. 65
 +
EpisodeTitle=""    # title of the show, e.g. "Events Review" (write " as \")
 +
EpisodeDate=    # date of broadcast, e.g. 20120414
  
You can also use ''[http://jak-linux.org/projects/dir2ogg/ dir2ogg]'' to convert mp3 files to ogg.<br/>
+
# calc intermediate values
Tagging ogg files is a bit of a hassle though:
+
EpisodeYear=${EpisodeDate:1:4}
 +
EpisodeMonth=${EpisodeDate:4:2}
 +
EpisodeDay=${EpisodeDate:6:2}
 +
MyName=${MyName:-$(id -un)}
  
<pre>
+
oggenc "$InputFile" -o LetzHack_ep${EpisodeNumber}_${EpisodeDate}_podcast.ogg -d ${EpisodeYear} -a syn2cat -t "Lët'z Hack! episode ${EpisodeNumber} - ${EpisodeTitle}"
~$ cat << EOF | vorbiscomment -w LetzHack_epX_[date]_podcast.ogg
+
lame -V 7 -v -h --ty ${EpisodeYear} --ta syn2cat --tt "Lët'z Hack! episode ${EpisodeNumber} - ${EpisodeTitle}" "$InputFile" LetzHack_ep${EpisodeNumber}_${EpisodeDate}_podcast.mp3
 +
 
 +
cat << EOF | vorbiscomment -w LetzHack_ep${EpisodeNumber}_${EpisodeDate}_podcast.ogg
 
ARTIST=syn2cat Hackerspace
 
ARTIST=syn2cat Hackerspace
 
ALBUM=LetzHack Radioshow
 
ALBUM=LetzHack Radioshow
TITLE=Let'z Hack episode X - title of episode
+
TITLE=Let'z Hack episode ${EpisodeNumber} - ${EpisodeTitle}
 
COMPOSER=You
 
COMPOSER=You
DATE=2012-mm-dd
+
DATE=${EpisodeYear}-${EpisodeMonth}-${EpisodeDay}
 
EOF
 
EOF
 +
 +
 
</pre>
 
</pre>
 +
 +
You can also use ''[http://jak-linux.org/projects/dir2ogg/ dir2ogg]'' to convert mp3 files to ogg.<br/>
  
 
=== Importing ===
 
=== Importing ===

Revision as of 20:48, 15 April 2012

After the Show

Once the show is over make sure you have a Backup of the entire show so we can put it online on our LetzHack page.

Keep in mind that commercial songs will have to be removed from the podcasts though!

Encoding

  • Cutting by Germain

If the show needs to be cut by Germain, encode it at 256 kb/s with CONSTANT BITRATE, as otherwise he cannot properly use his toolset which does not support VBR. The replay gain option calculates the volume for radio transmission (AFAIK). (The recording device in Studio 2 is set to limit the recording to -2.0 dB, so it would be a good idea to amplify the recording to 0dB.)

-$ lame --replaygain-accurate -h -b 256 --cbr in.wav LetzHack_epX_2012mmdd.mp3
  • Cutting yourself

Just use fancy audacity and edit as you like.

When encoding for the podcast: use the artist, title and date flags! (is there a podcast genre now?--Tschew 08:02, 1 October 2009 (UTC))

Setting some variables will make the following steps just cut & paste into your bash prompt

 InputFile=        # mp3 or wav file with the ready cut show
 MyName=""       # who are you, not filling this will simply use your curren user login
 EpisodeNumber=     # put episode number here, e.g. 65
 EpisodeTitle=""    # title of the show, e.g. "Events Review" (write " as \")
 EpisodeDate=     # date of broadcast, e.g. 20120414

 # calc intermediate values
 EpisodeYear=${EpisodeDate:1:4}
 EpisodeMonth=${EpisodeDate:4:2}
 EpisodeDay=${EpisodeDate:6:2}
 MyName=${MyName:-$(id -un)}

 oggenc "$InputFile" -o LetzHack_ep${EpisodeNumber}_${EpisodeDate}_podcast.ogg -d ${EpisodeYear} -a syn2cat -t "Lët'z Hack! episode ${EpisodeNumber} - ${EpisodeTitle}"
 lame -V 7 -v -h --ty ${EpisodeYear} --ta syn2cat --tt "Lët'z Hack! episode ${EpisodeNumber} - ${EpisodeTitle}" "$InputFile" LetzHack_ep${EpisodeNumber}_${EpisodeDate}_podcast.mp3

cat << EOF | vorbiscomment -w LetzHack_ep${EpisodeNumber}_${EpisodeDate}_podcast.ogg
ARTIST=syn2cat Hackerspace
ALBUM=LetzHack Radioshow
TITLE=Let'z Hack episode ${EpisodeNumber} - ${EpisodeTitle}
COMPOSER=You
DATE=${EpisodeYear}-${EpisodeMonth}-${EpisodeDay}
EOF


You can also use dir2ogg to convert mp3 files to ogg.

Importing

If you have shell access and the necessary amount of time (otherwise ask somebody else), upload the podcast.

  • Uploading files:
~ # scp LetzHack_epX_yyyymmdd_podcast.{mp3,ogg} user@hackerspace.lu:/var/spool/radioshows/
  • Those two files will be automatically imported into the wiki during the next hour. You can then proceed with the following step.
  • Go to the imported files and add the following properties (mind the filetype!) in order for the files to appear in our podcast feeds:
[[Is PodcastFile::true| ]]
[[Is FileType::ogg| ]]
[[Has Topic::<topic of the show>]]

and for the mp3 file the same, just change file type

[[Is PodcastFile::true| ]]
[[Is FileType::mp3| ]]
[[Has Topic::<topic of the show>]]


  • Then, add the podcast filenames and release date to the wiki page semantic info of the episode you've just worked on. Edit "with form" and fill out or use this syntax:
|podcastrelease=2012/04/15 08:23:00 PM
|podcast=LetzHack_ep64_20120331_podcast.ogg‎
|podcastmp3=LetzHack_ep64_20120331_podcast.mp3

(seriously, use the form, it has a clickable calendar).

  • Finally, clear the cache for the Lët'z Hack page: Clear NOW
Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools