Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have the following set up:
a Qnap VS 2004 Pro+, and the video and audio comes from a Vivotek VS8102.
As I see Qnap's software looks like a linux os which uses ffmpeg, openvpn etc. and the whole thing have been put together nicely by the Qnap firm, by the way, Vivotek is is also a custom tailored linux.
If I set the audio bitrate to 128 kb/s in Vivotek, the audio recording happens to the Vivotek SD at this bitrate as long as the Qnap is not attached through a switch as a secondary recording space. Having attached the Viostor Qnap:
It simply overrides the Vivotek's audio settings and sets it back to 32 kb/s.
It should be untouched, this way it degragates the audio quality.
I tried to use dirrerent streams and different Qnap firmwares without any success I also created an additional user in Vivotek with only 'viewer' privilages but Qnap can only "see through" the Vivotek with root account.
Today I imaged the Qnap's internal flash with Clonezilla to a USB drive for examining and testing.
My goal would be to find a configuration file which is responsible for this override, and have the Qnap not to touch any settings in Vivotek.
The flash drive contains these files:
total 185335
-rw-r--r-- 1 root root 4645664 May 28 17:06 bzImage
-rw-r--r-- 1 root root 76 May 28 17:06 bzImage.cksum
-rw-r--r-- 1 root root 10031890 May 28 17:06 initrd.boot
-rw-r--r-- 1 root root 80 May 28 17:06 initrd.boot.cksum
-rw-r--r-- 1 root root 49141760 May 28 17:06 qpkg.tar
-rw-r--r-- 1 root root 78 May 28 17:06 qpkg.tar.cksum
-rw-r--r-- 1 root root 124824626 May 28 17:06 rootfs2.bz
-rw-r--r-- 1 root root 81 May 28 17:06 rootfs2.bz.cksum
-rw-r--r-- 1 root root 383574 May 28 17:06 rootfs_ext.tgz
-rw-r--r-- 1 root root 82 May 28 17:06 rootfs_ext.tgz.cksum
I don't know in which should I start searching for that configuration setting. I tried grep so far:
bzgrep '32' rootfs2.bz -- nothing
Do you think my approach is OK? I use 32 and audio keywords. How could it be determined which file is responsible for having the QNAP forced to override Vivotek's audio settings? It's supposed to be in the Qnap's operating system preset somewhere, maybe among the init files, I suppose there is a daemon running which is using ffmpeg with such argument that touches the Vivotek's settings for some reason.
Do you have any suggestions, have any of you run into similar problem, please help me out.
Having emailed Qnap, I was told that Viostor Qnap supports the Vivotek VS8102 videoserver in a way that the audio feature is only supported by a specific format ( G.711 , 32Kbps).
Which is sad, it results in a very poor sound quality.
I hope someone, who is more familiar in this field may expose a solution for this issue in future.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.