On Sun, 7 Nov 2004, Ronald S. Bultje wrote:
Hi Steve,
On Sun, 2004-11-07 at 06:27, Steve Tell wrote:After recording two and a half hours of video with one channel of the stereo audio missing, I decided that lavrec should display audio level meters while recording. (I also decided that I hate 1/8" plugs even more than I used to).
The attached patch adds a "--vu-meter" option to lavrec from mjpegtools-1.6.2. The option makes the status output output look somthing like this when recording stereo audio:
0.00.10:00 int:033 lst: 0 ins: 0 del: 0 ae: 0 td1=0.050 td2=0.009 L:###################- R:##################--
Hahaha! Sorry to laugh at your pains, but it's amusing nonetheless. :). So... Should this go in?
This is funny indeed. Does lavplay support aalib already? :D
This reminds me how badly we need graphical desktop-integrated video/audio capture applications under Linux. ;). LVS' capture tab is a good first step, but nowhere close to what's required...
One quick way to connect tools like lavrec to a nice GUI could be to allow lavrec to communicate to the world via shell commands. This would allow GUI developers to listen to lavrec via DCOP/DBUS. For example, if lavrec would periodically execute a user-specified command with recording level and other properties as commandline parameters, you could build a Kommander/KDE recording GUI with status monitoring in a matter of minutes.
Currently, you need to extract lavrec status from it's stdout, which takes a lot of bash, a lot of time, and ensures minimal portability between mjpegtools versions. Or you go all-the-way and spend hours building a C/C++ GUI...
Dik
------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users