View previous topic :: View next topic |
Author |
Message |
Spanik l33t
Joined: 12 Dec 2003 Posts: 998 Location: Belgium
|
Posted: Sat Jun 25, 2005 12:49 pm Post subject: any dvd players that know how to talk to JACK? |
|
|
So far I have tried Ogle (wrong video playback speed) and kaffeine. Kaffeine works well, but no sound. I use alsa with jack, both work fine with other applications. Are there any dvd players that can work with jack directly? _________________ Expert in non-working solutions |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54577 Location: 56N 3W
|
Posted: Sat Jun 25, 2005 4:18 pm Post subject: |
|
|
Spanik,
Code: | $ mplayer -ao help
MPlayer 1.0pre7-3.4.3-20050110 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Available audio output drivers:
mpegpes Mpeg-PES audio output
oss OSS/ioctl audio output
alsa ALSA-0.9.x-1.x audio output
esd EsounD audio output
jack JACK audio output
nas NAS audio output
sdl SDLlib audio output
null Null audio output
pcm RAW PCM/WAVE file writer audio output
| So mplayer does, that probably means gmplayer does too _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Spanik l33t
Joined: 12 Dec 2003 Posts: 998 Location: Belgium
|
Posted: Sat Jun 25, 2005 4:41 pm Post subject: |
|
|
Thanks. I'll give kmplayer a try since I use KDE.
EDIT: emerged it, but it doesn't do a single thing. Neither kmplayer nor mplayer. They both start, but do not recognise a dvd in the driver (kaffeine and ogle do). I put the sound driver to jack, but they do not show up in the qjackctl connection window. The alsa and jack flags are listed in my USE flags.
EDIT2: I got kmplayer as far as starting the dvd, but no audio. Mplayer is another problem. When it starts, it tries to open 3 windows, 2 of them open, the third never comes but no error message. When I click "play" it starts to access the dvd, but then: "Mplayer interupted by signal 11 in module: init_audio_codec" and it fails completely. I tried every setting of the audio panel in the config but no change. _________________ Expert in non-working solutions |
|
Back to top |
|
|
djpenguin Guru
Joined: 02 Sep 2004 Posts: 386
|
Posted: Sun Jun 26, 2005 9:21 pm Post subject: |
|
|
Okay, try doing it from the command line:
Code: | $ mplayer -ao jack dvd//:1 |
|
|
Back to top |
|
|
Spanik l33t
Joined: 12 Dec 2003 Posts: 998 Location: Belgium
|
Posted: Sun Jun 26, 2005 9:36 pm Post subject: |
|
|
Code: | mplayer -ao jack dvd//:1
MPlayer 1.0pre6-3.4.3 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Opteron Sledgehammer (Family: 8, Stepping: 10)
Detected cache-line size is 64 bytes
Cannot test OS support for SSE, disabling to be safe.
Warning unknown option cache_min at line 144
Warning unknown option cache_prefill at line 147
77 audio & 189 video codecs
Playing dvd//:1.
File not found: 'dvd//:1'
Failed to open dvd//:1
Exiting... (End of file)
|
The device is /dev/cdroms/cdrom0, maybe that can also be a problem. So I mounted the dvd, and then used the path to the /mnt/cdrom directory. The files on the dvd were audio_ts and video_ts . Tried then the following:
Code: | mplayer -ao jack /mnt/cdrom/video_ts
MPlayer 1.0pre6-3.4.3 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Opteron Sledgehammer (Family: 8, Stepping: 10)
Detected cache-line size is 64 bytes
Cannot test OS support for SSE, disabling to be safe.
Warning unknown option cache_min at line 144
Warning unknown option cache_prefill at line 147
77 audio & 189 video codecs
Playing /mnt/cdrom/video_ts.
Cache fill: 0.00% (0 bytes) XMMS: found plugin: libmpg123.so (MPEG Layer 1/2/3 Player 1.2.10)
XMMS: found plugin: libwav.so (Wave Player 1.2.10)
XMMS: found plugin: libxmmsmad.so (MAD MPEG Decoder plugin 0.8)
XMMS: found plugin: libxmms_sndfile.so (libsndfile input plugin 1.2)
XMMS: Closing plugin /usr/lib64/xmms/Input/libxmms_sndfile.so
XMMS: Closing plugin /usr/lib64/xmms/Input/libxmmsmad.so
XMMS: Closing plugin /usr/lib64/xmms/Input/libwav.so
XMMS: Closing plugin /usr/lib64/xmms/Input/libmpg123.so
Exiting... (End of file)
|
If I try the audio_ts file I get the same output.
Xmms however play through jack, that's the way I use it always. Other problem is that this audio card (RME hammerfall) has 26IOs and no mixer. Can that be a problem that the app searches for a mixer? _________________ Expert in non-working solutions |
|
Back to top |
|
|
djpenguin Guru
Joined: 02 Sep 2004 Posts: 386
|
Posted: Sun Jun 26, 2005 11:02 pm Post subject: |
|
|
Sorry, made a syntax error in the code block. It should read:
Code: | $ mplayer -ao jack dvd://1 |
Read the output of
to get a feel for how to use the options. |
|
Back to top |
|
|
Spanik l33t
Joined: 12 Dec 2003 Posts: 998 Location: Belgium
|
Posted: Mon Jun 27, 2005 7:35 pm Post subject: |
|
|
I tried to play a .wmv first from the HD with
Code: | mplayer -ao jack sw_8M.wmv |
and this works fine. It opens 2 channels to jack and I get output. So it looks as if the dvd is the problem. Or at least how to start it. Time for more experiments. _________________ Expert in non-working solutions |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54577 Location: 56N 3W
|
Posted: Tue Jun 28, 2005 6:45 pm Post subject: |
|
|
Spanik,
Code: | mplayer -ao jack dvd//:1 | ??
The colon is in the wrong place would be better _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Spanik l33t
Joined: 12 Dec 2003 Posts: 998 Location: Belgium
|
Posted: Wed Jun 29, 2005 6:31 pm Post subject: |
|
|
That command didn't help either. But I managed to get it working (more or less). It seems that I need to mount the dvd, and then start the files manually.
Code: | mplayer -oa jack /mnt/cdrom/video_ts/video_ts2.vob |
This does the trick and then it works fine, video and sound. So it looks as if the filestructure of the dvd is to blame for some of the problems.
Xine however works fine with alsa. _________________ Expert in non-working solutions |
|
Back to top |
|
|
|