Ubuntu Multimedia :: Cannot Get MPlayer To Work With Lirc On Non GUI System
Mar 26, 2010
I'm setting up a gui-less music server so there's no login, and I've tried using mplayer's lirc interface as well as irexec (sending mplayer slave commands to a fifo). But I can't get mplayer to work unless I start either irexec or mplayer from a logged in session. So my S99test is something like:
Code:
#!/bin/sh
#irexec -d
#OR
#mplayer myfile.mp3
If I use the "mplayer" line, I do hear music at startup, but no lirc control. Yet if I log in and kill the mplayer and rerun S99test as root, all works fine.
View 2 Replies
ADVERTISEMENT
Jan 20, 2011
I am not able to play certain movie files with MPlayer since a few days:
Code:
MPlayer dev-SVN-r32749-4.4-openSUSE Linux 11.2 (i686)-Packman (C) 2000-2010 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing somefile.wmv.
ASF file format detected.
[asfheader] Audio stream found, -aid 1
[asfheader] Video stream found, -vid 2
VIDEO: [WMV3] 640x480 24bpp 1000.000 fps 1500.0 kbps (183.1 kbyte/s)
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
MPlayer interrupted by signal 11 in module: init_video_codec
I am not sure which filetypes are affected by this bug, but I can play *some* files. The specific file here used to work a few days ago.
Code:
kalle@hoppers:~> file somefile.wmv
somefile.wmv: Microsoft ASF
The only major thing referring to multimedia in the past few days I remember is installing 'h264enc' from Packman, however, meanwhile I uninstalled this package, yet the problem persists.
Code:
kalle@hoppers:~> grep h264enc /var/log/zypp/history
2011-01-15 20:11:53|install|h264enc|9.2.4-0.pm.1.1|noarch|root@hoppers|Packman|c5bd1d534726472929134e5acc8f66492c52c51b
2011-01-20 22:06:20|remove |h264enc|9.2.4-0.pm.1.1|noarch|root@hoppers
The only way of solving this was moving MPlayers config, but that did not help either.
Xine also is not able to play this video:
Code:
kalle@hoppers:~> xine somefile.wmv
Dies ist xine (X11 gui) - Ein freier Video-Player v0.99.6.
(c) 2000-2007 Das xine Team.
[wmv3 @ 0x8f78060] Extra data: 8 bits left, value: 0
xiTK received SIGSEGV signal, RIP.
View 9 Replies
View Related
Feb 5, 2010
I got a webcam and it works fine with cheese, skype and many other programs. But with jmf or mplayer it doesn't work.
With mplayer I used this command mplayer tv:// -tv driver=v4l:width=640:height=480:device=/dev/video0
Both jmf and mplayer just give static looking like this [url]
View 1 Replies
View Related
Aug 7, 2011
Im trying to get sound to work in mplayer for my myth tv box. My hardware setup is a nvidia motherboard with hdmi (not used) and a geforce 210 with hdmi (that is used). The hdmi is connect to an external amplifier that should handle most things. Sound works fine in mythtv - the audio output device used is:
ALSA:hdmi:Card=Nvidia_1,DEV=1
When I try using the command line speaker-test utility it all works:
speaker-test -Dplughw:2,7 -c6
However, aplay and mplayer both dont give any sound - with neither outputting any error messages.
[code]...
View 1 Replies
View Related
Jun 17, 2011
I use a net install CD to install the Debian 6.0.1(squeeze). After installation of gnome, I use apt install the mplayer. But when I use the mplayer open a avi file, it failed. The mplayer don't crash but give the following instruction:
Mplayer interrupted by signal 6 in module: filter_video
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you thin it's MPlayer's fault, please read DOCS/HTML/en/bugreports.html and follow the instructions there. [This binary of MPlayer in Debian is currently compiled with '--enable-debug'; the debugging symbols are in the package 'mplayer-dbg'.] I don't know why this happen, because all the package is installed with apt.
View 5 Replies
View Related
Jun 30, 2010
I am trying to get mplayer-vaapi working on my system, so I can watch 1080p videos with hardware acceleration (and to remove the tear effect).
Anyway I am having trouble getting VA Api to work correctly. I have extensively google-ed around, and I cannot find a way to fix this problem.
Here is the output for vainfo (the error from vainfo is the same as mplayer-vaapi):
Code:
libva: libva version 0.31.1-sds1
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
[Code].....
but I have found that:
1. The Xlib error shouldn't matter
2. I do have an fglrx_drv_video.so file in /usr/lib/va/drivers
3. I have installed the latest libva amd64 deb package
4. I have installed the latest xvba amd64 deb package
I am running Lucid on 2.6.34-020634-generic kernel (with a patched fglrx module). I have an ATI Mobility Radeon HD 5800 Series card.
Also before I found the deb package for libva I followed this tutorial to compile it (some things had to be tweaked for it to compile successfully) [URL]. But I did reinstall libva when I found the .deb package.
View 3 Replies
View Related
Feb 24, 2011
I use nv18 with nouveau. Why equlizer does not work?
View 5 Replies
View Related
Jan 10, 2010
Fullscreen video playback doesn't work in MPlayer. I don't know if or where this should be reported.
mplayer 2:1.0~rc3+svn2
Ubuntu 9.10 on i386
Code:
mplayer -vo gl filename
[URL]
View 2 Replies
View Related
Jul 12, 2011
Lubuntu 11.04 on laptop (PIII ATI Rage Mobility). Playing a WMV or MPEG file, system freezes when playback ends. I have not tried any other formats.
I looked at mplayer Preferences
In the Player tab, "Video Output" was blank - I set it to "x11"
This corrected the freeze problem, at least the first time that I tried it. However, it did not seem to persist through multiple plays of the MPEG file, whether or not accompanied by an mplayer quit and rerun or a reboot, even though I did not change the parameters. I tried setting vo=x11 in the etc/mplayer/config file, but that did not help. It is sporadic. It will work a few times with the MPEG file, then hang, for no apparent reason. One thing it does seem to do consistently is hang on the WMV file, regardless of the vo setting, and on both files, when vo is not specified (what I started with). This is a time-consuming task, with a reboot on every failure, and I have run out of ideas on what to try next. When it hangs on the MPEG file I noticed that the elapsed time ends up at 20 sec, even though the video total time is 16 sec. When it doesn't hang, the elpased time goes to 20 sec, then returns to 16 sec.
View 2 Replies
View Related
Aug 3, 2010
MPlayer was working just fine last night, but today I'm having problems which may be due to me performing a system update. I noticed that MPlayer was no longer listed in my Applications menu and I no longer had the option of opening videos with it. However, I now had Gnome MPlayer which must have been installed with the update because I never installed it. Whilst going through Synaptic, I found that the MPlayer GUI had been removed, so I re-installed it. However nothing happened when I attempted to open videos with it.
When I tried to use it through the terminal I got the error message:
mplayer: relocation error: mplayer: symbol codec_wav_tags, version LIBAVFORMAT_52 not defined in file libavformat.so.52 with link time reference
I found a bug report on this very problem here [URL]. The conclusion was that the person filing the bug report was using a version of ffmpeg not found in Debian and that he'd need a version of MPlayer built with his version of ffmpeg libs. I'm assuming that this is also the case with me, however I'm not sure how to go about finding a build or simply building a version of MPlayer with whatever version of ffmpeg that I'm using. For reference, I'm using Squeeze.
View 3 Replies
View Related
Jan 27, 2011
I just installed 10.10 on a Jetway HBJC600C99-52W machine. It has the NVIDIA ION2 chipset. Through a lot of struggles, I have managed to get most of the computer working well with Linux. The part that I'm still struggling with is the remote control. With Ubuntu out of the box, perhaps about 1/3 of the buttons are recognized. From additional research, it looks like lirc is supposed to address this issue. I tried installing lirc however, after installation the only thing that shows up is /dev/lircd. I was expecting something like /dev/lirc0. I've tried is via
sudo apt-get install lirc
and then I picked the Windows Media Center receiver
I also tried what was in this thread [URL] however, that seems to be on a different jetway model, an NVIDIA ION chipset instead of an ION2 and the driver install for the IR receiver didn't work for me. I was wondering if anyone had success installing lirc and getting all the keys on their remote working.
View 2 Replies
View Related
Feb 1, 2011
I am running Ubuntu 10.10 and am trying to get lirc to recognize my pcusa mce remote control. I have been working on this for a week and have not had any success. Please note that I am very new to Linux. I am comfortable moving around in the terminal but most of anything else that I do in the terminal is just following instructions.
This is the remote that I am using:
[URL]
When I run
cat /proc/bus/input/devices
I do not see anything that could be the remote. I have tried plugging the USB receiver into my Ubuntu 10.10 net book but it doesn't see the receiver either. I do not have a windows machine that I can test the remote on but I plugged the receiver into my iMac and I did get a red LED lit that I haven't seen on the Ubuntu machines.
When I run irw and press buttons on the remote I see nothing on the terminal.
When I run:
sudo mode2
I get:
mode2: could not get file information for /dev/lirc
mode2: default_init(): No such file or directory
I have tried mode2 both with lirc running and stopped and I get the same response either way.
I have confirmed that there is no /dev/lirc but there is a lircd in /dev (it's not a directory). Also I had read somewhere that lirc doesn't work under Ubuntu 10.10. Is that the case?
View 9 Replies
View Related
Feb 19, 2011
I have recently built a new Ubuntu 10.10 (64bit) and installed MythTV and LIRC.I have correctly (?) configured LIRC for my specific IR Blaster on the serial port. Using the test send (see below), nothing happens - ie none of the pins on the serial port change state, and hence my IR Blaster hardware does nothing.
# irsend SEND_ONCE DSTV9110 1 2 3
tail -f /var/log/syslog
Feb 15 00:56:56 MalutiPVR2 lircd-0.8.7-pre3[10127]: lircd(default) ready, using /var/run
[code]...
View 1 Replies
View Related
Feb 4, 2010
Not many people read my previous item (URL...). I guess my title wasn't good.After reading my previous item, can someone answer the following questions:Has anybody have an idea why my lirc directory is removed after every reboot? Or how can I create this dir before lirc is started?
View 2 Replies
View Related
May 1, 2010
The only thing I have found so far which does not work for me after upgrading to 10.04 is the ability to change the master volume via LIRC and the pulseaudio lirc plugin.LIRC itself is working, I can verify it recognizes my remote control input by using irw, and all other portions of my lircrc file are executed correctly, such as my On Screen Display. However, no changes are made to the system volume.
I have already reinstalled the lirc pulseaudio plugin to no avail.Can anyone else confirm if this does/doesn't work on their own system?
View 6 Replies
View Related
May 6, 2010
I use Mythbuntu 9.10 with an IMON PAD IR/VFD. Everything is fine except that two buttons (MyDVD and menu) fire their event twice. In that case, I'm not talking about a normal repetition in case of a long button press but they fire their initial events twice.
Here is what irw shows:
0000000029a3d5b7 00 MyDVD iMON-PAD
0000000029a3d5b7 00 MyDVD iMON-PAD
000000002ba385b7 00 Menu iMON-PAD
000000002ba385b7 00 Menu iMON-PAD
I pressed the buttons only once each - and not long enough for a repetition. For all other buttons it's fine. As far as I understand, using the .lirrc file to cope with repetitions is no valid approach (at least it didn't work for me) because the events are all numbered with "00", and not with "00", "01",... - so .lircrc is out of this, right?
View 3 Replies
View Related
Mar 9, 2011
I have a bare Ubuntu install that I use to run Xbmc. It has been working perfect for a month. I reboot it every few days. This morning I decided to reboot when it came back up my remote stopped working. I hadn't done any updates since I build the box. Unless Ubuntu does them without asking. Here is the dmesg log
Code:
[ 378.197085] BUG: unable to handle kernel NULL pointer dereference at 00000038
[ 378.197101] IP: [<f953af51>] store_protocols+0x91/0x390 [ir_core]
[ 378.197119] *pde = 6f07b067
[ 378.197126] Oops: 0000 [#1] SMP
[Code]....
View 2 Replies
View Related
Feb 13, 2011
I've got an Antec Fusion V2 chassis with a built in ir receiver.I've setup lirc on my system, and I can get irrecord to see my remote input and build a config file.I cannot get irw to work, and subsequently no activity on my HTPC.I'm running XBMC Live Further Reading:I've asked two questions on the Live community forum, however it's a slow process and the helpful responses have only taken me so far. These threads include some debug logs and troubleshooting steps.Question 1Question 2I'm wondering if this is something really basic that might simply be missing. The biggest problem here is that Linux changes so fast that information that was valid a year ago is completely obsolete now.
View 1 Replies
View Related
May 30, 2010
My only issue that I can't figure out thus far is the remote. I'm using a Hauppauge Nova-T USB Stick, and generally the setup for the Nova-T 500 is good. No problem with lircd.conf, .lircrc etc. My problem is that the remote doesn't work on startup. Looked in /etc/lirc/hardware.conf and it says, as expected: REMOTE_DEVICE="/dev/lirc0"
Which doesn't work because I have no /dev/lirc0 (I do have a /dev/lircd). However, running /proc/bus/input/devices, I discover that my IR receiver is event5, so if I change the /etc/lirc/hardware.conf to: REMOTE_DEVICE="/dev/input/event5"
And restart lirc, it works fine. Unfortunately, upon restarting the PC, the IR receiver doesn't always have the same path - eg it could be event6 or event8 etc - so then I need to fix the /etc/lirc/hardware.conf again.
View 3 Replies
View Related
Mar 16, 2010
I've bought this remote control that sais it works in Vista, XP etc. without any driver. Basically it has a bunch of buttons that replace the mouse and a bunch of others that replace basic keyboard functions (arrows, enter, escape). It has a USB IR receiver so I thought I could simply use it as a lirc remote in Ubuntu.
However, it sais absolutely nothing on it except for "PCremote" so during lirc installation I have no idea what to choose. And, interestingly, I accidentally discovered that it works in Ubuntu, too, out of the box. Controlling the mouse and acting like a keyboard. Is there a way I can forfeit current functionality and just get it to work as a customizable lirc remote? Or even better, keep current functionality but change it only for certain apps (xbmc, vlc etc)?
View 6 Replies
View Related
May 8, 2010
Code:
$ mplayer *.avi
MPlayer SVN-r31061-4.4.3 (C) 2000-2010 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing *.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [XVID] 480x360 24bpp 25.000 fps 1004.6 kbps (122.6 kbyte/s)
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory .....
MPlayer interrupted by signal 2 in module: sleep_timer
A: 53.9 V: 53.9 A-V: -0.000 ct: 0.183 1349/1349 6% 0% 3.0% 0 0
Exiting... (Quit)
But still no sound.
On KDE 4 everything fine.
View 7 Replies
View Related
Feb 11, 2010
I have a text file containing the URL I wanted for mplayer to play. Currently, I play those in commend line using the following steps:
1)cat playlist
2)use mouse to highlight the link
3)type: mplayer then click both left/right mouse button
I was hoping if I can do this in comment line without mouse. I've tried the following without luck. (assume there's only 1 address in the text file)
1) cat playlist |mplayer
2) cat playlist |awk '{print $1}'| mplayer
View 4 Replies
View Related
Aug 11, 2010
Since my last system update yeasterday afternoon mplayer returns an error. Another system which I have yet to run the update on is still fine. Both systems are Ubuntu 10.04 Lucid Lynx.
The error is:
Code:
mplayer: relocation error: mplayer: symbol codec_wav_tags, version LIBAVFORMAT_52 not defined in file libavformat.so.52 with link time reference.
View 4 Replies
View Related
Apr 22, 2011
I'm trying to install mplayer(=DVD-player) on my system. In fact it means compiling from source code. But I don't know how to compile from source code (Don't know the exact commands).
View 12 Replies
View Related
Jan 23, 2011
I am having trouble getting sound to work through hdmi, I changed the device in the kde settings for multimedia and it now works in Amarok but Mplayer and VLC are refusing.
This is the error i am getting with mplayer:
I have disabled my sound card in the bios to save confusion (on my part) Upgraded my kernel to 2.6.37. My gfx card is a NV gt 430 xt
View 6 Replies
View Related
Nov 21, 2010
I have a problem which is a great inconvenience to me. I want to say that I've been searching for the answer for a week and couldn't find anything but problems similar to mine which were unresolved.I used to have debian lenny, but one day i decided to reinstall my operating system and upgraded to sid, so I have a fresh install of debian sid with gnome.
The system beep no longer works on gnome.
What I mean, when i move to terminal(like ctrl+alt+f1) it works great, it also works when i type 'beep' in gnome-terminal. but it doesnt make a sound when i e.g. press ctrl+G, when i am being called on irssi, when i press backspace in gnome-terminal. These things used to work in Lenny, and I really need them (especially this hiliting in irssi). I would go back to Lenny if i didnt need some software that is not present for that version of debian. The pcspkr module is loaded
View 5 Replies
View Related
Jun 12, 2011
How to make win32 codecs (package w32codec-all) work on 64 bit system? Simple install of "w32codec-all" package doesn't help. I tried to compile mplayer from sources. After finishing configure, the script returned that win32 codes will be unavailable because of 64-bit system.I need to view some avi-files coded in Intel Indeo 4. As I understand, this codec exists only in win32 codecs.
View 9 Replies
View Related
Jan 27, 2010
I'm having a problem running Mplayer in Ubuntu 9.1. I've installed and uninstalled several times. Mplayer refuses to open from the applications menu.n I attempt to open from terminal it comes up with the following: mplayer: error while loading shared libraries: /usr/lib/i686/cmov/libavcodec.so.52: file too short I've also tried other players such as Gnome Mplayer to play the video and it plays really fast with no audio or video. This has really been the only problem i've run into since switching from windows to linux two weeks ago.
View 3 Replies
View Related
May 25, 2011
I've installed both mplayer and mplayer-gui packages, but I cannot find and launch mplayer with graphical interface. I want the classic mplayer's gui and seems that isn't there after installed. Doesn't appear ind applications on launcher and when I'm trying to run from terminal the mplayer-gui command I get the error:command not found. So, where is mplayer-gui and how to get it back. This problem doesn't exist in any previous ubuntu version.
View 3 Replies
View Related
Mar 22, 2011
I'm currently using Debian Testing with Debian Multimedia Sid repos. The current Mplayer (3:1.0~rc4+svn20110308-0.0) seems to be broken - I can't encode AAC to AC3 on-the-fly anymore. I'd like to compile the latest snapshot or SVN version, but what is the easiest way to compile it with the same options as the one in debian-multimedia.org?
View 3 Replies
View Related