Livehttp on Iphone

About encoding, codec settings, muxers and filter usage
ceekee
New Cone
New Cone
Posts: 3
Joined: 28 Mar 2012 15:10

Livehttp on Iphone

Postby ceekee » 28 Mar 2012 15:20

I am streaming using livehttp on my iphone but no video or audio.

I am using the following

Code: Select all

/Applications/VLC.app/Contents/MacOS/VLC http://URL/udp/IP:1294 vlc://quit --intf=dummy --sout-transcode-audio-sync --sout='#transcode{vcodec=h264,venc=x264{aud,profile=baseline,level=30,keyint=30,bframes=0,ref=1,nocabac},acodec=mp3,ab=128,channels=2,deinterlace,audio-sync}:duplicate{dst=std{mux=ts,dst=-,access=livehttp{seglen=10,delsegs=true,numsegs=10,index=/Users/strm/Sites/streaming/mystream.m3u8,index-url=http://192.168.1.27/~strm/streaming/mystream-########.ts},mux=ts{use-key-frames},dst=/Users/strm/Sites/streaming/mystream-########.ts}}'
The M3U8 file is created and also the TS files. On the mac I can watch the M3U8 file using the VLC player. But when I try to open via Safari on the iPhone I am getting a black screen and nothing happens.

When I am using the following the mediastreamsegmenter in stead of httplive I am getting video and sound what am I doing wrong???

Code: Select all

"/Applications/VLC.app/Contents/MacOS/VLC $input --intf=dummy --sout-transcode-audio-sync --sout='#transcode{vcodec=h264,venc=x264{aud,profile=baseline,level=30,keyint=30,bframes=0,ref=1,nocabac},acodec=mp3,ab=128,channels=2,deinterlace,audio-sync}:duplicate{dst=std{access=file,mux=ts,dst=-}}' vlc://quit | mediastreamsegmenter -O -f $base_dir -t $target_duration -s $sliding_window -S $start_index -D";
Also using safari to open the M3U8 file.

Please advice

str3tmonk
Blank Cone
Blank Cone
Posts: 40
Joined: 21 Jun 2009 04:43

Re: Livehttp on Iphone

Postby str3tmonk » 07 Apr 2012 01:27

As far as I know, VLC doesn't yet support streaming out in HLS format. It can decode the format somewhat (maybe reading has improved recently) but I'm not sure you can create HLS streams.

Rémi Denis-Courmont
Developer
Developer
Posts: 15213
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Livehttp on Iphone

Postby Rémi Denis-Courmont » 07 Apr 2012 10:11

VLC can write HLS files in version 2.0.0 and later. But you will need an HTTP server to actually expose the file to receivers.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

pepemanolo
New Cone
New Cone
Posts: 2
Joined: 13 Apr 2012 20:13

Re: Livehttp on Iphone

Postby pepemanolo » 13 Apr 2012 21:22

Rémi,

I am new to VLC and only familiar with the GUI version.
Following on this thread I have two questions:
- If I were to pickup a flash stream from akamai (i.e. rtmp//akamaiadress.net/live/streamname) and re-encapsulate into a HLS with not transcoding nor fancy changes to the IIS server drive:/website/, how would the command line look like?
- In my situation where the total live stream would be one hour long; is the garbage collection to remove expired segments performed by VLC or I have to do it on my own?

Thanks in advance for your support.

remi_
New Cone
New Cone
Posts: 1
Joined: 24 Jun 2012 18:07

Re: Livehttp on Iphone

Postby remi_ » 24 Jun 2012 18:08



Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 6 guests