Command line reverb parameters for FluidSynth - command-line-arguments

The command below renders an audio file using FluidSynth:
fluidsynth -a jack -o synth.gain=.8 \
-C0 -R1 -T wav -F test.wav mypiano.sf2 test.midi
The -R1 parameter activates the reverb. So far so good.
I wonder how I can set the reverb level, reverb width, roomsize and damping.
I tried adding parameters which I respectively found at http://www.fluidsynth.org/api/fluidsettings.xml and https://forums.scummvm.org/viewtopic.php?t=14379
-o fluid.reverb.level=.3
-o synth.reverb.level=.3
Both resulted in errors (fluid.reverb.level and synth.reverb.level are valid paramaters.
How can I set the FluidSynth reverb parameters using the command line?
I am running on Debian (FluidSynth version 1.1.6)

Related

Raspberry Pi ffmpeg video4linux2, v4l2 mmap no such device

On my Raspberry pi I've installed ffmpeg. At the begin I type
uv4l --driver raspicam --auto-video_nr --width 640 --height 480 --encoding jpeg
to run driver. Then I check if devoce0 is registered:
ls -la /dev/video*
and it returns video0 so it is registered. Then I type command to run server:
ffmpeg -v verbose -r 5 -s 640x480 -f video4linux2 -i /dev/video0 http://localhost/webcam.ffm
and the camera lights up for a while and then turns off and I get error like bellow:
[video4linux2, v4l2] mmap: No such device /dev/video0: No such device
What I should do to resolve it? It looks like internal error one of these libraries.
This command works:
uv4l --driver raspicam --auto-video_nr --encoding h264 --width 640 --height 480 --enable-server on
Try adding the following line at the bottom of the file /etc/modules and rebooting your Raspberry Pi.
bcm2835-v4l2
Mine now looks like this in toto:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
bcm2835-v4l2
This ensures that the Broadcom Video For Linux 2 (v4l2) driver is loaded at all subsequent reboots.

Windows Console Output from Waifu2x-caffe unintelligible

I am using Waif2x to upscale a series of images, but I am having a problem with the command I am running. I would try to troubleshoot it myself, yet I can't not make use of the error output. It reads:
âGâëü[: âéâfâïâtâ#âCâïé¬èJé»é▄é╣é±é┼é╡é╜
I think it is in Japanese as evidenced by Waifu2x's Github page. I also believe it is the same everytime, yet I cant know for sure. I am using a English Computer, and I am also a English speaker, so I really need to know what it is in English or something I can Google translate.
I have already tried the solution here as evidenced by looking at the regedit, where Name=00, Data=Consolas.
Regarding my specific problem, the Command I am typing into cmd is
waifu2x-caffe-cui -i "C:\Users\Christian\workspace\CodeLyokoUpscaleing\bin\480Frames" -e png -l png -m noise_scale -d 16 -h 1440 -n 1 -p cudnn -c 256 -b 1 --auto_start 1 --auto_exit 1 --no_overwrite 1 -y upconv_7_anime_style_art_rgb -o "C:\Users\Christian\workspace\CodeLyokoUpscaleing\bin\1440Frames"
I really think it should work as I converted it from another batch file I created that contained variables instead of file paths
waifu2x-caffe-cui -i "%~dp0480Frames" -e png -l png -m noise_scale -d 16 -h 1440 -n 1 -p cudnn -c 256 -o "%~dp01440Frames" --auto_start 1 --auto_exit 1 --no_overwrite 1 -y upconv_7_anime_style_art_rgb
But I still get the weird output.
How can I see what the error is?

How do I generate the .ism and .ismc with FFmpeg

I'm trying to set up a service that will output .ismv files for smooth streaming.
Currently I'm using the following command to start the transcode:
ffmpeg.exe -i <infile> -movflags frag_keyframe -f ismv <outfile>
As I understand it I don't need to add isml to the movflags because I don't want to stream it but the actual output file.
According to the documentation I already should use the empty_moov and separate_moof flags because I'm using the ismv format. This however does not generate the .ism and .ismc file.
There is a part about smoothstreaming, but if I use -f smoothstreaming ffmpeg won't run.
I did find a win32 binary for ismindex which should generate the manifest files, but when I run it I don't get any useful output.
What are the correct parameters for ffmpeg so that it creates all the files at the same time?
ismindex [-split] [-ismf] [-n basename] [-path-prefix prefix] [-ismc-prefix prefix] [-output dir] file1 [file2] ...
To generate the manifest files you would do:
ismindex -n <basename> input.ismv
The smoothstreaming muxer accepts a directory as output.
ffmpeg [...] -f smoothstreaming <dir>

ffmpeg socks4 proxy parameter with rtmp

I am unable to capture some livestreams because of the proxy issues. So in rtmpdump i can use:
rtmpdump -v -r rtmp://a_rtmp_address -p http://a_http_address -S 85.185.244.101:1080 -B 10 -o aaa.flv
But I need to use ffmpeg or avconv. But I can not find a parameter corresponds to that -S 85.185.244.101:1080 parameter.
Can anyone please give me an ffmpeg command corresponding to this rtmpdump command.
You should place socks option in quotes with rtmp:// address.
Options must be in the form KEY=VALUE after rtmp://. Like this:
ffmpeg ... -f flv "rtmp://a_rtmp_address socks=85.185.244.101:1080"

Is it possible to run two programs simultaneously or one after another using a bash or expect script?

I have basically two lines of code which are:
tcpdump -i eth0 -s 65535 -w - >/tmp/Captures
tshark -i /tmp/Captures -T pdml >results.xml
if I run them both in separate terminals it works fine.
However I've been trying to create a simple bash script that will execute them at the same time, but have had no luck. Bash script is as follows:
#! /bin/bash
tcpdump -i eth0 -s 65535 -w - >/tmp/Captures &
tshark -i /tmp/Captures -T pdml >results.xml &
If anyone could possibly help in getting this to work or getting it to "run tcpdump until a key is pressed, then run tshark. then when a key is pressed again close."
I have only a little bash scripting experience.
Do you need to run tcpdump and tshark separately? Using a pipe command will feed the output of tcpdump to the input of tshark.
tcpdump -i eth0 -s 65535 | tshark -T -pdml > results.xml

Resources