Hallo > > > > I'm a bit unsoure if the value is correct with only zeros. > > > > > > > > If it works, I'll commit it to the CVS, but I think it will be a > > > > optional feature. You can enable it with a command line option to > > > > create silence instead of stopping. > > > > > > Yes, this is probably the way to go. I am a little bit unsure but I would > > > expect that at least two sampling rates (44.1 and 48) should be provided. > > > Is there any way to deduce this automatically if at least one of the > > > input files contains sound? > > > > That is hard to detect. what kind of framerate the other files have. But > > I guess if you have 2 differnet sample rates it also fails :-/ > > > > The patch I made is a dirty hack, which only works with a PAL framerate > > I fear. Currently I think, by default lav2way should still fail but with > > a more suitable error message. That erros message points to the option > > where you can specify the samplerate, mono/stereo/audio-bitsize just > > like in lavrec. > > > > Would that be a solution ? > > Sure it is. > If I dream, I have more advanced ideas. The splitting of the sound is usually > the last step before preparing the final movie. It is therefore this place > where the final sound characteristics (sample rate etc.) are known depending > on the intended format (DVD, SVCD etc). Therefore, an ideal lav2wav would do: > - if the sound properties of a take are those which are finally needed: copy. How should lav2way know about what you want ? You also have to tell it the audio encoder now.
> - if the sound characteristics are different: resample. That can done by the mp2enc. Setting the samplerate -r option. > - if there is no sound: insert silence. It will do this soon. > But this is probably a new program, isn't it. Not soure about it. Filtering sound can be difficult, have you tried inserting sox into the pipe ? I never tried that, nor had I the need to chnage the audio. If you'd like to have features like: adjusting the volume amplidude , filters (low/band/high), fade in/out, and so on it it might be usefull to have a additional tool. BTW: Has someone ever tried what happens when you feed 8bit sound samples (instead of 16Bit) into mp2enc ? > A have also another problem: After cutting the pictures I usually need to cut > and enhance the sound track, too. I am using external tools for it. The > synchronization demands a lot of computing by hand (frame number <-> sound > sample). Does somebody know about a tool for that? Not really. Maybe you can make several editlists and handle it with that. auf hoffentlich bald, Berni the Chaos of Woodquarter Email: [EMAIL PROTECTED] www: http://www.lysator.liu.se/~gz/bernhard ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
