Capturing the visualization output
Posted: 16 May 2009 13:55
This may be fairly obvious to many people here, but I'm a VLC scripting newbie and sadly, the documentation is pretty confusing.
I'm trying to write out the visualization output for an audio-only file to a video/audio container. After some experimenting (apparently, the syntax for calling the visualizer changed a bunch of times, I finally got the normal, to-display output working with:
So far so good, the audio plays and I get a visualization. However if I try to combine this with a simple transcode, like so:
I still end up with an audio-online file, which is understandable, seeing as I failed to actually include the visualizer in the filter chain.
Problem is, how do I do that? Some threads in here suggest afilter=visual may do the trick, but that filter can't be initialised, according to "-vvv"
I'd really be grateful for ANY pointers
Hans Schmucker
I'm trying to write out the visualization output for an audio-only file to a video/audio container. After some experimenting (apparently, the syntax for calling the visualizer changed a bunch of times, I finally got the normal, to-display output working with:
Code: Select all
vlc -I rc land.m4a --audio-visual=visual --effect-list=spectrum --effect-width=480 --effect-height=80 --visual-nbbands=16 --visual-separ=0 --no-visual-peaks vlc://quit
Code: Select all
vlc -I rc --audio-visual=visual --effect-list=spectrum --effect-width=480 --effect-height=80 --visual-nbbands=16 --visual-separ=0 --no-visual-peaks --sout=#transcode{vcodec=mp2v,acodec=mp2a}:standard{access=file,mux=ps,dst=out.mpg} land.m4a vlc://quit
Problem is, how do I do that? Some threads in here suggest afilter=visual may do the trick, but that filter can't be initialised, according to "-vvv"
I'd really be grateful for ANY pointers
Hans Schmucker