Combining separate audio and video streams

About encoding, codec settings, muxers and filter usage
koz
New Cone
New Cone
Posts: 8
Joined: 15 Mar 2013 08:08

Combining separate audio and video streams

Postby koz » 29 Jan 2014 16:52

I would really appreciate your help and I'm open to suggestions if there is a better way of doing this, thanks in advance!:

I'm on Mac and have multiple servers.. one pre Mavericks running VLC and CamTwist (2.5) at 32bit. I have Mavericks on another with VLC (latest build) and Camtwist (3.0) running on 64 bit.

I'm trying to have an ongoing playlist of videos going to M3U8. The problem is with VLC between videos, the stream stops and breaks up the M3U8 and it just doesn't work as needed (tried sout-keep and option repeat to -1).

I'm using CamTwist now to play the playlist out in their movie mode. The workaround is in the 32 bit environment I can get VLC to see CamTwist 2.5 except it only sends video (no audio) (on a side, the frame rate looks find but in the stream info seems to be coming in with 8 frames a second and if I just play the stream is 720 x 1280 but one transcoding the video using the MRL below it add letterboxes.. tried removing 16 x 9 canvas and ration and it doesn't work.. it's shooting out to the M3U8 at 1280 x 480)

I was hoping to send the CamTwist audio to SoundFlower and use qtsound:// to get the audio and mux it together with the video, transcode out to spec and HLS and I'm good to go?

Basically it seems like a lot of work to have a tv channel play out playing random videos continuously without breaking the M3U8 stream. Any ideas of how to simply get this result or patches I can do with the existing setup. I can't get CamTwist 3.0 to see VLC latest build over QTCapture:// in Mavericks either.


MRL:
:sout-http-mime=video/mpeg=#transcode{vcodec=h264,venc=x264{aud,nocabac,profile=baseline,level=30,ipratio=1.50,ratetol=1,vb=3000,bframes=0,ref=3,deblock=0:0, threads=8},aenc=ffmpeg{aac-profile=low},acodec=mp4a,ab=128,samplerate=22050,channels=2,width=1280,height=720,canvas-aspect=16:9,aspect=16:9,fps=30,audio-sync,deinterlace{deinterlace=linear}}:standard{access=livehttp{seglen=10,delsegs=true,numsegs=12,ratecontrol=true,index="/Library/Server/Web/Data/Sites/Default/stream/file.m3u8",index-url="http://myipaddress/stream/file-######## ... #######.ts"}

FFMpeg in Preference set to -2

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Combining separate audio and video streams

Postby Jean-Baptiste Kempf » 13 Feb 2014 12:45

--sout-keep to -1 or to 1?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 9 guests