Hi, On Thu, Apr 26, 2012 at 2:37 PM, Haris Zukanovic <[email protected]> wrote: > If I understand correctly (from my outside view) then Liquidsoap is using > ogg container to treat video internally when applying transitions and > effects?
No, there is no internal choice of ogg. The internal format is just plain RGB frames, or perhaps YUV, I don't remember and it does not matter here. The current limitation to ogg video is simply because the only implemented decoders and encoders are those. In principle, it's easy to add new encoders/decoders for non-ogg video formats. In practice, there needs to be a good open-source library, somebody needs to interface it with ocaml (may be tricky) and then use this in liquidsoap (usually not so tricky). > My first idea was to register and apply input decoder for H264 and make it > output whatever "flat video data format" is needed internally by Liquidsoap > to treat the video with transitions and effects, then to register and apply > output encoder, also H264, inside some container for streaming (honestly, > reading the API docs I couldn't found a call that "registers" a container > format to use for output, but I was hoping, somehow it could be done :) This idea is perfectly valid. It just has to be done in the OCaml code; it currently cannot be done as a normal user of liquidsoap. The only difference with audio in that respect is that we have so-called "external" audio decoders that allow to use as a decoder a program outputting PCM. Again, nothing essential there. > Another idea was to use some kind of ALSA loopback driver for audio/video > and let an external encoder take over the job of encoding and delivering > stream to a media server. Also in this case I would have to register and > input decoder for H264/AAC I believe since these files are in use by most > users today. Some things like this may work but seem sub-optimal. For example, you may have a way to send your video to a virtual v4l2 device, and read this from liquidsoap. My suggestion for you is that you first leave this issue aside, and try what you want to do using theora. If it looks like liquidsoap fits the bill, then we can study the codec issue. All the best, -- David ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
