[MPlayer-users] Lirc issues - Mplayer 0.90pre9

Balatoni Denes pnis at coder.hu
Fri Nov 1 11:59:02 CET 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!
AFAIK this has been solved in cvs.

Denes

2002. november  1. 00:49 dátummal Thilo Schulz ezekkel a bölcs gondolatokkal 
ajándékozott meg:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hello, I have tried out lirc today with the remote control of my TV card.
> LIRC is working fine, after some trial and error, then i wanted to test it
> on mplayer.
>
> Mplayer generally works with lirc, but it still has certain issues.
> When starting up mplayer with lirc enabled, there initially comes following
>
> message:
> > Playing DieFabelhafteWeltDerAmelie.avi
> > Cache fill:  0.00% (0 bytes)    Error while reading cmd fd 5 : 2 = No
> > such file or directory
> > Error on cmd fd 5
> > Detected AVI file format!
>
> I haven't had a closer look on the mplayer, but I assume, that this error
> has got nothing to do with the cache, but is being generated by another
> thread ;)
>
> Well, that's only the first message, then the video loads up, everything
> actually works fine, as it seems .. but in the background following message
> is being created over and over again:
>
> Error while reading cmd fd 5 : 0 = Success  2/  2   0%  0%  0.0% 0 0 41%
> Error on cmd fd 5
> Error while reading cmd fd 5 : 0 = Success  3/  3   0%  0%  0.0% 0 0 41%
> Error on cmd fd 5
> Error while reading cmd fd 5 : 0 = Success  4/  4   0%  0%  0.0% 0 0 99%
> Error on cmd fd 5
> Error while reading cmd fd 5 : 0 = Success  5/  5   0%  0%  0.0% 0 0 99%
> Error on cmd fd 5
> Error while reading cmd fd 5 : 0 = Success  6/  6   0%  0%  0.0% 0 0 99%
> Error on cmd fd 5
> Error while reading cmd fd 5 : 0 = Success  7/  7   0%  0%  0.0% 0 0 99%
> Error on cmd fd 5
> Error while reading cmd fd 5 : 0 = Success  8/  8   0%  0%  0.0% 0 0 99%
> Error on cmd fd 5
> Error while reading cmd fd 5 : 0 = Success  9/  9   0%  0%  0.0% 0 0 99%
> Error on cmd fd 5
> Error while reading cmd fd 5 : 0 = Success 10/ 10   0%  0%  0.0% 0 0 99%
> Error on cmd fd 5
> Error while reading cmd fd 5 : 0 = Success 11/ 11   0%  0%  0.0% 0 0 99%
> Error on cmd fd 5
> Error while reading cmd fd 5 : 0 = Success 12/ 12   0%  0%  0.0% 0 0 99%
> Error on cmd fd 5
> Error while reading cmd fd 5 : 0 = Success 13/ 13   0%  0%  0.0% 0 0 99%
>
> And so on .. I think you get the idea. (I have modified the source code a
> bit to also print out the errno and not only the corresponding string ...
> it is located in input/input.c line 562 of the mplayer 0.90pre9 source
> code.)
>
> I also fired up gdb and tried to collect some more data for you:
>
> ###################################
> (gdb) bt
> #0  mp_input_read_cmd (mp_fd=0x82e3140, ret=0xbfffe684) at input.c:562
> #1  0x0815d774 in mp_input_read_cmds (time=2) at input.c:892
> #2  0x08082de4 in main (argc=4, argv=0xbffffa04) at mplayer.c:1867
> #3  0x405234b2 in __libc_start_main () from /lib/libc.so.6
> (gdb) frame 0
> #0  mp_input_read_cmd (mp_fd=0x82e3140, ret=0xbfffe684) at input.c:562
> 562           mp_msg(MSGT_INPUT,MSGL_ERR,"Error while reading cmd fd %d :
> %d = %s\n",mp_fd->fd, errno, strerror(errno));
> (gdb) print mp_fd
> $10 = (struct mp_input_fd *) 0x82e3140
> (gdb) print *mp_fd
> $11 = {fd = 6, read_func = 0x815ee20, close_func = 0x815f0a0
> <mp_input_lirc_close>, flags = 16, buffer = 0x83de440 "HLb at HLb@", pos = 0,
> size = 256}
> (gdb) print r
> No symbol "r" in current context.
> (gdb) print *ret
> $12 = 0x0
> (gdb) print errno
> $13 = 0
> ##################################
>
> I hope this helps.
> The commands i assigned are working, at least some .. that means seeking,
> mute etc. works when i press the appropriate buttons on the remote control,
> the only thing that also does not work is seeking backwards using lirc ...
> i checked with "ircat mplayer" - there it is printing the correct command,
> and seeking forwards works, just not backwards.
>
> I doubt it is related with the problem at the top, but I apologize for not
> doing any further research, my time is also very limited.
>
>  - Thilo Schulz
>
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users

- -- 
"Use the source Luke !"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9wl4gaQToeq3jgogRAvniAJ94keCg6bGMCe5cBu5o8Efy251zfgCfdrD1
RMi09/Ks4/Y6dkn+Cig5Suo=
=zAQk
-----END PGP SIGNATURE-----




More information about the MPlayer-users mailing list