Log in

View Full Version : SMPlayer - a new frontend for MPlayer


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [15] 16 17

nae1986
6th January 2009, 22:15
The extensions don't look like something Windows would restrict.
I was facing the same problem under Vista SP1.
- UAC disabled
- without "agents" like Winamp to keep file associations

setarip_old
9th January 2009, 22:34
I recently installed the SMPlayer/MPlayer package, so I'm probably overlooking something very obvious:

If I select "Play DVD from harddrive", the movie starts immediately. Is there no way to to access the DVD's menu?

LoRd_MuldeR
9th January 2009, 22:45
I recently installed the SMPlayer/MPlayer package, so I'm probably overlooking something very obvious:

If I select "Play DVD from harddrive", the movie starts immediately. Is there no way to to access the DVD's menu?

MPlayer does not DVD menus. Well, there is "libdvdnav", but I'm not aware of any Windows build of MPlayer with that one enabled.

User SMPlayer's "Browse" menu instead ;)

setarip_old
9th January 2009, 23:09
User SMPlayer's "Browse" menu insteadThat does not provide access to an active version of the DVD menu either...

LoRd_MuldeR
9th January 2009, 23:14
That does not provide access to an active version of the DVD menu either...

No, you can't access the menus from MPlayer. But you can go to any title you need through the "Browse" menu.

Don't forget the MPlayer is a CLI tool after all...

rvm
9th January 2009, 23:28
I'm adding support for dvd menus in smplayer (I hope it will be finished in 0.6.7), but it's necessary a mplayer compiled with dvdnav support and I don't know if there's any in windows... so the current code for dvd menus in smplayer is disabled (not compiled) in windows.

