Page 1 of 1

Playlist to LIVEHTTP Module for HLS

Posted: 22 Mar 2013 00:33
by koz
Anyone been able to successfully setup their playlist to playout using the GUI vs. line commands with the LIVEHTTP Module in the advance settings to set it up for HLS streaming. I've been working on Mac OS X Server (although it should be the same for all versions).

Basically the file name I call it in the directory path is just never created.
In streaming settings I've set it up to stream a file under HTTP.. Destination is the folder with the stream-###.ts name. H264 and MP3 as my setting and TTL set to 5.
In LIVEHTTP .. it's set for 3, 10 second segments that delete automatically. Index is the folder path and stream.m3u8 ... destination is the server's static ip with stream file.

Let me know if you have any ideas or questions.

Thanks.

Re: Playlist to LIVEHTTP Module for HLS

Posted: 22 Mar 2013 07:53
by fritz_fritz
I had it working by command line only this past fall... I then switched from ubuntu desktop to ubuntu server (no gui) and in the process messed up the drivers for my tv tuner. I only recently got the tuner set up correctly now. However, using the very same commands I did previously I am running into your same issue! VLC never outputs the .m3u8 file or the .ts segments in their designated places but nor does it throw any errors! WHAT??? I would really love to have a developer take a look. I can give logs. I thought it was something I was doing! Turns out i'm not alone.

FRITZ|FRITZ

Re: Playlist to LIVEHTTP Module for HLS

Posted: 28 Jun 2013 02:27
by koz
I usually go through the streaming process under the file menu in the GUI on Mac.. at the end where you see the MRL I put in this:

:sout=#transcode{height=1080,canvas-aspect=16:9,aspect=16:9,vb=4750,vcodec=h264,venc=x264{aud,profile=baseline,level=30,keyint=30,bframes=0,ref=1,nocabac},acodec= mp3,ab=192,channels=2,sfilter=logo{file='[filename path of PNG overlay logo.png]',position=0,transparency=150},deinterlace}:std{access=livehttp{seglen=10,delsegs=true,numsegs=12,ratecontrol=true,index="/Library/Server/Web/Data/Sites/Default/stream/test.m3u8",index-url="http://[insertIPaddress]/stream/test-########.ts"},mux=ts{use-key-frames},dst="/Library/Server/Web/Data/Sites/Default/stream/test-########.ts"}

The only thing is when I switch the AAC it doesn't work and only sends video.

Re: Playlist to LIVEHTTP Module for HLS

Posted: 28 Jun 2013 06:06
by fritz_fritz
I actually got it working again. Not sure exactly what I did to fix it. I think it may have been a permission error with the script I was implementing to call the vlc process. Not sure exactly why you have an issue using AAC (especially while using the GUI) unless you don't have the proper codec support on your Mac?

Re: Playlist to LIVEHTTP Module for HLS

Posted: 28 Jun 2013 06:12
by koz
Well I didn't install anything other than the stock version of 2.0.7 .. am I supposed to have to install an AAC encoder separately or is it packaged in.. Using it under the Transcoding / Streaming function as seen in the MRL output I sent you. I heard I need to compile it. I've tried uninstalling and rebooting and reinstalling but my preferences stay the same and wondering if my AAC encoder is corrupt. I've tried default encoder, the x264 one and FFMPEG.. all without luck. Getting the "Streaming / Transcoding failed - VLC could not open the encoder." Message.

Re: Playlist to LIVEHTTP Module for HLS

Posted: 28 Jun 2013 07:49
by fritz_fritz
Simply uninstalling by deleting the app on a Mac doesn't completely remove all of the program. There are often files left in the library under application support I believe. I am not familiar with streaming from a Mac but maybe that will put you down the right road. VLC should include a the codecs by default I believe but I could be wrong. You might also try installing extra codecs separately to see if that helps? Good luck!

Re: Playlist to LIVEHTTP Module for HLS

Posted: 30 Jun 2013 01:13
by koz
Found a fix:

"I forced strictness to -2 in FFMpeg options in advanced VLC options. It's under Tools>Preferences, then I click All under Show settings, click on Video codecs under Input / Codecs, then FFmpeg . So it's: Tools>Preferences>Video codecs>FFmpeg . Under FFmpeg I scroll down to under Encoding and I go to Strict standard compliance and I set it to -2." It was in a new post from the weekend. You also have to goto the access area under transcoding and set the audio encoder to FFMPEG for it to work.

Re: Playlist to LIVEHTTP Module for HLS

Posted: 30 Jun 2013 02:35
by chekellog1010
I actually got it working again. Not sure exactly what I did to fix it. I think it may have been a permission error with the script I was implementing to call the vlc process. Not sure exactly why you have an issue using AAC (especially while using the GUI) unless you don't have the proper codec support on your Mac?
I used this idea of yours and it works for me. I had issues on AAC but its works on me.
cheers!
che:-)