Hi,
this release mainly adds support for MPlayer versions newer than 1.0rc1. Unfortunately, I had to drop the support for MPlayer versions prior to 1.0pre series (0.9x...).
This step was necessary, because current MPlayer development version stopped accepting the '-vop' option. The '-vf' option must be used instead.
As usual you can get the new version of mplayer.sh from http://batleth.sapienti-sat.org/projects/VDR/
Changelog: - added 544x480 as valid NTSC resolution (thanks to C.Y.M) - removed 688x576 from the valid PAL resolutions; - calculate USE_SPEED with 30 fps instead of 29.97 - use '-vf' and '-af' instead of '-vop' and '-aop', as the latter are deprecated
Enjoy, Juri
Hi,
I have couple of video clips that fail to work properly via VDR. First ones playback is very jerky (23.976fps) via VDR but no problem played back on PC.
Second one does not play sound from the clip but the sound from the channel that was being viewed before playback.
I've tried mplayer.sh 0.8.6 and 0.8.7. mplayer itself is version 1.0rc1. Haven't tried trunk version because there did not seem to be fixes related to audio or jerkiness.
Anyone else with similar problems?
Also, there seems to be DVD support in trunk version of the mplayer. Any idea whether mplayer plugin will support DVD in the near future?
Br, Pasi
On Wed, 21 Feb 2007 20:32:02 +0200 Pasi Juppo pasi.juppo@iki.fi wrote:
Hi,
I have couple of video clips that fail to work properly via VDR. First ones playback is very jerky (23.976fps) via VDR but no problem played back on PC.
When playing back 24 fps video on an FF-card or any other PAL TV-output device, jerkiness is quite expected. You need to speed up the playback by a factor of 25/24~=1.0417, which can be done with the -speed option in MPlayer. Audio pitch will rise slightly, so if that bothers you, use an external LADSPA filter to compensate (see: http://mark.santaniello.net/archives/260).
The NTSC/PAL speed setting should be handled automatically in the mplayer.sh script, but have you configured NTSC="false" in mplayer.sh.conf?
Second one does not play sound from the clip but the sound from the channel that was being viewed before playback.
MPlayer probably has problems with the audio codec used in the clip. Updating to latest SVN could help. If not, try other players and identify the audio codec. If the codec should be supported, take a look at the mplayer -v output and perhaps upload a sample somewhere.
I've tried mplayer.sh 0.8.6 and 0.8.7. mplayer itself is version 1.0rc1. Haven't tried trunk version because there did not seem to be fixes related to audio or jerkiness.
Did you actually read through the SVN logs from the last 4 months? Quite an accomplishment. ;) Anyway, most of the codec-related stuff is in FFmpeg/libavcodec, which is in a separate repository.
Anyone else with similar problems?
Also, there seems to be DVD support in trunk version of the mplayer. Any idea whether mplayer plugin will support DVD in the near future?
Have you tried the current support in mplayer.sh?
Regards, Niko
On Wed, 21 Feb 2007 20:32:02 +0200 Pasi Juppo pasi.juppo@iki.fi wrote:
I have couple of video clips that fail to work properly via VDR. First ones playback is very jerky (23.976fps) via VDR but no problem played back on PC.
When playing back 24 fps video on an FF-card or any other PAL TV-output device, jerkiness is quite expected. You need to speed up the playback by a factor of 25/24~=1.0417, which can be done with the -speed option in MPlayer. Audio pitch will rise slightly, so if that bothers you, use an external LADSPA filter to compensate (see: http://mark.santaniello.net/archives/260).
The NTSC/PAL speed setting should be handled automatically in the mplayer.sh script, but have you configured NTSC="false" in mplayer.sh.conf?
Yes. The config should be ok. I don't recall have such a problems with previous version (0.9.x).
Second one does not play sound from the clip but the sound from the channel that was being viewed before playback.
MPlayer probably has problems with the audio codec used in the clip. Updating to latest SVN could help. If not, try other players and identify the audio codec. If the codec should be supported, take a look at the mplayer -v output and perhaps upload a sample somewhere.
Strange that it works fine on the server and both have the same setup of codecs. Have to check further.
I've tried mplayer.sh 0.8.6 and 0.8.7. mplayer itself is version 1.0rc1. Haven't tried trunk version because there did not seem to be fixes related to audio or jerkiness.
Did you actually read through the SVN logs from the last 4 months? Quite an accomplishment. ;) Anyway, most of the codec-related stuff is in FFmpeg/libavcodec, which is in a separate repository.
Sure.. not :-) No, I just checked the ChangeLog. Checking of all files history would have been extreme..
Anyone else with similar problems?
Also, there seems to be DVD support in trunk version of the mplayer. Any idea whether mplayer plugin will support DVD in the near future?
Have you tried the current support in mplayer.sh?
No, I was under impression that DVD menu navigation is not supported. Have to recheck this too then.
Br, Pasi
On Wed, 21 Feb 2007 22:58:57 +0200 Pasi Juppo pasi.juppo@iki.fi wrote:
Strange that it works fine on the server and both have the same setup of codecs. Have to check further.
It could also be that the clip has AC3 or DTS audio, and MPlayer is configured to handle them in a different way (passthrough). Can't think of any other reason for the problem.
Also, there seems to be DVD support in trunk version of the mplayer. Any idea whether mplayer plugin will support DVD in the near future?
Have you tried the current support in mplayer.sh?
No, I was under impression that DVD menu navigation is not supported. Have to recheck this too then.
Well, there's no navigation support, but personally I prefer the MPlayer way :) Don't know how it works with the MPlayer plugin though, that's why I asked.
Niko
Niko Mikkila wrote:
On Wed, 21 Feb 2007 22:58:57 +0200 Pasi Juppo pasi.juppo@iki.fi wrote:
Strange that it works fine on the server and both have the same setup of codecs. Have to check further.
It could also be that the clip has AC3 or DTS audio, and MPlayer is configured to handle them in a different way (passthrough). Can't think of any other reason for the problem.
Usually AC3 and DTS works just fine. Stream is sent to amplifier who decodes it. But, I need to check this further when I have more time..
Also, there seems to be DVD support in trunk version of the mplayer. Any idea whether mplayer plugin will support DVD in the near future?
Have you tried the current support in mplayer.sh?
No, I was under impression that DVD menu navigation is not supported. Have to recheck this too then.
Well, there's no navigation support, but personally I prefer the MPlayer way :) Don't know how it works with the MPlayer plugin though, that's why I asked.
Ah, you mean hardcore way. OK, it's not really bad but sometimes (well, seldom actually) menus are good (varies a lot between movies).
I'll check this anyway again. I've been using DVD plugin but the picture quality is far from good. I've been thinking of Xine with xinelibout due to good deinterlace features but if mplayer supports this then I can still use FF card with mpegpes output (I still have normal TV).
Br, Pasi
Pasi Juppo wrote:
Niko Mikkila wrote:
On Wed, 21 Feb 2007 22:58:57 +0200 Pasi Juppo pasi.juppo@iki.fi wrote:
Strange that it works fine on the server and both have the same setup of codecs. Have to check further.
It could also be that the clip has AC3 or DTS audio, and MPlayer is configured to handle them in a different way (passthrough). Can't think of any other reason for the problem.
Usually AC3 and DTS works just fine. Stream is sent to amplifier who decodes it. But, I need to check this further when I have more time..
Video clips were using AC3. They have used to work fine so I downgraded to mplayer 1.0 pre 8 and now the audio gets passed through to the amplifier via FF card.
The same mplayer.sh.conf works with pre8 but not with rc1. I added hwdts to AC3 output configuration but this has nothing to do with AC3 anyway and had not effect on the matter.
From the log that mplayer.sh produces I cannot find reason why it fails.
Br, Pasi
Pasi Juppo wrote:
Pasi Juppo wrote:
Niko Mikkila wrote:
On Wed, 21 Feb 2007 22:58:57 +0200 Pasi Juppo pasi.juppo@iki.fi wrote:
Strange that it works fine on the server and both have the same setup of codecs. Have to check further.
It could also be that the clip has AC3 or DTS audio, and MPlayer is configured to handle them in a different way (passthrough). Can't think of any other reason for the problem.
Usually AC3 and DTS works just fine. Stream is sent to amplifier who decodes it. But, I need to check this further when I have more time..
Video clips were using AC3. They have used to work fine so I downgraded to mplayer 1.0 pre 8 and now the audio gets passed through to the amplifier via FF card.
The same mplayer.sh.conf works with pre8 but not with rc1. I added hwdts to AC3 output configuration but this has nothing to do with AC3 anyway and had not effect on the matter.
From the log that mplayer.sh produces I cannot find reason why it fails.
Now I got more log from SVN version of mplayer:
[AO OSS] Can't set audio device /dev/dsp to ac3 output, trying s16le... AO: [oss] 48000Hz 2ch s16le (2 bytes per sample) [format] Sample format big-endian AC3 not yet supported [libaf] Reinitialization did not work, audio filter 'format' returned error code -2 Couldn't find matching filter/ao format!
With pre8 version this error does not come.
Br, Pasi
Pasi Juppo wrote:
Now I got more log from SVN version of mplayer:
[AO OSS] Can't set audio device /dev/dsp to ac3 output, trying s16le... AO: [oss] 48000Hz 2ch s16le (2 bytes per sample) [format] Sample format big-endian AC3 not yet supported [libaf] Reinitialization did not work, audio filter 'format' returned error code -2 Couldn't find matching filter/ao format!
Try to set different device in mplayer.sh.conf: AO="alsa:device=dmix"
This should work on both AC3 & DTS: AC3AOUT="-afm hwac3"
Pertti Kosunen wrote:
Pasi Juppo wrote:
Now I got more log from SVN version of mplayer:
[AO OSS] Can't set audio device /dev/dsp to ac3 output, trying s16le... AO: [oss] 48000Hz 2ch s16le (2 bytes per sample) [format] Sample format big-endian AC3 not yet supported [libaf] Reinitialization did not work, audio filter 'format' returned error code -2 Couldn't find matching filter/ao format!
Try to set different device in mplayer.sh.conf: AO="alsa:device=dmix"
This should work on both AC3 & DTS: AC3AOUT="-afm hwac3"
Neither did any good. In case of alse it would be using built in spdif connecter where as I want to use DVB-C cards spdif output (I don't have enough digital inputs and don't want to switch source unnecessarily).
Seems that this got broken in version 1.0 pre 10 of mplayer. Have to check if there is patch or some other fix for this..
Br, Pasi
Pasi Juppo schrieb:
[Video without sound] Video clips were using AC3. They have used to work fine so I downgraded to mplayer 1.0 pre 8 and now the audio gets passed through to the amplifier via FF card.
I guess I've got a similar problem as you have: Sometimes I get only video, sometimes only audio! (on the same files, I can't find out when which happens.)
But it all started after I upgraded accidently mplayer. :-( Does someone has a .deb against debian stable of 1.0pre8 so I don't have to compile it myself?
TIA, Jakob
Jakob Lenfers wrote:
Pasi Juppo schrieb:
[Video without sound] Video clips were using AC3. They have used to work fine so I downgraded to mplayer 1.0 pre 8 and now the audio gets passed through to the amplifier via FF card.
I guess I've got a similar problem as you have: Sometimes I get only video, sometimes only audio! (on the same files, I can't find out when which happens.)
But it all started after I upgraded accidently mplayer. :-( Does someone has a .deb against debian stable of 1.0pre8 so I don't have to compile it myself?
This problem is solved now. Solution was this simple. Change mplayer.sh.conf AC3AOUT="-ac hwac3" to AC3AOUT="-ao mpegpes -ac hwac3".
Br, Pasi