(Linux users can test it as explained here (http://smplayer.berlios.de/forums/viewtopic.php?pid=4291#p4291))

Reimar
9th January 2009, 23:57
I hope to soon apply a change that will build MPlayer with dvdnav by default, no extra changes or libraries necessary.
I'd expect the Windows builds to all have dvdnav support then.

LoRd_MuldeR
9th January 2009, 23:59
I hope to soon apply a change that will build MPlayer with dvdnav by default, no extra changes or libraries necessary.
I'd expect the Windows builds to all have dvdnav support then.

Oh, good news :eek:

setarip_old
10th January 2009, 01:11
@rvm, @Reimar,

I look forward to the changes, as the combined programs are otherwise most impressive ;>}

Milvus
10th January 2009, 02:27
Good news for dvdnav. Most of the time, I like to skip the menus, but with some DVD, it's quite difficult to know the title number of what you want to see. For example, with japanese animes, it look like they just use random numbers to hide the episodes amongst 30+ titles (trailers, bonus material...). No one seem to use the title feature of DVD in any sane way, like with plain old CD audio.

MPlayer and SMPlayer are really the ultimate video players...

mhj911
10th January 2009, 08:47
http://sourceforge.net/project/showf...ease_id=600085
In this site, mplayer-ww provide mplayer console version with dvdnav for windows.
length of dvdnav may as well use length of each chapter for correct seek. when play next chapter,use chapter length replace TotalTime length in time. use 'seek time 0' replace 'seek time 2' ,will have max compatibility, especially for DVD or DVDnav play. if first pop-up dvd menu, you will not determine playing status of dvdnav base on timecode for mouse handle,but you will meet 'too many data package' issue, it is resson of DVDnav use '-nocach' parameter.

setarip_old
10th January 2009, 19:17
Why is it that the SMPlayer/MPlayer combination will not play a VC-1 stream directly, but will play that same stream in an MKV wrapper?

LoRd_MuldeR
10th January 2009, 20:34
Why is it that the SMPlayer/MPlayer combination will not play a VC-1 stream directly, but will play that same stream in an MKV wrapper?

Missing demuxer for "raw" VC-1 streams?

I don't know what demuxer MPlayer tries to use (posting your log may help), but you could try enforcing the "lavf" or "rawvideo" demuxer (depending on what is used currently).

In SMPlayer you can do that in the "File properties" dialog on the "Demuxer" tab...

rvm
11th January 2009, 13:20
I've just compiled the svn version with the code for dvd menus enabled:
smplayer_update_svn_r2661.7z (ftp://ftp.berlios.de/pub/smplayer/windows/smplayer_update_svn_r2661.7z)

But I couldn't test it, I don't have any mplayer build for windows with dvdnav support.

http://sourceforge.net/project/showf...ease_id=600085
In this site, mplayer-ww provide mplayer console version with dvdnav for windows.

I'm afraid that link is wrong :(

Reimar
11th January 2009, 15:14
I've just compiled the svn version with the code for dvd menus enabled:
smplayer_update_svn_r2661.7z (ftp://ftp.berlios.de/pub/smplayer/windows/smplayer_update_svn_r2661.7z)

But I couldn't test it, I don't have any mplayer build for windows with dvdnav support.


You could try this binary:
http://natsuki.mplayerhq.hu/~reimar/mplayer.exe
WARNING: only use it for testing dvdnav, it is compiled against old versions of FreeType etc. that probably have security issues!
Also, MinGW was not patched, so it will have issues with seeking in files > 2GB (which might also cause issues for dvdnav, it worked fine for my DVDs as far as I tested though).

LoRd_MuldeR
11th January 2009, 18:39
You could try this binary:
http://natsuki.mplayerhq.hu/~reimar/mplayer.exe
WARNING: only use it for testing dvdnav, it is compiled against old versions of FreeType etc. that probably have security issues!
Also, MinGW was not patched, so it will have issues with seeking in files > 2GB (which might also cause issues for dvdnav, it worked fine for my DVDs as far as I tested though).

Can't get that build to work with SMPlayer, because I either get

Unknown option on the command line: -ass
Error parsing option on the command line: -ass
-or-
Unknown option on the command line: -noass
Error parsing option on the command line: -noass

Any chance to tell SMPlayer to not pass "-(no)ass" at all? :confused:

LoRd_MuldeR
11th January 2009, 18:44
I also tried from the commandline and the video window will pop up for ~2 seconds. Then MPlayer will exit :(

C:\Program Files (x86)\MPlayer for Windows>mplayer_dvdnav.exe -dvd-device g:\ dvd://

MPlayer dev-SVN-r28298-3.4.5 (C) 2000-2009 MPlayer Team
CPU: Intel(R) Core(TM)2 Quad CPU @ 2.40GHz (Family: 6, Model: 15, Step
ping: 7)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

Playing dvd://.
libdvdread: Using libdvdcss version 1.2.9 for DVD access
libdvdread: Couldn't find device name.
There are 11 titles on this DVD.
There are 1 angles in this DVD title.
audio stream: 0 format: ac3 (stereo) language: de aid: 128.
number of audio channels on disk: 1.
subtitle ( sid ): 0 language: de
number of subtitles on disk: 1
MPEG-PS file format detected.
MPEG: No audio stream found -> no sound.
VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 8000.0 kbps (1000.0 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [direct3d] 720x576 => 768x576 Planar YV12
[mpeg2video @ 0pab8d10]ac-tex damaged at 22 4
[mpeg2video @ 0pab8d10]Warning MVs not available
[mpeg2video @ 0pab8d10]concealing 1440 DC, 1440 AC, 1440 MV errors


Exiting... (End of file)


[EDIT]

Same problem happens with another DVD ...


[EDIT 2.0]

D'oh! It was my mistake of course. I need to use "dvdnav://" instead of "dvd://" :D

Works just fine with one of my DVD's now. With another one it freezes as soon as I select a menu item.

Also I noticed that the "direct3d" renderer has wrong menu positions, the "directx" renderer crashed and the "gl" renderer worked okay.

BTW: Is mouse menu support possible/planned ???

Reimar
11th January 2009, 21:06
Unknown option on the command line: -ass


Sorry, I forgot to even build with freetype support, I uploaded a new version.
Download again, I guess it will work though.
Would be nice if SMPlayer could work without it, on some strange systems it can be quite difficult to compile libfreetype (which is nessary for ASS support).


Also I noticed that the "direct3d" renderer has wrong menu positions, the "directx" renderer crashed and the "gl" renderer worked okay.


directx hasn't crashed for me, weird. The direct3d issue is known, I fixed gl only about a day or two ago, before it had the same one.


BTW: Is mouse menu support possible/planned ???


-mouse-movements
You might have to hold the CTRL for mouse-clicks to work (I guess/hope that's not an issue when running from SMPlayer).

LoRd_MuldeR
11th January 2009, 21:20
Sorry, I forgot to even build with freetype support, I uploaded a new version.
Download again, I guess it will work though.
Would be nice if SMPlayer could work without it, on some strange systems it can be quite difficult to compile libfreetype (which is nessary for ASS support).

Thank you! Now I need to get SMPlayer to use "dvdnav://" instead of "dvd://" :p

You might have to hold the CTRL for mouse-clicks to work

Unfortunately MPlayer stops responding as soon as I press CTRL once...

rvm
11th January 2009, 21:47
Any chance to tell SMPlayer to not pass "-(no)ass" at all? :confused:

Yes, disable the "Freetype support" option in Preferences -> Subtitles.

LoRd_MuldeR
11th January 2009, 21:55
Yes, disable the "Freetype support" option in Preferences -> Subtitles.

Thanks. But with Reimar's latest build "-no(ass)" is working okay.

However SMPlayer still passes "dvd://" instead of "dvdnav://", so dvdnav is not currently used.

Do I miss something or is it not implemented yet?

rvm
11th January 2009, 21:59
You need at least r2660. Then:

* go to Preferences->Keyboard and mouse->Mouse and select "Activate option in DVD menus" for the left mouse button (so you can select the options in the menus with the mouse)
* go to Preferences->Drives and check the option "Enable DVD menus"

Edit: I've just tried with Reimar's build and it seems to work (more or less) ok.

http://e.imagehost.org/t/0598/dvdmenus.jpg (http://e.imagehost.org/view/0598/dvdmenus)

LoRd_MuldeR
11th January 2009, 22:29
You need at least r2660. Then:

* go to Preferences->Keyboard and mouse->Mouse and select "Activate option in DVD menus" for the left mouse button (so you can select the options in the menus with the mouse)
* go to Preferences->Drives and check the option "Enable DVD menus"

I see!

Edit: I've just tried with Reimar's build and it seems to work (more or less) ok.

Yup, agreed :D

I only noticed that the "highlight" doesn't move when I move the mouse cursor over a menu button. Always remains on first button.

BTW: I think the left mouse button should be assigned to "Enable DVD menus" by default now.


Definitely a great step forward for MPlayer :thanks:

rvm
11th January 2009, 22:34
I only noticed that the "highlight" doesn't move when I move the mouse cursor over a menu button. Always remains on first button.

Yes, it will be fixed.

(There are a lot of issues still to fix)

BTW, the "highlight" doesn't appear in the correct position if using direct3d. The same happens in linux with x11. I guess this is a bug in mplayer.


BTW: I think the left mouse button should be assigned to "Enable DVD menus" by default now.

It will be.

LoRd_MuldeR
11th January 2009, 22:42
BTW, the "highlight" doesn't appear in the correct position if using direct3d. The same happens in linux with x11. I guess this is a bug in mplayer.

Yup. Reimer said that it's known problem and he recently fixed it for the GL renderer.

BTW: Opening a DVD still takes ~20 seconds, so maybe a loading screen (or at least a message in the statusbar) would be nice :)

People may think (S)MPlayer is hanging...

mhj911
12th January 2009, 06:13
I've just compiled the svn version with the code for dvd menus enabled:
smplayer_update_svn_r2661.7z (ftp://ftp.berlios.de/pub/smplayer/windows/smplayer_update_svn_r2661.7z)

But I couldn't test it, I don't have any mplayer build for windows with dvdnav support.



I'm afraid that link is wrong :(

sorry, correct link is http://sourceforge.net/project/showfiles.php?group_id=210480&package_id=276557&release_id=600085
ower of mplayer-ww package mplayer svn27654 with dvdnav and smplayer.

if you want to only use mouse to select dvd menu entry when only dvd menu appear, but in playing mouse function keep original function. it is a bit difficult, because have no mplayer status is very good for determine what is dvdnav menu status.
for some DVD disc, may meet issue ,such as "Too many video packets in the buffer: (4096 in 8255500 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.". in this time, handle of dvdnav menu will be very slow.
use reimar/mplayer.exe with dx,d3d,gl,gl2
hightlight is correct with dx,gl,gl2
http://i.namipan.com/files/a88d1917834d3fead0463326592039092a1aa65d04f2000008cd/0/dx_gl%282%29.JPG
postion of hightlight is a littlt issue with d3d.
http://i.namipan.com/files/5ecd606eca9fa84935f15f1c37254487a35ed1856a220100305b/0/d3d.JPG

rvm
12th January 2009, 13:28
sorry, correct link is http://sourceforge.net/project/showfiles.php?group_id=210480&package_id=276557&release_id=600085

Thanks for the link.


if you want to only use mouse to select dvd menu entry when only dvd menu appear, but in playing mouse function keep original function. it is a bit difficult, because have no mplayer status is very good for determine what is dvdnav menu status.

Yes, I realized that currently mplayer doesn't make things easy for GUI's when using dvdnav. I'm missing above all that mplayer would report when a dvd title is changed, the length of the new title or if the the dvd menu is shown.

BTW, new update: smplayer_update_svn_r2670.7z (ftp://ftp.berlios.de/pub/smplayer/windows/smplayer_update_svn_r2670.7z). Now the highlight changes when the mouse is moved.

Reimar
12th January 2009, 13:49
Yes, I realized that currently mplayer doesn't make things easy for GUI's when using dvdnav.

IMO it is not just GUI support, dvdnav support is generally very unpolished. I guess most people use it either only "in emergencies" like I do or not at all because their binaries did not support it, at least that's how I interpret the lack of bug reports despite the many bugs.
I hope that at least more builds will include it now that it gets compiled-in by default without having to compile libdvd* separately first.

mhj911
13th January 2009, 09:28
smplayer_update_svn_r2670.7z can use mouse to select dvdnav menu entry.mplayer should output chapters,angles,titles info. not all dvdnav menu include these info or setting. i remember mplayer version at when i writer dvdnav of mpui(2008-09-10), if use dvdnav://,mplayer first display dvdnav menu,but mplayer will not output chapters info and chapters length. if use dvdnav://+titleID, will directly play corresponding title, mplayer will output all title,chapters,angle info as you use dvd://. if you have no time info, timecode and length of totaltime maybe wrong, seekbar is base on timecode and totaltime. because it, front have no menu entry about dvd chapters and angles. current mplayer don't output these info. in this way, we don't handle dvdnav through menu of front:(. In result, mpui will out of chapters menu entry bound:( ,because mplayer don't output chapters info and length of chapters:(

mhj911
13th January 2009, 19:41
i borrow original japanese animation DVD, mplayer dvdnav can output info about chapters,titles. Another one of my dvd,
mplayer can't output info about chapters,titles. in result, Failed to create chapters menu. This is too strange.
命令行:
E:\software\PlaySoft\mplayer28298.exe -nogui -noconsolecontrols -slave
-identify -noquiet -nofs -term-osd-esc "[Fenny8248] " -hr-mp3-seek
-subalign 1 -spualign 1 -sub-fuzziness 1 -subfont-autoscale 2
-subfont-osd-scale 4.8 -subfont-text-scale 4.5 -subfont-outline 2
-subfont-blur 2 -priority abovenormal -colorkey 0x101010 -nokeepaspect
-wid 1903388 -double -font C:\WINDOWS\Fonts\SIMSUN.TTC -autoq 10
-vf-add pp -subcp CP936 -monitoraspect 1024:768 -subpos 96 -vf-add
screenshot -nocache -dvd-device F: dvdnav://1


MPlayer dev-SVN-r28298-3.4.5 (C) 2000-2009 MPlayer Team
CPU: Intel(R) Pentium(R) Dual CPU E2140 @ 1.60GHz (Family: 6, Model: 15, Stepping: 13)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
The -nogui option will only work as the first command line argument.
Setting process priority: abovenormal
Syntax error in font desc: ttcfCannot load bitmap font: C:\WINDOWS\Fonts\SIMSUN.TTC

Playing dvdnav://1.
libdvdnav: Using dvdnav version MPlayer-custom
NAME OPEN FAILED
libdvdnav: Unable to find home directorylibdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available: 
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available: 
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available: 
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available: 
Title: ''
ID_DVD_TITLE_1_LENGTH=74029.800
TITLE 1, CHAPTERS: 00:24:24,00:48:48,01:12:58,01:37:07,02:01:32,02:25:41,02:49:51,03:13:59,03:38:09,04:02:18,04:26:33,04:50:42,
05:14:51,05:39:16,06:03:25,06:27:35,06:51:44,07:15:53,07:40:02,08:04:12,08:28:21,08:52:30,09:16:40,09:40:49,10:05:14,
10:29:08,10:53:02,11:16:57,11:41:22,12:05:31,12:29:40,12:53:49,13:17:58,13:42:07,14:06:16,14:30:25,14:54:50,15:18:59,
15:43:09,16:07:19,16:31:29,16:55:38,17:20:03,17:44:27,18:08:51,18:33:01,18:57:11,19:21:21,19:45:31,20:09:25,20:33:49,
audio stream: 0 format: mpeg2ext (stereo) language: ?? aid: 0.
libdvdread: Using libdvdcss version 1.2.9 for DVD access
INIT ERROR: couldn't get init pos New position not yet determined.

Remember to disable MPlayer's cache when playing dvdnav:// streams (adding -nocache to your command line)

DVDNAV, switched to title: 1

ID_VIDEO_ID=0
dvdnav_stream, seeking to 134294766570905600 failed: <NULL>
MPEG-PS file format detected.
ID_AUDIO_ID=0
VIDEO: MPEG2 352x288 (aspect 2) 25.000 fps 1500.0 kbps (187.5 kbyte/s)
ID_FILENAME=dvdnav://1
ID_DEMUXER=mpegps
ID_VIDEO_FORMAT=0x10000002
ID_VIDEO_BITRATE=1500000
ID_VIDEO_WIDTH=352
ID_VIDEO_HEIGHT=288
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=80
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=4273553.38
ID_SEEKABLE=1
ID_CHAPTERS=51
Opening video filter: [screenshot]
Opening video filter: [pp]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 288 (preferred colorspace: Mpeg PES)
[PP] Using external postprocessing filter, max q = 6.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000237
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000004e8
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
ID_VIDEO_CODEC=ffmpeg2
[PP] Using external postprocessing filter, max q = 6.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 96.0 kbit/6.25% (ratio: 12000->192000)
ID_AUDIO_BITRATE=96000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=mp3
Starting playback...
VDec: vo config request - 352 x 288 (preferred colorspace: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.3333
SwScaler: reducing / aligning filtersize 5 -> 4
(last message repeated 1 times)
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 5 -> 4
[swscaler @ 0pc863dc]BICUBIC scaler, from yuv420p to rgb24 using MMX2
[swscaler @ 0pc863dc]using 4-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0pc863dc]using 4-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0pc863dc]using n-tap MMX scaler for vertical scaling (BGR)
[swscaler @ 0pc863dc]352x288 -> 384x288
VO: [directx] 352x288 => 384x288 Planar YV12

++++++++++++++++++++++++++++++
命令行:
E:\software\PlaySoft\mplayer28298.exe -nogui -noconsolecontrols -slave
-identify -noquiet -nofs -term-osd-esc "[Fenny8248] " -hr-mp3-seek
-subalign 1 -spualign 1 -sub-fuzziness 1 -subfont-autoscale 2
-subfont-osd-scale 4.8 -subfont-text-scale 4.5 -subfont-outline 2
-subfont-blur 2 -priority abovenormal -colorkey 0x101010 -nokeepaspect
-wid 1903388 -double -font C:\WINDOWS\Fonts\SIMSUN.TTC -autoq 10
-vf-add pp -subcp CP936 -monitoraspect 1024:768 -subpos 96 -vf-add
screenshot -nocache -dvd-device F: dvdnav://1

MPlayer dev-SVN-r28298-3.4.5 (C) 2000-2009 MPlayer Team
CPU: Intel(R) Pentium(R) Dual CPU E2140 @ 1.60GHz (Family: 6, Model: 15, Stepping: 13)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
The -nogui option will only work as the first command line argument.
Setting process priority: abovenormal
Syntax error in font desc: ttcfCannot load bitmap font: C:\WINDOWS\Fonts\SIMSUN.TTC

Playing dvdnav://1.
libdvdnav: Using dvdnav version MPlayer-custom
NAME OPEN FAILED
libdvdnav: Unable to find home directorylibdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
Title: ''
ID_DVD_TITLE_1_LENGTH=35.200
TITLE 1, CHAPTERS: 00:00:35,
audio stream: 0 format: mpeg2ext (stereo) language: ?? aid: 0.
libdvdread: Using libdvdcss version 1.2.9 for DVD access

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000123
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00001db9
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00003a3f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x000049c8
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0000664e
libdvdread: Elapsed time 0
libdvdread: Found 2 VTS's
libdvdread: Elapsed time 0
INIT ERROR: couldn't get init pos New position not yet determined.

Remember to disable MPlayer's cache when playing dvdnav:// streams (adding -nocache to your command line)

DVDNAV, switched to title: 1

ID_VIDEO_ID=0
MPEG-PS file format detected.
ID_AUDIO_ID=0
VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 2000.0 kbps (250.0 kbyte/s)
ID_FILENAME=dvdnav://1
ID_DEMUXER=mpegps
ID_VIDEO_FORMAT=0x10000002
ID_VIDEO_BITRATE=2000000
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=576
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=80
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=35.20
ID_SEEKABLE=1
ID_CHAPTERS=1
Opening video filter: [screenshot]
Opening video filter: [pp]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
[PP] Using external postprocessing filter, max q = 6.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
ID_VIDEO_CODEC=ffmpeg2
[PP] Using external postprocessing filter, max q = 6.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000)
ID_AUDIO_BITRATE=224000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=mp3
Starting playback...
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.3333
SwScaler: reducing / aligning filtersize 5 -> 4
(last message repeated 1 times)
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 5 -> 4
[swscaler @ 0pc863dc]BICUBIC scaler, from yuv420p to rgb24 using MMX2
[swscaler @ 0pc863dc]using 4-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0pc863dc]using 4-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0pc863dc]using n-tap MMX scaler for vertical scaling (BGR)
[swscaler @ 0pc863dc]720x576 -> 768x576
VO: [directx] 720x576 => 768x576 Planar YV12
[mpeg2video @ 0pbd68b0]ac-tex damaged at 0 8
[mpeg2video @ 0pbd68b0]Warning MVs not available
[mpeg2video @ 0pbd68b0]concealing 1260 DC, 1260 AC, 1260 MV errors
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available: 
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available: 
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available: 
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available: 
DVDNAV, switched to title: 1

libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available: 
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available: 
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available: 
ID_SUBTITLE_ID=0
ID_AUDIO_ID=160

Too many video packets in the buffer: (4096 in 8253555 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
libdvdnav: Menu Languages available: 
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available: 
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available: 
DVDNAV, switched to title: 2

libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available: 
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available: 

Too many video packets in the buffer: (4096 in 8259550 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
libdvdnav: Language 'en' not found, using '' instead
libdvdnav: Menu Languages available: 
DVDNAV, switched to title: 2

ID_AUDIO_ID=1
VDec: vo config request - 352 x 288 (preferred colorspace: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.3333
VO: [directx] 352x288 => 384x288 Planar YV12

rvm
14th January 2009, 03:06
Well, it seems my support for dvd menus has finished for the moment. Currently mplayer has a lot of issues/limitations when using dvdnav, and I'm afraid I can't do anything else.

Some of the problems I found:

* it seems there's no way to know the current title that it's playing. MPlayer prints a line like this "DVDNAV, switched to title: 1" but unfortunately the title number that appears there may not match the title IDs that mplayer printed before (it may say "switched to title 2" but the actual title may be the 12th :( ). As smplayer doesn't know the title, restoring the previous position after a mplayer restart is impossible.
* when seeking the subtitles disappear.
* if the audio track is changed, when you return to the dvd menu the sound may be lost (while printing a lot of error messages "Too many video packets in the buffer").

mhj911
14th January 2009, 06:03
for mutil-Level dvdnav menu, mplayer often output info , such as "DVDNAV, switched to title: 2", and Pop-up same info on many occasions. Actually,mplayer still in dvdnav menu, title number is often wrong. for one title style,i can support it very good. after into menu,then it is difficult to decide mplayer's status. dvdnav support "switch_title" command, but don't output info about chapters:(
if dvdnav don't repeat output same info in the process of using the dvdnav menu, we can disassemble multi-titles to one title, then use dvdnav://+TID, mplayer will output all chapters info about this title. in this way, we can very good to support multi-titles dvd with dvdnav.
current mplayer version use endTime of chapter to describe length of chapter, previous mplayer version use startTime of chapter to describe length of chapter. it don't need to use totle time - lastChapterTime.

because have no a clear status, in order to retain the 'click video to pause' function, i also had to give up show dvdnav menu function first:(

rvm
12th March 2009, 19:09
SMPlayer 0.6.7 released:


Most important changes since 0.6.6:

* Added experimental (and uncomplete) support for dvd menus. Requires a mplayer build compiled with dvdnav support. Please read dvdmenus.txt to know how to enable it.
* Now loading an external subtitle file doesn't require to restart the mplayer process (except for idx/sub subtitles).
* (Playlist) When a file is added to the playlist, if it was already in the list, it's moved to the end of the list.
* Options for mplayer: finally spaces in arguments between quotes are handled properly.
* Added two options (in the audio and subtitle menus) to allow the user to enter the audio and subtitle delay (in milliseconds).
* (ASS subtitles) The outline and shadow options now accept values with decimals.
* (ASS subtitles) Possibility to change the color of the border and shadow.
* Now the default value for the "correct pts" option is auto.
* (Windows) Now the screensaver is allowed to turn on if the file is paused or it's an audio file.
* (Windows) The direct3d video output is now the default for Windows Vista.

Downloads:
http://smplayer.sourceforge.net/downloads.php

fastplayer
27th March 2009, 23:14
I've noticed that SMPlayer Portable created a bunch of reg keys under HKCU\Software\Trolltech. They belong to the Qt GUI library that SMP uses, I guess. Can this be suppressed?

rvm
28th March 2009, 03:25
I've looked at some of the Qt sources (qfiledialog.cpp, qcolordialog.cpp) and it seems there's no way to disable it :(

fastplayer
28th March 2009, 10:54
I've exported the registry key, maybe this can help narrowing down the files that are responsible for it:
http://www.mediafire.com/?dvtdxdofgzy

rvm
28th March 2009, 11:48
I'm afraid that file doesn't help, this is what I've got when I try to see it:

http://f.imagehost.org/t/0102/reg.jpg (http://f.imagehost.org/view/0102/reg)

fastplayer
28th March 2009, 11:55
I'm afraid that file doesn't help, this is what I've got when I try to see it:

http://f.imagehost.org/t/0102/reg.jpg (http://f.imagehost.org/view/0102/reg)
That's weird. Opens just fine here. Probably some encoding issue.
I'll just post the keys right here:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Trolltech]

[HKEY_CURRENT_USER\Software\Trolltech\OrganizationDefaults]

[HKEY_CURRENT_USER\Software\Trolltech\OrganizationDefaults\Qt Factory Cache 4.4]

[HKEY_CURRENT_USER\Software\Trolltech\OrganizationDefaults\Qt Factory Cache 4.4\com.trolltech.Qt.QImageIOHandlerFactoryInterface:]

[HKEY_CURRENT_USER\Software\Trolltech\OrganizationDefaults\Qt Factory Cache 4.4\com.trolltech.Qt.QImageIOHandlerFactoryInterface:\D:]

[HKEY_CURRENT_USER\Software\Trolltech\OrganizationDefaults\Qt Factory Cache 4.4\com.trolltech.Qt.QImageIOHandlerFactoryInterface:\D:\Apps]

[HKEY_CURRENT_USER\Software\Trolltech\OrganizationDefaults\Qt Factory Cache 4.4\com.trolltech.Qt.QImageIOHandlerFactoryInterface:\D:\Apps\Player]

[HKEY_CURRENT_USER\Software\Trolltech\OrganizationDefaults\Qt Factory Cache 4.4\com.trolltech.Qt.QImageIOHandlerFactoryInterface:\D:\Apps\Player\SMPlayer]

[HKEY_CURRENT_USER\Software\Trolltech\OrganizationDefaults\Qt Factory Cache 4.4\com.trolltech.Qt.QImageIOHandlerFactoryInterface:\D:\Apps\Player\SMPlayer\imageformats]
"qjpeg4.dll"=hex(7):32,00,30,00,30,00,38,00,2d,00,30,00,39,00,2d,00,31,00,31,\
00,54,00,31,00,39,00,3a,00,33,00,34,00,3a,00,35,00,30,00,00,00,6a,00,70,00,\
65,00,67,00,00,00,6a,00,70,00,67,00,00,00,00,00

[HKEY_CURRENT_USER\Software\Trolltech\OrganizationDefaults\Qt Plugin Cache 4.4.false]

[HKEY_CURRENT_USER\Software\Trolltech\OrganizationDefaults\Qt Plugin Cache 4.4.false\D:]

[HKEY_CURRENT_USER\Software\Trolltech\OrganizationDefaults\Qt Plugin Cache 4.4.false\D:\Apps]

[HKEY_CURRENT_USER\Software\Trolltech\OrganizationDefaults\Qt Plugin Cache 4.4.false\D:\Apps\Player]

[HKEY_CURRENT_USER\Software\Trolltech\OrganizationDefaults\Qt Plugin Cache 4.4.false\D:\Apps\Player\SMPlayer]

[HKEY_CURRENT_USER\Software\Trolltech\OrganizationDefaults\Qt Plugin Cache 4.4.false\D:\Apps\Player\SMPlayer\imageformats]
"qjpeg4.dll"=hex(7):34,00,30,00,34,00,30,00,32,00,00,00,30,00,00,00,57,00,69,\
00,6e,00,64,00,6f,00,77,00,73,00,20,00,6d,00,69,00,6e,00,67,00,77,00,20,00,\
72,00,65,00,6c,00,65,00,61,00,73,00,65,00,20,00,66,00,75,00,6c,00,6c,00,2d,\
00,63,00,6f,00,6e,00,66,00,69,00,67,00,00,00,32,00,30,00,30,00,38,00,2d,00,\
30,00,39,00,2d,00,31,00,31,00,54,00,31,00,39,00,3a,00,33,00,34,00,3a,00,35,\
00,30,00,00,00,00,00

rvm
28th March 2009, 12:04
I remembered that qfiledialog uses the windows native dialog. So what I said previously about it is wrong. It doesn't save anything to the registry (as far as I know).

According to the registry entries you pasted, the problem seems related to the plugin qjpeg4.dll. Delete that file (in the imageformats folder) and see if that solves the problem.

fastplayer
28th March 2009, 12:08
I remembered that qfiledialog uses the windows native dialog. So what I said previously about it is wrong. It doesn't save anything to the registry (as far as I know).

According to the registry entries you pasted, the problem seems related to the plugin qjpeg4.dll. Delete that file (in the imageformats folder) and see if that solves the problem.
Yep, this solved it. What is the file actually for?

rvm
28th March 2009, 12:11
Yep, this solved it. What is the file actually for?

Allows smplayer to read/write jpeg files. Currently only used for the video preview option. Anyway it could work without it, using png files instead.

fastplayer
28th March 2009, 12:16
Allows smplayer to read/write jpeg files. Currently only used for the video preview option. Anyway it could work without it, using png files instead.
Thanks for the quick response! :thanks:

Edit: Previews work just fine with PNGs like you mentioned. JPEG does not appear in the drop down menu.

Reimar
28th March 2009, 15:45
I'm afraid that file doesn't help, this is what I've got when I try to see it:

That file is in UCS-2/UTF-16 (thanks to the Windows developers for choosing the format of least convenience there - SCNR), the FF FE at the start is the byte-order marking.
It should work with vim, at least if the "fileencodings" variable contains "ucs-bom" and e.g. kate can display it when you set encoding to UCS-2 or UTF-16 manually.
EDIT: "cat Qt.reg" shows it in a quite readable way, too.

fastplayer
31st March 2009, 16:21
2 issues:
- If you play a video in a maximized window, and press the play button again after it has finished playing, the window will minimize itself back to the default size.
- Is it possible that the mouse button doesn't disappear when playing a video in a maximized window? If not, can you at least increase the time until the mouse disappears?

rvm
31st March 2009, 22:49
2 issues:
- If you play a video in a maximized window, and press the play button again after it has finished playing, the window will minimize itself back to the default size.

This happens if you have the option "Autoresize" set to "Whenever it's needed" (Preferences -> Interface). If you set to "Never" or "Only after loading a new video" it won't happen.

- Is it possible that the mouse button doesn't disappear when playing a video in a maximized window? If not, can you at least increase the time until the mouse disappears?

I guess I could increase the time. Or better, make it configurable.

fastplayer
1st April 2009, 07:56
This happens if you have the option "Autoresize" set to "Whenever it's needed" (Preferences -> Interface). If you set to "Never" or "Only after loading a new video" it won't happen.
Ouch, I missed that option :o
I guess I could increase the time. Or better, make it configurable.
:thanks:
The cursor even disappears when no video is loaded and when the window is not maximized which makes it even more uncommon...

By the way, have you taken a look at Kovensky's MPlayer builds (http://kovensky.project357.com/)?

avih
1st April 2009, 13:44
Feature request: toolbar button: toggle monitor aspect ratio.

My setup is dual screen (LCD monitor and Plasma display attached for films). Whenever I move the video window from one display to the other, I have to change the monitor aspect ratio because the plasma is not PAR 1:1 while the monitor is (I usually just change the video AR to fit because it's more accessible than display AR). Automatic toggle depending on the current display would, of course, be welcome (with option to define each monitor's AR), but toggle button (or even a menu checkbox like the SAA lib) would be probably easier to implement.

rvm
2nd April 2009, 10:31
The cursor even disappears when no video is loaded and when the window is not maximized which makes it even more uncommon...

In svn r2934 (ftp://ftp.berlios.de/pub/smplayer/windows/smplayer_update_svn_r2934.7z) the mouse cursor will only be hidden when playing.

By the way, have you taken a look at Kovensky's MPlayer builds (http://kovensky.project357.com/)?

I did, but it had the problem of creating the font cache every time. Although according to its site, the problem may be fixed now.

rvm
2nd April 2009, 10:32
Feature request: toolbar button: toggle monitor aspect ratio.

My setup is dual screen (LCD monitor and Plasma display attached for films). Whenever I move the video window from one display to the other, I have to change the monitor aspect ratio because the plasma is not PAR 1:1 while the monitor is (I usually just change the video AR to fit because it's more accessible than display AR). Automatic toggle depending on the current display would, of course, be welcome (with option to define each monitor's AR), but toggle button (or even a menu checkbox like the SAA lib) would be probably easier to implement.

I'll try.

fastplayer
2nd April 2009, 10:45
In svn r2934 (ftp://ftp.berlios.de/pub/smplayer/windows/smplayer_update_svn_r2934.7z) the mouse cursor will only be hidden when playing.
Appreciated! :thanks:
I get this error though when starting SMPlayer.exe:
http://f.imagehost.org/0060/New_Bitmap_Image.png
I did, but it had the problem of creating the font cache every time. Although according to its site, the problem may be fixed now.
Even with "-nofontconfig" as parameter?