Code: Select all
cvlc --play-and-exit --audio-visual=visual --video-filter=scene --vout=dummy --scene-ratio=5 --saturation=0.000000 --scene-prefix=img --scene-path=/ramdisk/ --scene-format=png --scene-height=64 --scene-width=128 /var/My.mp3
So i found some parameters at the documentation (http://wiki.videolan.org/VLC_command-line_help):
Like this:
Code: Select all
Image properties filter
--contrast=<float [0.000000 .. 2.000000]>
Image contrast (0-2)
Set the image contrast, between 0 and 2. Defaults to 1.
--brightness=<float [0.000000 .. 2.000000]>
Image brightness (0-2)
Set the image brightness, between 0 and 2. Defaults to 1.
--hue=<integer [0 .. 360]> Image hue (0-360)
Set the image hue, between 0 and 360. Defaults to 0.
--saturation=<float [0.000000 .. 3.000000]>
Image saturation (0-3)
Set the image saturation, between 0 and 3. Defaults to 1.
--gamma=<float [0.010000 .. 10.000000]>
Image gamma (0-10)
Set the image gamma, between 0.01 and 10. Defaults to 1.
--brightness-threshold, --no-brightness-threshold
Brightness threshold (default disabled)
When this mode is enabled, pixels will be shown as black or white.
The threshold value will be the brightness defined below. (default
disabled)
Code: Select all
Color threshold filter
Select one color in the video
--colorthres-color={16711680 (Red), 16711935 (Fuchsia), 16776960 (Yellow), 65280 (Lime), 255 (Blue), 65535 (Aqua)}
Color
Colors similar to this will be kept, others will be grayscaled. This
must be an hexadecimal (like HTML colors). The first two chars are
for red, then green, then blue. #000000 = black, #FF0000 = red,
#00FF00 = green, #FFFF00 = yellow (red + green), #FFFFFF = white
--colorthres-saturationthres=<integer [-2147483648 .. 2147483647]>
Saturation threshold
--colorthres-similaritythres=<integer [-2147483648 .. 2147483647]>
Similarity threshold
![Sad :-(](./images/smilies/icon_sad.gif)
![Smile :-)](./images/smilies/icon_smile.gif)
If i try thes options with the VLC GUI i get Black and White audi visual, but with cvlc, no way
![Sad :-(](./images/smilies/icon_sad.gif)