Hi, David McNab schrieb: > Hi, > > The yuv4mpeg stream format is truly great, and has facilitated the > inter-operability of many fine tools. > > But as we all know, it doesn't support audio. > > Can anyone please recommend a similar lossless streaming format, but one > which: > - has an available API with similar simplicity to mjpeg yuv4mpeg API > - supports audio > - is suitable for piping via stdio, like the mjpeg y4m tools
mp2enc has an option for raw audio. It requires a commandline option for samplerate/num_channels/bits. In principle, this could be used for other apps too. For simple applications (8/16 bit, Mono/Stereo), this should work. Another option is wav, but wav isn't really streamable since the total size of the audio data is in the header. Many apps still deal with streamed wav-files by ignoring the size fields in the header and reading audio samples until EOF. But IMO creating incorrect files is always bad (even if they are meant for pipes only). Recently I also wanted to send arbitrary audio data through pipes and sockets and I invented my own format (based on gavl). Burkhard ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users