Saturday, April 17, 2010

Well there is a lot to learn. I have enabled the web server on my mac. I had to poke around to find the folder at the system level. It is /Library/WebServer. I tried to find it by looking for index.html, but the name in the folder was index.html.en. Go figure.

I may not need to use the server, but I want to know where it is. There is an HTTP interface available with VLC

There is a neat note about creating multisession disks using Leopard.

Ah Ha! If you did not put the scripts directory in your PATH, and . (the current directory) is not in the PATH either, you can activate the script like this: ./script_name.sh


VLC Command Line Help

I have a command running and it will play a stream from the BBC, but it will not yet transcode it to a file.
This comment may help. We will see.
Figured it out:

The main problem being that I needed to specify a suitable interface module: -I dummy

Also, I removed the: file:// from the stream name.

Final syntax:

/Applications/VLC.app/Contents/MacOS/VLC -I dummy -vvv "udp://@:41394" --sout='#transcode{vcodec=mp2v,vb=3072,acodec=mpga,ab=192}:standard{mux=ts,dst=/Users/creggchaffer/Desktop/FILE.ts,access=file}':sout-transcode-soverlay=0
There is excellent way to listen to BBC7 listen again programs on the Ipod touch.

One option that works is to copy links from iplayerconverter or beebotron into FStream. The good is that it works (Yay! FStream), the bad is that the required link is hard to find and I get frequent dropouts listening on my home wifi.

The solution I have settled on is to transcode the files using VideoLAN Client (VLC). The good part is that I can transcode the files into mp3s, the bad part is that I have to cut and paste the link into the gui and type in a destination file name while stepping through several dialog boxes.

My current goal is to try and figure out how to write a bash script on my Mac that will let me drop a link and have it spit out an mp3. Should be fun.