搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox Hello with camera upside down (with linux Mint 17)

  • 10 个回答
  • 3 人有此问题
  • 1 次查看
  • 最后回复者为 Alberto

more options

Hello, I'm running Firefox 36.0.1 and I tried the new Hello addon. Unfortunately my camera appears upside down. This was the same problem I had using Skype and I had to update libv4l and than worked. Now for Skype it's still working but for Hello the problem is back. (I'm using linux Mint 17) Any suggestion?

Hello, I'm running Firefox 36.0.1 and I tried the new Hello addon. Unfortunately my camera appears upside down. This was the same problem I had using Skype and I had to update libv4l and than worked. Now for Skype it's still working but for Hello the problem is back. (I'm using linux Mint 17) Any suggestion?

被采纳的解决方案

Skype and Gtalk for linux are 64bit by default, but Firefox is a 32bit program (for now). LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so won't fix this issue in Hello because its a 64bit library.

Using /usr/lib32/libv4l/v4l1compat.so is the right idea, but that error "cannot open shared object file" is coming from the kernel and not from Firefox. "Cannot open shared object file" means the file isn't there or that your user doesn't have permission to read it. Double check the path and permissions for /usr/lib32/libv4l/v4l1compat.so and then (after verifying that the library is there and has the correct permissions) try running: LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so /usr/bin/firefox

定位到答案原位置 👍 1

所有回复 (10)

more options

Since the camera is appearing upside down there might be something wrong with the operating settings.

I did find some references on how to change this setting:

more options

guigs2 said

Since the camera is appearing upside down there might be something wrong with the operating settings. I did find some references on how to change this setting:

Thanks for your suggestion. I think I have to procede in the same way I did with skype (the same suggested in the links): LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so app_name

but in the case of Firefox Hello I don't know what to write in the "app_name"

more options

Chamaeleon said

guigs2 said
Since the camera is appearing upside down there might be something wrong with the operating settings. I did find some references on how to change this setting:

Thanks for your suggestion. I think I have to procede in the same way I did with skype (the same suggested in the links): LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so app_name

but in the case of Firefox Hello I don't know what to write in the "app_name"


(as suggested in the last post here for example: http://community.skype.com/t5/Linux-archive/Camera-Upside-Down/td-p/934244 )

more options

Hi, I asked in the mozilla irc channel #media and had some help:

the app_name should just be "firefox"

/usr/bin/firefox

However it was noted also that this looks "like a driver/lib issue. So it probably works for any program which accesses the camera (as long as the program hasn’t the libv4l build in)."

more options

I tried to create a new pre-load file (as it's described here) substituting the app_name part with "/usr/bin/firefox"

but in this case there is no change (still upside down camera)

more options

In the terminal after starting firefox I get:

ERROR: ld.so: object '/usr/lib32/libv4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

more options

Hi Chamaeleon, Thank you for posting back. It sounds like a driver issue, is there another driver available for the camera being used?

more options

Mmmm.... I don't know....since now I never had any problem (except for the skype issue which, in any case, I solved). For example Google talk is always very smooth. Once the plug-in is installed never presented upside down problems

more options

选择的解决方案

Skype and Gtalk for linux are 64bit by default, but Firefox is a 32bit program (for now). LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so won't fix this issue in Hello because its a 64bit library.

Using /usr/lib32/libv4l/v4l1compat.so is the right idea, but that error "cannot open shared object file" is coming from the kernel and not from Firefox. "Cannot open shared object file" means the file isn't there or that your user doesn't have permission to read it. Double check the path and permissions for /usr/lib32/libv4l/v4l1compat.so and then (after verifying that the library is there and has the correct permissions) try running: LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so /usr/bin/firefox

由Mark Schmidt于修改

more options

Error found! Effectively I was using the wrong v4l1 file (I didn't remember firefox is only 32 bit!). The permissions and all the rest were ok...

Thanks a lot for all the inputs!!