I realized I have been recording videos in huffyuv but recording audio in PCM. kinda weird only going half way with this, why not all all the way and use lossless compression for both video and audio?
tbh I really don't give too much about audio when I record streams. if there's a quick way to compress audio, even if it's lossy, while recording videos live, I'd like to know.
+ Reply to Thread
Results 1 to 16 of 16
-
muffinman123Guest
-
muffinman123Guest
what I am saying is I want compressed audio and fast enough for stream recording. is that impossible?
I don't want audio size to waste any more disc space when huffyuv videos already use up so much. -
But then, maybe, you misunderstand the purpose of a lossless codec ?
-
flac
lossless-audio
wma lossless
true-audio
dolby truehd
dts-hd master audioLast edited by jagabo; 16th Aug 2013 at 09:06.
-
What is the container in which your recorded videos are stored
There are various formats for lossless compressed audio, and not all containers are suitable for them
FLAC for example, cannot be stored in AVI, MPG or TS.Last edited by El Heggunte; 16th Aug 2013 at 09:15. Reason: disambiguation
-
muffinman123Guest
alright, let's say we forget lossless part for now, which audio codec is best for fast live recording compression?
-
So you are confused by the term compression.
In the quality ie best ladder we have
1. PCM ie uncompressed (which is what you already have)
2. Lossless (if you can use it)
3. Lossy eg ac3, mp3, aac etc.
If you are recording lossless video then you MUST use PCM. If you want to go down a peg or two and record mpeg2 then you can use lossy audio.
If your PC can handle lossless video then why change it. -
muffinman123Guest
-
Compression does not screw things up. It just removes data and quality. Some will argue that a 96kbps mp3 sounds identical to the original CD (which is PCM). Impossible to convince that type of person.
I just think you are confused and can not see that. -
muffinman123Guest
so are you saying stream recording cannot compress video and audio at the same time?
-
Of course it can. I said that in reply #9. Almost all stream recording is compressed video and audio or a combination of compressed video and uncompressed audio.
I do not see how I can help you ferther -
The uncompressed audio is generally so much smaller than the losslessly compressed video that there's no reason to compress the audio. For example, a 720x480 30 fps YUY2 video stream is about 20 MB/s uncompressed, maybe 10 MB/s losslessly compressed with Huffyuv. The accompanying 16 bit, 48000 Hz, stereo audio is about 0.2 MB/s without compression. So the uncompressed audio only accounts for about 2 percent of the total file size. Using a lossless audio compression codec would only reduce the total file size by about 1 percent.
-
Sounds like you want:
1. Smallish relative size
2. So-so quality
3. LOW CPU utilization
You could do a mid-to-high bitrate mp3, but if you really don't care too much about the sound quality, why not go with 8bit, 22kHz, adpcm, mono wav? It's compatible with everything, and uses hardly any more cpu than full quality 16/44/lpcm/stereo would, but uses 1/2 * 1/2 * 2/3 * 1/2 = ~1/12 the size.
Scott
Similar Threads
-
Merging lossless audio with HD video
By DaFees in forum Newbie / General discussionsReplies: 13Last Post: 8th Feb 2013, 07:44 -
Conversion to Huffyuv throws off audio sync
By brassplyer in forum Video ConversionReplies: 0Last Post: 25th Oct 2012, 04:11 -
What's the difference between DV and lossless Huffyuv in a PAL contest?
By elmuz in forum Video ConversionReplies: 7Last Post: 24th Aug 2010, 05:02 -
Muxing a H.264 stream with lossless audio
By seven_deuce offsuit in forum Newbie / General discussionsReplies: 3Last Post: 28th Aug 2009, 08:58 -
A question about lossless audio formats.
By mpalm887 in forum AudioReplies: 11Last Post: 31st May 2009, 20:34