View Full Version : SMPlayer - a new frontend for MPlayer
rvm
24th January 2007, 20:12
Hi!
I'm developing a new frontend for mplayer. It's multiplatform, it can run in windows and linux.
About SMPlayer
SMPlayer is a complete media player for Windows and Linux. It uses the award-winning MPlayer as playback engine which is capable of playing most video and audio formats (avi, mkv, wmv, mp4, mpeg...). It can also play and download Youtube videos.
One of the most interesting features of SMPlayer: it remembers the settings of all files you play. So you start to watch a movie but you have to leave... don't worry, when you open that movie again it will resume at the same point you left it, and with the same settings: audio track, subtitles, volume...
Some other interesting features:
Complete preferences dialog, where you can change the key shortcuts, colors and fonts of the subtitles, and many more.
Filters. Many video and audio filters are available: deinterlace, postprocessing, denoise... and even a karaoke filter (voice removal).
Seeking by mouse wheel. You can use your mouse wheel to go forward or backward in the video. The mouse buttons can also be customized.
Video equalizer, allows you to adjust the brightness, contrast, hue, saturation and gamma of the video image.
Multiple speed playback. You can play at 2X, 4X... and even in slow motion.
Audio and subtitles delay adjustment. Allows you to sync audio and subtitles.
Advanced options, such as selecting a demuxer or video & audio codecs.
Possibility to search and download subtitles from opensubtitles.org.
It can play Youtube videos. A Youtube browser is included, which allows to easily download Youtube videos too.
Translations: currently SMPlayer is translated into more than 30 languages, including Spanish, German, French, Italian, Russian, Chinese, Japanese....
Possibility to change the style and icon set of the interface.
Free and opensource. SMPlayer is under the GPL license.
Homepage:
http://smplayer.sourceforge.net
Sirber
24th January 2007, 20:19
cool! trying!
can I disable the "remembering for every file" and have global settings?
rvm
24th January 2007, 20:27
No at this moment, but maybe I will add an option to disable it.
Sirber
24th January 2007, 20:30
Seems a good start!
Could be cool to add:
* Make bottom GUI smaller (buttons and bars)
* Crop to ratio X
* Deinterlace / IVTC
Bugs:
* Scroll bar doesn't work
Thanks!
pinkie_1
24th January 2007, 21:58
Nice initiative. :)
Could you add key bindings for mplayer/smplayer logs ?
rvm
25th January 2007, 02:52
* Deinterlace / IVTC
It has some deinterlace filters, but I'm afraid I don't know what IVTC is.
Bugs:
* Scroll bar doesn't work
Do you mean the slider under the video area?
http://www.uploadfile.info/uploads/8849f3b45f.jpg
It works for me. Well, currently it doesn't work if you try to move it using keys or the mouse wheel, but it works if you drag it.
It also doesn't work well when playing a dvd, but this is a problem of mplayer, which doesn't report the movie absolute current time, so the slider will always be very near of the beginning.
Could you add key bindings for mplayer/smplayer logs ?
Done in tonight release (070124-11).
Sirber
25th January 2007, 02:55
ivtc[=1]
Experimental ’stateless’ inverse telecine filter. Rather than trying to lock on to a pattern like the detc filter does, ivtc makes its decisions independently for each frame. This will give much better results for material that has undergone heavy editing after telecine was applied, but as a result it is not as forgiving of noisy input, for example TV capture. The optional parameter (ivtc=1) corresponds to the dr=1 option for the detc filter, and should be used with MEncoder but not with MPlayer. As with detc, you must specify the correct output framerate (−ofps 24000/1001) when using MEncoder. Further development on ivtc has stopped, as the pullup and filmdint filters appear to be much more accurate.
pullup[=jl:jr:jt:jb:sb:mp]
Third-generation pulldown reversal (inverse telecine) filter, capable of handling mixed hard-telecine, 24000/1001 fps progressive, and 30000/1001 fps progressive content. The pullup filter is designed to be much more robust than detc or ivtc, by taking advantage of future context in making its decisions. Like ivtc, pullup is stateless in the sense that it does not lock onto a pattern to follow, but it instead looks forward to the following fields in order to identify matches and rebuild progressive frames. It is still under development, but believed to be quite accurate. The jl, jr, jt, and jb options set the amount of "junk" to ignore at the left, right, top, and bottom of the image, respectively. Left/right are in units of 8 pixels, while top/bottom are in units of 2 lines. The default is 8 pixels on each side. Setting the sb (strict breaks) option to 1 will reduce the chances of pullup generating an occasional mismatched frame, but it may also cause an excessive number of frames to be dropped during high motion sequences. Conversely, setting it to -1 will make pullup match fields more easily. This may help processing of video where there is slight blurring between the fields, but may also cause there to be interlaced frames in the output. The mp (metric plane) option may be set to 1 or 2 to use a chroma plane instead of the luma plane for doing pullup’s computations. This may improve accuracy on very clean source material, but more likely will decrease accuracy, especially if there is chroma noise (rainbow effect) or any grayscale video. The main purpose of setting mp to a chroma plane is to reduce CPU load and make pullup usable in realtime on slow machines.
NOTE: Always follow pullup with the softskip filter when encoding to ensure that pullup is able to see each frame. Failure to do so will lead to incorrect output and will usually crash, due to design limitations in the codec/filter layer.
filmdint[=options]
Inverse telecine filter, similar to the pullup filter above. It is designed to handle any pulldown pattern, including mixed soft and hard telecine and limited support for movies that are slowed down or sped up from their original framerate for TV. Only the luma plane is used to find the frame breaks. If a field has no match, it is deinterlaced with simple linear approximation. If the source is MPEG-2, this must be the first filter to allow access to the field-flags set by the MPEG-2 decoder. Depending on the source MPEG, you may be fine ignoring this advice, as long as you do not see lots of "Bottom-first field" warnings. With no options it does normal inverse telecine, and should be used together with mencoder −fps 30000/1001 −ofps 24000/1001. When this filter is used with mplayer, it will result in an uneven framerate during playback, but it is still generally better than using pp=lb or no deinterlacing at all. Multiple options can be specified separated by /.
Yes, the slider :) Didn't work for me on win32 on a 23 sec source.
Sirber
25th January 2007, 02:58
oh, some PP could be cool too :)
thanks! :D
pinkie_1
25th January 2007, 07:18
oh, some PP could be cool
Well, it could be a neat feature. But it should be a smart implementation of PP...
Something like X user-selectable levels, each one corresponding to one major type of material (grainy/denoised/with blocking etc. etc.). And it should rely not only on -vf pp, but also on noise/hqdn3d, unsharp/smartblur.
Sirber
25th January 2007, 13:30
PP is not denoise, sharp nor blur, but freeking blocks removal :p
rvm
26th January 2007, 00:37
I've just uploaded the source code of version 070125-11 (binary for windows, tomorrow), which adds several new video filters:
* denoise (normal) = hqdn3d
* denoise (soft) = hqdn3d=2:1:2 (I find the default hqdn3d too strong)
* deblock = pp=vb/hb
* dering = pp=dr (in fact I don't really know what this filter does, I can't see any difference in the image)
* Add noise, which adds a little bit of noise to the image. Could be useful to "cover" the blocks or after a denoise filter, so the image won't be so extremely clean.
I didn't know about the unsharp and smartblur filters. Maybe I'll take a look later.
I didn't add an automatic postprocessing filter, first of all because I've never used it so I don't know which are the best parameters for it (-vf pp -autoq 6 is enough?). And second because with the above provided video filters the user can use the appropriate filters according to the video image.
About the ivtc filter... this is for ntsc videos, isn't it? First of all I can't test it, I don't have any. Anyway manpage says about using it along with -ofps, isn't that only for mencoder?
Ah, I forgot. Yesterday release added the possibility to use the mouse wheel to move through the video. I find this feature very interesting.
Sirber
26th January 2007, 01:07
there are ivtc filters (for NTSC) that don't require FPS. The last one in the list IIRC.
rvm
30th January 2007, 01:33
Version 070129-2 should fix the problems with the time slider. Now besides dragging it, it should work clicking at any point of the bar. And now it will display in the status bar the time you would go while dragging it.
Source code is already available for this version, but the binary for windows won't be available until tomorrow.
I also made some screenshots of smplayer. You can see them here (http://smplayer.sourceforge.net/screenshots_en.php).
HeadBangeR77
30th January 2007, 02:32
Version 070129-2 should fix the problems with the time slider. Now besides dragging it, it should work clicking at any point of the bar. And now it will display in the status bar the time you would go while dragging it.
Source code is already available for this version, but the binary for windows won't be available until tomorrow.
I also made some screenshots of smplayer. You can see them here (http://smplayer.sourceforge.net/screenshots_en.php).
You've drawn my attention :) I usually stick to MPC and a few other players, but I decided to give mplayer a try some time ago. Although I liked its functionality, the GUI just killed me. :D (sorry, Lord Mulder, it's just my personal opinion)
Hope to test your solution within the next couple of days.
Good luck with your projects!
Henrikx
30th January 2007, 11:54
@rvm
Translations?
Is it possible to translate?
If yes, how?
rvm
30th January 2007, 17:03
Maybe it's a little bit early to make translations, this is still an alpha version, current texts may vary, new texts could be added, and there are releases almost every day. So it could be difficult to keep a translation up to date.
Said that, yes, translations are possible and in fact they should be very easy to do.
You need Linguist, which is a tool included in the Qt toolkit (I explain how to get it in smplayer web page).
Here is a screenshot:
http://img442.imageshack.us/img442/56/linguistjc9.th.jpg (http://img442.imageshack.us/my.php?image=linguistjc9.jpg)
To translate to French for example, you have to create a smplayer_fr.ts file (you can use the smplayer_es.ts included in the sources as a base, or in other words: open smplayer_es.ts in Linguist and save it as smplayer_fr.ts). Open that file in Linguist and translate all messages. Now you would send that file to me and I would create a smplayer_fr.qm from it, which would be automatically loaded by smplayer if the desktop language is set to French.
Henrikx
30th January 2007, 17:59
@rvm
Thank you for the answer.
You are right and it is perhaps still too early.
For the German translation you can include me in your plans.
Let me know when it starts.
pinkie_1
31st January 2007, 00:35
Some filtering suggestions to think about :
deblock
-vf-add pp=ha:16:39/va (light)
-vf-add pp=ha:48:32/va (moderate)
-vf-add pp=ha:96:8/va (strong)
Might also be useful a switch for less powerful systems...
Something like hb:a/vb:a and the same flatness/threshold values like above.
dering
I'm not very happy about it. IMO it shouldn't be used in a default configuration.
autolevels
That luma stretch is a valuable asset sometimes. Might be worth including as an optional switch.
noise
-vf-add noise=8hp:2hp
Pretty conservative values. Some people would rather go for higher ones.
One special case worth mentioning : movies/videos (the latter being much more frequent) with high temporal complexity. I'd suggest using
a. higher values, and
b. uah instead of hp.
denoise
-vf-add hqdn3d=2:2:3:2 (light)
-vf-add hqdn3d=4:3:5:3 (moderate)
scale
-sws 2 (used as default)
-sws 9 (user-selectable)
-vf-add scale=width:-2::0:::::1
Special case : interlaced content. Toggle scale=width:-2:1:0:::::1.
(de)interlace
User selectable toggles : preserve interlace (and this should automatically be linked with the corresponding -vf scale switch) or deinterlace (I'd suggest pp=ci/l5).
rvm
6th February 2007, 02:31
I find very interesting your notes about the filters. I keep it for later.
But right now I don't want to add more filters. Reason: I have planned something much better for filters. Let's say for now that the user will even be able to create their own filters.
That's why I don't want to add more filters now, I will have to remove that stuff later and rewrite again.
I prefer to focus in develop more basic things, like the playlist or bookmarks.
By the way, I don't have very clear how to do it. At first I thought to do a playlist like xmms' but I've seen that vlc implements both the playlist and bookmarks as one thing.
What would you suggest?
And finally announce that now the binaries for windows of smplayer are not a zip anymore, but a exe with installer.
There is one package which includes a copy of mplayer, and another one without mplayer. And I also uploaded 2 versions of mplayer (stable and svn) so the user could choose which one to use.
The svn version works very good with ASS subtitles. Look screenshot:
http://img249.imageshack.us/img249/5697/smplayerasssubs2yj6.th.jpg (http://img249.imageshack.us/my.php?image=smplayerasssubs2yj6.jpg)
Download page:
http://sourceforge.net/project/showfiles.php?group_id=185512
pinkie_1
6th February 2007, 07:46
develop more basic things, like the playlist or bookmarks.
On win32 it sounds like an easy deal. Use a .ini with fields like :
--- last played back file
--- bookmark(s)
You could also implement an additional field to keep user-settings for any of the files defined earlier.
BTW, have a look at MPF (@ mpf.dzm.hu).
To me it seems to be a very good starting point for a GUI. :)
Henrikx
8th February 2007, 16:31
@rvm
Question to the translation ....
What is Yadif? (Gui)
rvm
8th February 2007, 20:28
According to mplayer manpage, Yadif means "Yet another deinterlacing filter"
Henrikx
9th February 2007, 14:35
@rvm
First pictures of the German version..
http://forum.gleitz.info/attachment.php?attachmentid=85780&d=1171027895
http://forum.gleitz.info/attachment.php?attachmentid=85781&d=1171027905
Until Tuesday, I am finished with this version.
:D
smok3
9th February 2007, 16:26
playlists should be like the one in foobar imho - tabbed interface - + an option that would kill/delete all playlists on exit (also i would prefer separate window for playlist management).
rvm
9th February 2007, 17:34
I've finally decided to make a simple playlist, more or less like the one in xmms.
Here's a preview:
http://img201.imageshack.us/img201/6701/playlist1tc8.th.jpg (http://img201.imageshack.us/my.php?image=playlist1tc8.jpg)
Currently it has only a very limited functionality. It can load and save m3u playlists but there are no options yet to add items to the playlist... (so it's not very useful)
I have also experimented putting the playlist in a dock area inside the main window, but it has some problems that I have to fix:
http://img185.imageshack.us/img185/6/playlist2vd1.th.jpg (http://img185.imageshack.us/my.php?image=playlist2vd1.jpg)
Henrikx
10th February 2007, 10:21
@rvm
Chapters in MKV didn't work .
breez
10th February 2007, 11:10
This might not be related specifically to this GUI, but I can never get embedded fonts to work. How is the support in mplayer?
Henrikx
10th February 2007, 13:32
@breez
Only with -chapter 4,- chapter 5,etc...
http://img226.imageshack.us/img226/6229/83598900sw8.th.png (http://img226.imageshack.us/my.php?image=83598900sw8.png)
Henrikx
10th February 2007, 17:48
@rvm
German Translation smplayer 070204-12 ;)
smplayer_de.ts
Edit : http://www.mytempdir.com/1211238
rvm
10th February 2007, 18:16
Got it.
This is how smplayer looks like in linux in German:
http://img164.imageshack.us/img164/7153/smplayerde2se7.th.jpg (http://img164.imageshack.us/my.php?image=smplayerde2se7.jpg)
http://img251.imageshack.us/img251/4731/smplayerde1dd6.th.jpg (http://img251.imageshack.us/my.php?image=smplayerde1dd6.jpg)
The translation will be added in the next release.
About the mkv chapters, can anyone point me to a mkv file with chapters? It seems that the sample mkv files that I have don't have chapters.
Edit: I found one: http://www.matroska.org/samples/matrix/Matrix.Reloaded.Trailer-RV9-Karl640x432_HE_AAC_subtitled_chapters.mkv
Henrikx
10th February 2007, 19:57
I create a short MKV "Movie" with Chapters. 46 Sec.
I generated the "Movie" with Raytracing-Software...long time ago.
Nothing professional only joke.
Sound is from my Guitar and some Musicsoftware.
So,itīs legal and free.
x264/Ogg-Vorbis/MkV with Chapters (MeGUI Profile :PD-PSP)
Muxed with MKVmerge
Its a Space "Movie" :
Titel : DOOM9 IN SPACE
http://www.mytempdir.com/1211396
Have Fun !
rvm
10th February 2007, 20:10
I'm afraid mplayer doesn't print any info about mkv chapters with -identify. But it does with the option -v. Maybe I can get the info from there.
rvm
10th February 2007, 23:20
I've just uploaded a binary update (version 0.1.3) for windows, which includes the German translation and the playlist (not complete yet):
http://smplayer.sourceforge.net/
Henrikx
11th February 2007, 16:46
@rvm
Update German Translation smplayer (version 0.1.3)
smplayer_de with Playlist.7z
http://www.mytempdir.com/1212313
rvm
11th February 2007, 19:56
Cannot get it: "Password protected directory"
Henrikx
11th February 2007, 20:43
@rvm
Password protected directory
Why ?
Here again : smplayer_de.ts
http://www.mytempdir.com/1212599
fixed
12th February 2007, 05:56
Can you add hotkey manager into frontend?
SealTooGreat
13th February 2007, 15:32
gl/gl2 is not working!
Could you add list options for subtitles encoding so it can be choosable.
*edit*
gl/gl2 is only working with both "run mplayer in its own window" & "Use SSA/ASS library for subtitle rendering" checked...it's very freakish combination..lol...Is this only way?!
I can't load idx/sub subtitles.
I can't load movies by drag'n'drop to smplayer window.
Smplayer can't see chapters in my MKV files.
rvm
13th February 2007, 16:24
gl/gl2 is only working with "run mplayer in its own window" checked.....Is this only way?!
Yes, it seems that gl/gl2 it's not working well when the mplayer window is embedded in another application.
I can't load idx/sub subtitles.
*.sub files should work. About idx... where can I get a sample?
I can't load movies by drag'n'drop to smplayer window.
Not implemented yet.
Smplayer can't see chapters in my MKV files.
Support for mkv chapters was implemented yesterday (version 0.1.7)
Can you add hotkey manager into frontend?
Yes, it's planned that the key shortcuts can be configured by the user.
SealTooGreat
13th February 2007, 17:07
I've downloaded smplayer today...it's 07024-12 version! Is "version 0.1.7" new numeration.
Yes, it seems that gl/gl2 it's not working well when the mplayer window is embedded in another application.
OK, I'm familiar with that, but both "run mplayer in its own window" & "Use SSA/ASS library for subtitle rendering" have to be checked in order to get workable gl/gl2 output.
*.sub files should work. About idx... where can I get a sample?
idx+sub(are not functional without each other) are DVD subtitles. Mplayer CLI, by Celtic Druid, loads it by default.
Can not manage smplayer(as a GUI) to work correctly with mplayer by Celtic Druid 2-Feb-2007 build.
Originally Posted by SealTooGreat View Post
I can't load movies by drag'n'drop to smplayer window.
Not implemented yet.
Make it fast...I need it more than bread and butter :D
Could you add subtitles encoding otions list(i.e. latin1, cp1250, cp1251, iso-8859-2 ... etc) so that everyone can simple choose the one they need it
rvm
13th February 2007, 17:24
I've downloaded smplayer today...it's 07024-12 version! Is "version 0.1.7" new numeration.
I upload quite often binary updates for windows. The latest is 0.1.3.
http://smplayer.sourceforge.net/download/smplayer_update_0.1.3.zip
It's a small zip containing only the smplayer executable and translations.
I couldn't upload the 0.1.7 update because the sourceforge server is down.
Edit: Now you can get the 0.1.7 update from here (http://www.escomposlinux.org/rvm/temp/SMP/smplayer_update_0.1.7.zip).
idx+sub(are not functional without each other) are DVD subtitles. Mplayer CLI, by Celtic Druid, loads it by default.
Where can I get a sample?
Can not manage smplayer(as a GUI) to work correctly with mplayer by Celtic Druid 2-Feb-2007 build.
Try disabling the ASS subtitles. It seems that those builds crash with the -ass options.
SealTooGreat
13th February 2007, 19:23
Where can I get a sample?
You can get it from HERE (http://depositfiles.com/files/620352).
Under "free" choose "download"...another window will popup and wait 40sec in that second window. Enter the code and press [Download the file]
*edit*
With 0.1.7 build, idx/sub works OK. Same is for MKV chapters.
Strange, your player loads .SUB, but MPC or FFDShow loads .IDX.
Thanks
rvm
13th February 2007, 20:07
Ok, thank you.
I'll tried to add support for these files.
About the drag and drop, I've just implement it :)
It will be in version 0.1.8.
*edit*
With 0.1.7 build, idx/sub works OK. Same is for MKV chapters.
Thanks
It subtitles work maybe because mplayer autoloads, but that's completely accidental.
SealTooGreat
13th February 2007, 20:27
It subtitles work maybe because mplayer autoloads, but that's completely accidental.
With autoloads, work fine, but manually I can load IDX/SUB by choosing .SUB which is incorrect way. MPC and FFDShow do it properly by choosing .IDX.
About the drag and drop, I've just implement it :)
It will be in version 0.1.8.
:thanks:
Henrikx
13th February 2007, 20:47
Update German ....0.1.7
smplayer_de_0..1.7.7z
http://www.mytempdir.com/1215375
Great Work rvm !!
rvm
14th February 2007, 00:55
With autoloads, work fine, but manually I can load IDX/SUB by choosing .SUB which is incorrect way. MPC and FFDShow do it properly by choosing .IDX.
Yes, these subtitles require that I use another option (-vobsub) instead of -sub. That's why the idx/sub are not working right now.
About version 0.1.8. Sourceforge is still down. You can get the windows update here (http://www.escomposlinux.org/rvm/temp/SMP/smplayer_update_0.1.8.zip).
Now the main window accepts drops. If you drag one file it will be played. If you drag more than one, all of them will be added to the playlist and the first one will start playing.
Note: the playlist window doesn't accept drops yet.
I also added the Henrikx's updated translation.
Edit: version 0.1.9 will be able to load sub/idx subtitles. You'll have to select the idx file. I've been test it and it seems it's working:
http://img242.imageshack.us/img242/6674/smplayersubidxtm4.th.jpg (http://img242.imageshack.us/my.php?image=smplayersubidxtm4.jpg)
BTW: This idx/sub files contains only subtitles for one language, or can they contain more than one? (in that case we're in trouble...)
SealTooGreat
14th February 2007, 07:10
Confirm..drug'n'drop is working,now....both mentioned cases.
BTW: This idx/sub files contains only subtitles for one language, or can they contain more than one? (in that case we're in trouble...)
Yes, thay can contain more than one language....In this case I've been using "Cycle Subtitle Languages" :) in GMPlayer..very usefull options....but I'm not sure about commandline/shortcut switche for this...I think taster "V" can perform this command --> disable/enable/cycle subtitle(NOTE that 'cycle' pop up when there's more than one language)
Anyway, thanks for the updates.
*edit*
I think I was wrong about "V" taster.
HERE (http://depositfiles.com/files/621492) is a full working multi(4)-language IDX/SUB. :)
Gusar
14th February 2007, 11:20
By default, 'j' is used in mplayer to cycle between subtitles. 'v' turns subtitles on/off.
EpheMeroN
14th February 2007, 12:20
"All testing is being done on a PIII 700mhz system with 256mb ram using an ATI All-In-Wonder 128 Pro video card running on Windows XP SP2 Professional."
I have smplayer window maxmized while I goto open another video file. When next video file starts to play the window size goes back to default, but now you have to click the maximize button twice to get it to fill screen again instead of once. Also, when you click on maximize the first time, the window size changes yet again and moves to a different position on screen. If this confused you, I can record a video of it in action.
Onto the slider bar... is it possible to have better precision with this? When I click on the slider in hopes to have the video go to that specific part, it jumps either way left or way right completely missing where I want it to be.
+ and - on keypad makes 200ms increment adjustments for a/v sync. How can I have it do 100ms increments?
If a video is playing and I go into smplayer's preferences and enable the "Use software volume control" option it freezes and crashes smplayer/mplayer.
Font question for subtitles: Can I simply point the config to my Arial.ttf file?
Under Video options: Would be great to have a PAL>NTSC option available to do 25fps to 23.976fps video.
rvm
14th February 2007, 17:20
I have smplayer window maxmized while I goto open another video file. When next video file starts to play the window size goes back to default, but now you have to click the maximize button twice to get it to fill screen again instead of once. Also, when you click on maximize the first time, the window size changes yet again and moves to a different position on screen. If this confused you, I can record a video of it in action.
Go to Options->Preferences->Misc and on "Main window resize method" select "never".
Onto the slider bar... is it possible to have better precision with this? When I click on the slider in hopes to have the video go to that specific part, it jumps either way left or way right completely missing where I want it to be.
That seems to be the normal behavior of the Qt sliders. If you try you will see that the volume slider does the same.
+ and - on keypad makes 200ms increment adjustments for a/v sync. How can I have it do 100ms increments?
Yes, it's a bug. I'll fix it.
If a video is playing and I go into smplayer's preferences and enable the "Use software volume control" option it freezes and crashes smplayer/mplayer.
It doesn't happen to me. Can you try with a different binary of mplayer?
Font question for subtitles: Can I simply point the config to my Arial.ttf file?
In Options->Preferences->Subtitles you can select any ttf you want.
rvm
15th February 2007, 02:49
Update for windows: smplayer_update_0.1.9.zip (http://www.escomposlinux.org/rvm/temp/SMP/smplayer_update_0.1.9.zip)
This version should be able to load idx/sub subtitles.
Meanwhile I've been developing for version 0.1.11 something that I think it could be very interesting.
There are still a lot of options (filters and so on) missing in smplayer. You can pass options to mplayer in the preferences dialog, that allow you to do things that smplayer can't do right now. But there's a problem, those options are global. If you for example add there a crop filter, that filter will try to be applied to all videos you open.
To fix that problem, now you can set additional options for mplayer that will only be used for the current file. That options will be saved, so they'll be used when you open the file again.
And also I've added the possibility of choosing an alternative demuxer, audio codec and video codec.
Tomorrow I will compile this version and upload a binary for windows.
Meanwhile I'll show you some screenshots, so you can get a better idea of what I'm trying to explain:
http://img152.imageshack.us/img152/1857/smplayeradvanced1er5.th.jpg (http://img152.imageshack.us/my.php?image=smplayeradvanced1er5.jpg) http://img152.imageshack.us/img152/6416/smplayeradvanced2gr0.th.jpg (http://img152.imageshack.us/my.php?image=smplayeradvanced2gr0.jpg) http://img166.imageshack.us/img166/6518/smplayeradvanced3pt0.th.jpg (http://img166.imageshack.us/my.php?image=smplayeradvanced3pt0.jpg)
rvm
15th February 2007, 19:46
The sourceforge shell server is still down, so I can't update the web page...
Here you can get the binary update for windows: smplayer_update_0.1.11.zip (http://www.escomposlinux.org/rvm/temp/SMP/smplayer_update_0.1.11.zip)
The source code of version 0.1.12: smplayer-0.1.12.tar.gz (http://www.escomposlinux.org/rvm/temp/SMP/smplayer-0.1.12.tar.gz)
Changes in 0.1.12:
* Added a reset button in demuxer / video & audio codec selection. Clicking that button will select the original option. Useful if you don't remember which one was it.
* Changes in fullscreen mode. Now fullscreen is a global setting. This allows to view all videos in the playlist in fullscreen mode, without switching to window mode everytime a video finished.
* Also added in the preferences a new option: "Start videos in fullscreen". If checked all videos you open will be played in fullscreen.
Henrikx
15th February 2007, 21:59
@rvm
PM in your Forum
German Translation 0.1.11
http://www.mytempdir.com/1218070
Henrikx
15th February 2007, 22:24
German Translation smplayer 0.1.12
smplayer_de_0.1.12.7z
http://www.mytempdir.com/1218105
rvm
19th February 2007, 20:07
I've just upload the binary update for windows: smplayer_update_0.1.17.zip (http://www.escomposlinux.org/rvm/temp/SMP/smplayer_update_0.1.17.zip)
In this version I have added a video equalizer, it's a little bit ugly right now but I expect to improve it.
http://img258.imageshack.us/img258/8633/equalizerlj7.th.jpg (http://img258.imageshack.us/my.php?image=equalizerlj7.jpg)
So I removed the menu options to change contrast, brightness and so on (but of course key shortcuts still work).
In version 0.1.18 the shuffle button in playlist should work. I will compile this version in windows tonight, and I wish it doesn't make me problems, because I had to use non-Qt functions...
rvm
20th February 2007, 19:32
Version 0.1.18 available for windows: smplayer_update_0.1.18.zip (http://www.escomposlinux.org/rvm/temp/SMP/smplayer_update_0.1.18.zip)
In this version I've made some improvements on the playlist. Now the shuffle button should work.
This is exactly how it works (or should): if shuffle is on, items in the playlist will be played randomly. After each item is played a green check mark will appear, so the user (and the program) know which files have been played and which ones are left.
The next item button will choose a random file too, but the previous button will simply play the file above the current one.
When all files have been played, all the check marks are deleted. If the repeat button is on, then it will start to play again a random file.
Another improvement is that now the playlist saves some settings into the configuration file, like the size of the window.
SealTooGreat
22nd February 2007, 04:25
Personally i've been using different audio settings for movies(video&audio) and audio only files. Is it possible to implement this extra feature, for example, if i load audio only file, smlpayer would automatically recognize and apply audio settings for audio only file, but for movies it would apply audio settings for the movies.
BTW link for v0.1.18 doesn't seem to work.
rvm
22nd February 2007, 17:08
Edit: smplayer_update_0.1.20.zip (http://www.escomposlinux.org/rvm/temp/SMP/smplayer_update_0.1.20.zip)
The changelog for this version:
Version 0.1.19
* In playlist, the Add->Files and Add->Directory update the last directory used for playlist.
* Added some icons in Preferences dialog.
* Added icons for playlist's repeat & shuffle buttons (they are ugly: I did them myself...)
* Added two new buttons in playlist: up and down. You can use them to move items up and down in the list.
Changelog for version 0.1.20 (I'm compiling it right now in windows):
Version 0.1.20
* Now if the directory for screenshots is empty, the option -vf-add screenshot will not be passed to mplayer. This lets smplayer to work with old versions of mplayer which don't have that filter.
* More improvements in the playlist: added a play button (will play the selected item). Added a popup menu (right click), with 3 options: play, remove selected and edit. The last option lets you edit the name that will be shown in the playlist for the selected file.
With this, I think the playlist is almost finished.
rvm
23rd February 2007, 01:55
New full packages for smplayer 0.2.0, with installer, are available:
You can get them here (http://sourceforge.net/project/showfiles.php?group_id=185512).
The packages available are the following:
smplayer-0.2.0.tar.gz The source code.
smplayer_0.2.0_full_setup.exe The full package for Windows. Includes everything needed: smplayer.exe, shared libraries and a copy of mplayer. This time the version of mplayer is svn-r21703, taken from here (http://www.cccp-project.net/smf/index.php?topic=811.0) (I tested a little bit and it seems very good. It has support for SSA/ASS subtitles and even for fontconfig). The size of this package is about 9 MB.
smplayer_0.2.0_without_mplayer_setup.exe. Same as before but without mplayer. It's about 4 MB.
And additionally I've made a package with installer of mplayer svn-r21703: mplayer-svn-r21703-cccp_setup.exe. Useful if you want to use mplayer alone or with another program.
If you find any problem with the installation of any of these packages, please let me know.
Tomorrow I'll upload a src.rpm and a rpm for linux.
Henrikx
3rd March 2007, 17:56
03.03.2007
smplayer_update_0.2.10 Windows/Linux
http://smplayer.sourceforge.net/download_en.php
smplayer 0.2.11 already available for windows, here (http://smplayer.sourceforge.net/download_en.php)
Main changes in the latest releases:
Version 0.2.11
* Some fixes in the new code for fullscreen. Now (at least in Windows) changing to fullscreen mode should be very smooth (no blinks). Compared to other programs, like vlc or mpui, I can say that smplayer gives the best switch from window mode to fullscreen mode. No blinks at all, no strange things visible for an instant.
* New info window (Options->View info).
http://www.uploadfile.info/uploads/51d7997554.jpg
Version 0.2.10
* Added a "compact mode". In this mode, the status bar and the control widget are hidden.
Version 0.2.6
* Added the postprocessing filter (-vf pp) with autoq. The autoq value can be changed in Preferences->Performance. By default: 6 (the highest). The postprocessing filter can be selected in Video->Filters->Postprocessing. This filter may "improve" the video quality.
Version 0.2.4
* Replaced the video equalizer with a better looking one.
http://www.uploadfile.info/uploads/8ca824b899.jpg
Netuser
3rd March 2007, 21:30
Waoo it seems cool, let me try it :D
Netuser
3rd March 2007, 21:48
I have 2 things to say :
-On vista it disable the Aero Mode :( : can you add option to keep aero ? liek in MPC if you choose in Playback Output option Default or VMR 9. It keep Aero ;)
-Also will be nice to make progress bar to appear in Fullscreen when mouse go down like in MPC and WMP.
A big thumb up fo ru dude , you are doing a great work for us :)
-On vista it disable the Aero Mode :( : can you add option to keep aero ? liek in MPC if you choose in Playback Output option Default or VMR 9. It keep Aero ;)
I don't have Window Vista and I don't even know what Aero Mode is (well, I've just read about it in the Wikipedia).
Searching in mplayer lists, this seems to be a problem of mplayer when using directx on Vista.
http://thread.gmane.org/gmane.comp.video.mplayer.cygwin/2430
-Also will be nice to make progress bar to appear in Fullscreen when mouse go down like in MPC and WMP.
Yes, I think this can be done.
HeadBangeR77
5th March 2007, 00:47
With all due respect to Lord Mulder's GUI for MPlayer, your application has won my heart. :)
Thanks very much and keep up the good work you're doing!
sheppaul
6th March 2007, 16:27
Aero seems to be using overlay mixer by default. That's the problem.
BTW, smplayer looks promising. ;)
Netuser
7th March 2007, 13:27
Kmplayer use Mplayer also no ? and it keeps Aero. May be you should look in it.
KMPlayer, according to what it says here (http://www.kmplayer.com/forums/showthread.php?t=141) does not use mplayer:
To make a long story short, The KMPlayer has its own developing history since 2001. KMP was written by delphi from scratch and had nothing to do with MPlayer or etc.
BTW, could you test if using gl or gl2 as output driver also disables Aero? (yes, I know gl/gl2 have other problems... just to test it)
Netuser
8th March 2007, 13:25
I will check it tonght. Just ot save time whne i will be home where is that option to activate ?
Options->Preferences->General and as video output driver select gl or gl2 instead of directx.
Right now gl/gl2 has the problem that the image gets corrupt when the window is resized.
smok3
8th March 2007, 20:48
http://downloads.sourceforge.net/ seems to be down, any mirrors? (i got the update, but not the main thingy)
http://superb-east.dl.sourceforge.net/sourceforge/smplayer/smplayer_0.2.0_full_setup.exe
http://easynews.dl.sourceforge.net/sourceforge/smplayer/smplayer_0.2.0_full_setup.exe
http://download.freewarefiles.com/files/smplayer_0.2.0_full_setup.exe
Delerue
9th March 2007, 09:05
Maaaann...! Pretty good job. I have to agree with HeadBangeR77: your work is one of the best.
I found two bugs (or unfinished things; last version 0.2.15): FLV search is broken and WMV9 videos can't change the audio track (tested with Adrenaline Rush).
Two things that aren't good: Every change in the GUI preferences makes the video and audio blink/jump; And HD videos have small subtitles (VobSub engine corrects this problem).
That's it.
Keep going! ;)
I found two bugs (or unfinished things; last version 0.2.15): FLV search is broken
Yes, I'm afraid seeking in flv videos doesn't work. But this is a mplayer issue.
and WMV9 videos can't change the audio track (tested with Adrenaline Rush).
I don't have any wmv with multiple audio tracks to test it, but mplayer doc says that audio switching only works with mpeg and matroshka (actually it also works with avi).
You may try to stop the video and play again. At least this works with ogm videos.
Two things that aren't good: Every change in the GUI preferences makes the video and audio blink/jump;
Unfortunately most of the changes require to stop the mplayer process and start it again (with new options).
And HD videos have small subtitles (VobSub engine corrects this problem).
I've just test it right now on linux and it seems good to me:
http://img168.imageshack.us/img168/157/hdyz3.th.jpg (http://img168.imageshack.us/my.php?image=hdyz3.jpg)
I'll test it later on Windows. But you can play with subtitle's size options in preferences.
Delerue
9th March 2007, 19:30
Yes, I'm afraid seeking in flv videos doesn't work. But this is a mplayer issue.
Well, MPUI can seek pretty well.
You may try to stop the video and play again. At least this works with ogm videos.
Yeah! Works stopping. But unfortunately, 'stop' function likes to freeze SMplayer (MPlayer still running...). Drang and drop videos using stop or not freeze sometimes too. :(
Unfortunately most of the changes require to stop the mplayer process and start it again (with new options).
Hmmmm... I told that because FFDShow plugins don't need to stop and play when we change something. But, yeah, VLC and MPUI need.
I've just test it right now on linux and it seems good to me:
I'll test it later on Windows. But you can play with subtitle's size options in preferences.
I don't know how to make a SS with subtitles printed. If I make a SS, only the video is printed. BTW, I try again with other videos. Same thing: high resolution videos shrink subtitles, and low definition videos don't.
I don't know how to make a SS with subtitles printed. If I make a SS, only the video is printed. BTW, I try again with other videos. Same thing: high resolution videos shrink subtitles, and low definition videos don't.
Go to the preferences dialog and select "directx:noaccel" as video output driver. This way you'll be able to make a screenshot of the video and the subtitles (with a external program).
Delerue
9th March 2007, 20:31
Go to the preferences dialog and select "directx:noaccel" as video output driver. This way you'll be able to make a screenshot of the video and the subtitles (with a external program).
This render doesn't work for me; no image in the screen. In fact, only 'directx' and 'matrixview' (can't be resized) work for me. :(
Uncheck the option "use software video equalizer"
smok3
9th March 2007, 21:28
just did a quick test on 0.2.15, few observations;
- there is an audio volume problem, audio starts at full volume and only after some short time it gets to the defined level.
- the positioner is not updated fast enough
- building a playlist with few huffyuv encoded files will crash the player sooner or later (probably a mplayer problem)
rvm
10th March 2007, 00:42
Well, MPUI can seek pretty well.
I downloaded a flv from youtube and seeking doesn't work either in MPUI.
Anyway I suppose the maybe MPUI uses the -idx option with those videos, but at least with the one I tried that options does nothing.
Yeah! Works stopping. But unfortunately, 'stop' function likes to freeze SMplayer (MPlayer still running...). Drang and drop videos using stop or not freeze sometimes too. :(
The first notice I have about this problem. It sounds as if smplayer has problems killing the mplayer process. Unfortunately I can't reproduce it. For me "stop" works.
just did a quick test on 0.2.15, few observations;
- there is an audio volume problem, audio starts at full volume and only after some short time it gets to the defined level.
Yes, I know. This is because mplayer doesn't have a "-volume" option for the command line, so the volume has to be set once the video has begun to play.
- the positioner is not updated fast enough
The time slider updates once per second. I think it's enough for most cases. Previously it updated more often and that gave problems when dragging it.
rvm
10th March 2007, 01:11
smplayer 0.2.18 available to download: here (http://smplayer.sourceforge.net/download_en.php)
Most important changes:
* Added a menu where you can select the number of audio channels you'd like to use: the options are:
- stereo (2 channels)
- 4.0 Surround (4 channels)
- 5.1 Surround (6 channels)
Note: through this option mplayer will try to use the requested number of channels but it might not achieve it. This is what the mplayer manpage says about it:
-channels <number> (also see -af channels)
Request the number of playback channels (default: 2). MPlayer
asks the decoder to decode the audio into as many channels as
specified. Then it is up to the decoder to fulfill the require-
ment. This is usually only important when playing videos with
AC3 audio (like DVDs). In that case liba52 does the decoding by
default and correctly downmixes the audio into the requested
number of channels. To directly control the number of output
channels independently of how many channels are decoded, use the
channels filter.
NOTE: This option is honored by codecs (AC3 only), filters (sur-
round) and audio output drivers (OSS at least).
This option is completely untested as I only have stereo speakers.
* Added a menu to select the stereo mode: stereo, left channel, right channel.
* Added in the preferences dialog an option to autosync audio/video. This is what the manpage says about it:
-autosync <factor>
Gradually adjusts the A/V sync based on audio delay measure-
ments. Specifying -autosync 0, the default, will cause frame
timing to be based entirely on audio delay measurements. Speci-
fying -autosync 1 will do the same, but will subtly change the
A/V correction algorithm. An uneven video framerate in a movie
which plays fine with -nosound can often be helped by setting
this to an integer value greater than 1. The higher the value,
the closer the timing will be to -nosound. Try -autosync 30 to
smooth out problems with sound drivers which do not implement a
perfect audio delay measurement. With this value, if large A/V
sync offsets occur, they will only take about 1 or 2 seconds to
settle out. This delay in reaction time to sudden A/V offsets
should be the only side-effect of turning this option on, for
all sound drivers.
* Added an option in the preferences dialog which allows to select a dvd chapter really fast. When checked that option smplayer will select the chapter by using a slave command instead of stopping the mplayer process and starting again. Unfortunately this option has some inconveniences: the cache is disabled (doesn't work with it) and it's not guaranteed to work (in linux it seems it works perfectly but in windows I tried with some dvds, with some of them it works, with others not).
* Added a "recent files" menu.
Delerue
10th March 2007, 02:11
I downloaded a flv from youtube and seeking doesn't work either in MPUI.
Anyway I suppose the maybe MPUI uses the -idx option with those videos, but at least with the one I tried that options does nothing.
I tested with more than 10 Youtube videos. All worked with MPUI, and none worked with SMPlayer (I'm talking about seeking).
The first notice I have about this problem. It sounds as if smplayer has problems killing the mplayer process. Unfortunately I can't reproduce it. For me "stop" works.
Hmmmm... I tested the lastest build right now and I can't freeze anymore. Good thing! ;)
rvm
10th March 2007, 03:01
I tested with more than 10 Youtube videos. All worked with MPUI, and none worked with SMPlayer (I'm talking about seeking).
I've just downloaded the latest mplayer snapshot, and I see that now seeking in flv videos works perfectly.
I suppose that MPUI includes a recent svn version of mplayer. (And I should have an old MPUI).
So you know the fix: either download a recent build of mplayer by your own (for instance here (http://esby.free.fr/CelticDruid/mirror/mplayer/)), or easier, configure smplayer to use the mplayer included in MPUI.
Delerue
10th March 2007, 03:23
I've just downloaded the latest mplayer snapshot, and I see that now seeking in flv videos works perfectly.
I suppose that MPUI includes a recent svn version of mplayer. (And I should have an old MPUI).
So you know the fix: either download a recent build of mplayer by your own (for instance here (http://esby.free.fr/CelticDruid/mirror/mplayer/)), or easier, configure smplayer to use the mplayer included in MPUI.
You're perfectly right. I'm deleting MPUI right now. ;)
What's the difference between versions of MPlayer with CPU names? Only the fact that each one uses the instructions of the CPU labeled (MMX, 3DNow!, SSE, etc.)? So, MPlayer-A64 means that this build uses MMX, MMX2, 3DNow!, 3DNow!2, SSE and SSE2?
Thanks, man.
rvm
10th March 2007, 03:42
They're optimized for different kind of processors. You should try to use the one for yours to get the best performance.
I think the ones with no processor indicator, are compiled with autodetection at runtime.
rvm
11th March 2007, 19:48
smplayer 0.2.20 windows update available here (http://smplayer.sourceforge.net/download_en.php)
Changes:
* Now the subtitles appear on the screenshots.
http://img98.imageshack.us/img98/5097/subssh8.th.jpg (http://img98.imageshack.us/my.php?image=subssh8.jpg)
* Option to play a dvd from hard disc. This has always been possible, but I changed the preferences dialog a little bit to make it clearer.
http://img267.imageshack.us/img267/8775/dvdhdvt6.th.jpg (http://img267.imageshack.us/my.php?image=dvdhdvt6.jpg)
* New option in preferences: fast audio track switching. Checked by default. The new thing is if you uncheck it. In that case for audio switching the mplayer process will be restarted. This is a little bit slower, but allows that audio switching works in ogm or wmv containers.
Delerue
11th March 2007, 21:35
smplayer 0.2.20 windows update available here (http://smplayer.sourceforge.net/download_en.php)
Changes:
* Option to play a dvd from hard disc. This has always been possible, but I changed the preferences dialog a little bit to make it clearer.
Thanks. But would be great if you write an option to play an entire directory (if there's a DVD files, play it; if there's multiple videos, insert all in the playlist), inside the 'open' menu (just like VLC does).
BTW, this new option don't work for me. I insert the directory and I don't know what to do after that.
rvm
11th March 2007, 22:39
After that you have to select Open->DVD
Delerue
11th March 2007, 23:14
After that you have to select Open->DVD
Doesn't work. :(
rvm
12th March 2007, 00:27
Could you post the mplayer log? (Options->View logs->mplayer)
rvm
12th March 2007, 02:08
smplayer 0.2.21 available for download (here (http://smplayer.sourceforge.net/download_en.php)).
Changelog:
* Playing a DVD from a folder: make things even clearer. Removed
the stuff in preferences and added "Open->DVD from folder". It'll ask
you for a directory where video_ts and audio_ts should be (it seems that
it also work if you select the directory with the *.vob and *.ifo files).
So now "Open->DVD" will only play real DVDs in your dvd drive.
* Added a Open->Directory option. It will add the files in the chosen
directory (not recursively) to the playlist (after clearing it) and start
playing the first item. To fix: it will start playing always the first item
even if the shuffle button in the playlist is on.
http://www.uploadfile.info/uploads/e6b90d1e85.jpg
Delerue
12th March 2007, 05:11
smplayer 0.2.21 available for download (here (http://smplayer.sourceforge.net/download_en.php)).
Changelog:
[...]
Nice, man!
Unfortunately 'DVD from folder' still doesn't working for me. I tried with 2 different DVDs, and nothing, even if I try to point to the main folder or 'VIDEO_TS'; VLC does fine. Here is the log of the MPlayer:
Playing dvd://1.
ID_DVD_TITLES=3
ID_DVD_TITLE_1_CHAPTERS=25
ID_DVD_TITLE_1_ANGLES=1
ID_DVD_TITLE_2_CHAPTERS=1
ID_DVD_TITLE_2_ANGLES=1
ID_DVD_TITLE_3_CHAPTERS=1
ID_DVD_TITLE_3_ANGLES=1
ID_SIGNAL=11
stderr: libdvdread: Could not open D:/Downloads/Step Into Liquid (Surf Video)/VIDEO_TS with libdvdcss.
stderr: libdvdread: Can't open D:/Downloads/Step Into Liquid (Surf Video)/VIDEO_TS for reading
stderr: libdvdread: Device D:/Downloads/Step Into Liquid (Surf Video)/VIDEO_TS inaccessible, CSS authentication not available.
stderr:
stderr:
stderr: MPlayer interrupted by signal 11 in module: open_stream
stderr: - MPlayer crashed by bad usage of CPU/FPU/RAM.
stderr: Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
stderr: disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
stderr: - MPlayer crashed. This shouldn't happen.
stderr: It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
stderr: gcc version. If you think it's MPlayer's fault, please read
stderr: DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
stderr: won't help unless you provide this information when reporting a possible bug.
I would like to suggest one more useful thing. Make the mouse wheel controls the volume would be really really useful. I think this is the best shortcut to this function. MPC, Winamp, MPUI and Crystal Player can tell. :)
One more thing: is it normal that a paused movie can't be automatically resized?
Ah! And the last (I hope, hehehe) thing: DirectX without acceleration can't work here. So, no SS for me. Log:
Playing D:/Downloads/Filmes/Brick.avi.
Cache fill: 0.00% (0 bytes)
AVI file format detected.
ID_VIDEO_ID=0
ID_AUDIO_ID=1
VIDEO: [XVID] 672x352 12bpp 23.976 fps 718.6 kbps (87.7 kbyte/s)
Clip info:
Software: VirtualDubMod 1.5.10.2 (build 2540/release)
ID_CLIP_INFO_NAME0=Software
ID_CLIP_INFO_VALUE0=VirtualDubMod 1.5.10.2 (build 2540/release)
ID_CLIP_INFO_N=1
SUB: Detected subtitle file format: subviewer
SUB: Read 1217 subtitles.
ID_FILE_SUB_ID=0
ID_FILE_SUB_FILENAME=D:/Downloads/Filmes/Brick.srt
SUB: Added subtitle file (1): D:/Downloads/Filmes/Brick.srt
ID_FILENAME=D:/Downloads/Filmes/Brick.avi
ID_DEMUXER=avi
ID_VIDEO_FORMAT=XVID
ID_VIDEO_BITRATE=718640
ID_VIDEO_WIDTH=672
ID_VIDEO_HEIGHT=352
ID_VIDEO_FPS=23.976
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=158664
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=6597.01
Opening video filter: [eq2]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
ID_VIDEO_CODEC=ffodivx
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
ID_AUDIO_BITRATE=128000
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 - 672 x 352 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
stderr: The selected video_out device is incompatible with this codec.
stderr: Try appending the scale filter to your filter list,
stderr: e.g. -vf spp,scale instead of -vf spp.
stderr:
stderr: FATAL: Could not initialize video filters (-vf) or video output (-vo).
Exiting... (End of file)
rvm
12th March 2007, 16:07
Unfortunately 'DVD from folder' still doesn't working for me. I tried with 2 different DVDs, and nothing, even if I try to point to the main folder or 'VIDEO_TS'; VLC does fine. Here is the log of the MPlayer:
Playing dvd://1.
ID_DVD_TITLES=3
ID_DVD_TITLE_1_CHAPTERS=25
ID_DVD_TITLE_1_ANGLES=1
ID_DVD_TITLE_2_CHAPTERS=1
ID_DVD_TITLE_2_ANGLES=1
ID_DVD_TITLE_3_CHAPTERS=1
ID_DVD_TITLE_3_ANGLES=1
ID_SIGNAL=11
stderr: libdvdread: Could not open D:/Downloads/Step Into Liquid (Surf Video)/VIDEO_TS with libdvdcss.
stderr: libdvdread: Can't open D:/Downloads/Step Into Liquid (Surf Video)/VIDEO_TS for reading
stderr: libdvdread: Device D:/Downloads/Step Into Liquid (Surf Video)/VIDEO_TS inaccessible, CSS authentication not available.
stderr:
stderr:
stderr: MPlayer interrupted by signal 11 in module: open_stream
...
It seems to be a problem/bug with your version of mplayer.
I'd suggest you to try other builds. Here you can find some:
http://ffdshow.faireal.net/mirror/mplayer/
http://oss.netfarm.it/mplayer-win32.php
http://www.cccp-project.net/smf/index.php?topic=811.0
One more thing: is it normal that a paused movie can't be automatically resized?
It's a little bit ugly, but it seems that mplayer doesn't update the image in pause mode.
Ah! And the last (I hope, hehehe) thing: DirectX without acceleration can't work here. So, no SS for me. Log:
...
Opening video filter: [eq2]
...
Disable the software video equalizer (eq2). It's almost certainly because of that.
BTW, as of 0.2.20, subtitles appear on the screenshots made by smplayer (option Video->Screenshot).
DSP8000
12th March 2007, 17:29
I've got some problems with various builds of mplayer with your player.
Here's the log:
C:/Program Files/smplayer/mplayer/mplayer.exe -noquiet -sub-fuzziness 1 -identify -slave -vo directx -ao dsound -zoom -nokeepaspect -priority normal -wid 5505886 -colorkey 131586 -monitoraspect 1.33333 -subfont-autoscale 1 -subfont-text-scale 5 -subcp latin1 -subpos 100 -contrast 0 -hue 0 -saturation 0 -cache 2000 -osdlevel 1 -vf-add expand=osd=1 -noslices -vf-add screenshot D:/TEST_DVD/VTS_01_1.VOB
MPlayer dev-SVN-r22503-4.3.0 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 1.70GHz (Family: 15, Model: 1, Stepping: 3)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
MPlayer was compiled without cache2 support.
Setting process priority: normal
106 audio & 227 video codecs
also, what settings or cmd line options do I have to enable to be able to play DVD's on 550MHz PC?
rvm
12th March 2007, 18:37
MPlayer was compiled without cache2 support.
It seems that that mplayer doesn't support the -cache option.
Set the cache (Preferences->Performance) to 0.
DSP8000
12th March 2007, 19:48
Tnx. that fixed it. Now I'm using celtic's build.
Selecting system font for subtitles crashes sherpya's latest & celtic's latest builds.
Sirber
12th March 2007, 20:49
−mouse-movements
Permit MPlayer to receive pointer events reported by the video output driver (currently only derivatives of X11 are supported). Necessary to select the buttons in DVD menus.
Would that work in directx?
rvm
12th March 2007, 23:57
If you can't play dvds
I've realized that latest builds of mplayer don't play dvds if the dvd device ends with "/" (at least in Windows, I didn't test it in linux yet).
mplayer -dvd-device E:/ will fail, but mplayer -dvd-device E: will work.
I suggest you to download smplayer 0.2.22 (http://smplayer.sourceforge.net/download_en.php). This version will take care of removing those ending "/". So dvd playing must work (well, there's another problem, it seems that some recent builds don't have support for the option -cache, the work-around is to set the cache to 0 in the preferences).
Other improvements in this version: you may for instance drop a folder containing a ripped dvd (the folder which contains the video_ts, not the video_ts itself) and it will be played. Or you can also open such a folder in Open->Directory, it will be recognized and opened as a dvd.
Delerue
13th March 2007, 04:07
If you can't play dvds
I suggest you to download smplayer 0.2.22 (http://smplayer.sourceforge.net/download_en.php). This version will take care of removing those ending "/". So dvd playing must work (well, there's another problem, it seems that some recent builds don't have support for the option -cache, the work-around is to set the cache to 0 in the preferences).
Still no donuts for me. Cache on, off, MPlayer build default, A64... Nothing. DVD from folder simply can't work.
rvm
14th March 2007, 20:28
In version 0.2.24 there are some bug fixes but the most important change: added the Slovak translation (here you can see some screenshots (http://www.phpbbplanet.com/smplayer/viewtopic.php?t=58&mforum=smplayer))
HeadBangeR77
14th March 2007, 20:53
In version 0.2.24 there are some bug fixes but the most important change: added the Slovak translation
I can read & understand most of that. :D
Thanks for yet another release and your constant work on the GUI.
rvm
15th March 2007, 02:44
Changes 0.2.26:
* New fullscreen mode. The code has been rewritten. Previously I used a different widget (window) for fullscreen. Now I use the main window (hidding all widgets except the video window).
The most important: now if you move the mouse to the bottom of the screen the control widget will appear (see screenshot). If you move it to the top of the screen the menu bar will appear.
And now opening another window (open dialog, video equalizer, the preferences dialog...) doesn't need to exit from fullscreen.
But as I said the code in completely new, so please test it and report bugs.
* Added an option who people with wide screens can find useful: 16:9 letterbox. If you play for instance a 2.35:1 movie, this option will add black borders to fit 16:9. The interesting thing is that subtitles will appear in the bottom border.
Screenshot:
http://img122.imageshack.us/img122/6928/fullscreenmu4.th.jpg (http://img122.imageshack.us/my.php?image=fullscreenmu4.jpg)
Download (http://smplayer.sourceforge.net/download_en.php)
BTW, I've already seen that now (on Windows) entering and specially exiting from fullscreen mode is not so smooth as before. I'll try to fix it.
Ah, I forgot... would you like to see smplayer running in a different language? smplayer doesn't have any option to select the language (in linux it's not usual to have it, just use the user language if available). In the latest zip I added 3 *.bat files: smplayer_de.bat, smplayer_es.bat and smplayer_sk.bat. Double click on any of them, and the messages will be in German, Spanish or Slovak.
HeadBangeR77
15th March 2007, 03:37
I already love you (in the pure sense :D) for control widgets in full-screen mode and the letterboxing! Gonna test within the next few days.
cheers,
HDBR77
PS. Nice macroblocks on the screen-shot there! ;)
DSP8000
15th March 2007, 06:25
Tnx. for the updated builds.
You may want to add a check for running multiple instances of the player as well. eg. If the player is running & I right click on a file & select "open file with smplayer" then open the file in the running player but do not open a new one.
Just a suggestion ;)
Also, how do you output to RGB or YUV colorspace?
rvm
15th March 2007, 20:10
Tnx. for the updated builds.
You may want to add a check for running multiple instances of the player as well. eg. If the player is running & I right click on a file & select "open file with smplayer" then open the file in the running player but do not open a new one.
Yes I know. But it seems easy but it's not. I mean, the 2nd instance has to communicate with the 1st one (to tell it the file you want to open). That's what I don't know yet. I have to find out how I can do it with Qt.
Also, how do you output to RGB or YUV colorspace?
I don't know. You may take a look at the mplayer manual (http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html) to see if you find something about.
rvm
15th March 2007, 20:38
How to make translations
Anyone interested in translating smplayer to another language?
I've just written this small document (http://www.phpbbplanet.com/smplayer/viewtopic.php?p=198&mforum=smplayer) that explains how to do it.
Delerue
16th March 2007, 10:02
How to make translations
Anyone interested in translating smplayer to another language?
I've just written this small document (http://www.phpbbplanet.com/smplayer/viewtopic.php?p=198&mforum=smplayer) that explains how to do it.
I'm trying to translate to brazilian portuguese, and want to know what '(sp)' means in this kind of blue comment: '(sp)(new line)'.
rvm
16th March 2007, 16:57
I think the (sp) means that at that point there's a blank space.
pinkie_1
16th March 2007, 20:31
how do you output to RGB or YUV colorspace?
Step 1 :
-sws 9
# switch to Lanczos scaler instead of bicubic one
Step 2 :
-vf-add scale=:::0:10::::1
# make use of the built-in software scaler
# for interlaced content use scale=::1:0:10::::1
Step 3 :
-vf-add format=format
# enforces the desired output colorspace
# for a list of supported formats use -vf format=fmt=help
# -vf-add rgb2bgr will also work (but in a different manner)
# for a really funky output try -vf-add rgb2bgr=swap
e.g. from this command line :
-sws 9 -vf-add scale=:::0:10::::1,format=rgb32
results this MPlayer output :
[swscaler @ 00C4F1C0]SwScaler: using unscaled yuv420p -> bgr24 special converter
[swscaler @ 00C4F1C0]No accelerated colorspace conversion found
VO: [gl] 576x432 => 576x432 RGBA [zoom]
Important :
---if format is set to be rgb24/bgr24, then SwS and final colorspaces will match
---format=rgb32/rgba --> SwS csp=bgr and final csp=rgba
---format=bgr32/bgra --> SwS csp=rgb and final csp=bgra
DSP8000
17th March 2007, 08:43
Thanks pinkie_1, I'll give it a go.
I'm just trying to find a way how to play DVD's with mplayer on a very slow PC.
The problem is, when I play them with default settings from smplayer or MPUI the picture is all pink, green, distorted...
I think there's a problem with the graphic card.
The only thing that works is MPC, but only if I uncheck "enable planar ..." in the default MPC's MPEG decoder.
Any tips or suggestions are welcome :)
pinkie_1
17th March 2007, 18:17
how to play DVD's with mplayer on a very slow PC.
Just how slow is that machine ?
Nowadays an Athlon T-bird @ 1 GHz is ancient...
Then again, compare that T-bird with a P2 @ 450 MHz. :)
On topic :
I. try -vo winvidix; if it actually works consider yourself a very lucky person...
II. use the following command line to get some info :
-sws 1 -vo directx -msglevel vo=9
You'll find out this way which overlays are supported on that machine. Then do some trial&error like this :
-sws 1 -vo directx -vf scale=::1:0:::::1,format=format
on every supported overlay.
Find out which one works correctly and decide which one is the most "visually pleasing".
If things run smoothly so far, try again the last example of command line, wiping instead the -sws 1 part.
(additionally, you can also give it a go to the -noslices switch, hoping that it will speed up things a bit)
Summa summarum : on very slow machines -according to your own characterization- avoid stuff like gl/gl2 output, Lanczos scaler, any postprocessing a.s.o. It is even better to run MPlayer under a linux environment...
(yeah, just an innocent suggestion) :p
DSP8000
18th March 2007, 04:15
@ pinkie_1,
thank you for the very detailed information. I'll do some testing today. It is a P3 550 mHz PC with 384MB ram, my daughter's PC. All she does with it is just watching DVD's & listening some mp3's & audio CD's.
I've had Ubuntu for a while on the PC but it was pain to go thru all of the repositories just to enable playback on commercial DVD's & mp3's.
Once again I'll do a fresh install on XP customized with nLite, stripped down & light on resources & maybe she'll be able to enjoy watching DVD's @25FPS & full color. If that doesn't work then I've got some plants that are looking for a PC based home:p
Tnx. for your input, appreciated:)
I'll let you know with the final outcome
rvm
20th March 2007, 03:12
0.2.34 available for download (http://smplayer.sourceforge.net/download_en.php)
Since the last announcement here there's been a lot of internal changes but only a few visible ones. Most important:
* Added the Italian translation.
* smplayer accepts urls dragged from a web browser. In linux it works well (tested with Opera, Konqueror and Firefox). In windows I tried with Opera and Internet Explorer but it seems that none of them is able to drag links (in the page, not in the address bar) to other application. Anyway, if anyone want to test it here (http://smplayer.sourceforge.net/streams.html) is a test page with some links.
* Now the video window should not flicker when opening menus and using directx:noaccel or gl/gl2.
* Key shortcuts are now saved and loaded from the configuration file. That means that key shortcuts can be changed. But for the moment it can only be done by modifying directly the configuration file. In the future there'll be a dialog for doing it easily.
In windows the config file is C:\Documents and Settings\Your_User\Application Data\RVM\smplayer.ini
DSP8000
20th March 2007, 05:28
rvm, tnx. for the updated build.
I really start to like this player & the fact that uses so little resources makes it a winner for me. I did some tests & clearly smplayer does the trick for me. When watching DVD's or x264 videos or QT the CPU usage barely goes more than 25% :), but the same videos played with MPC & ffdshow go well over 60%.
I like MPC as well but I've noticed the same x264 video stops on certain spots, but plays well in smplayer. btw. this is x264 version of Cars encoded with MeGUI in AE-MaxQuality deblocking disabled.
I've got couple of suggestions for you:
1. Maybe you can rearrange the buttons on the player & put them below the seek bar(all buttons)
2. Make'em a bit smaller & line'em up
3. Add an option for custom buttons
4. Add an option for custom rearranging the play panel(similar to fb2k)
5. Add an option for a custom logo(same as in MPC)
6. Make the start up screen size of smplayer smaller or size by the custom logo
7. Volume starts at 99 instead of 50
Let me know if you need a mock up sample;)
Oh, about my daughter's PC, I ended up giving it to a friend of mine(he's about 50) & he'll be using it just for browsing the net.
Delerue
20th March 2007, 06:56
A couple of things:
-Changing the channel configuration sometimes resets the volume to 50%.
-SMPlayer (or MPlayer?) can't recognize the video channels (if it's stereo, 5.1, etc.), and automatically set it correctly.
-Same thing to interlaced videos.
-Can't change DVD chapters by clicking in the 'Next' button.
-Can't go to DVD main menu.
-DVD subtitle seems to be a little transparent, because changes its color a little as background movie changes its own color.
-'DVD', in the 'Open' menu could be 'DVD from drive...', don't you think?
-Still can't open a DVD from folder. But I can open a DVD disc using the 'DVD from folder...' option (only to the root; to 'VIDEO_TS' no donuts...). Really odd, I know.
pinkie_1
20th March 2007, 23:26
rvm, thanks for your efforts.
Two suggestions :
1. it would nice to keep the trend you've imposed with your early releases, i.e give the chance to use the good ol' style of unpack&play (no bloated installer)
2.In windows the config file is C:\Documents and Settings\Your_User\Application Data\RVM\smplayer.ini
Why not in the install directory ?
rvm
21st March 2007, 04:01
Why not in the install directory ?
It's where the Qt library stores it.
The install directory may not writable by all users, and moreover every user has to have his own config.
Opera (and other applications) also store its stuff there.
A couple of things:
-Changing the channel configuration sometimes resets the volume to 50%.
I realized that when changing the audio track the volume goes up. But I think it's a mplayer bug.
-SMPlayer (or MPlayer?) can't recognize the video channels (if it's stereo, 5.1, etc.), and automatically set it correctly.
I don't know if this is possible.
-Same thing to interlaced videos.
I think mplayer doesn' have any option to try to autodetect interlaced videos. One way would be to use the filter yadif for all videos, that filter provides very good quality, but uses a lot of CPU, and for non interlaced videos would be a unnecessary waste.
-Can't go to DVD main menu.
I'm afraid mplayer doesn't support dvd menus. They are working on it. I recently tried the dvdnav (in linux, I think there's no build for windows with that option compiled) and it does something, menus appear, but it still doesn't work well.
-'DVD', in the 'Open' menu could be 'DVD from drive...', don't you think?
Yes.
-Still can't open a DVD from folder. But I can open a DVD disc using the 'DVD from folder...' option (only to the root; to 'VIDEO_TS' no donuts...). Really odd, I know.
Yes , really strange. Do you have set the proper drive in the preferences dialog?
rvm
22nd March 2007, 01:44
smplayer 0.2.36 (http://smplayer.sourceforge.net/download_en.php)
Important changes:
* Added the French translation. Not finished yet.
* Single instance. Added an option in preferences (Misc tab) to use only one instance of smplayer. If you open another one, maybe double-clicking on a video, the first instance will play that video. The 2nd one will silently die.
Some notes about this option:
* It's disabled by default. If you want to test it go to Preferences->Misc and check "Use only one running instance of smplayer".
* It will listen to a port (configurable) so it can communicate to other instances. The problem is that probably the Windows firewall will try to block it. It will ask you. Leave unblocked or this feature won't work.
* The running instance tries to raise above all other windows, but it seems that this doesn't work on Windows. (I'll try to fix it)
There's a potential problem: if the port is already used by another application, smplayer may hang on startup (it's not really hung, but the window is not visible). This happens if the server listening to that port doesn't respond anything to what smplayer says.
KornX
22nd March 2007, 12:44
very nice player,
but why do i have to install it?
Could you please provide an archive also?
KornX
rvm
22nd March 2007, 16:47
Ok, for the next full release (0.3.0) I will provide a zip archive, too.
BTW...
* The running instance tries to raise above all other windows, but it seems that this doesn't work on Windows. (I'll try to fix it)
Fixed in 0.2.37 (http://smplayer.sourceforge.net/windows/download_en.php) :)
KornX
22nd March 2007, 17:30
ah thx great...
any schedule?
KornX
rvm
23rd March 2007, 03:04
Soon, very soon. No more than a week.
From now on I'm not going to add new features, just bug fixes. I don't want to release 0.3.0 (make a lot of packages, upload them...) and just after that find out that it has some serious bug.
vio_man
23rd March 2007, 23:52
I used smplayer for the first time here is what I found:
- I can't load AVI movies with subtitles when selecting a system font. The movie only loads if select TTF font.
- I can't see any option to change SRT subtitles size and color. Also the subtitles seems to be transparent, because they get the background color on some areas, especially with vivid colors.
- Some times when pressing escape to switch from full screen to window, the window position gets messed up like aligned at left of the screen.
rvm
24th March 2007, 17:13
- I can't load AVI movies with subtitles when selecting a system font. The movie only loads if select TTF font.
This option does not work if the mplayer build you're using has not been compiled with fontconfig support.
- I can't see any option to change SRT subtitles size and color. Also the subtitles seems to be transparent, because they get the background color on some areas, especially with vivid colors.
Preferences->Subtitles and check the option "Use SSA/ASS library". You can change the color there too.
But for this to work mplayer must have support for the -ass option.
- Some times when pressing escape to switch from full screen to window, the window position gets messed up like aligned at left of the screen.
Yes, I think you found a bug. I'll try to fix it.
Edit: fixed in 0.2.40.
rvm
29th March 2007, 00:45
Version 0.2.44 released (http://smplayer.sourceforge.net/windows/download_en.php)
I didn't make Windows updates of previous versions because I've found and important problem which occurs under Windows, and I was trying to fix it. That problem is explained here (http://www.phpbbplanet.com/smplayer/viewtopic.php?t=75&mforum=smplayer).
Main changes since the last announcement here:
* New translations: Simplified-Chinese, Russian and Hungarian. And updates for Italian, German and Slovak.
* The dvd and cdrom devices have no default. If the user tries to play a dvd before configure it, a message box will show requesting him to configure it. After that the preferences dialog will be shown, with the drive's tab selected.
* Mouse left click and double click are configurable. For now only by editing the configuration file (look for left_click_function and double_click_function). Valid values are any of the key functions (the list of key functions appears at the beginning of the smplayer log).
Example: left_click_function=PAUSE
Currently there's a problem: double click executes also the left click function.
* A new interesting feature: remember, smplayer install a server to listen a port (8000 by default) initially to communicate to other instances. But now that server will understand some more commands. You can connect with it with "telnet localhost 8000" and type "help".
For now you can pass any of the key functions. For instance the command "function pause", will pause the movie that smplayer is playing. "function fullscreen" will toggle fullscreen mode. You can get a list of all available functions with "list functions".
This feature will allow other people to write small programs or scripts to control smplayer remotely (from another computer) or from a remote control.
The next release will be 0.3.0.
rvm
29th March 2007, 17:30
Full packages for version 0.3.0 available for download
New full packages for smplayer 0.3.0, with installer, are available:
You can get them here (http://sourceforge.net/project/showfiles.php?group_id=185512).
The packages available are the following:
smplayer-0.3.0.tar.gz The source code.
smplayer_0.3.0_full_setup.exe The full package for Windows. Includes everything needed: smplayer.exe, shared libraries and a copy of mplayer. The version of mplayer is the same that was included in 0.2.0. The size of this package is about 9 MB.
smplayer_windows_0.3.0-without_mplayer.zip. A zip file that contains smplayer and Qt shared libraries. It doesn't include mplayer. It's about 5 MB.
smplayer_windows_0.3.0-without_mplayer.7z The same as the previous package but in a 7z archive. About 4 MB.
Packages for linux:
smplayer-0.3.0-rvm.0.src.rpm Source rpm. Can be used to create a rpm package.
vio_man
29th March 2007, 19:34
I change the system font for subtitles to Arial, size 22 but it does not remembers the font size. It always sets it to size 10.
rvm
29th March 2007, 23:32
The system font only uses the font name. Font style and size from the font dialog are not used.
The size is set in the "Scale" option which is just below. If you want to use a fixed size of 22, select "No autoscale" and 22 in "Scale".
Delerue
30th March 2007, 03:14
Fonts still semi-transparent. DVD discs still not running. Still can't change DVD chapters by clicking in the 'Next' button. And still can't open a DVD from folder. :(
rvm
30th March 2007, 17:10
Semi-transparent fonts: try SSA/ASS subtitles.
DVD: could you paste the mplayer log when you try to play a DVD?
Delerue
4th April 2007, 04:05
First of all, I would like to congratulate you one more time. You're doing an amazing job, man. The adjustable volume by mouse wheel was a great thing. And the interface is getting better and better. ;)
Semi-transparent fonts: try SSA/ASS subtitles.
No way. Using this option makes the player stops when a subtitle comes.
DVD: could you paste the mplayer log when you try to play a DVD?
C:/Arquivos de programas/smplayer/mplayer/mplayer.exe -noquiet -nofs -sub-fuzziness 1 -identify -slave -vo directx -ao dsound -zoom -nokeepaspect -priority abovenormal -wid 3539822 -colorkey 131586 -monitoraspect 1.33333 -subfont-autoscale 1 -subfont-text-scale 5 -subcp Unicode -subpos 100 -contrast 0 -hue 0 -saturation 0 -dvd-device D:/Downloads/Filmes/ZUZU_ANGEL/VIDEO_TS -chapter 1 -dvdangle 1 -osdlevel 0 -vf-add eq2 dvd://1
stderr: libdvdread: Could not open D:/Downloads/Filmes/ZUZU_ANGEL/VIDEO_TS with libdvdcss.
stderr: libdvdread: Can't open D:/Downloads/Filmes/ZUZU_ANGEL/VIDEO_TS for reading
stderr: libdvdread: Device D:/Downloads/Filmes/ZUZU_ANGEL/VIDEO_TS inaccessible, CSS authentication not available.
stderr:
stderr:
stderr: MPlayer interrupted by signal 11 in module: open_stream
stderr: - MPlayer crashed by bad usage of CPU/FPU/RAM.
stderr: Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
stderr: disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
stderr: - MPlayer crashed. This shouldn't happen.
stderr: It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
stderr: gcc version. If you think it's MPlayer's fault, please read
stderr: DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
stderr: won't help unless you provide this information when reporting a possible bug.
MPlayer dev-SVN-r22848-4.3.0 (C) 2000-2007 MPlayer Team
CPU: AMD Sempron(tm) Processor 3000+ (Family: 15, Model: 44, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Setting process priority: abovenormal
108 audio & 229 video codecs
Playing dvd://1.
ID_DVD_TITLES=7
ID_DVD_TITLE_1_CHAPTERS=2
ID_DVD_TITLE_1_ANGLES=1
ID_DVD_TITLE_2_CHAPTERS=2
ID_DVD_TITLE_2_ANGLES=1
ID_DVD_TITLE_3_CHAPTERS=2
ID_DVD_TITLE_3_ANGLES=1
ID_DVD_TITLE_4_CHAPTERS=2
ID_DVD_TITLE_4_ANGLES=1
ID_DVD_TITLE_5_CHAPTERS=2
ID_DVD_TITLE_5_ANGLES=1
ID_DVD_TITLE_6_CHAPTERS=1
ID_DVD_TITLE_6_ANGLES=1
ID_DVD_TITLE_7_CHAPTERS=14
ID_DVD_TITLE_7_ANGLES=1
ID_DVD_TITLE_1_LENGTH=9.000
ID_DVD_TITLE_2_LENGTH=64.767
ID_DVD_TITLE_3_LENGTH=128.467
ID_DVD_TITLE_4_LENGTH=2367.800
ID_DVD_TITLE_5_LENGTH=68.400
ID_DVD_TITLE_6_LENGTH=76.033
ID_SIGNAL=11
BTW, I'm using the 0.3.6 SMPlayer version, and MPlayer Athlon64 build from march 31.
According to that log, mplayer crashes without telling why.
I've got that version of mplayer (mplayer2007.03.31.7z ) from here (http://ffdshow.faireal.net/mirror/mplayer/) and I've seen that it crashes when trying to use ssa subs or system fonts (fontconfig).
I'd suggest you to try a different one.
BTW, smplayer 0.3.7 update available for download (http://smplayer.sourceforge.net/windows/download_en.php)
Most important changes:
* The mouse buttons and wheel are configurable.
* The 10s, 1m and 10m seek can be configured.
* The initial volume can be configured.
* Added options to clear the "recent files" menu.
* Added the Polish translation.
* Added a repeat option (in Play menu).
* All icons are now png (instead of xpm), so now icons look much nicer.
http://img469.imageshack.us/img469/9192/prefgui2ej4.th.jpg (http://img469.imageshack.us/my.php?image=prefgui2ej4.jpg)
Delerue
5th April 2007, 19:25
That log occours when I try 'DVD from folder' (pointing to the main folder or to the 'VIDEO_TS' folder). If try 'DVD from drive' or 'DVD from folder' (pointing to the 'VIDEO_TS" folder of a DVD disc), I get this:
C:/Arquivos de programas/smplayer/mplayer/mplayer.exe -noquiet -nofs -sub-fuzziness 1 -identify -slave -vo directx -ao dsound -zoom -nokeepaspect -priority abovenormal -wid 1246066 -colorkey 131586 -monitoraspect 1.33333 -subfont-autoscale 1 -subfont-text-scale 5 -subcp Unicode -subpos 100 -contrast 0 -hue 0 -saturation 0 -dvd-device I: -chapter 1 -dvdangle 1 -osdlevel 0 -vf-add eq2 dvd://1
MPlayer dev-SVN-r22848-4.3.0 (C) 2000-2007 MPlayer Team
CPU: AMD Sempron(tm) Processor 3000+ (Family: 15, Model: 44, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Setting process priority: abovenormal
108 audio & 229 video codecs
Playing dvd://1.
ID_DVD_TITLES=3
ID_DVD_TITLE_1_CHAPTERS=1
ID_DVD_TITLE_1_ANGLES=1
ID_DVD_TITLE_2_CHAPTERS=13
ID_DVD_TITLE_2_ANGLES=1
ID_DVD_TITLE_3_CHAPTERS=2
ID_DVD_TITLE_3_ANGLES=1
ID_DVD_TITLE_1_LENGTH=0.400
ID_DVD_TITLE_2_LENGTH=3466.133
ID_DVD_TITLE_3_LENGTH=1124.834
ID_DVD_DISC_ID=E0DFE4BC10EB21BC52A74551278FBEFA
There are 3 titles on this DVD.
ID_DVD_CURRENT_TITLE=1
There are 1 chapters in this DVD title.
There are 1 angles in this DVD title.
number of audio channels on disk: 0.
number of subtitles on disk: 0
ID_VIDEO_ID=0
MPEG-PS file format detected.
MPEG: No audio stream found -> no sound.
VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 5000.0 kbps (625.0 kbyte/s)
ID_FILENAME=dvd://1
ID_DEMUXER=mpegps
ID_VIDEO_FORMAT=0x10000002
ID_VIDEO_BITRATE=5000000
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=480
ID_VIDEO_FPS=29.970
ID_VIDEO_ASPECT=0.0000
ID_LENGTH=0.40
Opening video filter: [eq2]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
ID_VIDEO_CODEC=mpeg12
Audio: no sound
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
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] 720x480 => 720x540 Planar YV12 [zoom]
stderr: The selected video_out device is incompatible with this codec.
stderr: Try appending the scale filter to your filter list,
stderr: e.g. -vf spp,scale instead of -vf spp.
Exiting... (End of file)
Ok. Title #1 is less than 1 second length (probably it's the menu. smplayer and mplayer don't support dvd menus yet).
Go to Browse->Title and select title #2.
Does it play something now?
Delerue
6th April 2007, 00:49
Ok. Title #1 is less than 1 second length (probably it's the menu. smplayer and mplayer don't support dvd menus yet).
Go to Browse->Title and select title #2.
Does it play something now?
Yeah! Worked. Now, the only problem is with 'DVD from folder' pointing to a folder inside the HD.
Thanks!
breez
8th April 2007, 10:41
I can't seem to get smplayer to choose right audio track when I use -alang in the additional options. However, just running the mplayer.exe with: mplayer.exe -alang jpn test.mkv works fine.
edit: smplayer 0.3.12
smplayer uses the -aid option to select an audio track and that probably conflicts with -alang.
breez
8th April 2007, 23:52
Ok, I tried -aid 1, but some problems occured. When the video was opened for the first time, track 0 was used. If I opened it again, track 1 was used. If I disabled "Remember settings for all files", track 0 was always used.
Moreover, with -aid 1 specified, mplayer would crash if a video didn't have the corresponding audio track.
edit: More experimenting with settings. Disabling "Fast audio track switching" helps with the first problem, but the second one remains. It would be really helpful if prioritizing audio tracks with -alang worked.
I've tried to fix this problem in version 0.3.14.
Now I've added in Preferences an option where you can type your preferred audio track language. When playing a file for first time, smplayer will try to select the right audio track, but it's necessary that the media provide info about the language of the audio tracks.
I tested this feature with one mkv file and one dvd and it seems that it works.
You can enter something like jpn or ja but also a regular expression like ja|jpn|jap.
Caroliano
9th April 2007, 21:37
I opened the player and tried to play a video with subtitles. While I was seeking to diferent parts of it the player disapeared. Probably crashed. Then I opened it again, and the video that I was playing was there. But now I wanted to see another video, so I used drag-and-drop to bring another file. But when it started to play, the audio of the one that crashed started to play in loop together. When I closed the player, the new video and audio continued playing, but the old audio was still in looping. When I closed the smplayer.exe in the taskmanager, the old audio continued playing, but not in loop anymore. It only stoped when I closed mplayer.exe.
This last thing also ocured when the player started to play the audio in loop after an seeking, and the UI stop responding. If I close the UI, the audio leave the loop and continue playing. This shoud be also terminated when I close the smplayer.exe.
I'm using the 0.3.0 version in Windows XP.
Caroliano
9th April 2007, 21:58
More things:
When I pause the video, and change some configuration, the video starts to play automaticaly after I close the configuration window. This shoud not be the defaut behavior, because in this case I was trying to change an configuration to make my screenshot of that scene that I selected.
By the way, where the screenshots are stored? And how I can change that? And there shoud be an discrete visual confirmation that the screenshot was done. As an OSD for example.
EDIT: looking at the log (that is not update dinamicaly), I saw "Core::screenshot error: directory for screenshots not valid". This is with the defaut configuration, and I don't know how to change that.
I opened the player and tried to play a video with subtitles. While I was seeking to diferent parts of it the player disapeared. Probably crashed. Then I opened it again, and the video that I was playing was there. But now I wanted to see another video, so I used drag-and-drop to bring another file. But when it started to play, the audio of the one that crashed started to play in loop together. When I closed the player, the new video and audio continued playing, but the old audio was still in looping. When I closed the smplayer.exe in the taskmanager, the old audio continued playing, but not in loop anymore. It only stoped when I closed mplayer.exe.
It seems that smplayer crashed (although it's strange that it just disappeared without an error message from Windows) but the mplayer process kept running, and from then everything was a mess.
This last thing also ocured when the player started to play the audio in loop after an seeking, and the UI stop responding. If I close the UI, the audio leave the loop and continue playing. This shoud be also terminated when I close the smplayer.exe.
What you explain is quite similar to this problem (http://www.phpbbplanet.com/smplayer/viewtopic.php?t=75) that I found some time ago.
I couldn't fix it yet. I don't know exactly why happens, I don't know if it's a bug of smplayer, the Qt libraries or mplayer.
It use to happen when the mplayer process outputs a lot of data while playing the video.
A work around that I found is to use gl or gl2 as video output driver.
More things:
When I pause the video, and change some configuration, the video starts to play automaticaly after I close the configuration window. This shoud not be the defaut behavior, because in this case I was trying to change an configuration to make my screenshot of that scene that I selected.
Some changes in preferences (most of them) require to restart the mplayer process. In that moment the video starts to play again... I'll see if I can do something about it.
By the way, where the screenshots are stored? And how I can change that? And there shoud be an discrete visual confirmation that the screenshot was done. As an OSD for example.
EDIT: looking at the log (that is not update dinamicaly), I saw "Core::screenshot error: directory for screenshots not valid". This is with the defaut configuration, and I don't know how to change that.
Options->Preferences->Folder for storing screenshots. Choose the one you want (if that field is empty, screenshots are disabled).
Now when you take a screenshot you'll get a confirmation in the OSD (unless the OSD is disabled) and in the status bar.
Caroliano
10th April 2007, 04:38
Options->Preferences->Folder for storing screenshots. Choose the one you want (if that field is empty, screenshots are disabled).I don't know how I overlooked this... but it shoud be set by defaut to somewhere, like the folder from where the video is playing.
A work around that I found is to use gl or gl2 as video output driver.
gl2 driver is too slow in my computer, and the gl driver crashed very badly my computer, leaving me with an blue screen that forced me to restart the computer in the button.
http://img135.imageshack.us/img135/7968/dsc00096aq9.th.jpg (http://img135.imageshack.us/my.php?image=dsc00096aq9.jpg)
This also happened when I tried the png output for an long time. It crashed before I understanded what it was doing. I don't know if it is something wrong with my hardware or software that your program triggered, but that is the first time that I see this screen.
But that is the most full featured Mplayer GUI that I ever saw for windows, and in QT4. I'm sure it still has an long way to go, but it is already very good.
rvm
10th April 2007, 16:22
The png video output saves all frames in the hard disk as png files. All png, jpeg, tga... video output should not be used to watch a video.
Anyway I've just test it png output and it didn't crash my computer, just full the screenshot folder with png files.
The gl/gl2 video output in Windows have some problems, but in the way that the image gets corrupted when resizing the window, but it never crashed my computer either (and the corrupt image problem seems to be mostly fixed in recent releases of mplayer).
Maybe it's a problem of your video card drivers.
Caroliano
10th April 2007, 23:10
Yeah, I used the png output to make the screenshots, after I undertod what it did, and before I saw your post. I have very little free space in my HD, less than 2GB.
foxyshadis
11th April 2007, 07:48
s3/sis? No wonder. Even ATI can't get ogl right, but s3....
It it crashes in d3d/overlay a lot, waiting for a fix on that bug might be the only solution. =\
Caroliano
12th April 2007, 02:49
It is S3/Via... not much better.
breez
14th April 2007, 10:16
I've tried to fix this problem in version 0.3.14.
Now I've added in Preferences an option where you can type your preferred audio track language. When playing a file for first time, smplayer will try to select the right audio track, but it's necessary that the media provide info about the language of the audio tracks.
I tested this feature with one mkv file and one dvd and it seems that it works.
You can enter something like jpn or ja but also a regular expression like ja|jpn|jap.
Works fine with the mkv files I previously tested with. Thanks for adding the feature, smplayer is fast becoming my preferred media player instead of MPC+ffdshow combo.
rvm
24th April 2007, 19:08
smplayer 0.3.39 update available for download (http://smplayer.sourceforge.net/windows/download_en.php)
There's been a lot of time since the last announcement here, and there's been a lot of changes. Most important:
* The GUI has completely change. Now it has toolbars, the control widget is different and changes if the window gets smaller. New floating control for fullscreen mode. Customizable icons (several themes available).
* Now it can load dvd iso images (Open->File and select a *.iso file)
* Best support for subtitles. Now for instance, if you load an idx/sub you'll be able to select among all of subtitles that the file provides.
* You can set your preferred language for audio and subtitles (as explained in previous posts).
* You can save defaults for the video equalizer.
The whole changelog is here (http://www.phpbbplanet.com/smplayer/viewtopic.php?t=74&mforum=smplayer).
HeadBangeR77
25th April 2007, 00:33
(...)
There's been a lot of time since the last announcement here, and there's been a lot of changes. Most important:
* The GUI has completely change. Now it has toolbars, the control widget is different and changes if the window gets smaller. New floating control for fullscreen mode. Customizable icons (several themes available).
* Now it can load dvd iso images (Open->File and select a *.iso file)
* Best support for subtitles. Now for instance, if you load an idx/sub you'll be able to select among all of subtitles that the file provides.
* You can set your preferred language for audio and subtitles (as explained in previous posts).
* You can save defaults for the video equalizer.
That's really quite a lot of changes, and almost all of them do matter to me. :)
:thanks:
vio_man
1st May 2007, 16:05
Can't you add a DVDNav patch to your mplayer build? It would be nice to have DVD menus support. Check it here http://onebithq.com/root/mplayer/dvdnav
I could add support in smplayer for dvdnav://.... I think it wouldn't be difficult. But I'm not making builds of mplayer. Someone else would have to do it.
smplayer 0.4.15 update available for download (http://smplayer.sourceforge.net/windows/download_en.php)
Most important changes:
* Added an option to show an icon in the system tray.
* Pan & scan functions.
* Configurable shortcuts (see screenshot (http://www.imghut.net/images/41204.jpg)).
* Added support for VCDs (only for linux).
Full changelog (http://www.phpbbplanet.com/smplayer/viewtopic.php?t=118)
Very nice player :)
Will it be possible to play video with commercial codecs?
MPlayer uses its own native codecs, although according to the docs, on Windows it can use other installed codecs if needed.
There's also available in the MPlayer site (http://www.mplayerhq.hu/design7/dload.html) a package with binary codecs, which adds support for codecs that are not yet implemented natively.
When i play ANY video (wmv, avi etc etc) on my pc, smplayer only gives me audio... i dont have this problem on my laptop.
smplayer changes its window size to the video, but it gives me a black screen and i can only hear audio... i can make screenshots though
Video does work with MPUI (using MPlayer) for what its worth...
Maybe it's the colorkey, I have changed it recently. What version of smplayer are you using?
Does it happen the same if you select another video driver (directx:noaccel, gl or gl2)? (Options->Preferences->General)
directx:noaccel does work, but quality seems to be not good at al...
ps: im using last version, just downloaded :)
Could you test the latest version? (I've changed the colorkey again)
smplayer_update_0.4.22.zip (http://smplayer.sourceforge.net/windows/download/smplayer_update_0.4.22.zip)
Henrikx
17th May 2007, 18:10
Hola rvm
colorkey donīt work. I only see the color, no Video !
Now it works :) Thnx man!
Please continue development of this nice piece of software. I really like it :)
Hola rvm
colorkey donīt work. I only see the color, no Video !
It seems that not all colorkeys work (or work in all computers).
Now the colorkey is configurable (Preferences->Advanced). Try to set it to #020202, that should work.
SMPlayer 0.5.0 released
There aren't many changes since the last announcement here, mostly small fixes. Although now there's an option which could make that srt/sub subtitles could look much better (info here (http://www.phpbbplanet.com/smplayer/viewtopic.php?t=151)).
But the most important is that a new full package with installer is available (about 11 MB). It also includes a more recent mplayer build.
There are also a zip and a 7z packages (in this case without mplayer).
Download page (http://smplayer.sourceforge.net/windows/download_en.php)
Delerue
29th May 2007, 20:46
SMPlayer 0.5.0 released
Thanks, man. I'll test.
Just to inform, the new build of MPlayer (May 22), from here (http://ffdshow.faireal.net/mirror/mplayer/) doesn't have WMV3 seek anymore. So, I rolled back to Abril 25 version.
Henrikx
29th May 2007, 22:30
Great Work rvm !!!
celtic_druid
29th May 2007, 22:51
Just tried some WMV3 and they seek fine here.
Delerue
30th May 2007, 01:52
Just tried some WMV3 and they seek fine here.
Pentium-M version doesn't, but the generic does.
SealTooGreat
2nd June 2007, 13:28
I have h264 and 2 audio streams in mp4. When I wanna switch between two audio streams, I have to select audio, press "stop" and than click "play". Can you fix this that only selecting audio is enough, and get rid of two next steps.
Unfortunately with some formats mplayer can't switch audio streams at run-time. I don't have any mp4 with 2 audio streams to test with, but I guess this is the case.
You can "fix" it by unchecking the option "fast audio track switching" in Preferences->Performance, but it will do what you're doing now manually: stop the video and start it again.
Another possibility that may work (or may not) would be to select "lavf" as demuxer, in Options->View info & properties.
SealTooGreat
2nd June 2007, 23:35
You can "fix" it by unchecking the option "fast audio track switching" in Preferences->Performance, but it will do what you're doing now manually: stop the video and start it again.
Thanx, this suggestion work fine, and that(stop the video and start it again - It's only half of second ) doesn't bother me as long as I don't have to do it manually. :)
Full package for SMPlayer 0.5.2 is now available
Yes, now you can download a new full package, with Qt dlls, translations, a copy of mplayer, installer... from version 0.5.2.
Why a new package so soon?
Because Qt 4.3 has been released. Now SMPlayer is compiled with this version.
According to the docs, Qt 4.3 provides a feature that maybe some users may find interesting: Qt applications running on Window Vista will look as native applications.
I don't have Windows Vista so I can't test it. I don't know if a recompilation is enough or if something else is needed.
So if someone using Windows Vista tests it, please tell me the result.
Sourceforge download page (http://sourceforge.net/project/showfiles.php?group_id=185512&package_id=216202&release_id=511845)
(A 7z file without mplayer is also available)
Changes from version 0.5.0 (http://www.phpbbplanet.com/smplayer/viewtopic.php?t=165)
LoRd_MuldeR
8th June 2007, 00:50
Feature request concerning deinterlacers:
Could you please change Yadif to use mode=1 (Bobbing) instead of only mode=0 please? This mode gives much more fluid motion than the other one. When deinterlacing at playback time I see no reason to waste motion, so bobbing is the only true method. Well, except your system is too slow too handle. But Yadif is known to work pretty fast...
Also good old KernelDeinterlacer would be nice to have on the list. But if you add it, please use threshold=5 or even lower. The default setting (10) is simply too high and leads to loads of artifacts.
Yeah, that would be fine...
I'll add those two deinterlacers, but I've just seen that yadif=1 in my computer (AMD-64 3200+) uses all CPU and I can't even watch a 720x576 mpeg video without sound desynchronization.
I don't know if this is normal, and yadif=1 requires a really fast processor, or if I'm doing something wrong.
LoRd_MuldeR
8th June 2007, 17:24
I'll add those two deinterlacers, but I've just seen that yadif=1 in my computer (AMD-64 3200+) uses all CPU and I can't even watch a 720x576 mpeg video without sound desynchronization.
I don't know if this is normal, and yadif=1 requires a really fast processor, or if I'm doing something wrong.
Great to hear :)
About the playback performance: Strange! On my good old AthlonXP 2800+ I can watch my MPEG-2 captures (720x576 @ 25fps) just fine with "-vf-add yadif=1". I use AthlonXP optimized MPlayer build from Celtic Druid. Can this cause the difference?
Also when you add Yadif, please note that some clips require the field dominance to be changed: "-vf-add yadif=1:1" instead of "-vf-add yadif=1:0". If the field dominance is set wrong, it will jump forth and back all the time...
Thanks for your efforts!
Kerndeint and yadif mode 0 options added in version 0.5.8 (I'll upload a binary for windows probably tonight).
Great to hear :)
About the playback performance: Strange! On my good old AthlonXP 2800+ I can watch my MPEG-2 captures (720x576 @ 25fps) just fine with "-vf-add yadif=1". I use AthlonXP optimized MPlayer build from Celtic Druid. Can this cause the difference?
I don't know, I was testing it on linux, with a self-compiled mplayer, and so optimized for my processor. I'll try it tonight on windows (it seems that mplayer is slightly faster on windows).
Also when you add Yadif, please note that some clips require the field dominance to be changed: "-vf-add yadif=1:1" instead of "-vf-add yadif=1:0". If the field dominance is set wrong, it will jump forth and back all the time...
Thanks for the info. I'll add then a "field dominance" option too. Meanwhile if someone needs it for some video, the option "-field-dominance 1" can be passed to mplayer to change to bottom field first.
Delerue
8th June 2007, 22:58
Great to hear :)
He added your sugestion in the last buil. Really great! :)
About the playback performance: Strange! On my good old AthlonXP 2800+ I can watch my MPEG-2 captures (720x576 @ 25fps) just fine with "-vf-add yadif=1". I use AthlonXP optimized MPlayer build from Celtic Druid. Can this cause the difference?
Well, DVDs aren't heavy in terms of CPU usage. But try to use Yadif mode 1 with this kind of video (http://www.bloghdtv.com/files/christina_aguilera.html) (the file are down, I know, but try to search in other place). To get you an idea, with 'Lowpass5' the CPU (Core 2 Duo running at 3 GHz without GPU acelleration) usage is around 20%, with 'Yadif mode 0' I get 40%, and with 'Yadif mode 1' is impossibile to watch, because I get 50% (can't get more, because MPlayer doesn't use the other core). As you can see, Yadif loves the CPU. :)
smplayer 0.5.8 update available for download (http://smplayer.sourceforge.net/windows/download_en.php) (changelog (http://www.phpbbplanet.com/smplayer/viewtopic.php?t=165))
In this computer (AMD Turion 64, 2.0 GHz, with Windows XP), Yadif mode 1 uses about 50-60% of CPU with the same video I tested in linux.
LoRd_MuldeR
9th June 2007, 21:19
smplayer 0.5.8 update available for download (http://smplayer.sourceforge.net/windows/download_en.php) (changelog (http://www.phpbbplanet.com/smplayer/viewtopic.php?t=165))
:thanks:
Just a suggestion: Maybe it should be called "Yadif (Keep Framerate)" and "Yadif (Double Framerate)" instead of "Mode 0" and "Mode 1", because the mode numbers might be confusing for the regular user. In fact mode numbers require the user to refer the MPlayer docs in order to understand what it means...
In this computer (AMD Turion 64, 2.0 GHz, with Windows XP), Yadif mode 1 uses about 50-60% of CPU with the same video I tested in linux.
On my AthlonXP 2800+ the CPU usage is below 50% all the time with Yadif=1 on a 720x576x25 MPEG-2 source...
Delerue
9th June 2007, 23:59
On my AthlonXP 2800+ the CPU usage is below 50% all the time with Yadif=1 on a 720x576x25 MPEG-2 source...
There's something wrong, I can guarantee. Here, with a MPEG2 720x480@29.97 FPS (or 60 non-full FPS) the CPU usage has an average of 25% and a top of 30%. But, hey, I'm talking about a Core 2 Duo running at real 3 GHz. It's really impossible that an AXP 2800+ has half of the performance. I'm not saying that you're lying. I'm saying that you're probably doing something that rvm and me are not. Any idea?
Netuser
10th June 2007, 00:20
How can i Use COreAvc instead of ffdshow ? in MPC you can add prefered , hwo to do in SMplayer ?
Delerue
10th June 2007, 00:26
How can i Use COreAvc instead of ffdshow ? in MPC you can add prefered , hwo to do in SMplayer ?
SMPlayer uses MPlayer engine that doesn't use DirectShow. So, you can't use FFDShow, CoreAVC or any other DirectShow filter/plugin.
LoRd_MuldeR
10th June 2007, 00:57
There's something wrong, I can guarantee. Here, with a MPEG2 720x480@29.97 FPS (or 60 non-full FPS) the CPU usage has an average of 25% and a top of 30%. But, hey, I'm talking about a Core 2 Duo running at real 3 GHz. It's really impossible that an AXP 2800+ has half of the performance. I'm not saying that you're lying. I'm saying that you're probably doing something that rvm and me are not. Any idea?
Well, look yourself:
http://img460.imageshack.us/img460/623/fileyadifperformancefm7.th.png (http://img460.imageshack.us/my.php?image=fileyadifperformancefm7.png) http://img460.imageshack.us/img460/1456/fileyadifmyprocessorrw9.th.png (http://img460.imageshack.us/my.php?image=fileyadifmyprocessorrw9.png)
(Video on screenshot is just black, because of Overlay renderer. Believe me, it is running ^^)
What MPlayer build do you use ???
There's something wrong, I can guarantee. Here, with a MPEG2 720x480@29.97 FPS (or 60 non-full FPS) the CPU usage has an average of 25% and a top of 30%. But, hey, I'm talking about a Core 2 Duo running at real 3 GHz. It's really impossible that an AXP 2800+ has half of the performance. I'm not saying that you're lying. I'm saying that you're probably doing something that rvm and me are not. Any idea?
Maybe we can use this video (http://www1.mplayerhq.hu/MPlayer/samples/MPEG-VOB/interlaced/tv2-1_25.mpg) to test deinterlace performance. It's a 720x576 mpeg.
In my computer (AMD 64, 3200+) it uses about 40% of CPU with yadif=0. With yadif=1 it uses about 72 - 80%.
LoRd_MuldeR
10th June 2007, 01:12
Maybe we can use this video (http://www1.mplayerhq.hu/MPlayer/samples/MPEG-VOB/interlaced/tv2-1_25.mpg) to test deinterlace performance. It's a 720x576 mpeg.
In my computer (AMD 64, 3200+) it uses about 40% of CPU with yadif=0. With yadif=1 it uses about 72 - 80%.
Strange :confused:
With pure interlaced playback I get ~5% CPU usage, Yadif=0 gives me ~10% CPU usage and with Yadif=1 I get ~40% CPU usage.
Measured with your sample video and this (http://oss.netfarm.it/mplayer/builds/mplayer-athlon-svn-23404.7z) MPlayer build...
I tested your MPlayer build for Athlon and I get the same CPU usage.
BTW, I thought I've got an AMD 64 3200+, but Windows XP (and MPlayer) identifies as AMD Athlon 64 3400+ 2.2 GHz, so I think there's no so much difference with yours.
Maybe the difference could be in the drivers of the graphic card?
LoRd_MuldeR
10th June 2007, 01:56
I tested your MPlayer build for Athlon and I get the same CPU usage.
BTW, I thought I've got an AMD 64 3200+, but Windows XP (and MPlayer) identifies as AMD Athlon 64 3400+ 2.2 GHz, so I think there's no so much difference with yours.
Maybe the difference could be in the drivers of the graphic card?
Well, I don't know. I got an ATI Radeon 9800 Pro running with latest Catalyst drivers...
Well, I'll try to update the drivers some day and see what happens.
Edit: I've just update the NVidia drivers, I don't see any difference, same CPU usage, or even more.
The strange thing is that in linux, in the same computer, mplayer uses a lot more CPU. HD videos are impossible to watch. I guess this is because I'm using the open source drivers for NVidia cards instead of the proprietary ones, which I think they must be more optimized.
Delerue
10th June 2007, 05:40
OK. I tested the sample provided by rvm. Machine: Core 2 Duo running at 3 GHz + Radeon X800XL (latest drivers) + WinXP Pro.
With 'Yadif' mode 1 (portable from MPlayer with MVTools script) running with MPC + FFDShow I got an average of 13% and top of 16%. With SMPlayer 0.5.8 and 'Yadif' mode 0 I got an average of 1% and a top of 4%. With mode 1 I got 4% of average and a top of 7%.
This sample is really light when compared to the DVD that I tested before. And finally it makes sense in terms of (our) CPU comparison. ;)
JoeBG
10th June 2007, 07:27
@ rvm
You have a very nice mkv support for your player. We can see the name of the streams and all chapters. :thanks:
Unfortunatly 99% of my files are mp4 and for mp4 there is no support for chapters, streamnames and tags. It would be wonderful to have a full mp4 suport - do you plan to add something like this? :)
Netuser
10th June 2007, 09:54
then how to to play Big 1080p X264 files ? movies that play smoothly on MPC and KMpklayer are played too slow and out of sync. What to do ?
LoRd_MuldeR
10th June 2007, 14:23
then how to to play Big 1080p X264 files ? movies that play smoothly on MPC and KMpklayer are played too slow and out of sync. What to do ?
When using MPlayer (no matter which GUI), you will be limited to the "built-in" OpenSource H.264 decoder from libavcodec/ffmpeg. Until they improve their H.264 decoder, there won't be a way to speed-up H.264 decoding in MPlayer. Well, except buying a faster CPU of course ^^
Nevertheless, I recently read about multi-threading support in libavcodec's H.264 decoder. This should speed-up H.264 decoding on PC's with more than one core significantly. Unfortunately it seems the multi-threading support is limited to slices...
CruNcher
10th June 2007, 15:07
Jep and also you won't be able to use DXVA (or direct API's like PureVideo 1/2) with such Linux Port Players unfortunately (but i think the Videolan Team announced something about supporting DXVA at least for Mpeg-2 natively under win32 soon), so natively they are better with Linux Drivers (oficial Nvidia/ATI) and X.org, but i really would like to now if they can compare in terms of decoding speed natively vs a Windows System with DXVA no one ever tested this yet :P
So a test with the same graphics card (same H.264/Mpeg-2 HD files (complexity) like Blu-Ray streams or better selfmade 50/60i streams that really require much more power then Blu-Rays most progressive available 24p streams because of the realtime 1080i->1080p conversion) like an Geforce 8 on Linux with native drivers and Mplayer/Videolan and compareing cpu utilization (and power requirements) vs a Windows XP/Vista System (PureVideo 1/2) and for example Cyberlinks and Mainconcepts Decoder i think this would be really interesting as you compare alot more then just graphics here also the kernel response and how much accelleration Nvidias Drivers offer under Linux. And especialy you compare ofcourse how much effective DXVA really is vs another OS and Driver(Module) architecture.
PS: Im not sure but Nvidias Linux Driver don't interface with Mplayer directly but via X.org right ? so would be a Motion Adaptive Deinterlacer like used in the Windows XP/Vista Driver via shaders even be possible for Mplayer to access i mean if Yadiff had to be used it would be quiet obvious wich System would win then as Yadiff would torture the Cpu alot on the Linux System. I have to less knowledge about the internals of Linux architecture so hard todo such a test without knowing anything about how Linux Video internaly works (how to get the most performanced results in terms of acceleration and GPU ofloading) :P
Delerue
10th June 2007, 15:40
When using MPlayer (no matter which GUI), you will be limited to the "built-in" OpenSource H.264 decoder from libavcodec/ffmpeg. Until they improve their H.264 decoder, there won't be a way to speed-up H.264 decoding in MPlayer. Well, except buying a faster CPU of course ^^
I think that MPlayer engine has a fast H.264 decode; a little faster than MPC + FFDShow. IMO, except for the multi-thread lacking, it's only a few steps behind the CoreAVC. Don't you think?
ExtraEye
10th June 2007, 19:28
I'm trying SMPlayer now and I find that one specific feature is missing which is to be able to crop the display a bit. Because I output my video to a TV I lose some parts of the video. I usually solve this in zoom player by stretching the video hight and width, but in SMPlayer I didn't find a way to do this. I saw there is a function of zooming out which is supposed to be triggered by pressing "w" but it didn't have any affect.
LoRd_MuldeR
10th June 2007, 19:30
I'm trying SMPlayer now and I find that one specific feature is missing which is to be able to crop the display a bit. Because I output my video to a TV I lose some parts of the video. I usually solve this in zoom player by stretching the video hight and width, but in SMPlayer I didn't find a way to do this. I saw there is a function of zooming out which is supposed to be triggered by pressing "w" but it didn't have any affect.
The "w" key is zoom out, use "e" to zoom in :p
ExtraEye
10th June 2007, 19:37
I need to zoom out.
probably didn't explain myself well...
When outputting to the TV from the PC, you lose some of the picture at the edges, because of the way TV screens work. so what i need is to zoom out of the picture so that the actual video's frame would be smaller so that when the computer sends the image to the tv, i can see all of it. this is done with zoom player by.. let's call it reverse-cropping. i create black borders which aren't visible because the TV doesn't show the edges, and that way the actual footage IS displayed.
In short I need to zoom out.
LoRd_MuldeR
10th June 2007, 21:08
I need to zoom out.
probably didn't explain myself well...
When outputting to the TV from the PC, you lose some of the picture at the edges, because of the way TV screens work. so what i need is to zoom out of the picture so that the actual video's frame would be smaller so that when the computer sends the image to the tv, i can see all of it. this is done with zoom player by.. let's call it reverse-cropping. i create black borders which aren't visible because the TV doesn't show the edges, and that way the actual footage IS displayed.
In short I need to zoom out.
I see.
What you need is the expand filter!
This will add black borders around the video, so your TV will only crop the borders, not the actual video.
Try something like vf-add expand=-100:-100 with MPlayer. (Yes, you need to use negative values)
LoRd_MuldeR
10th June 2007, 21:21
rvm, I got a few more feature requests ^^
1. If I select Video -> Size -> 100% and then accidentally resize the window by hand, I can not go back to 100%, because 100% is already checked and cannot be clicked again. So I have to go to some other size first, before I can go back to 100%. Therefore I suggest you add something like "Custom" (maybe with a separator) to Video -> Size, which will be checked automatically as soon as the user manually resizes the window.
2. SMPlayer already has a "Software Volume Control" checkbox in preferences. Unfortunately the maximum volume is still limited to 100% when software volume control is enabled. The reason I sometimes used software volume control is that I want to go above 100% with some very quiet videos. Would be nice if I could go up to at least 300% volume with software control enabled. Also "Software Volume Control" in the "Audio" menu instead of Preferences would be fine for faster access.
3. When speaking about volume: I also noticed that "Volume Normalization" is not available in SMPlayer. Well, I don't like MPlayer's volume normalization very much and only use it here and there, but shouldn't it be added for completeness?
Netuser
11th June 2007, 00:22
When using MPlayer (no matter which GUI), you will be limited to the "built-in" OpenSource H.264 decoder from libavcodec/ffmpeg. Until they improve their H.264 decoder, there won't be a way to speed-up H.264 decoding in MPlayer. Well, except buying a faster CPU of course ^^
Nevertheless, I recently read about multi-threading support in libavcodec's H.264 decoder. This should speed-up H.264 decoding on PC's with more than one core significantly. Unfortunately it seems the multi-threading support is limited to slices...
I have good computer and the video still dont wok with mplayer, i haev Core 2 duo 7200, 2 GB ram, ATI 16OO with 512MB , hope one day they will fix HD playback in mplayer.
I have good computer and the video still dont wok with mplayer, i haev Core 2 duo 7200, 2 GB ram, ATI 16OO with 512MB , hope one day they will fix HD playback in mplayer.
In the mplayer-users mailing list, it's usually suggested to use -lavdopts skiploopfilter=all.
From mplayer manpage:
skiploopfilter=<skipvalue>
Skips the loop filter (AKA deblocking) during H.264 decoding. Since the filtered frame is supposed to be used as reference for decoding dependent frames this has a worse effect on quality than not doing deblocking on e.g. MPEG-2 video. But at least for high bitrate HDTV this provides a big speedup with no visible quality loss.
<skipvalue> can be either one of the following:
none: Never skip.
default: Skip useless processing steps (e.g. 0 size packets in AVI).
nonref: Skip frames that are not referenced (i.e. not used for decoding other frames, the error cannot "build up").
bidir: Skip B-Frames.
nonkey: Skip all frames except keyframes.
all: Skip all frames.
You have a very nice mkv support for your player. We can see the name of the streams and all chapters. :thanks:
Unfortunatly 99% of my files are mp4 and for mp4 there is no support for chapters, streamnames and tags. It would be wonderful to have a full mp4 suport - do you plan to add something like this? :)
Unfortunately I don't have any mp4 video with chapters. If someone could point me to a mp4 sample video with chapters I could see if mplayer offers info about chapters.
rvm, I got a few more feature requests ^^
1. If I select Video -> Size -> 100% and then accidentally resize the window by hand, I can not go back to 100%, because 100% is already checked and cannot be clicked again. So I have to go to some other size first, before I can go back to 100%. Therefore I suggest you add something like "Custom" (maybe with a separator) to Video -> Size, which will be checked automatically as soon as the user manually resizes the window.
I'm aware of that problem. I'll try to fix it.
2. SMPlayer already has a "Software Volume Control" checkbox in preferences. Unfortunately the maximum volume is still limited to 100% when software volume control is enabled. The reason I sometimes used software volume control is that I want to go above 100% with some very quiet videos. Would be nice if I could go up to at least 300% volume with software control enabled. Also "Software Volume Control" in the "Audio" menu instead of Preferences would be fine for faster access.
I didn't know that was possible. Looking at the manpage I guess it's the -softvol-max option.
3. When speaking about volume: I also noticed that "Volume Normalization" is not available in SMPlayer. Well, I don't like MPlayer's volume normalization very much and only use it here and there, but shouldn't it be added for completeness?
I hardly use audio filters or audio options, so I don't know much about them. Thanks for the tip. I'll add that option.
Delerue
11th June 2007, 00:52
I have good computer and the video still dont wok with mplayer, i haev Core 2 duo 7200, 2 GB ram, ATI 16OO with 512MB , hope one day they will fix HD playback in mplayer.
Can you provide a sample?
ExtraEye
11th June 2007, 09:03
what LoRd_MuldeR suggested doesn't work. so if you could add cropping or maybe making it possible to zoom out, that would be great. in general the player is great. I like the way it remembers the settings used for each specific video and how it remembers where it stopped last time. it would be great if it was possible to disable that specifically for audio.
I'd like to know what's the difference between the different "output drivers" (openGL,directx, etc). which are recommended for use?
Also I couldn't find any keybord shortcut for switching to the next track in the playlist, it's not that awfull to fast forward all the way to the end but still, normally you could skip to the next track whith ease.
The volume control works nicely except that it usually plays at full volume for a sec, and then settles into the desired volume. so you should somehow make it take into account the volume control before it starts playing.
SealTooGreat
11th June 2007, 09:45
Unfortunately with some formats mplayer can't switch audio streams at run-time. I don't have any mp4 with 2 audio streams to test with, but I guess this is the case.
Although your suggestion is workable, you might find this mp4 with 2 audio streams (http://www.mytempdir.com/1352448) useful for developing purpose.
what LoRd_MuldeR suggested doesn't work. so if you could add cropping or maybe making it possible to zoom out, that would be great.
I think zoom out can be done. I didn't implement it because I didn't think it could be useful.
I'd like to know what's the difference between the different "output drivers" (openGL,directx, etc). which are recommended for use?
directx gives the best performance (it's the one that uses less CPU). The problem for Windows Vista users is that it disables Aero.
directx:noaccel on the other hand uses a lot of CPU and quality is very bad. It's not recommended.
gl and gl2 requires 3D acceleration in the graphic card. It gives much better performance than directx:noaccel, but not so much as directx. Quality is also very good. It can be useful for Windows Vista users. gl/gl2 didn't work quite well (inside frontends) until recent releases of MPlayer, and it still has some issues.
The other drivers just do funny things (like matrixview) or save the video as image files.
You can find more info in the MPlayer manpage (http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html).
Also I couldn't find any keybord shortcut for switching to the next track in the playlist, it's not that awfull to fast forward all the way to the end but still, normally you could skip to the next track whith ease.
The shortcuts for previous and next item in playlist are < and > but I've just realized that they only work in the playlist window. I'll try to fix it.
The volume control works nicely except that it usually plays at full volume for a sec, and then settles into the desired volume. so you should somehow make it take into account the volume control before it starts playing.
Yes, the thing is that the volume is controlled by MPlayer, and SMPlayer has to wait until the MPlayer process is running to tell it to change volume.
I miss a -volume option to pass the initial volume in the command line.
LoRd_MuldeR
11th June 2007, 16:20
what LoRd_MuldeR suggested doesn't work.
What exactly doesn't work? :confused:
It works here to add black borders around the video via the "expand" filter. Isn't that similar to zooming out?
I hardly use audio filters or audio options, so I don't know much about them. Thanks for the tip. I'll add that option.
I personally don't like MPlayer's normalizer very much, because it's not very smooth. Nevertheless volnorm=2 seems to give much better results, as it will use several samples to smooth the variations.
ExtraEye
11th June 2007, 16:33
It is similar but it's not happening for some reason when I try to use it. :(
Besides, even if there's a way, I think having the ability to crop while the video is playing is important...
Although your suggestion is workable, you might find this mp4 with 2 audio streams (http://www.mytempdir.com/1352448) useful for developing purpose.
I tested it with one of the latest svn releases of mplayer (SVN-r23386), and audio switching doesn't work with the default demuxer. It does work with the lavf demuxer, although after switching the audio is not synchronized (can be fixed going back 10 seconds).
You can add -demuxer lavf in Preferences->Advanced, that way it'll try to use the lavf demuxer for all videos, but it doesn't work well with some formats, for example there are no subtitles in mkv videos.
It is similar but it's not happening for some reason when I try to use it. :(
Besides, even if there's a way, I think having the ability to crop while the video is playing is important...
I'll try to add options for zoom out (I think cropping is another thing), but right now you can add something like expand=-50:-50 in Preferences->Advanced->Video filters
http://img113.imageshack.us/img113/1544/expand2bk3.th.jpg (http://img113.imageshack.us/my.php?image=expand2bk3.jpg)
and a border of 50 pixels will be added to all videos:
http://img505.imageshack.us/img505/4015/expand1cr6.th.jpg (http://img505.imageshack.us/my.php?image=expand1cr6.jpg)
olivierdb
11th June 2007, 18:37
Hi, Does SMPlayer play M4A, i.e. AAC (or even better: AAC+) audio?
It doesn't seem to work on my PC!!
Thank you.
ExtraEye
11th June 2007, 18:50
thx rvm, that worked well.
LoRd_MuldeR
11th June 2007, 18:53
thx rvm, that worked well.
That was exactly what I suggested before :p
Hi, Does SMPlayer play M4A, i.e. AAC (or even better: AAC+) audio?
It doesn't seem to work on my PC!!
Thank you.
Just tested some m4a and aac files from this samples directory (http://www1.mplayerhq.hu/MPlayer/samples/A-codecs/) and (at least in linux) they play perfectly.
LoRd_MuldeR
11th June 2007, 21:53
rvm, I just noticed another small "problem" with SMPlayer's Video -> Size menu: In some cases SMPlayer doesn't resize the main window properly. The video gets the desired size (e.g. 100%), but the window is too large. This results in black borders.
For example if I load a 640x480 video, it first looks fine. But as soon as I select Video -> Size -> 50%, then I get black bars on the left and on the right side, like this:
http://img512.imageshack.us/img512/5931/filesmplayerresize50lk9.png
When I then select Video -> Size -> 100%, I get (small) black bars on the top and on the bottom like this:
http://img512.imageshack.us/img512/807/filesmplayerresize100dt0.png
Nevertheless, pressing Stop + Play resizes properly back to 100%.
Netuser
11th June 2007, 23:26
In the mplayer-users mailing list, it's usually suggested to use -lavdopts skiploopfilter=all.
Where is this option ? how to chaneg it ?
thanks
Where is this option ? how to chaneg it ?
Options->Preferences->Advanced. Type -lavdopts skiploopfilter=all in the Options field.
rvm, I just noticed another small "problem" with SMPlayer's Video -> Size menu: In some cases SMPlayer doesn't resize the main window properly. The video gets the desired size (e.g. 100%), but the window is too large. This results in black borders.
I think this is caused by the language toolbar. When the window is about to be resized the language toolbar is above, next to the main toolbar. But when the window is actually resized, the language toolbar doesn't fit and Qt moves it down, so the video window is smaller than expected and the video has to be reduced to keep aspect ratio, so black borders appear. If you hide in that moment the language toolbar (F6) you'll see that the video fits perfectly.
When you make the window bigger then it happens the opposite, the language toolbar is moved up because there's enough space for it, leaving the video window a little bigger than expected.
ExtraEye
12th June 2007, 10:17
That was exactly what I suggested before :p
yeah, it's my fault because when you told me to do it I put it in "options" while I should have written it in "Video filters". So when he showed the picture it helped me. So I apologize :P
LoRd_MuldeR
12th June 2007, 13:17
yeah, it's my fault because when you told me to do it I put it in "options" while I should have written it in "Video filters". So when he showed the picture it helped me. So I apologize :P
no prob ;)
The difference is, that "Video Filters" will automatically prefix the required -vf-add, while "Options" will not...
vio_man
12th June 2007, 16:41
Your installer creates a new entry on the Windows Add/Remove everytime users installs a new version. You should change that to overwrite previous entry.
ExtraEye
12th June 2007, 20:50
I was wondering if the inloop filter in AVC is working by default or am I supposed to enable "Deblock" for AVC content.
LoRd_MuldeR
12th June 2007, 21:01
I was wondering if the inloop filter in AVC is working by default or am I supposed to enable "Deblock" for AVC content.
Inloop Deblocking is a mandatory feature of the H.264 format! For example all P- and B-Frame refer to the already deblocked frames. Therefore every H.264 decoder has to use Inloop-Deblocking, always! If you force the decoder to by-pass Inloop-Deblocking this will result in corrupted output. Not only the picture will be more blocky, also you will get further artifacts due to invalid reference frames. So forcing libavcodec to disable Inloop-Deblocking is a trade-off: It might speed-up decoding, but you will have to live with distorted output. I would only use it, in case nothing else helps...
Also note that "normal" postprocessing/deblocking is something completely separate from H.264's Inloop Deblocking. In contrast to MPEG-2 or MPEG-4 ASP, you won't need further postprocessing for H.264 contents (well, when decoding properly).
// EDIT
Disabling the Inloop Deblocking only on "None Ref Frames" (hence B-Frames) might be the save solution to avoid distortions, but of course it won't speed-up decoding as much as full skipping.
Your installer creates a new entry on the Windows Add/Remove everytime users installs a new version. You should change that to overwrite previous entry.
My installer is quite simple and it doesn't take into account updates, so it's recommended to uninstall a previous version before installing a new one.
ExtraEye
12th June 2007, 22:54
i was asking if this inloop deblocking was taking place by default. not if there is a way to disable it :P it's o.k.
LoRd_MuldeR
12th June 2007, 23:10
i was asking if this inloop deblocking was taking place by default. not if there is a way to disable it :P it's o.k.
Yes, it is enabled by default, as Inloop Deblocking is an essential part of H.264 decoding/playback.
Disabling Inloop Deblocking is only a "hack" to speed-up decoding with the effect of distorted output.
ExtraEye
13th June 2007, 13:31
couple of small requests:
1)In the playlist it could be nice if one could delete an item with the delete key instead of having to use the mouse for that.
2)I'd like to have the ability to have the "ExtraStereo" filter for the audio in all videos and not only the current one playing.
(What's the command for that?)
3)It would be nice if there was a small guide that tells you how to do the basic things with the command line. Something for the beginners to copy-paste from. :P
4)Like I said before, having specific crop settings for specific videos would be nice. I have some old videos which are cropped in hight and width and it'll be nice if I could "de-crop" them with the player and have it remember to use that setting each time it plays that file.
Also, I have a suggestion for manual audio volume correcting. Some videos have higher or lower volume by default. Now if you add another audio control which the player will remember, one could control the audio strength that would count as a certain number. let me try to simplify this.
Say you set the volume half as maximum in the player. Then you play a certain video which has half the volume strength it's supposed to have for the volume strength you set in the player. So you set the other volume parameter to twice as "normal", say 4/4 instead of 2/4. And the player remembers this specifically for this file. So now whenever you play the file, the player will play it twice as strong as the volume that is selected in the player.
I hope I explained good enough...
LoRd_MuldeR
13th June 2007, 17:06
couple of small requests:
1)In the playlist it could be nice if one could delete an item with the delete key instead of having to use the mouse for that.
I second that.
Also a commandline switch to append files to the Playlist would be nice :)
Like: smplayer.exe -enqueue "C:\Path to file\Foo.avi"
2)I'd like to have the ability to have the "ExtraStereo" filter for the audio in all videos and not only the current one playing. (What's the command for that?)
Just look at Options -> View Logs -> mplayer and check out the command-line :p
-af extrastereo
3)It would be nice if there was a small guide that tells you how to do the basic things with the command line. Something for the beginners to copy-paste from. :P
Have a look at this doc:
http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html
It's a pretty big doc, but it contains everything you can do with mplayer.
couple of small requests:
1)In the playlist it could be nice if one could delete an item with the delete key instead of having to use the mouse for that.
You can. Preferences->Mouse & keyboard and assign the "Del" key to the pl_remove_selected action.
2)I'd like to have the ability to have the "ExtraStereo" filter for the audio in all videos and not only the current one playing.
(What's the command for that?)
Preferences->Advanced. Type extrastereo in the Audio filters field.
3)It would be nice if there was a small guide that tells you how to do the basic things with the command line. Something for the beginners to copy-paste from. :P
Yes, I think it's time to start to write some docs. But first I have to setup a help system.
You can take a look at the mplayer manpage (http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html), and look for the video and audio filters. You can add the ones you want to smplayer in Preferences->Advanced by typing the filters (and optional parameters) in the video and audio filters fields.
Filters set this way would be used for all videos. If you prefer to use some filters for a specific file, you can do it too. Open the video and the select Options->View info and properties, and select the "MPlayer options" tab. There you can add options and filters to be passed to mplayer, but this time only the current file will be affected. And these options are saved and will be use again if you play the file later.
4)Like I said before, having specific crop settings for specific videos would be nice. I have some old videos which are cropped in hight and width and it'll be nice if I could "de-crop" them with the player and have it remember to use that setting each time it plays that file.
Just what I said above.
Also, I have a suggestion for manual audio volume correcting. Some videos have higher or lower volume by default. Now if you add another audio control which the player will remember, one could control the audio strength that would count as a certain number. let me try to simplify this.
Say you set the volume half as maximum in the player. Then you play a certain video which has half the volume strength it's supposed to have for the volume strength you set in the player. So you set the other volume parameter to twice as "normal", say 4/4 instead of 2/4. And the player remembers this specifically for this file. So now whenever you play the file, the player will play it twice as strong as the volume that is selected in the player.
I hope I explained good enough...
Sounds like the -softvol-max mplayer option. I'll add support for it soon.
ExtraEye
13th June 2007, 17:35
How cool. Most of the things I asked for are already available :P thx fot the help LoRd_MuldeR and rvm. The file specific mplayer options are really neat :D
Is there a way to assign a key for cropping?
Or in general, a way to assign keys for commands? If not that could be a cool feature!
MetalheadGautham
13th June 2007, 17:41
How many of these features does this have?
well, my need is as follows:
1. support for infinite formats
2. no green bars in flv videos
3. opensource(if none, then freeware, but I HATE KMPLAYER)
4. tonnes of video filters
5. a 10 band equiliser with preset values for lots of stuff, especially for METAL.(I am a fan of SOAD, Metallica, Slayer, Anthrax, Zep, Megadeth, Sabbath, Maiden, rush, etc:cool:)
6. NO green bars in flv videos
7. the playlist, the EQ, the controls, the video and the visualizations in the same window, no multiple windows.
8. a built in and effitient transcoader and ripper(x264 and nero aac a must if not nero then faad)
9. cool looking icons for various filetypes
10. a good sound quality.
11. faster playback/slower playback, adjustable speed
12. god visualisations
13. a good library
14. EYE CANDY
15. less CPU usage
16. postprocessing, as a low priority process, so that when ram is available, it uses lot of it for postprocessing, but when applications start getting launched, it automatically adjusts the quality so that the other processors wont be affected
17. ompact mode
18. alw@ys on top
19. dvd menus
20. advanced transcoading functions including but not limited to partial extract, stream coppy, matroska, save streaming media, etc.
21. mozilla firefox plugin to replace real alternative, quicktime alternative, wmp plugin, etc.
22. cd burning support(lib-writina)
23. all advanced options accessable via gui
24. PROPER file type extentions. like MP3 Audio, Real Audio, AAC audio, etc, not Media file(mkv) or audio file(mp3) or m4a file
How cool. Most of the things I asked for are already available :P thx fot the help LoRd_MuldeR and rvm. The file specific mplayer options are really neat :D
Is there a way to assign a key for cropping?
Or in general, a way to assign keys for commands? If not that could be a cool feature!
You can change the key shortcuts in Preferences->Keyboard and mouse. In general you can only change or add shortcuts for options that appear in the menus.
SealTooGreat
13th June 2007, 19:06
@MetalheadGautham
You forgot ability to make coffee, bring drinks and popcorns, reading watcher's thoughts would be awesome as well, just to make sure that pleasant is achieved. My 2 cent. :D
Be patient, one by one implementation is the most suitable way to do. ;)
foxyshadis
13th June 2007, 20:57
Actually he's just looking for a checklist to compare different players, it looks like. (I'm not familiar enough with smplayer to say what it supports or doesn't.)
LoRd_MuldeR
13th June 2007, 21:15
How many of these features does this have?
1. MPlayer supports more file formats than any other player I'm aware off. It provides native support for more than 192 Video- und 85 Audiocodecs! (-> details (http://www.mplayerhq.hu/DOCS/codecs-status.html#vc))
2. yes
3. YES !!!
4. yes (see the mplayer docs -> link (http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html#VIDEO%20FILTERS))
5. yes, but it's not implemented in the SMPlayer front-end, so you'll have to configure it manually (Prefs -> Advanced -> Audio Filters)
6. yes, still
7. no, SMPlayer has separated windows for playlist and video
8. well, that would be a job for MEncoder, not MPlayer
9. you can set this manually, no matter which player you use
10. MPlayer has same audio quality as any other DirectSound/WaveOut based player, I guess. I doesn't screw up anything at least
11. yes
12. nope, no such gimmicks
13. nope, not in the SMPlayer front-end. Other MPlayer front-ends might include a libraray
14. ?
15. MPlayer is one of the most CPU gentle player I'm aware of
16. yes, several postprocessing filters are available in MPlayer (see docs again)
17. yes, SMPlayer has compact mode
18. yes
19. nope, DVD Video is supported, but no menus (SMPlayer has it's own menus to change title/chapter/language/subtitle though)
20. again a job for MEncoder, not MPlayer
21. nope
22. nope
23. yes, SMPlayer has a lot of options implemented in the GUI. The rest can be configured from (Prefs -> Advanced)
24. Why should the player change any file extensions? It plays the files as they are. If your files have wrong extensions, then it's nobody's fault except your own ^^
MetalheadGautham
14th June 2007, 09:31
Actually he's just looking for a checklist to compare different players, it looks like. (I'm not familiar enough with smplayer to say what it supports or doesn't.)
exactly. I have my norms for all kinds of things. I find this newly made list very useful.
PS: I am thinking of making a software soon which can assign different features different priorities and points and rank a set of features. (just abuse the "if", "else" and "while" clauses in C). but I dont have any compiler. can someone try something like this?
LoRd_MuldeR
14th June 2007, 17:26
RVM, ir would be great if you could provide a static build of the latest SMPlayer.exe :)
I'll try to do it tomorrow.
And I think I can also get rid of the mingwm10.dll, so the binary won't depend on any dll.
LoRd_MuldeR
14th June 2007, 18:35
I'll try to do it tomorrow.
And I think I can also get rid of the mingwm10.dll, so the binary won't depend on any dll.
great news :D
smplayer_windows_0.5.14_static_without_mplayer.7z (http://downloads.sourceforge.net/smplayer/smplayer_windows_0.5.14_static_without_mplayer.7z)
Compiled with Qt 4.3, and this time it doesn't depend on mingwm10.dll. Surprisingly the binary is much smaller (now 8 MB), the compressed package less that 4 MB.
LoRd_MuldeR
15th June 2007, 22:33
smplayer_windows_0.5.14_static_without_mplayer.7z (http://downloads.sourceforge.net/smplayer/smplayer_windows_0.5.14_static_without_mplayer.7z)
Compiled with Qt 4.3, and this time it doesn't depend on mingwm10.dll. Surprisingly the binary is much smaller (now 8 MB), the compressed package less that 4 MB.
Thank you very much for your efforts :)
ExtraEye
16th June 2007, 12:40
If it would be possible to make the control box show up in a little higher place in full screen mode it would be great. Right now it is displayed in the edge and so my TV screen swallows most of it.
p.s: it seems the subtitles support still isn't perfect. The player can't play some of the videos I have because they have subtitles. would you like me to upload a sample?
If it would be possible to make the control box show up in a little higher place in full screen mode it would be great. Right now it is displayed in the edge and so my TV screen swallows most of it.
I hadn't thought about it. I'll try to fix it.
p.s: it seems the subtitles support still isn't perfect. The player can't play some of the videos I have because they have subtitles. would you like me to upload a sample?
Yes please.
ExtraEye
16th June 2007, 21:19
can you give me an email address to send it too? or maybe you know where i can upload it to? just 5 megabyte.
Edit:
o.k something wierd. I just installed LoRd_MuldeR's newest package and the file worked...
LoRd_MuldeR
16th June 2007, 21:48
o.k something wierd. I just installed LoRd_MuldeR's newest package and the file worked...
Maybe different MPlayer build? :confused:
ExtraEye
16th June 2007, 22:12
umm another thing. sorry im asking so much :(
I use the command "dsize=1280:720, scale=1280:720 -sws 9" to resize my videos to my TV's resolution. the problem is the player still works by the aspect ratio of the videos so if he comes by a video with an aspect ratio of 16:9 it is displayed square instead of the dimensions I asked for. This is fixed whenever I change the settings of such a video to 16:9 (although at that point the cropping settings aren't as good anymore). I tried making the player not take the aspect ratio into account with the command "-noaspect" but that didn't work :(
I don't know what the dsize option is for, I have never used.
I think for scaling while keeping the aspect ratio of the videos you can use "scale=1280:-2".
LoRd_MuldeR
16th June 2007, 22:32
Why do you use dsize at all? It is used to change the aspect ratio. If you just want to resize, then scale should be enough. Also you can try scale=1280:-2, which will resize to 1280 x ?, where ? is chosen accordingly to the aspect ratio of the movie.
Also take care that you put scale= to the "Video filters" edit box (-vf-add not needed) and -sws 9 to the "Options" edit box.
[edit]
damn, rvm was faster ;)
ExtraEye
18th June 2007, 01:25
I do want the aspect ratio to change :P I want all my videos to show up full screen in my wide screen TV. Thus I wanted to resize the videos to the resolution of my TV and lose the aspect ratio. Unfortunately Smplayer disregards this and still displays the videos that are square, square (with borders at the sides).
It's more correct, I know. But I still want every inch of my TV covered :p
Ok, if your TV screen is 16:9 and you want all videos to have that aspect, in Preferences->Advanced, type -aspect 16:9 in the Options field.
BTW, I think the scale filter is not necessary. It will just use a lot of CPU.
LoRd_MuldeR
18th June 2007, 14:54
Ok, if your TV screen is 16:9 and you want all videos to have that aspect, in Preferences->Advanced, type -aspect 16:9 in the Options field.
BTW, I think the scale filter is not necessary. It will just use a lot of CPU.
software scaler with Lanczos (-sws 9) gives significant better quality than letting Overlay do the resize, which would use Bilinear scaling, I guess...
LoRd_MuldeR
18th June 2007, 23:05
rvm, I got another request concerning Process Priority: SMPlayer already has an option to control MPlayeR's priority. Unfortunately this only effects the priority of 'MPlayer.exe', not 'SMPlayer.exe'. So when I use "High" priority and play something which causes heavy CPU load, then MPlayer.exe will eat all the CPU time and the SMPlayer GUI simply freezes. A short time after that MPlayer freezes too, as it seems to wait for response of SMPlayer. Only way then is to kill MPlayer.exe from Taskman. So I recommend that the priority of SMPlayer.exe should be set at least to the same level as MPlayer.exe. That's the way MPUI does it...
Well, first I have to find out if it's possible to change the priority by using the Qt library, otherwise it would be needed to use native code (and I know nothing about windows programming...)
BTW, this problem seems to be very similar to another one I found (this one (http://www.phpbbplanet.com/smplayer/viewtopic.php?t=75)), maybe it's the same? but in that case it didn't seem to be related to the priority (I tried lowering the MPlayer priority, producing the same result).
MetalheadGautham
19th June 2007, 10:29
hey RVM, I think this is still a ram sucker... it uses as much ram as MPC, because smplayer.exe(relatively less ram) + mplayer.exe(relatively less ram) = tonnes of ram:confused:
anyway, here are some feature requests:
1. because SMPlayer is still not 1.0 and some things can be done in MPUI by a gui but not by SMPlayer, and beacuse MPUI is so small, please provide it in the package itself. we can enjoy both.:cool:
2. Please include the binary win32 codecs with the program, or atleast give an option to download them while installing, as that simplifies lots of stuff:helpful:
3. please provide a file explaining the different codes for adding additional components like postprocesing(with level), etc. Most ammature users dn't know what to type in the advanced settings box:p.
hey RVM, I think this is still a ram sucker... it uses as much ram as MPC, because smplayer.exe(relatively less ram) + mplayer.exe(relatively less ram) = tonnes of ram:confused:
I never had the intention to make a low memory consumption application. In fact there are a lot of things to add, so it will be bigger and use more RAM.
Anyway SMPlayer can use about 20 MB, MPlayer another 20 or 30 MB. Today's computers use to have at least 1 GB of RAM, so I don't consider it a big deal.
1. because SMPlayer is still not 1.0 and some things can be done in MPUI by a gui but not by SMPlayer, and beacuse MPUI is so small, please provide it in the package itself. we can enjoy both.:cool:
LoRd_MuldeR has already made a package with MPUI + SMPlayer.
2. Please include the binary win32 codecs with the program, or atleast give an option to download them while installing, as that simplifies lots of stuff:helpful:
I will add a link in the web to the binary codecs, and some instructions about how to install it.
Anyway, I think LoRd_MuldeR's package also include the codecs.
3. please provide a file explaining the different codes for adding additional components like postprocesing(with level), etc. Most ammature users dn't know what to type in the advanced settings box:p.
That's why that section is for advanced users ;)
Anyway, anyone can take a look at the MPlayer manpage (http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html). All options, all filters, are perfectly explained there.
LoRd_MuldeR
19th June 2007, 18:34
Well, first I have to find out if it's possible to change the priority by using the Qt library, otherwise it would be needed to use native code (and I know nothing about windows programming...)
Setting the priority under Win32 is really easy to do:
procedure ChangePriority(NewPriority: Integer);
var
x: DWORD;
begin
case NewPriority of
0: x := ABOVE_NORMAL_PRIORITY_CLASS;
1: x := BELOW_NORMAL_PRIORITY_CLASS;
2: x := HIGH_PRIORITY_CLASS;
3: x := IDLE_PRIORITY_CLASS;
4: x := NORMAL_PRIORITY_CLASS;
5: x := REALTIME_PRIORITY_CLASS;
else
x := NORMAL_PRIORITY_CLASS;
end;
SetPriorityClass(GetCurrentProcess(), x)
end;
More info:
http://msdn2.microsoft.com/en-us/library/ms686219.aspx
smok3
19th June 2007, 20:06
So I recommend that the priority of SMPlayer.exe should be set at least to the same level as MPlayer.exe. That's the way MPUI does it... related; when trying to http stream some mp4 file we can go into endless loop, when again killproc is the only way, both gui and mplayer will stop responding. But here the priority changes wont work i guess, how about an option to kill mplayer automagically if it does not respond for to long? (not a popup, but maybe something like: "mplayer is behaving, will be killed /restarted in N seconds, set the N in preferences if you wish.")
Could you point me to a mp4 http stream so I can test it?
Anyway when this happens, smplayer is almost dead. Until the mplayer process isn't killed, smplayer doesn't come to live again, so adding such option will be useless.
LoRd_MuldeR
19th June 2007, 23:27
BTW: SMPlayer still doesn't open files from commandline, when there's a ' in the name.
It seems somehow the ' character is lost...
http://img474.imageshack.us/img474/7918/filesmplayercharfn5.th.png (http://img474.imageshack.us/my.php?image=filesmplayercharfn5.png)
If I open the the same file via drag & drop, then it plays fine...
Yes. After some tests I think this is a bug in Qt 4.3.0. It doesn't happen with Qt 4.2.3, so probably I'll go back to version 4.2.3.
MetalheadGautham
20th June 2007, 07:19
I never had the intention to make a low memory consumption application. In fact there are a lot of things to add, so it will be bigger and use more RAM.
Anyway SMPlayer can use about 20 MB, MPlayer another 20 or 30 MB. Today's computers use to have at least 1 GB of RAM, so I don't consider it a big deal.
LoRd_MuldeR has already made a package with MPUI + SMPlayer.
I will add a link in the web to the binary codecs, and some instructions about how to install it.
Anyway, I think LoRd_MuldeR's package also include the codecs.
That's why that section is for advanced users ;)
Anyway, anyone can take a look at the MPlayer manpage (http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html). All options, all filters, are perfectly explained there.
1. I know... but I have only 256 mb ram:(
2. good
3. good
4. coppy the text in a .txt file???
PS: I have made a package with SMPLayer, MPUI, Codecs, SUPER, speexdrop, oggdrop, Media Player Classic, VLC, Tak encoder, Riva FLV Player & JHymn(yummy!!!) I have made a 7Zip SFX, and I am gonna change the icon, version info, etc with resource hacker;). ANY TAKERS?
I can remove Riva FLV Player, replace super with MediaCoder(which is less stable, less easy to use btw), also removing oggdrop and speex(MediaCoder can code em both) along with tak(propiatary, non commersial, personal, chartiatiable, educational use only) to make it fully open source. Any Ideas?(if I get a good responce, I can move this to a new thread... Lord_MuldeR and rpm, please suggest)
0.5.19 update for windows is available (http://smplayer.sourceforge.net/windows/download_en.php)
This version is compiled with Qt 4.2.3, so the problem with the apostrophe should be fixed. But you should read this! (http://www.phpbbplanet.com/smplayer/viewtopic.php?p=876&mforum=smplayer#876)
Important changes:
* The priority of the SMPlayer process changes accordingly to the priority of MPlayer (SMPlayer will try to run with higher priority).
* Added support for audio CDs, although it doesn't work for me in Windows (MPlayer error: "No stream found to handle url cdda://1"), does MPlayer in Windows support audio CDs?
smok3
21st June 2007, 08:41
Could you point me to a mp4 http stream so I can test it?
Anyway when this happens, smplayer is almost dead. Until the mplayer process isn't killed, smplayer doesn't come to live again, so adding such option will be useless.
this are private streams, so i cant, but i suspect similar behaviour should happen with some apple trailers and such.
It seems that a work around to prevent that smplayer freezes is to use gl or gl2 as video driver. I don't know why, but in that case at least smplayer keeps working (mplayer can go crazy anyway, but you can kill it by pressing the stop button).
LoRd_MuldeR
22nd June 2007, 14:19
0.5.19 update for windows is available (http://smplayer.sourceforge.net/windows/download_en.php)
This version is compiled with Qt 4.2.3, so the problem with the apostrophe should be fixed. But you should read this! (http://www.phpbbplanet.com/smplayer/viewtopic.php?p=876&mforum=smplayer#876)
Important changes:
* The priority of the SMPlayer process changes accordingly to the priority of MPlayer (SMPlayer will try to run with higher priority).
* Added support for audio CDs, although it doesn't work for me in Windows (MPlayer error: "No stream found to handle url cdda://1"), does MPlayer in Windows support audio CDs?
Could you privide a 'statically linked' build once more? :)
BTW: Is there an important reason why you still make 'dynamically linked' builds by default? Is it only to keep the update size small?
ExtraEye
22nd June 2007, 22:06
I ran into a file that causes the mplayer process to take 99 cpu and then get stuck. i've uploaded a part here:
http://www.gigasize.com/get.php/-1100061863/SECRET_WALTZ_PART.avi
Delerue
22nd June 2007, 23:36
I ran into a file that causes the mplayer process to take 99 cpu and then get stuck. i've uploaded a part here:
http://www.gigasize.com/get.php/-1100061863/SECRET_WALTZ_PART.avi
Tested, but I got nothing more than 8% (Core 2 Duo @3.0 GHz).
MetalheadGautham
23rd June 2007, 11:07
hey rvm, why don't you give a link to the download of SMPlayer(the latest version) from sourceforge in your signature? It will be really easy for thers to download it...
PS:(take this lightly and it will help you get over your worries;)
@mods: is this post allowed?)
Here are some problems I found with SMPlayer. Can you fix them?:devil:
1. I Pressed Alt+F4 in SMPlayer for windows, and SMPlayer crashed. SMPlayer hence stinks to the core.:p
2. My speakers have a button which lights up when pressed. when I press them again, the light disappears! but when I make that light disappear to save power, may favourite song could not be heard on SMPlayer. can anyone please help me?:confused:
3. I play music with my monitor off, to save power, after I heard that VLC has good keyboard controls. but when I pressed a little button next to that big button on the CPU, my song stops. even when I press the button assighed for play, SMPlayer simply refuses to play. I was fiddling with this for over half an hour, and then saw that my system was again in the choose user menu. this is an extremely dangerous bug in SMPlayer which I found. I must get a Nobel Prize and SMPlayer must be never used.:mad:
4. This is a huge discovery I made about SMPlayer: when you press a big button on the monitor, my video suddenly disappears. when I press it again, my video appears again. this is a bad bug. when I want to watch videos while sleeping, I keep the computer right in front of my bed. what if I accidently press that button with my leg in my sleep? I will not be able to watch any videos after that.:scared:
I ask you kind users to help me, or I will go to court against SMPlayer:goodpost:
LoRd_MuldeR
23rd June 2007, 12:52
I ran into a file that causes the mplayer process to take 99 cpu and then get stuck. i've uploaded a part here:
http://www.gigasize.com/get.php/-1100061863/SECRET_WALTZ_PART.avi
ExtraEye, your sample video plays 100% fine here. Test with both, 'directx' and 'gl' renderer. I can't reproduce any lockup or heavy CPU load. My CPU load is between 5% and 20% on my AthlonXP 2800+. For my test I used SMPlayer v0.5.14 and the latest MPlayer builds from Celtic Druid's site (2007-06-18).
MetalheadGautham
23rd June 2007, 13:20
hey Lord_MuldeR, what version exactly is SMPlayer now?
LoRd_MuldeR
23rd June 2007, 13:28
A look at the SMPlayer Homepage (http://smplayer.sourceforge.net/windows/download_en.php) or the Changelog (http://www.phpbbplanet.com/smplayer/viewtopic.php?t=165) can answer this question :rolleyes:
LoRd_MuldeR
23rd June 2007, 15:49
I found another issue with SMPlayer: Imagine I'm currently playing a video and I want to enqueue another video, so it will play right after the current video. I open the Playlist window and drag in the new file. It will appear on the playlist, but it won't start automatically after the current video has ended!
Nevertheless it does play automatically for some reason if there were other files on the playlist before. The current video doesn't have to be on the playlist though. So it would be very nice, if could enqueue files just by adding them to the playlist.
Furthermore an additional command-line parameter for enqueueing files would be nice. Like the -enqueue param I added to MPUI...
I found another issue with SMPlayer: Imagine I'm currently playing a video and I want to enqueue another video, so it will play right after the current video. I open the Playlist window and drag in the new file. It will appear on the playlist, but it won't start automatically after the current video has ended!
Nevertheless it does play automatically for some reason if there were other files on the playlist before. The current video doesn't have to be on the playlist though. So it would be very nice, if could enqueue files just by adding them to the playlist.
The playlist doesn't work well if the video currently playing is not on the playlist. So the video added may not play because the playlist may think it's the one it has just played.
Furthermore an additional command-line parameter for enqueueing files would be nice. Like the -enqueue param I added to MPUI...
I'll try to add that option. But right now I think I'm going to start to port the program to Qt 4, so new features and bug fixes will probably have to wait.
Could you privide a 'statically linked' build once more? :)
I'll try to do it as soon as I can.
BTW: Is there an important reason why you still make 'dynamically linked' builds by default? Is it only to keep the update size small?
Yes, for me it's easier (and faster) to upload a 900 KB file than a 4 MB file, specially if I have to do it almost every day. I also think the user will prefer to download the 900 KB file. I can make the static binary from time to time, but not so often.
Anyway, if you don't mind to waste about 200-300 MB in the Qt development environment, you can do the static compilation by yourself. It's quite easy, I can explain.
I ran into a file that causes the mplayer process to take 99 cpu and then get stuck. i've uploaded a part here:
http://www.gigasize.com/get.php/-1100061863/SECRET_WALTZ_PART.avi
I also tested that file, using the MPlayer build included in the SMPlayer package, and the file plays well. Can't see any problem at all.
LoRd_MuldeR
23rd June 2007, 17:25
The playlist doesn't work well if the video currently playing is not on the playlist. So the video added may not play because the playlist may think it's the one it has just played.
In MPUI this is solved the following way: If you open a single file (or drag it on the main window), then the playlist will be cleared and the file will be put on the playlist. So to currently playing file will be the only one on the playlist at that moment. Now I can enqueue more files by dragging them on the playlist window, using the "Add" button or using the -enqueue commandline param. Those files will be appended on the playlist and they will be played after the current file is finished. Wouldn't that be a solution for SMPlayer too ???
BTW: What does porting to QT 4 mean? I thought SMPlayer is already based on QT 4.3.0 :confused:
BTW: What does porting to QT 4 mean? I thought SMPlayer is already based on QT 4.3.0 :confused:
I'm developing the program in linux using Qt 3.3. It can be compiled with Qt 4 but it's mainly a Qt 3 app, so to be able to use the new features that Qt 4 offers I have to ported it to Qt 4.
LoRd_MuldeR
23rd June 2007, 17:40
I'm developing the program in linux using Qt 3.3. It can be compiled with Qt 4 but it's mainly a Qt 3 app, so to be able to use the new features that Qt 4 offers I have to ported it to Qt 4.
I see! :)
smplayer_windows_0.5.20_static_without_mplayer.7z (http://downloads.sourceforge.net/smplayer/smplayer_windows_0.5.20_static_without_mplayer.7z)
Compiled this time with Qt 4.2.3 to avoid the problem with apostrophes, but unfortunately now it depends again on mingwm10.dll.
LoRd_MuldeR
24th June 2007, 12:31
smplayer_windows_0.5.20_static_without_mplayer.7z (http://downloads.sourceforge.net/smplayer/smplayer_windows_0.5.20_static_without_mplayer.7z)
Compiled this time with Qt 4.2.3 to avoid the problem with apostrophes, but unfortunately now it depends again on mingwm10.dll.
Thank you sir :)
ExtraEye
3rd July 2007, 02:23
I'm working with Smplayer in linux now and there's a wierd behavior in it's part. After a while the volume starts to lower on itself (!) until it's off completely. By switching the volume higher or lower I get it to return to the way it was originally (and after a while it happens again, and again, and again).
I tried other players and they didn't produce this problem so it must be something in the settings...
This is very strange. Have you tried selecting another audio driver?
Anyway you can take a look at the smplayer log. If you see messages like this "Core::setVolume: xx" then maybe smplayer for an unknown reason is changing the volume. Otherwise the problem is in another place.
foxyshadis
3rd July 2007, 21:19
Is any sort of normalization on? (I don't remember what it's called in smplayer.) One method of implementing one-pass normalization is to lower the multiplier any time a larger peak appears, until volume has decreased rather drastically.
LoRd_MuldeR
3rd July 2007, 21:55
Is any sort of normalization on? (I don't remember what it's called in smplayer.) One method of implementing one-pass normalization is to lower the multiplier any time a larger peak appears, until volume has decreased rather drastically.
MPlayer has a normalization filter (-af volnorm=2), but it works independen from the volume control. So if the normalization filter would decided to lower the volume, then the volume slider couldn't undo that - except the volume slider is below 100% and you have room to go up. But then it would stop working as soon as you reach 100% once. According to ExtraEye moving the volume slider up/down can fix the problem multiple times, but the problem returns a short time after that...
ExtraEye
4th July 2007, 09:18
Another problem with Smplayer in linux: real media files won't play :(
here's what the log says:
mplayer -noquiet -nofs -sub-fuzziness 1 -identify -slave -vo xv -ao alsa -zoom -nokeepaspect -framedrop -input conf=/usr/share/smplayer/input.conf -stop-xscreensaver -wid 12582934 -colorkey 131586 -monitoraspect 1.77778 -subfont-autoscale 1 -subfont-text-scale 5 -subcp Unicode -aid 0 -subpos 100 -contrast 0 -brightness 0 -hue 0 -saturation 0 -ss 35 -osdlevel 0 -softvol -softvol-max 100 /media/sda1/Documents and Settings/Yarden/My Documents/Anime/AMVs/TV/DBZ/enfuego.rm -vf-add expand=-19:-25 -aspect 16:9 -sws 9
MPlayer 2:1.0~rc1-0ubuntu9.1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3000+ (Family: 15, Model: 47, Stepping: 0)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
stderr: mplayer: could not connect to socket
stderr: mplayer: No such file or directory
stderr: Failed to open LIRC support. You will not be able to use your remote control.
Terminal type `unknown' is not defined.
Playing /media/sda1/Documents and Settings/Yarden/My Documents/Anime/AMVs/TV/DBZ/enfuego.rm.
REAL file format detected.
Stream description: Audio Stream
Stream mimetype: audio/x-pn-realaudio
ID_AUDIO_ID=0
Stream description: Video Stream
Stream mimetype: video/x-pn-realvideo
ID_VIDEO_ID=1
Stream mimetype: logical-fileinfo
VIDEO: [RV30] 160x120 24bpp 27.000 fps 0.0 kbps ( 0.0 kbyte/s)
Clip info:
name: En Fuego - By DannyPoo
ID_CLIP_INFO_NAME0=name
ID_CLIP_INFO_VALUE0=En Fuego - By DannyPoo
ID_CLIP_INFO_N=1
ID_FILENAME=/media/sda1/Documents and Settings/Yarden/My Documents/Anime/AMVs/TV/DBZ/enfuego.rm
ID_DEMUXER=real
ID_VIDEO_FORMAT=RV30
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=160
ID_VIDEO_HEIGHT=120
ID_VIDEO_FPS=27.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=cook
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
ID_LENGTH=198.00
xscreensaver_disable: Could not find XScreenSaver window.
GNOME screensaver disabled
Opening video filter: [expand w=-19 h=-25]
Expand: -19 x -25, -1 ; -1, osd: 0, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [realvid] RealVideo decoder
stderr: Error: /usr/lib/win32/drvc.so: cannot open shared object file: No such file or directory
stderr: Error loading dll
stderr: ERROR: Could not open required DirectShow codec drvc.so.
Win32 LoadLibrary failed to load: drvc.so, /usr/lib/win32/drvc.so, /usr/local/lib/win32/drvc.so
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
stderr: Error: /usr/lib/win32/drv3.so.6.0: cannot open shared object file: No such file or directory
stderr: Error loading dll
stderr: ERROR: Could not open required DirectShow codec drv3.so.6.0.
Win32 LoadLibrary failed to load: drv3.so.6.0, /usr/lib/win32/drv3.so.6.0, /usr/local/lib/win32/drv3.so.6.0
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
stderr: Error loading dll
stderr: ERROR: Could not open required DirectShow codec drv33260.dll.
Win32 LoadLibrary failed to load: drv33260.dll, /usr/lib/win32/drv33260.dll, /usr/local/lib/win32/drv33260.dll
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
stderr: Error: /usr/lib/win32/drvc.bundle/Contents/MacOS/drvc: cannot open shared object file: No such file or directory
stderr: Error loading dll
stderr: ERROR: Could not open required DirectShow codec drvc.bundle/Contents/MacOS/drvc.
Win32 LoadLibrary failed to load: drvc.bundle/Contents/MacOS/drvc, /usr/lib/win32/drvc.bundle/Contents/MacOS/drvc, /usr/local/lib/win32/drvc.bundle/Contents/MacOS/drvc
Read the RealVideo section of the DOCS!
VDecoder init failed :(
stderr: Cannot find codec matching selected -vo and video format 0x30335652.
Read DOCS/HTML/en/codecs.html!
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 64.7 kbit/4.58% (ratio: 8086->176400)
ID_AUDIO_BITRATE=64688
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=ffcook
Video: no video
Starting playback...
[Mixer] No hardware mixing, inserting volume filter.
stderr: No bind found for key 'JOY_RIGHT'.-JOY_DOWN-JOY_AXIS3_PLUS-JOY_AXIS2_PLUS
messinian
4th July 2007, 09:33
Hello guys !!
This is my first post, but I read the forum since long time. So to my problem:
I have ripped my DVDs to my disk, usualy with english audio stream (DD or DTS) and one subtitle in my language. I have connected my sound output to my AV receiver thru SPDIF and my OS is XPpro.
I try many settings but I can't play my DVDs, the subtitle not display and my AV receiver don't light up the DD or DTS led.
Maybe rvm or LoRd_MuldeR can write basic setup file so a user can play his files easy from the first time?
Thanks for your help.
P.S. Sorry for my bad english
Gusar
4th July 2007, 10:08
@ExtraEye: Do you have the win32codecs package installed? No idea how ubuntu handles this package, but you'll need to install it for now to play real video (not for long though, a native real decoder for ffmpeg is being written). Some ubuntu wiki will for sure have instructions on how to install it.
ExtraEye
4th July 2007, 12:01
@ExtraEye: Do you have the win32codecs package installed? No idea how ubuntu handles this package, but you'll need to install it for now to play real video (not for long though, a native real decoder for ffmpeg is being written). Some ubuntu wiki will for sure have instructions on how to install it.
o.k thx. Sorry for bringing unrelated stuff in I thought it would work the way it does in windows.
LoRd_MuldeR
4th July 2007, 15:33
Hello guys !!
This is my first post, but I read the forum since long time. So to my problem:
I have ripped my DVDs to my disk, usualy with english audio stream (DD or DTS) and one subtitle in my language. I have connected my sound output to my AV receiver thru SPDIF and my OS is XPpro.
I try many settings but I can't play my DVDs, the subtitle not display and my AV receiver don't light up the DD or DTS led.
Maybe rvm or LoRd_MuldeR can write basic setup file so a user can play his files easy from the first time?
Thanks for your help.
P.S. Sorry for my bad english
If you want MPlayer to put out AC3 (Dolby Digital) and/or DTS audio via digital-out (S/PDIF), then you need to check "AC3/DTS pass-through S/PDIF" in the SMPlayer preferences...
Also make sure you have configured your DVD drive properly in the SMPlayer preferences before you try to play a DVD...
Someone asked about CoreAVC. Well, it turned out that the mplayer build included in smplayer (taken from here (http://www.cccp-project.net/smf/index.php?topic=811.0)) has support for that codec.
To use it you need to copy the file CoreAVCDecoder.ax to the codecs folder in mplayer.
Now if you want to use that codec just for one video, open the video in smplayer and select Options->View info and properties. Under the video codec tab, select coreavc instead of ffh264.
http://img249.imageshack.us/img249/8048/smplayercoreavc1nd3.th.jpg (http://img249.imageshack.us/my.php?image=smplayercoreavc1nd3.jpg)
If you want the codec to be used whenever possible, go to Preferences->Advanced and type -vc coreavc, in the options field. Be carefully with the comma at the end, it's very important, it tells mplayer to use another codec if coreavc is not suitable for a video.
http://img507.imageshack.us/img507/9996/smplayercoreavc2xw3.th.jpg (http://img507.imageshack.us/my.php?image=smplayercoreavc2xw3.jpg)
If you really want to be sure that coreavc is actually used, you can take a look at the mplayer log.
http://img507.imageshack.us/img507/9333/smplayercoreavc3ck3.th.jpg (http://img507.imageshack.us/my.php?image=smplayercoreavc3ck3.jpg)
Said that, I must say that I don't find a big difference in performance compared to ffh264. Both use more or less the CPU.
I've just released a new full package for version 0.5.21, which is the latest stable version.
You can get it here (http://smplayer.sourceforge.net/windows/download_en.php).
There's also a 7z package, without mplayer.
I have also uploaded an update for the current unstable version (0.5.29-qt4-0710). This is only for testing. I'm porting the application to Qt 4. This requires a lot of changes in the code, and it can introduce bugs.
Things yet to be ported are the playlist and the main window, among other small things. One thing fully ported is the preferences dialog (which was almost rewritten) and where you'll find more differences.
http://img98.imageshack.us/img98/854/smplayerqt4ao7.th.jpg (http://img98.imageshack.us/my.php?image=smplayerqt4ao7.jpg)
Sirber
12th July 2007, 14:54
Latest release is really nice! Keep the good work! :D
cinezone
15th July 2007, 12:35
How can I easily associate all video files with smplayer ?
What does "use software video equalizer" do ? Is it like "-sws 10" ?
Thx
LoRd_MuldeR
15th July 2007, 13:05
How can I easily associate all video files with smplayer ?
What does "use software video equalizer" do ? Is it like "-sws 10" ?
Thx
My installer has a "File Associations" tool included:
http://mulder.dummwiedeutsch.de/home/?page=projects#mplayer
I guess "software video equalizer" will use mplayer's internal Color Equalizer instead of the one from your graphics card.
The -sws option refers to the software scaler (-vf scale), that's something different...
Jerry_Sm@rt
16th July 2007, 11:55
It's really a goodlooking and powerful ui for mlayer!
And I need some help with handling it.
1.Where is the settings saving?I can not find any file like .ini that restores the user's settings.I do not want to reconfigure all the settings everytime I update smplayer or moving to another computer.
2.How can I make smplayer automatically expand to 4:3 when there are subs,so the subs will display under the image?
LoRd_MuldeR
16th July 2007, 14:57
It's really a goodlooking and powerful ui for mlayer!
And I need some help with handling it.
1.Where is the settings saving?I can not find any file like .ini that restores the user's settings.I do not want to reconfigure all the settings everytime I update smplayer or moving to another computer.
2.How can I make smplayer automatically expand to 4:3 when there are subs,so the subs will display under the image?
Answer to question 1. is simple :)
With older versions of SMPlayer it is stored at:
C:\Dokumente und Einstellungen\<Your Name>\Anwendungsdaten\RVM\smplayer.ini
With the latest version of SMPlayer it is stored at:
C:\Dokumente und Einstellungen\<Your Name>\.smplayer\smplayer.ini
For English systems:
Stable version:
C:\Documents and Settings\your_name\Application Data\RVM\smplayer.ini
New versions:
C:\Documents and Settings\your_name\.smplayer\smplayer.ini
Anyway the path can be changed with the option -ini-path:
smplayer -ini-path c:\another_directory
(If the directory is omitted it will use the same directory where smplayer.exe is)
For the 2nd question, you can add expand=:::::4/3 in Preferences->Advanced->Video filters.
http://img461.imageshack.us/img461/7886/preferencesoa7.th.jpg (http://img461.imageshack.us/my.php?image=preferencesoa7.jpg)
LoRd_MuldeR
28th July 2007, 01:36
rvm, could you provide a new "static" build of the last SMPlayer for my next MPlayer update? :)
artisanicview
29th July 2007, 12:32
I have a question not directly for SMplayer but related with Mplayer. How to make my own per-file setting for a video file? I have a video file with some chinese subtitles, and I want to erase them when I see this video file.
artisanicview
29th July 2007, 12:40
....
With older versions of SMPlayer it is stored at:
C:\Dokumente und Einstellungen\<Your Name>\Anwendungsdaten\RVM\smplayer.ini
With the latest version of SMPlayer it is stored at:
C:\Dokumente und Einstellungen\<Your Name>\.smplayer\smplayer.ini
And why the SMplayer dont store the smplayer.ini file into the SMPlayer.exe directory?
Gusar
29th July 2007, 13:53
And why the SMplayer dont store the smplayer.ini file into the SMPlayer.exe directory?Because on linux the smplayer binary is in /usr/bin, which is not writable by the user and is not meant to store configuration data. On linux, user configuration is in dotted files or dirs in your home directory "/home/<username>/". The Windows equvalent of the home dir being "C:\Documents and Settings\<username>\" (XP), or "C:\Users\<username>\" (vista).
Storing configuration in the application directory is a no-go even in Windows. The fact that apps do this is just bad practice, a relic from single-user systems (dos, win98). The truly correct place to store configuration on XP is "C:\Documents and Settings\<username>\Application Data\"
LoRd_MuldeR
29th July 2007, 14:04
Also you can still change it, if you need it for some reason:
Anyway the path can be changed with the option -ini-path:
smplayer -ini-path c:\another_directory
rvm, could you provide a new "static" build of the last SMPlayer for my next MPlayer update? :)
I'll try to do it as soon as possible (I'm not having much time lately)
Anyway if you don't mind to waste 200 or 300 MB in the Qt devel package, you can create those builds by yourself, it's quite easy.
HeadBangeR77
30th July 2007, 22:59
Hello everyone :)
I've been absent for many months (reality called me ;) ), and I really haven't got enough time to read through both threads post by post (this one and LoRd MuldeR's). So just a few simple questions:
1) Has anyone with AthlonXP CPU noticed any difference in terms of speed between the generic mplayer build and the optimized one by Celtic Druid?
2) How to get the Celtic Druid's builds to work with SMPlayer? I've already read in the other thread it's somehow related to the folder for storing configuration files. I've been messing with those for a good hour, yet without success so far :confused:
@ rvm:
Are you planning to update the old mplayer's revision by CCCP or is it not on your priority list atm?
Btw, I'm slowly leaning towards SMPlayer instead of MPC + ffdshow (I will keep both for some time ;)). Good job!
:thanks:
2) How to get the Celtic Druid's builds to work with SMPlayer? I've already read in the other thread it's somehow related to the folder for storing configuration files. I've been messing with those for a good hour, yet without success so far :confused:
Well, I haven't tested those builds for a while. The problem was that fontconfig and ass lib didn't use to work. The trick was to set the screenshot folder in smplayer to the folder where mplayer.exe is installed (smplayer sets the mplayer working directory to the screenshot folder).
@ rvm:
Are you planning to update the old mplayer's revision by CCCP or is it not on your priority list atm?
Actually I don't have much time for testing mplayer builds, but I'll try to update it for the next full release.
HeadBangeR77
30th July 2007, 23:50
Thank you for the quick answers :)
I've tested d3d, gl and gl2 video rendering and all seem to work fine for me so far. However the gl2 utilizes more CPU cycles than the other ones.
Volumes normalization kicks in after sometimes immediately, and sometimes after a delay. Apart from that no problems with your application. Thanks again!
The latest release, statically linked:
smplayer_windows_unstable_snapshot_0730_static.7z (http://downloads.sourceforge.net/smplayer/smplayer_windows_unstable_snapshot_0730_static.7z)
The list of most important changes since version 0.5.21 (besides porting to Qt 4, which is still in progress)
* Updated the Ukrainian, Russian, Polish, German, Portuguese, Spanish, Japanese, Chinese (zh_CN), Turkish and Romanian translations.
* Updated the French translation, using the one sent by Kud Gray.
* The link in the "about" dialog at last works (if Qt >= 4.2).
* Now the option "Don't repaint the video background" is checked by default in linux.
* Created the file create_deb.sh, specially for Ubunty users. If you run it, it would create a deb package.
* Added a bat file (compile_windows.bat) to make easier the compilation in windows.
* New button in the preferences dialog: Help. It will display some help about the options in the current section.
* Now the configuration file will be in $HOME/.smplayer/smplayer.ini and $HOME/.smplayer/screenshots will be used as the default directory to save the screenshots.
* Bug fix: now the info about the demuxer, audio and video codec are updated after a restart of the mplayer process.
* Fix: now reading the info about video, audio drivers, codecs and demuxers is done in a language independent way (it looks for tags like "ID_VIDEO_OUTPUTS" instead of English text).
* Now changing a key shortcut in the actions' editor is much easier. Now you double click or press enter on a shortcut (you can do it in any column) and a dialog will appear to ask you for the new shortcut. In this dialog you press the key or combination of keys that you want to assign to the shortcut. If you want to delete, just click on the Clear button.
* By user request: added a new option in Preferences->Interface: Change volume on every file. If checked SMPlayer will remember the volume of every file, and will be restored when played again. For new files the default volume will be used. That was the normal behavior until now. The new thing is if you uncheck it. In this case SMPlayer will never change the volume when a file is loaded. Problem: on startup SMPlayer won't know the current volume value, the volume slider will be wrong.
* New option for command line that I think it could be very useful: -action
This option passes the specified action to an already running instance. For instance, you're watching a video in smplayer, then you type:
smplayer -action pause and the video will be paused.
smplayer -action fullscreen will toggle the video to fullscreen.
This will allow to control smplayer with a remote control. You can see a list of all available actions in "Preferences->Keyboard and mouse". Under the "Name" column in the shortcut editor you've got all action's names. When using -action all other parameters (except ini-path) are ignored. So it you want to open a movie and enter in fullscreen, this is NOT valid:
smplayer movie.avi -action fullscreen
But you can do it in two steps:
smplayer movie.avi
smplayer -action fullscreen
The exit code will be 0 if the -action option is successful and -1 if there's an error.
* If the name of the executable (without extension) is "smplayer_portable" then the option -ini-path will be activated (that means that smplayer will look for the config file in the app path).
LoRd_MuldeR
31st July 2007, 22:45
That is great news, rvm. Thanks :)
EpheMeroN
3rd August 2007, 18:14
When using SMPlayer in Windows, how can I have it save all my settings? i.e. deblocking, deringing, etc?
Also, what's the equivalent of -af volnorm=2 in SMPlayer for audio normalization?
rvm
3rd August 2007, 18:36
When using SMPlayer in Windows, how can I have it save all my settings? i.e. deblocking, deringing, etc?
These options are not global. Their state is saved along with other settings for the current file, so when you play it again they will be recovered.
If you want for instance use deblocking for all files you can add something like this in Preferences->Advanced->Video filters: pp=vb/hb
Also, what's the equivalent of -af volnorm=2 in SMPlayer for audio normalization?
Preferences->General->Audio and video->Volume normalization.
EpheMeroN
3rd August 2007, 20:02
Can you set an option somewhere in next SMPlayer build to allow it to save preferences for video filtering? Having to set them each time is tiresome.
LoRd_MuldeR
3rd August 2007, 20:05
As said before, you can do that via Preferences -> Advanced -> Video filters ;)
EpheMeroN
3rd August 2007, 20:09
As said before, you can do that via Preferences -> Advanced -> Video filters ;)
Okay. I just grew too accustomed to the gui video pp options in MPUI hehe.
timestoby
5th August 2007, 18:07
ive used the smplayer for a couple of months now,but since a couple of days ago i cant get no picture.it plays the sound and when i drag the window around i see the picture underneath.can someone tell me how to fix this please.cheers.oh and i cant remember which one it is but when i go into task manager and close ither the mplayer or splayer the picture is there.
rvm
6th August 2007, 09:45
Mmm, maybe you need to change the colorkey (Preferences->Advanced). The default one is #020202, try setting it to #030303, #040404...
Also verify that the option "Don't repaint the background of the video window" is not checked.
If that doesn't work, try to use a different video driver (Preferences->General).
Delerue
26th August 2007, 02:39
rvm, the option to pass-through the DD/DTS signal makes the video runs fast. I tested with three videos.
Thanks
rvm
26th August 2007, 07:48
Probably a mplayer issue. All I can say is try a different build.
Edit: Or try first selecting another audio driver in preferences->general.
LoRd_MuldeR
26th August 2007, 10:11
rvm, can you once again provide a statically linked build of latest SMPlayer? :)
rvm
26th August 2007, 18:08
smplayer_windows_0.5.43_static_without_mplayer.7z (http://downloads.sourceforge.net/smplayer/smplayer_windows_0.5.43_static_without_mplayer.7z?use_mirror=osdn)
kurt
26th August 2007, 18:24
option that prevents turning off monitor while playing a video...(Disabling screensaver doesn't help here at least for XP)
thx for your good work btw :)
rvm
26th August 2007, 19:10
Already done since some versions ago. The monitor won't be turned off if the option to disable the screensaver is enabled.
Although I've been reported that it doesn't work on Windows Vista, but it should at least work on XP.
Some other changes in recent versions:
* (By user request) Added a new option in Preferences->Interface: "Remember position and size" (of the main window). Checked by default.
* (By user request) Added two new optins in Preferences->General->Video & audio: "Direct rendering" and "Double buffering".
* Changed the behavior of "Use postprocessing" and "Volume normalization" in Preferences->General. Previously if you check "Use postprocessing" for instance, then all videos will use postprocessing, no matter of the setting in Video->Filter->Postprocessing. Now this specifies the default setting for new videos. If checked, all new videos you open will have the option Video->Filter->Postprocessing enabled but you can disable it if you want. Previously this wasn't possible. I think this behavior is more consistent.
* Almost all options in menus can have a shortcut.
* Now the maximum value for volume is 100 instead of 99.
* Recent files menu: now if the list is empty the submenu won't appear.
You can also set the max. number of items in the list to 0 in Preferences->Interface.
* Compilation time has been reduced.
LoRd_MuldeR
26th August 2007, 19:58
smplayer_windows_0.5.43_static_without_mplayer.7z (http://downloads.sourceforge.net/smplayer/smplayer_windows_0.5.43_static_without_mplayer.7z?use_mirror=osdn)
:thanks: I will update my package ASAP...
Delerue
27th August 2007, 01:19
Probably a mplayer issue. All I can say is try a different build.
Edit: Or try first selecting another audio driver in preferences->general.
'Win32' driver did the job. Thanks!
rvm
6th September 2007, 09:57
It seems the problem with filenames with apostrophes is fixed in Qt 4.3.1.
So I've just uploaded a new full package for version 0.5.51 compiled with Qt 4.3.1. It includes everything: executable, dlls, translations and the icon themes (including the new ones). Ah, there's even a new version of mplayer (CCCP-SVN-r23855).
Also it seems that the old problem with QProcess which could make smplayer and mplayer to freeze with some videos, is fixed.
So you're encouraged to test it:
smplayer_0.5.51_full_setup.exe (http://downloads.sourceforge.net/smplayer/smplayer_0.5.51_full_setup.exe) (about 11 MB)
(It also includes a new installer)
LoRd_MuldeR
7th September 2007, 20:57
It seems the problem with filenames with apostrophes is fixed in Qt 4.3.1.
So I've just uploaded a new full package for version 0.5.51 compiled with Qt 4.3.1. It includes everything: executable, dlls, translations and the icon themes (including the new ones). Ah, there's even a new version of mplayer (CCCP-SVN-r23855).
Also it seems that the old problem with QProcess which could make smplayer and mplayer to freeze with some videos, is fixed.
So you're encouraged to test it:
smplayer_0.5.51_full_setup.exe (http://downloads.sourceforge.net/smplayer/smplayer_0.5.51_full_setup.exe) (about 11 MB)
(It also includes a new installer)
Thanks a lot, sounds like some important fixes :)
As always I would be very happy for a statically linked build :o
rvm
8th September 2007, 03:00
As always I would be very happy for a statically linked build :o
http://downloads.sourceforge.net/smplayer/smplayer_windows_0.5.53_static_without_mplayer.7z
LoRd_MuldeR
8th September 2007, 16:38
http://downloads.sourceforge.net/smplayer/smplayer_windows_0.5.53_static_without_mplayer.7z
:thanks:
// EDIT
How do I embed the playlist into main window?
I read in the changelog that this feature is built-in now, but how to enable it ???
rvm
9th September 2007, 01:36
I disabled it in the binaries for Windows because it wasn't working well with Qt 4.3.1. For instance, after exiting from fullscreen the window was much larger than it should.
I hope I can fix these problems soon.
LoRd_MuldeR
9th September 2007, 13:02
I disabled it in the binaries for Windows because it wasn't working well with Qt 4.3.1. For instance, after exiting from fullscreen the window was much larger than it should.
I hope I can fix these problems soon.
Oh, I see!
BTW: Is there a complete documentation of SMPlayer's command-line parameters somewhere? I'm looking for a way to add an item to the playlist of the running instance of SMPlayer. I need this to implement an Explorer shell command like "Enqueue in SMPlayer", which is a very nice feature IMHO...
rvm
9th September 2007, 15:44
These are the current parameters for command line:
Usage: smplayer [-ini-path [directory]] [-send-action action_name] [-actions
action_list [-close-at-end] [-help|--help|-h|-?] [[-playlist] media]
[[-playlist] media]...
-ini-path: specifies the directory for the configuration file
(smplayer.ini). If directory is omitted, the application
directory will be used.
-send-action: tries to make a connection to another running instance and
send to it the specified action. Example: -send-action
pause The rest of options (if any) will be ignored and the
application will exit. It will return 0 on success or -1 on
failure.
-actions: action_list is a list of actions separated by spaces. The
actions will be executed just after loading the file (if
any) in the same order you entered. For checkable actions
you can pass true or false as parameter. Example: -actions
"fullscreen compact true". Quotes are necessary in case you
pass more than one action.
-close-at-end: the main window will be closed when the file/playlist
finishes.
-help: will show this message and then will exit.
media: 'media' is any kind of file that SMPlayer can open. It can
be a local file, a DVD (e.g. dvd://1), an Internet stream
(e.g. mms://....) or a local playlist in format m3u. If the
-playlist option is used, that means that SMPlayer will
pass the -playlist option to MPlayer, so MPlayer will
handle the playlist, not SMPlayer.
Currently there's no option to add items to the playlist of a running instance, although you can do this:
smplayer.exe file1 file2 file3...
The running instance will open those files, adding them to the playlist (which is previously cleared). If there's no other running instance a new one will be opened.
LoRd_MuldeR
9th September 2007, 16:01
These are the current parameters for command line:
Usage: smplayer [-ini-path [directory]] [-send-action action_name] [-actions
action_list [-close-at-end] [-help|--help|-h|-?] [[-playlist] media]
[[-playlist] media]...
-ini-path: specifies the directory for the configuration file
(smplayer.ini). If directory is omitted, the application
directory will be used.
-send-action: tries to make a connection to another running instance and
send to it the specified action. Example: -send-action
pause The rest of options (if any) will be ignored and the
application will exit. It will return 0 on success or -1 on
failure.
-actions: action_list is a list of actions separated by spaces. The
actions will be executed just after loading the file (if
any) in the same order you entered. For checkable actions
you can pass true or false as parameter. Example: -actions
"fullscreen compact true". Quotes are necessary in case you
pass more than one action.
-close-at-end: the main window will be closed when the file/playlist
finishes.
-help: will show this message and then will exit.
media: 'media' is any kind of file that SMPlayer can open. It can
be a local file, a DVD (e.g. dvd://1), an Internet stream
(e.g. mms://....) or a local playlist in format m3u. If the
-playlist option is used, that means that SMPlayer will
pass the -playlist option to MPlayer, so MPlayer will
handle the playlist, not SMPlayer.
Nice :)
Currently there's no option to add items to the playlist of a running instance, although you can do this:
smplayer.exe file1 file2 file3...
The running instance will open those files, adding them to the playlist (which is previously cleared). If there's no other running instance a new one will be opened.
That's not exactly what I want to do. I would like to be able to left-click a file in Windows Explorer and choose "Enqueue in SMPlayer", so it will be appended to the playlist in the running instance. I once added this feature to MPUI and it's one of the things I'm missing in SMPlayer. Since it's already possible to send commands to the running instance (-send-action) this shouldn't be too hard to implement, right? ^^
rvm
10th September 2007, 21:38
That's not exactly what I want to do. I would like to be able to left-click a file in Windows Explorer and choose "Enqueue in SMPlayer", so it will be appended to the playlist in the running instance. I once added this feature to MPUI and it's one of the things I'm missing in SMPlayer. Since it's already possible to send commands to the running instance (-send-action) this shouldn't be too hard to implement, right? ^^
Yes, I think it won't be difficult.
BTW, the update for version 0.5.56 (http://smplayer.sourceforge.net/en/windows/download.php) for first time has enabled the playlist embedded in the main window.
There's still some minor problems to fix, though.
ExtraEye
28th September 2007, 22:04
problems with smplayer in ubuntu:
I played a video then switched to an audio file and the whole player disapeared (not available even on the taskbar).
I am missing the option from the windows version for the player to shut itself once it's done playing.
Also is there a possibility that you'll add an option to make Smplayer the default player? I'm having problems making it the default player here...
rvm
29th September 2007, 13:58
problems with smplayer in ubuntu:
I played a video then switched to an audio file and the whole player disapeared (not available even on the taskbar).
That's really strange. What version of smplayer are you using?
I am missing the option from the windows version for the player to shut itself once it's done playing.
That option exists for both windows and linux.
You can get the very latest releases here (http://smplayer.wiki.sourceforge.net/Unstable+releases).
Also see the Contributed Packages (http://smplayer.wiki.sourceforge.net/Contributed+Packages), you can get updated deb packages for ubuntu.
Also is there a possibility that you'll add an option to make Smplayer the default player? I'm having problems making it the default player here...
For Windows you can use the SetFileAssoc.exe (http://mulder.dummwiedeutsch.de/temp/SetFileAssoc.exe) by LoRd_MuldeR.
For Linux, I don't really know how to do it. I think this is managed by the desktop manager.
LoRd_MuldeR
29th September 2007, 20:45
rvm, I noticed a little problem with SMPlayer and the OpenGL renderer: When I minimize the SMPlayer window and restore it again, then the video is just black. Only way to get the video back is Stop + Play. MPUI doesn't show this problem with the OpenGL renderer (I can even minimize to tray and restore with working video output), so I guess this is some SMPlayer specific problem...
rvm
29th September 2007, 22:19
Mmm, I'm on linux now so I can't test myself..., could you test if checking the option "Don't repaint the background of the video window" in preferences->advanced make any difference?
LoRd_MuldeR
29th September 2007, 22:23
Mmm, I'm on linux now so I can't test myself..., could you test if checking the option "Don't repaint the background of the video window" in preferences->advanced make any difference?
makes no difference, sorry ...
LoRd_MuldeR
30th September 2007, 22:47
rvm, I found another issue with the OpenGL renderer: If I use the OpenGL renderer and enable certain filters, e.g. Deinterlacing, then MPlayer fails to initialize the video renderer and doesn't play at all! This can be solved be adding -vf-add scale to "Additional options for MPlayer", which AFAIK does the required colorspace conversion. That's definitely not an SMPlayer issue, but it would be very nice if SMPlayer could automatically append the scale filter, if necessary for the current filter+renderer configuration. Especially for users who don't know to workaround that issue manually...
rvm
30th September 2007, 23:49
I'll try to do it tomorrow.
About the problem with the video going blank after minimize, yes it happens to me to. Only I can say for now is that it seems to happen with all versions, from the old 0.5.21 to the latest one, and with Qt 4.3 and Qt 4.2.
But I saw that this doesn't happen when the window is hidden by clicking on the smplayer icon in the system tray, only when minimized.
LoRd_MuldeR
1st October 2007, 02:13
But I saw that this doesn't happen when the window is hidden by clicking on the smplayer icon in the system tray, only when minimized.
I can confirm that. Would it be possible to simply hide the main window instead of minimizing when the "minimize" button is clicked? Maybe you can use some dummy window to keep SMPlayer visible on the Taskbar while it is hidden...
rvm
1st October 2007, 22:02
I tried several things to try to fix the problem, none worked, the video is always blank after restoring.
The only thing that works is restarting mplayer, and this is what I did. It's ugly but works.
smplayer_update_svn_r107.7z (http://smplayer.wiki.sourceforge.net/space/showimage/smplayer_update_svn_r107.7z)
Anyway I think this is a mplayer bug. The opengl driver still has some problems.
LoRd_MuldeR
1st October 2007, 22:44
I tried several things to try to fix the problem, none worked, the video is always blank after restoring.
The only thing that works is restarting mplayer, and this is what I did. It's ugly but works.
smplayer_update_svn_r107.7z (http://smplayer.wiki.sourceforge.net/space/showimage/smplayer_update_svn_r107.7z)
Anyway I think this is a mplayer bug. The opengl driver still has some problems.
Thanks. I can confirm that this workaround fixes the problem, but I agree that it's not a very nice solution.
Though I'm not sure if that is an MPlayer bug, because it works just fine with MPUI.
Maybe it's some bug or at least some "special behavior" of QT4 which causes that problem?
Do you know where is the difference between hiding the window (no problem) and minizing it (problem) ???
m99
1st October 2007, 23:21
Is there any statically linked build after 0.5.53?
rvm
1st October 2007, 23:46
Is there any statically linked build after 0.5.53?
No sorry, this is the latest version linked statically.
Thanks. I can confirm that this workaround fixes the problem, but I agree that it's not a very nice solution.
Though I'm not sure if that is an MPlayer bug, because it works just fine with MPUI.
I know, but the others (directx, directx:noaccel) work ok when minimizing.
I have the feeling that maybe the opengl driver doesn't realize that the window is visible again.
Maybe it's some bug or at least some "special behavior" of QT4 which causes that problem?
I tested with version 0.5.21 when most of the code used the Qt 3 support library and that problem happened too.
Do you know where is the difference between hiding the window (no problem) and minizing it (problem) ???
No I don't know, but yes, the problem should be on minimize (or in fact in restore after minimizing). I found something curious: if you pause the video before minimizing, then when restored the video is blank but when resuming play the video appears. Strangely, the option "pause when minimized" in preferences, which does those same steps automatically, has the same problem and the video doesn't appear. I even tried to use a timer to resume play some seconds later, but no way, window blank.
LoRd_MuldeR
2nd October 2007, 00:40
I have the feeling that maybe the opengl driver doesn't realize that the window is visible again.
Yeah, but it does with MPUI for some reason :confused:
rvm
2nd October 2007, 01:45
rvm, I found another issue with the OpenGL renderer: If I use the OpenGL renderer and enable certain filters, e.g. Deinterlacing, then MPlayer fails to initialize the video renderer and doesn't play at all! This can be solved be adding -vf-add scale to "Additional options for MPlayer", which AFAIK does the required colorspace conversion. That's definitely not an SMPlayer issue, but it would be very nice if SMPlayer could automatically append the scale filter, if necessary for the current filter+renderer configuration. Especially for users who don't know to workaround that issue manually...
Mmm, I can't reproduce this problem in linux. It seems mplayer automatically adds the scale filter when needed.
LoRd_MuldeR
2nd October 2007, 14:21
OpenGL Renderer + YADIF Deinterlacer:
mplayer.exe -noquiet -nofs -sub-fuzziness 1 -identify -slave -vo gl -ao dsound -zoom -nokeepaspect -priority abovenormal -framedrop -wid 722406 -colorkey 131586 -monitoraspect 1.33333 -subfont-autoscale 1 -subfont-text-scale 5 -subcp ISO-8859-1 -aid 1 -subpos 100 -contrast 0 -hue 0 -saturation 0 -ss 1104 -osdlevel 0 -vf-add yadif -vf-add expand=osd=1 -noslices -vf-add screenshot -channels 2 -sws 9 E:/Wacken Open Air 2007.avi
MPlayer Sherpya-SVN-r24537-4.2.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Quad CPU @ 2.40GHz (Family: 6, Model: 15, Stepping: 7)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Setting process priority: abovenormal
113 audio & 235 video codecs
Playing E:/Wacken Open Air 2007.avi.
AVI file format detected.
ID_VIDEO_ID=0
[aviheader] Video stream found, -vid 0
ID_AUDIO_ID=1
[aviheader] Audio stream found, -aid 1
VIDEO: [H264] 688x400 24bpp 25.000 fps 1837.0 kbps (224.2 kbyte/s)
ID_FILENAME=E:/Wacken Open Air 2007.avi
ID_DEMUXER=avi
ID_VIDEO_FORMAT=H264
ID_VIDEO_BITRATE=1836960
ID_VIDEO_WIDTH=688
ID_VIDEO_HEIGHT=400
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=192000
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=7035.00
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
Opening video filter: [screenshot]
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [yadif]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)
ID_AUDIO_BITRATE=192000
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [dsound] 44100Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=mp3
Starting playback...
VDec: vo config request - 688 x 400 (preferred colorspace: Planar YV12)
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.
FATAL: Could not initialize video filters (-vf) or video output (-vo).
Exiting... (End of file)
OpenGL Renderer + YADIF Deinterlacer + Scale:
mplayer.exe -noquiet -nofs -sub-fuzziness 1 -identify -slave -vo gl -ao dsound -zoom -nokeepaspect -priority abovenormal -framedrop -wid 722406 -colorkey 131586 -monitoraspect 1.33333 -subfont-autoscale 1 -subfont-text-scale 5 -subcp ISO-8859-1 -aid 1 -subpos 100 -contrast 0 -hue 0 -saturation 0 -osdlevel 0 -vf-add yadif -vf-add scale -vf-add expand=osd=1 -noslices -vf-add screenshot -channels 2 -sws 9 E:/Wacken Open Air 2007.avi
MPlayer Sherpya-SVN-r24537-4.2.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Quad CPU @ 2.40GHz (Family: 6, Model: 15, Stepping: 7)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Setting process priority: abovenormal
113 audio & 235 video codecs
Playing E:/Wacken Open Air 2007.avi.
AVI file format detected.
ID_VIDEO_ID=0
[aviheader] Video stream found, -vid 0
ID_AUDIO_ID=1
[aviheader] Audio stream found, -aid 1
VIDEO: [H264] 688x400 24bpp 25.000 fps 1837.0 kbps (224.2 kbyte/s)
ID_FILENAME=E:/Wacken Open Air 2007.avi
ID_DEMUXER=avi
ID_VIDEO_FORMAT=H264
ID_VIDEO_BITRATE=1836960
ID_VIDEO_WIDTH=688
ID_VIDEO_HEIGHT=400
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=192000
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=7035.00
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
Opening video filter: [screenshot]
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale]
Opening video filter: [yadif]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)
ID_AUDIO_BITRATE=192000
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [dsound] 44100Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=mp3
Starting playback...
VDec: vo config request - 688 x 400 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.72:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7200
[swscaler @ 00D5FDC0]SwScaler: using unscaled yuv420p -> rgb32 special converter
VO: [gl] 688x400 => 688x400 BGRA [zoom]
JoeBG
2nd October 2007, 15:57
@ rvm
I would like to come back to my feature request for the mp4 support. For mkv the player has chapters and shows the the name of the tracks. mp4 chapters are not shown and the trackname just is "track1", "track2" etc.
Herwith a link to a mp4 file as requested :)
>>Link killed<< (http://joeb.movie2digital.com/SAces.mp4)
If you have a quicktime plugin in your browser better chose: right click and save as :)
Name of the video is: Hauptfilm
Name of the audio is: Deutsch5.1
Name of the Subtitles is: ForcedDeutsch
You can see all this and all tags of the stream with mediainfo.
Many thanks for your support :thanks:
@ rvm
You have a very nice mkv support for your player. We can see the name of the streams and all chapters. :thanks:
Unfortunatly 99% of my files are mp4 and for mp4 there is no support for chapters, streamnames and tags. It would be wonderful to have a full mp4 suport - do you plan to add something like this? :)
Unfortunately I don't have any mp4 video with chapters. If someone could point me to a mp4 sample video with chapters I could see if mplayer offers info about chapters.
rvm
2nd October 2007, 18:27
Thanks for the sample video. Unfortunately mplayer does not display any info about track's names.
LoRd_MuldeR
2nd October 2007, 23:32
I made an interesting observation with the OpenGL Renderer problem:
If you move the Window to the bottom of the screen, so the video panel is actually outside the visible area, and move it up again, then the video turns black too! This problem happens with both, MPUI and SMPlayer. So I now think the OpenGL Renderer stops working as soon as the video panel leaves the visible area of the screen. For some reason this also happens when minimizing the SMPlayer window, but it doesn't happen when MPUI is minimized. I wonder if this is a known bug/limitation of MPlayer's OpenGL renderer...
LoRd_MuldeR
12th October 2007, 02:25
I made an interesting observation with the OpenGL Renderer problem:
If you move the Window to the bottom of the screen, so the video panel is actually outside the visible area, and move it up again, then the video turns black too! This problem happens with both, MPUI and SMPlayer. So I now think the OpenGL Renderer stops working as soon as the video panel leaves the visible area of the screen. For some reason this also happens when minimizing the SMPlayer window, but it doesn't happen when MPUI is minimized. I wonder if this is a known bug/limitation of MPlayer's OpenGL renderer...
rvm, I noticed there is now a "File Associations" menu in SMPlayer. Nice! But unfortunately this new feature interferes with my existing SetFileAssoc tool. So I think we should sync our file association code. So far I have found the following differences:
1. SMPlayer uses the ClassId "SMPlayer.exe", while I use "MPlayerFileVideo", "MPlayerFileAudio" and "MPlayerFilePlaylist"
2. I backup the old association at "HKEY_CLASSES_ROOT/.foo/MPlayer_Backup", in a similar way as Winamp does. SMPlayer backups the old associations at "HKEY_CLASSES_ROOT/SMPlayer.exe/.foo/OldClassId"
3. SMPlayer currently only adds an "Open" command for associated files, while an "Enqueue in SMPlayer" command is missing. I add this command via "HKEY_CLASSES_ROOT\MPlayerFileVideo\shell\enqueue\command" and "C:\Path to SMPlayer\smplayer.exe -add-to-playlist %1"
Also I ran into the following problem: If you already changed the file associations via SMPlayer and then use my SetFileAssoc tool, my tool will backup the associations as changed by SMPlayer. Now if you run my uninstaller, it will restore the "old" file associations. Unfortunately this means it will restore the file associations as changed by SMPlayer. So after uninstall those files extensions will still be associated with SMPlayer.exe, although the uninstaller just removed SMPlayer. This results in malfunctioning file associations (no icon, nothing happens at double click, etc.)
What do you think about all that?
rvm
12th October 2007, 22:58
Hi.
The file associations code was implemented by another person, which send me the code. I don't really know how it works exactly so I probably won't be able to make the your proposed changes.
Anyway, after thinking in several possible solutions, I think the best (and easy) way would be that smplayer in your package had the file associations in preferences disabled, so it uses your SetFileAssoc only. That would simple, I can add a check to see if SetFileAssoc.exe exists in the smplayer folder, in that case the widget in preferences would be disabled.
LoRd_MuldeR
13th October 2007, 02:49
Hi.
The file associations code was implemented by another person, which send me the code. I don't really know how it works exactly so I probably won't be able to make the your proposed changes.
Anyway, after thinking in several possible solutions, I think the best (and easy) way would be that smplayer in your package had the file associations in preferences disabled, so it uses your SetFileAssoc only. That would simple, I can add a check to see if SetFileAssoc.exe exists in the smplayer folder, in that case the widget in preferences would be disabled.
Thanks for your idea, but I don't think adding "special" workarounds for every distribution package is the desired solution. I could have a look at the file associations code in SMPlayer and try to sync it more with my code. At least I would try to add the "Enqueue in SMPlayer" option for associated file types. Would that be acceptable for you and the person who contributed the patch? I'm not that skilled in C/C++ and I never used QT before. But I think adapting the existing code shouldn't be too hard...
rvm
13th October 2007, 03:05
Yes, of course, you can try to improve it. I think the code is in the file winfileassoc.cpp
LoRd_MuldeR
13th October 2007, 13:52
Yes, of course, you can try to improve it. I think the code is in the file winfileassoc.cpp
Fine. I will have a look at it...
LoRd_MuldeR
14th October 2007, 16:00
Yes, of course, you can try to improve it. I think the code is in the file winfileassoc.cpp
Alright, here we go:
http://mulder.dummwiedeutsch.de/temp/FileAssocWin32.patch.zip
I had to patch two files though:
* prefassociations.cpp
* winfileassoc.cpp
Completely untested, because I don't have a working build environment here :o
But I basically adapted a few Strings, so I hope it will compile and work as expected :)
Index: prefassociations.cpp
===================================================================
--- prefassociations.cpp (revision 209)
+++ prefassociations.cpp (working copy)
@@ -160,7 +160,7 @@
{
int processed = 0;
- WinFileAssoc RegAssoc("SMPlayer.exe");
+ WinFileAssoc RegAssoc("MPlayerFileVideo");
//Restore unselected associations
for (int k = 0; k < old.count(); k++)
@@ -175,7 +175,7 @@
//Set current associations
if (current.count() > 0)
{
- RegAssoc.CreateClassId(QApplication::applicationFilePath(), "SMPlayer Video Player");
+ RegAssoc.CreateClassId(QApplication::applicationFilePath(), "MPlayer Video File");
for (int k = 0; k < current.count(); k++)
{
Index: winfileassoc.cpp
===================================================================
--- winfileassoc.cpp (revision 209)
+++ winfileassoc.cpp (working copy)
@@ -54,16 +54,16 @@
//Save last ClassId from the extension class
QString KeyVal = RegCR.value("." + fileExtension + "/.").toString();
if (KeyVal != m_ClassId)
- RegCR.setValue(BackupKeyName + "/OldClassId", KeyVal);
+ RegCR.setValue("." + fileExtension + "/MPlayer_Backup", KeyVal);
//Save last ProgId and Application values from the Exts key
KeyVal = RegCU.value(ExtKeyName + "/Progid").toString();
if (KeyVal != m_ClassId)
- RegCR.setValue(BackupKeyName + "/OldProgId", KeyVal);
+ RegCR.setValue("." + fileExtension + "/MPlayer_Backup_ProgId", KeyVal);
KeyVal = RegCU.value(ExtKeyName + "/Application").toString();
if (KeyVal != m_ClassId)
- RegCR.setValue(BackupKeyName + "/OldApplication", KeyVal);
+ RegCR.setValue("." + fileExtension + "/MPlayer_Backup_Application", KeyVal);
//Create the associations
RegCR.setValue("." + fileExtension + "/.", m_ClassId); //Extension class
@@ -87,9 +87,9 @@
QString ExtKeyName = QString("SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/FileExts/.%1").arg(fileExtension);
QString BackupKeyName = ClassesKeyName + "/" + fileExtension;
- QString OldProgId = RegCR.value(BackupKeyName + "/OldProgId").toString();
- QString OldApp = RegCR.value(BackupKeyName + "/OldApplication").toString();
- QString OldClassId = RegCR.value(BackupKeyName + "/OldClassId").toString();
+ QString OldProgId = RegCR.value("." + fileExtension + "/MPlayer_Backup").toString();
+ QString OldApp = RegCR.value("." + fileExtension + "/MPlayer_Backup_Application").toString();
+ QString OldClassId = RegCR.value("." + fileExtension + "/MPlayer_Backup_ProgId").toString();
//Restore old association
if (!OldProgId.isEmpty() && OldProgId != m_ClassId)
@@ -141,6 +141,9 @@
RegCR.setValue(m_ClassId + "/shell/open/FriendlyAppName", friendlyName);
RegCR.setValue(m_ClassId + "/shell/open/command/.", QString("\"%1\" \"%2\"").arg(appPath, "%1"));
RegCR.setValue(m_ClassId + "/DefaultIcon/.", QString("\"%1\",0").arg(appPath));
+ //Add "Enqueue" command
+ RegCR.setValue(m_ClassId + "/shell/enqueue/.", "Enqueue in SMPlayer");
+ RegCR.setValue(m_ClassId + "/shell/enqueue/command/.", QString("\"%1\" -add-to-playlist \"%2\"").arg(appPath, "%1"));
return true;
}
@@ -154,6 +157,8 @@
RegCR.remove(m_ClassId + "/shell/open/FriendlyAppName");
RegCR.remove(m_ClassId + "/shell/open/command/.");
+ RegCR.remove(m_ClassId + "/shell/enqueue/command/.");
+ RegCR.remove(m_ClassId + "/shell/enqueue/.");
RegCR.remove(m_ClassId + "/DefaultIcon/.");
RegCR.remove(m_ClassId);
return true;
rvm
15th October 2007, 01:10
I added your patch although I can't test it right now, I'm in linux. Only I can say is that it compiles.
LoRd_MuldeR
15th October 2007, 01:20
I added your patch although I can't test it right now, I'm in linux. Only I can say is that it compiles.
Great :)
rvm
15th October 2007, 10:57
smplayer_update_svn_r217.7z (http://smplayer.wiki.sourceforge.net/space/showimage/smplayer_update_svn_r217.7z)
I haven't tested much, but it seems it works.
LoRd_MuldeR
16th October 2007, 16:28
smplayer_update_svn_r217.7z (http://smplayer.wiki.sourceforge.net/space/showimage/smplayer_update_svn_r217.7z)
I haven't tested much, but it seems it works.
Thanks a lot :)
Nevertheless I needed to do another modification and I fixed what I think is a minor bug:
http://mulder.dummwiedeutsch.de/temp/FileAssocWin32_Part2.patch
Index: winfileassoc.cpp
===================================================================
--- winfileassoc.cpp (revision 226)
+++ winfileassoc.cpp (working copy)
@@ -59,11 +59,11 @@
//Save last ProgId and Application values from the Exts key
KeyVal = RegCU.value(ExtKeyName + "/Progid").toString();
if (KeyVal != m_ClassId)
- RegCR.setValue("." + fileExtension + "/MPlayer_Backup_ProgId", KeyVal);
+ RegCU.setValue(ExtKeyName + "/MPlayer_Backup_ProgId", KeyVal);
KeyVal = RegCU.value(ExtKeyName + "/Application").toString();
if (KeyVal != m_ClassId)
- RegCR.setValue("." + fileExtension + "/MPlayer_Backup_Application", KeyVal);
+ RegCU.setValue(ExtKeyName + "/MPlayer_Backup_Application", KeyVal);
//Create the associations
RegCR.setValue("." + fileExtension + "/.", m_ClassId); //Extension class
@@ -88,8 +88,8 @@
QString BackupKeyName = ClassesKeyName + "/" + fileExtension;
QString OldProgId = RegCR.value("." + fileExtension + "/MPlayer_Backup").toString();
- QString OldApp = RegCR.value("." + fileExtension + "/MPlayer_Backup_Application").toString();
- QString OldClassId = RegCR.value("." + fileExtension + "/MPlayer_Backup_ProgId").toString();
+ QString OldApp = RegCU.value(ExtKeyName + "/MPlayer_Backup_Application").toString();
+ QString OldClassId = RegCU.value(ExtKeyName + "/MPlayer_Backup_ProgId").toString();
//Restore old association
if (!OldProgId.isEmpty() && OldProgId != m_ClassId)
@@ -117,7 +117,7 @@
else
{
//No old association with this extension, it's better to remove it entirely
- RegCR.remove("." + fileExtension);
+ RegCR.remove("." + fileExtension + "/.");
}
//Remove our keys
rvm
17th October 2007, 12:23
smplayer_update_svn_r245.7z (http://smplayer.wiki.sourceforge.net/space/showimage/smplayer_update_svn_r245.7z)
LoRd_MuldeR
17th October 2007, 16:31
smplayer_update_svn_r245.7z (http://smplayer.wiki.sourceforge.net/space/showimage/smplayer_update_svn_r245.7z)
Great :thanks:
m99
20th October 2007, 01:32
re: LoRd_MuldeR
It would be nice if you include all the builds (is there any Core2-builds?) of mplayer in your package?
LoRd_MuldeR
20th October 2007, 21:21
re: LoRd_MuldeR
It would be nice if you include all the builds (is there any Core2-builds?) of mplayer in your package?
Here are the builds we have:
http://sourceforge.net/project/showfiles.php?group_id=205275&package_id=248631&release_id=546081
Note: The P4 build has MMX, SSE and SSE2 enabled.
I doubt there is much SSE3 optimized code in MPlayer/libavcodec yet, if at all...
helms
3rd November 2007, 12:13
rvm is it possible for you to continue with the smplayer without mplayer download on your sourceforge page?
rvm
3rd November 2007, 23:37
Yes, I'll upload another package without mplayer soon.
helms
4th November 2007, 03:27
Thanks :)
rvm
4th November 2007, 11:42
Here it is:
smplayer_win32_svn_r360_without_mplayer.7z (http://downloads.sourceforge.net/smplayer/smplayer_win32_svn_r360_without_mplayer.7z)
It includes SMPlayer 0.5.61+SVN-r360, SMPlayer-themes 0.1.14 and the Qt 4.3.2 dlls.
LoRd_MuldeR
17th November 2007, 19:20
rvm, I think I found a bug in SMPlayer:
SMPlayer apparently doesn't open files with a filename starting with a ' character.
http://img405.imageshack.us/img405/1873/filesmplayerfilenamenv6.th.png (http://img405.imageshack.us/my.php?image=filesmplayerfilenamenv6.png)
It seems the \ char is lost somehow, so SMPlayer passes wrong argument to MPlayer.
Tested with latest SVN Build (r418), running on Windows XP x64.
rvm
18th November 2007, 13:00
Verified the problem, it seems to be a Qt bug, but fortunately it seems it's fixed in Qt 4.3.2.
You can get the Qt 4.3.2 dlls needed by smplayer, here (http://downloads.sourceforge.net/smplayer/qt-dlls-4.3.2.7z).
LoRd_MuldeR
18th November 2007, 13:30
Verified the problem, it seems to be a Qt bug, but fortunately it seems it's fixed in Qt 4.3.2.
You can get the Qt 4.3.2 dlls needed by smplayer, here (http://downloads.sourceforge.net/smplayer/qt-dlls-4.3.2.7z).
Thanks for reply, rvm. I have just updated my QT Libs with the ones from your DL link.
Unfortunately it doesn't change anything: I still get the same bug...
I use SMPlayer 0.5.62 (rev418) and in the "About SMPlayer" dialog (not in the "About QT" dialog) it still says "Compiled with Qt 4.3.1".
Do I need a fresh build of SMPlayer to get the fix?
http://img530.imageshack.us/img530/2248/filesmplayerfilename2ta1.th.png (http://img530.imageshack.us/my.php?image=filesmplayerfilename2ta1.png)
BTW: Drag&Drop works perfectly, only loading files via command-line is borked...
rvm
18th November 2007, 14:23
Sorry, you're right, the bug still exists in Qt 4.3.2. I hadn't tested to open a file from command line, only from the Open menu.
LoRd_MuldeR
18th November 2007, 14:26
Sorry, you're right, the bug still exists in Qt 4.3.2. I hadn't tested to open a file from command line, only from the Open menu.
Well, it's not a really critical bug, so I will shoot out the update anyway...
rvm
19th November 2007, 11:53
Version 0.5.62 released
Most important changes sinces 0.5.61:
* Added two new options for the subtitle menu: Size+ and Size-. They change the subtitle size.
* Added a new option in Preferences->Performance for H.264 videos: Skip loop filter (the famous "-lavdopts skiploopfilter=all").
* Now the middle click button is also configurable. The default action is mute.
* Now it's possible to dock the playlist on the left and right sides of the main window.
* Now smplayer can identify the mplayer version (or svn revision) and change the behavior of some functions according to it.
* Added in Preferences->General options to choose the initial audio & subtitle tracks.
* Now the aspect ratio settings should work when using the mplayer own window.
* Added two more functions for the mouse wheel: change the playback speed and "no function" (the mouse wheel will do nothing).
* Added a new option in Preferences->General->Audio that allows to change the playback speed without altering the pitch (requires at least MPlayer dev-SVN-r24924).
* Added the option -mini, which will display a GUI with less buttons.
* Added the audio types to the associations section in preferences.
* Added the Greek translation.
There's a available an update package (for users of version 0.5.60) and a full package, with installer, mplayer 1.0rc2 and extra codecs:
http://sourceforge.net/project/showfiles.php?group_id=185512&package_id=216202&release_id=554680
fixed
19th November 2007, 19:23
where can I find latest mplayer compiled with iconv/enca?
LoRd_MuldeR
19th November 2007, 19:45
where can I find latest mplayer compiled with iconv/enca?
Maybe here?
http://oss.netfarm.it/mplayer-win32.php
fixed
19th November 2007, 20:16
Maybe here?
http://oss.netfarm.it/mplayer-win32.php
These build does not support fontconfig. =(
ExtraEye
10th December 2007, 18:35
After trying to make smplayer work with coreavc with a separate install of smplayer everything got messed up. I saw it doesn't work and removed it from the folder and changed the settings back.
At this point I thought I was over with it but for some reason the settings replicated themselves to the other installs of smplayer. I changed all those settings back and still there were problems so I decided to save my settings in a notepad file and remove all installs of smplayer completely, then reinstall.
I did this and then went over the registry.
Redownloaded smplayer and was surprised to find the settings were still there (a horror film sound). So I entered the settings I wanted and tried playing a file and the file doesn't play(second horror film sound).. I tried different types of files but nothing would play...(cry music)
How did I manage to break Smplayer so badly? Is this divine punishment for being seduced by ther dark side(closed source)?
Who could blame me?! All I wanted was to watch an 1920 on 1080 H264 video!
But more importantly... How do I fix this?
Help PLZ :)
EDIT:
I tried installing mplayer for windows and that one works...
rvm
11th December 2007, 02:27
In Windows XP, the smplayer settings are stored in C:\Documents and Settings\your_username\.smplayer\
Delete smplayer.ini and smplayer_files.ini.
If you prefer that the settings will be stored in the smplayer folder, just move (or create an empty) smplayer.ini there.
LoRd_MuldeR
16th December 2007, 14:08
rvm, I got a feature request for a new video filter:
Would it be possible to add a "software scaling (fullscreen)" filter or something alike?
I'm thinking of:
-sws 9 -vf-add scale=1280:-2
The "1280" needs to be replaced with whatever equals my horizontal screen resolution.
This way the video will be scaled to fullscreen resolution with HQ software scaler (Lanczos).
So hardware scaling in fullscreen mode is avoided...
Of course I can get this effect via "Advanced" -> "Options for MPlayer".
But having to go to preferences every time I want to enable/disable the effect isn't very comfortable.
Having it in the Video -> Filters menu would be nice.
BTW: In case you add that filter, could you place it before the "Add noise" filter in the filter chain?
Upscaling first and then adding some noise pretends more details on a "flat" videos...
Thanks in advance :)
// EDIT
Instead of hardcoding the filter proposed above, I'd also enjoy having the ability to specify custom filters.
For example the custom filters could be specified in the INI file like this:
[custom_filters]
Fullscreen_Scaling=-sws 9 -vf-add scale=1280:-2
Just an idea to throw in ;)
rvm
17th December 2007, 09:43
rvm, I got a feature request for a new video filter:
Would it be possible to add a "software scaling (fullscreen)" filter or something alike?
I'm thinking of:
-sws 9 -vf-add scale=1280:-2
The "1280" needs to be replaced with whatever equals my horizontal screen resolution.
This way the video will be scaled to fullscreen resolution with HQ software scaler (Lanczos).
So hardware scaling in fullscreen mode is avoided...
I think this can be done.
// EDIT
Instead of hardcoding the filter proposed above, I'd also enjoy having the ability to specify custom filters.
For example the custom filters could be specified in the INI file like this:
[custom_filters]
Fullscreen_Scaling=-sws 9 -vf-add scale=1280:-2
Just an idea to throw in ;)
The possibility to customize the filters is planned for version 2.0.
LoRd_MuldeR
17th December 2007, 10:30
Thanks for all your efforts!
:thanks:
rvm
19th December 2007, 10:21
Ok, an option for software scaling has been added in svn r498. Here it is an update for windows: smplayer_update_svn_r499.7z (http://smplayer.wiki.sourceforge.net/space/showimage/smplayer_update_svn_r499.7z)
BTW, another recent change is an improvement on the file associations code to support Windows Vista and other versions of Windows (98, NT...), but maybe compatibility with your associations tool in your installer could have broken. Details (http://smplayer.sourceforge.net/forums/viewtopic.php?pid=415#p415).
LoRd_MuldeR
19th December 2007, 11:14
Ok, an option for software scaling has been added in svn r498. Here it is an update for windows: smplayer_update_svn_r499.7z (http://smplayer.wiki.sourceforge.net/space/showimage/smplayer_update_svn_r499.7z)
Great :)
BTW, another recent change is an improvement on the file associations code to support Windows Vista and other versions of Windows (98, NT...), but maybe compatibility with your associations tool in your installer could have broken. Details (http://smplayer.sourceforge.net/forums/viewtopic.php?pid=415#p415).
Thanks. I'll have a look at it, as soon as I have some free time...
Kent Wang
19th December 2007, 18:38
I have the Windows version. How do I configure it so that when it opens files, it enqueues them instead of playing? VLC could do this.
LoRd_MuldeR
19th December 2007, 18:54
I have the Windows version. How do I configure it so that when it opens files, it enqueues them instead of playing? VLC could do this.
If SMPlayer is already running, you can simply drag files from Explorer and then drop them on the playlist.
And if you use my package (http://mulder.dummwiedeutsch.de/home/?page=projects#mplayer), then you can simply right-click -> "Enqueue in SMPlayer" on media files in Explorer.
Kent Wang
19th December 2007, 18:57
Yes, I'm using your package.
How can I also get this to work for videos that I click from Firefox?
LoRd_MuldeR
19th December 2007, 19:03
Yes, I'm using your package.
How can I also get this to work for videos that I click from Firefox?
Works the same way as it does in Explorer:
http://img402.imageshack.us/img402/3178/fileseamonkeyenqueueik4.th.png (http://img402.imageshack.us/my.php?image=fileseamonkeyenqueueik4.png)
Ayla
19th December 2007, 22:27
Hi
Can SMPlayer be compiled for Mac OS X, has it been done already?
I would really like a better GUI frontend for MPlayer on Mac :)
Thanks
Martin
rvm
19th December 2007, 23:07
Someone compiled and told that it worked, although the video window couldn't be embedded in smplayer main window (see this (http://www.phpbbplanet.com/smplayer/viewtopic.php?t=214)), but I didn't get any other notice since then.
Ayla
20th December 2007, 19:09
Someone compiled and told that it worked, although the video window couldn't be embedded in smplayer main window (see this (http://www.phpbbplanet.com/smplayer/viewtopic.php?t=214)), but I didn't get any other notice since then.
Thanks for the reply.
I have E-mailed the guy (Ahmet) that have compiled it for Mac.
I hope he responds.
I have compiled MPlayer myself on Mac in the past.
If I try and compile SMPlayer, what do I do with the binary I end up with, how do I make it interact with the MPlayer binary?
Thanks
Martin
Kent Wang
20th December 2007, 21:07
Works the same way as it does in Explorer:
http://img402.imageshack.us/img402/3178/fileseamonkeyenqueueik4.th.png (http://img402.imageshack.us/my.php?image=fileseamonkeyenqueueik4.png)
No, I don't mean the Open File dialog. I mean an inline link on a web page to a video file. Firefox has its own system of managing file type associations (Tools, Options, Content, Manage). So how can I configure Firefox so that the default behavior on click is to enqueue? Is there just a command line switch to enqueue? (I tried --enqueue but that didn't work)
LoRd_MuldeR
20th December 2007, 21:12
This requires multiple clicks. How can I setup Firefox so that the default behavior on click is to enqueue? Is there just a command line switch to enqueue? (I tried --enqueue but that didn't work)
Well, you can completely replace the "open" operation with "enqueue", if that's what you want ;)
But it will effect Explorer and every other application as well...
Make the following registry changes:
HKEY_CLASSES_ROOT\MPlayerFileVideo\shell\open\command = "C:\Program Files (x86)\MPlayer for Windows\smplayer_portable.exe" -add-to-playlist "%1"
HKEY_CLASSES_ROOT\MPlayerFileAudio\shell\open\command = "C:\Program Files (x86)\MPlayer for Windows\smplayer_portable.exe" -add-to-playlist "%1"
Make sure you use the correct paths. Your install path might be completely different from mine.
Basically all you need to do is inserting "-add-to-playlist" into the existing registry entries.
You might need to reboot in order to make those changes effect!
rvm
21st December 2007, 00:04
If I try and compile SMPlayer, what do I do with the binary I end up with, how do I make it interact with the MPlayer binary?
In the preferences dialog of smplayer (general section) just set the path to the mplayer binary.
Ayla
21st December 2007, 19:37
In the preferences dialog of smplayer (general section) just set the path to the mplayer binary.
I'm having trouble compiling it on Mac sadly :(
I installed QT4 .dmg from the trolltech site, but I still get qmake errors when trying to compile smplayer.
rvm
21st December 2007, 23:02
What errors?
Maybe I can help you.
LoRd_MuldeR
28th December 2007, 16:35
Hi, rvm. I recently got heavy problems with DVD playback in SMPlayer/MPlayer. Video playback was always extremely jerky and the audio was full of "squeaking" sounds. Tested with several original DVDs, all the same. Image file from HDD was playing okay though. It gave me some serious headache! First I though it was the recent MPlayer build that broke DVD playback, but I went back to an older one and the same! Finally I found a solution: "Cache for DVDs: 0 KB" results in jerky playback from DVD drive! Setting the cache for DVDs to 8192 KB fixed the problem immediately and results in perfectly smooth playback here. Maybe some lower value would be okay too, not sure. So I think the "Cache for DVDs" setting should definitely not default to 0 KB ...
Also: Do you know why opening original DVDs in MPlayer takes so long? Well, I can live with that. It's still faster than clicking through all the nasty menus. But other OpenSource players, such as VLC, open DVDs much faster. I know that cannot be fixed on the SMPlayer side, but I would appreciate if SMPlayer displays some kind of status information while opening the DVD. At the moment SMPlayer just appears "idle" for ~1 minutes until playback starts. The regular user might expect that the player failed to open the disc or even never started to open the disc. Maybe you just add some simple status messages like: "Loading Video DVD. Please be patient, this might take a few minutes...."
rvm
29th December 2007, 00:56
Hi, rvm. I recently got heavy problems with DVD playback in SMPlayer/MPlayer. Video playback was always extremely jerky and the audio was full of "squeaking" sounds. Tested with several original DVDs, all the same. Image file from HDD was playing okay though. It gave me some serious headache! First I though it was the recent MPlayer build that broke DVD playback, but I went back to an older one and the same! Finally I found a solution: "Cache for DVDs: 0 KB" results in jerky playback from DVD drive! Setting the cache for DVDs to 8192 KB fixed the problem immediately and results in perfectly smooth playback here. Maybe some lower value would be okay too, not sure. So I think the "Cache for DVDs" setting should definitely not default to 0 KB ...
I set it to 0 KB because I read in the mplayer-users list that seeking on dvds might not work properly with -cache. In fact I've just tested with a disc and chapter switching didn't work at all when using a cache. It worked perfectly (and very fast) without cache.
Also: Do you know why opening original DVDs in MPlayer takes so long? Well, I can live with that. It's still faster than clicking through all the nasty menus. But other OpenSource players, such as VLC, open DVDs much faster. I know that cannot be fixed on the SMPlayer side, but I would appreciate if SMPlayer displays some kind of status information while opening the DVD. At the moment SMPlayer just appears "idle" for ~1 minutes until playback starts. The regular user might expect that the player failed to open the disc or even never started to open the disc. Maybe you just add some simple status messages like: "Loading Video DVD. Please be patient, this might take a few minutes...."
I use -identify to get info about the dvd (titles, chapters...). That could make the playback to take a little bit longer to start. Anyway it never took 1 minute to start, just some seconds (although I have only a few dvds to test). I guess that could depend on the complexity of the disc.
LoRd_MuldeR
29th December 2007, 01:08
Here it takes about one minute to start playback, for all of my DVDs :(
Maybe it's a Windows specific problem of MPlayer? VLC or MPC start playback without such big delay.
And with chache set to 0 KB the result is unwatchable. On all discs...
rvm
29th December 2007, 02:52
Maybe it's a Windows specific problem of MPlayer?
No, in the discs I tested, it takes only a few seconds to start to play, in Windows.
Have you tried some other builds? I'm using my own build: mplayer-r25537-mingw.7z (http://downloads.sourceforge.net/smplayer/mplayer-r25537-mingw.7z)
LoRd_MuldeR
29th December 2007, 06:04
No, in the discs I tested, it takes only a few seconds to start to play, in Windows.
Have you tried some other builds? I'm using my own build: mplayer-r25537-mingw.7z (http://downloads.sourceforge.net/smplayer/mplayer-r25537-mingw.7z)
Sorry, no difference with your build. Also the cache "problem" is the same...
HarryM
30th December 2007, 10:21
I dont think, if this thing falls in here, but the newest linux versions can't change of subtitle size in dependence on diagonal (of frame) - my popular mode. But in dependence on height or width works. I tested Ubuntu debs.
Windows version paradoxly works good overall.:eek:
rvm
30th December 2007, 12:23
I'm in Windows now, so I can't test, but would it be possible that you're using in linux and older mplayer than in Windows?
helms
4th January 2008, 01:37
On windows version
I find it hard to change the subtitle size in smplayer.
When using SSA/ASS library It doesn't seem possible to change subtitle size.
When not using SSA/ASS library and setting autoscale to no autoscale or any other autoscale setting. Trying to manually change the scale doesn't seem to have an effect on the size of the subtitles. Subtitles appear extremely small when no autoscale is chosen.
Or is it just that I'm using a different build of mplayer?
WISH LIST
The video size setting doesn't seem to have an effect in fullscreen. E.g. maybe you want black bars around the video rather than having it enlarged when you fullscreen.
Under pan and scan there is a limit on how far you can zoom out and once you are zoomed out to this size moving up, left, right or down doesn't work. E.g. maybe you want subtitles under the picture rather than on it. Either by zooming out or moving the picture up.
rvm
4th January 2008, 11:52
On windows version
I find it hard to change the subtitle size in smplayer.
When using SSA/ASS library It doesn't seem possible to change subtitle size.
When not using SSA/ASS library and setting autoscale to no autoscale or any other autoscale setting. Trying to manually change the scale doesn't seem to have an effect on the size of the subtitles. Subtitles appear extremely small when no autoscale is chosen.
Or is it just that I'm using a different build of mplayer?
If the subtitles are in SSA/ASS format, then I think it's not possible to change the size (easily). If the subtitles are in srt, sub or similar format, then changing the size should work (using the options size+ and size- in the subtitle menu).
But recently (since r470) the size changes in steps of 0.2 (instead of 1) so you may need to increase the size several times until you notice that the size of the subtitles has changed.
WISH LIST
The video size setting doesn't seem to have an effect in fullscreen. E.g. maybe you want black bars around the video rather than having it enlarged when you fullscreen.
Under pan and scan there is a limit on how far you can zoom out and once you are zoomed out to this size moving up, left, right or down doesn't work. E.g. maybe you want subtitles under the picture rather than on it. Either by zooming out or moving the picture up.
I think I didn't understand quite well. But you can use the option Video->Filters->Add black borders.
helms
4th January 2008, 18:59
Thanks for the help with the subtitles, I never noticed the subtitle size option under the subtitle menu. I went about it the wrong way by trying to change it through preferences which I think for some reason worked for me in older builds.
I think I'm using an older build which doesn't have the add black borders option. Version: 0.5.62 (svn r418). Time to download an update.
My wish is:
When I fullscreen almost any video there are black bars on the top and bottom because my monitor is not the same aspect ratio as the video. What I want to do is pan & scan the video up and make the black bar which is at the top of the video add to the bottom black bar. Then somehow get the subtitles drawn on the black bar rather than the video itself.
rvm
5th January 2008, 01:57
Thanks for the help with the subtitles, I never noticed the subtitle size option under the subtitle menu. I went about it the wrong way by trying to change it through preferences which I think for some reason worked for me in older builds.
You're right, in previous versions it was that way.
It was changed when I added the size+ and size- to the subtitle menu. Now the option in preferences specifies the default size for new videos.
I think I'm using an older build which doesn't have the add black borders option. Version: 0.5.62 (svn r418). Time to download an update.
You can get new versions here:
http://smplayer.wiki.sourceforge.net/Unstable+releases
My wish is:
When I fullscreen almost any video there are black bars on the top and bottom because my monitor is not the same aspect ratio as the video. What I want to do is pan & scan the video up and make the black bar which is at the top of the video add to the bottom black bar. Then somehow get the subtitles drawn on the black bar rather than the video itself.
Now I think I understand. Something like this?
http://img186.imageshack.us/img186/7646/subtitles2ad5.th.jpg (http://img186.imageshack.us/my.php?image=subtitles2ad5.jpg)
It can be done with this filter: expand=:::0::4/3
LoRd_MuldeR
5th January 2008, 14:14
I think I didn't understand quite well. But you can use the option Video->Filters->Add black borders.
I think what he wants is viewing the video in it's original size (100% zoom) while being in fullscreen mode.
At the moment fullscreen will zoom/enlarge "low resolution" videos in order to fill the screen...
helms
5th January 2008, 16:31
Now I think I understand. Something like this?
http://img186.imageshack.us/img186/7646/subtitles2ad5.th.jpg (http://img186.imageshack.us/my.php?image=subtitles2ad5.jpg)
It can be done with this filter: expand=:::0::4/3
Yep thats what I want, I looked it up in the mplayer manual after your post and tried:
expand=0:−50:0:0 (my display is 1440*900)
I found that the subtitles displayed bad, like a old subtitle takes some time before it disappears and you see some of the old subtitle behind the new one.
I think what he wants is viewing the video in it's original size (100% zoom) while being in fullscreen mode.
At the moment fullscreen will zoom/enlarge "low resolution" videos in order to fill the screen...
yep that was the the other wish.
rvm
5th January 2008, 17:32
Yep thats what I want, I looked it up in the mplayer manual after your post and tried:
expand=0:−50:0:0 (my display is 1440*900)
I found that the subtitles displayed bad, like a old subtitle takes some time before it disappears and you see some of the old subtitle behind the new one.
Mmm, if you have the option "Include subtitles on screenshots" (preferences->subtitles) checked, try first to disable it.
If that doesn't work try appending another filter after expand, for instance: expand=0:−50:0:0,harddup
yep that was the the other wish.
Do you mean that the video is always at 100% of its original size? No resize? Something like this?
http://img407.imageshack.us/img407/677/subtitles3od8.th.jpg (http://img407.imageshack.us/my.php?image=subtitles3od8.jpg)
helms
5th January 2008, 22:13
Mmm, if you have the option "Include subtitles on screenshots" (preferences->subtitles) checked, try first to disable it.
If that doesn't work try appending another filter after expand, for instance: expand=0:−50:0:0,harddup
That did the trick, thanks.
I tried looking up harddup and still have no idea what it does, I probably don't need to know anyway. All I know is it works which is all that matters to a windows user like me.
Do you mean that the video is always at 100% of its original size? No resize? Something like this?
http://img407.imageshack.us/img407/677/subtitles3od8.th.jpg (http://img407.imageshack.us/my.php?image=subtitles3od8.jpg)
Yep but in fullscreen. Like in media player classic under the view then video frame menu. There are several choices:
-touch windows from inside (what smplayer does when you fullscreen)
-Normal size (video remains the default size with black borders even when you fullscreen)
-Double size
-Half size
-stretch to window
-touch window from outside
It would be nice if smplayer had some of those options under a menu. It's not something I really want smplayer to have, its just something that would make a nice addition if you have the time to work on it. (Don't bother with it, if it takes too much time)
Thanks again for all your help with the subtitles, it was much appreciated.
rvm
5th January 2008, 22:56
That did the trick, thanks.
I tried looking up harddup and still have no idea what it does, I probably don't need to know anyway. All I know is it works which is all that matters to a windows user like me.
harddup is mainly for mencoder, I think in mplayer it won't do anything, but at least it fixes that problem with the subtitles.
Yep but in fullscreen. Like in media player classic under the view then video frame menu. There are several choices:
-touch windows from inside (what smplayer does when you fullscreen)
-Normal size (video remains the default size with black borders even when you fullscreen)
-Double size
-Half size
-stretch to window
-touch window from outside
It would be nice if smplayer had some of those options under a menu. It's not something I really want smplayer to have, its just something that would make a nice addition if you have the time to work on it. (Don't bother with it, if it takes too much time)
Maybe it could be done, although I think I'll have to install media player classic to see those options in action.
LoRd_MuldeR
5th January 2008, 23:01
-touch windows from inside: aka "Letterbox". Zoom video to fill the window/screen. Don't stretch or crop! Add black bars, if necessary. SMPlayer's behavior.
-Normal size: video is not scaled at all, just centered in the window/screen.
-Double size: scale video to 200% and center in window/screen.
-Half size: scale video to 50% and center in window/screen.
-stretch to window: stretch video to fill the whole window/screen. Doesn't keep the aspect ratio! No black bars!
-touch window from outside: aka "Pan and scan". Zoom video, so it fills the whole window/screen. Keep aspect ratio! No black bars! Crop video, if necessary.
LoRd_MuldeR
7th January 2008, 01:34
A nice gimmick for SMPlayer would be an "Show motion vectors" option :)
You can do that with the following parameter:
-lavdopts vismv=7
EpheMeroN
7th January 2008, 02:13
MPUI = Works
SMPlayer = Nothing plays back at all
Is there a workaround yet for SMPlayer under Vista?
rvm
7th January 2008, 02:42
SMPlayer = Nothing plays back at all
What does the mplayer log say when you try to play a file? (Options->View logs)
EpheMeroN
7th January 2008, 07:27
What does the mplayer log say when you try to play a file? (Options->View logs)
Nothing at all. Not one line in the log. I try to drag-n-drop .avi files, and also File\Open...
rvm
7th January 2008, 09:37
This is strange, very strange. You should see at least the command that smplayer tries to execute.
Be sure you open the mplayer log AFTER you tried to play a file, not before.
LoRd_MuldeR
7th January 2008, 11:17
EpheMeroN, are you sure the path to MPlayer.exe is configured properly in the SMPlayer preferences?
EpheMeroN
7th January 2008, 23:18
This is strange, very strange. You should see at least the command that smplayer tries to execute.
Be sure you open the mplayer log AFTER you tried to play a file, not before.
C:/Program Files/MPlayer/MPlayer.exe -noquiet -nofs -sub-fuzziness 1 -identify -slave -zoom -nokeepaspect -priority abovenormal -framedrop -wid 1442848 -colorkey 131586 -monitoraspect 1.6 -fontconfig -font Arial Black -subfont-autoscale 1 -subfont-text-scale 5 -subcp ISO-8859-1 -subpos 100 -contrast 0 -hue 0 -saturation 0 -nocache -osdlevel 0 -vf-add expand=osd=1 -noslices -vf-add screenshot -channels 2 -af volnorm=2,scaletempo -softvol -softvol-max 300 -sws 9 C:/Users/Michael/Desktop/vid-test.divx
MPlayer Sherpya-SVN-r25513-4.2.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU T5250 @ 1.50GHz (Family: 6, Model: 15, Stepping: 13)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
MPlayer was compiled without fontconfig support.
Setting process priority: abovenormal
EpheMeroN, are you sure the path to MPlayer.exe is configured properly in the SMPlayer preferences?
Yes. I just checked.
LoRd_MuldeR
7th January 2008, 23:33
MPlayer is obviously starting up properly, if you see the above on the log...
What if your run MPlayer.exe manually?
EpheMeroN
8th January 2008, 01:49
MPlayer is obviously starting up properly, if you see the above on the log...
What if your run MPlayer.exe manually?
Ya know, running MPlayer.exe manually, and also trying with MPUI both work, but I noticed something. When these playback, it disables my Windows Vista Aero color scheme and switches it to Basic.
SMPlayer does not switch my desktop color preferences. I also tried running SMPlayer in Windows XP SP2 compatibility mode, with desktop composition disabled (Basic), and both still do not allow playback via SMPlayer.
LoRd_MuldeR
8th January 2008, 01:56
I think this because MPlayer uses the Overlay Renderer for video output.
From what I know, the Overlay Renderer doesn't work with Vista's "Aero" 3D User Interface.
So Vista will disable Aero for backward compatibility, as soon as Overlay is in use.
It seems for some reason that doesn't happen in SMPlayer ....
Did you try the OpenGL renderer instead of DirectX?
EpheMeroN
8th January 2008, 02:50
I think this because MPlayer uses the Overlay Renderer for video output.
From what I know, the Overlay Renderer doesn't work with Vista's "Aero" 3D User Interface.
So Vista will disable Aero for backward compatibility, as soon as Overlay is in use.
It seems for some reason that doesn't happen in SMPlayer ....
Did you try the OpenGL renderer instead of DirectX?
Where's this OpenGL option located?
rvm
8th January 2008, 10:49
C:/Program Files/MPlayer/MPlayer.exe -noquiet -nofs -sub-fuzziness 1 -identify -slave -zoom -nokeepaspect -priority abovenormal -framedrop -wid 1442848 -colorkey 131586 -monitoraspect 1.6 -fontconfig -font Arial Black -subfont-autoscale 1 -subfont-text-scale 5 -subcp ISO-8859-1 -subpos 100 -contrast 0 -hue 0 -saturation 0 -nocache -osdlevel 0 -vf-add expand=osd=1 -noslices -vf-add screenshot -channels 2 -af volnorm=2,scaletempo -softvol -softvol-max 300 -sws 9 C:/Users/Michael/Desktop/vid-test.divx
MPlayer Sherpya-SVN-r25513-4.2.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU T5250 @ 1.50GHz (Family: 6, Model: 15, Stepping: 13)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
MPlayer was compiled without fontconfig support.
Setting process priority: abovenormal
The mplayer build you're using doesn't have fontconfig support, but you're trying to use it (by using a system font).
Select instead a TTF font or use the mplayer build included in SMPlayer.
EpheMeroN
8th January 2008, 19:52
@rvm: What you said fixed it. Switching to Arial.ttf in the C:\Windows\Fonts directory made playback possible. Btw, the build of MPlayer I was using is the one bundled in "MPlayer for Windows" that installs both MPUI and SMPlayer frontends.
Does anyone know if future builds of MPlayer on Windows Vista will not have to always disable visual themes like Aero to allow playback? This same issue was happening in DGMPGDec v1.4.9 and apparently was fixed in v1.5.0 (two diff apps I know but same issue applied).
rvm
9th January 2008, 03:14
MPlayer already provides a video driver (gl/gl2) which doesn't disable Aero. Unfortunately it may have some issues when MPlayer is embedded in another application (the main one: it doesn't work with nvidia cards).
EpheMeroN
9th January 2008, 06:19
MPlayer already provides a video driver (gl/gl2) which doesn't disable Aero. Unfortunately it may have some issues when MPlayer is embedded in another application (the main one: it doesn't work with nvidia cards).
This new HP Pavillion laptop uses an onboard Intel chipset for gfx. In device manager it's called "Mobile Intel(R) 965 Express Chipset Family"
LoRd_MuldeR
9th January 2008, 08:49
MPlayer already provides a video driver (gl/gl2) which doesn't disable Aero. Unfortunately it may have some issues when MPlayer is embedded in another application (the main one: it doesn't work with nvidia cards).
Yes, the OpenGL Renderer in MPlayer is a bit buggy. That's a pity.
I got an ATI card (Radeon 1950 XL) and the video is embedded properly with GL Renderer.
But I either get bad tearing (though V-Sync is on) or jerky playback (especially if the resolution of the video is 720p or even 1080p).
So the only "real" option for MPlayer on a Windows system is the DirectX/Overlay renderer, although it's scaling quality is poor.
Overlay quality can be enhanced a lot with the new "Software Scaling" mode in SMPlayer, but it's CPU intensive!
A "state of the art" renderer that uses the capabilities of modern graphic cards is really one of the important things missing in MPlayer.
In fact my main reason to use MPC (in addition to MPlayer) is Haali's Video Renderer...
Reimar
12th January 2008, 00:28
Yes, the OpenGL Renderer in MPlayer is a bit buggy. That's a pity.
I got an ATI card (Radeon 1950 XL) and the video is embedded properly with GL Renderer.
If embedding not working is a nVidia or an MPlayer bug depends on how you interpret Microsoft's documentation, but since it does not say anything to the contrary, it should be possible to create and use an OpenGL context for another process's window, which would make it an nVidia driver bug.
But I either get bad tearing (though V-Sync is on) or jerky playback (especially if the resolution of the video is 720p or even 1080p).
Is the tearing only when the video is embedded or always?
So the only "real" option for MPlayer on a Windows system is the DirectX/Overlay renderer, although it's scaling quality is poor.
Actually the scaling quality depends fully on the graphics hardware, some cards are rumored to have rather good scaling. With even newer cards it is supposed to be emulated via 3D hardware anyway, in which case any bad scaling quality is only due to lazyness/stupidity of those writing the drivers.
A "state of the art" renderer that uses the capabilities of modern graphic cards is really one of the important things missing in MPlayer.
It may not be as advanced as some other renderers, but e.g. -vo gl:yuv=3:lscale=1 does do quite a lot on the graphics card (some people dislike the scaling method used, but it was the best my graphics card could do back then (not to mention I really like very smooth/blurry scaling) and now I lack time to improve it).
Either way, feature requests and bug reports (preferably via MPlayer bugzilla) are welcome, even if I don't know if I can do something about them any time soon.
LoRd_MuldeR
12th January 2008, 23:40
If embedding not working is a nVidia or an MPlayer bug depends on how you interpret Microsoft's documentation, but since it does not say anything to the contrary, it should be possible to create and use an OpenGL context for another process's window, which would make it an nVidia driver bug.
I cannot say anything about nVidia cards, I'm using ATI hardware since ages. As said before, the embedding works okay here. But if it's not working with nVidia cards, then that's a real show stopper! And if the problem is caused by "buggy" nVidia drivers, then it's even worse, because it can't be fixed on the MPlayer side...
Is the tearing only when the video is embedded or always?
The tearing was present with the Catalyst 7.12 drivers. I tried everything, but no way to get it fixed. I tried "Default On", "Always On" and "Application Controlled" setting for V-Sync. But always got bad tearing with the GL renderer. At the same time DirectX/Overlay was okay (no tearing). I went back to Catalyst 7.11 and it fixed the tearing issues at least...
Actually the scaling quality depends fully on the graphics hardware, some cards are rumored to have rather good scaling. With even newer cards it is supposed to be emulated via 3D hardware anyway, in which case any bad scaling quality is only due to lazyness/stupidity of those writing the drivers.
Well, "custom" renderers, like Haali's Renderer or VMR9 Renderless Mode, seem to workaround those problems pretty well...
It may not be as advanced as some other renderers, but e.g. -vo gl:yuv=3:lscale=1 does do quite a lot on the graphics card (some people dislike the scaling method used, but it was the best my graphics card could do back then (not to mention I really like very smooth/blurry scaling) and now I lack time to improve it).
That settings works for me. The quality with HD stuff is pretty good. But when watching "low resolution" video in fullscreen, then it blurs a lot. The "normal" DirectX renderer blurs less, but adds a lot of artifacts (with my hardware/driver combination). Software scaling (with "lanczos" method) gives far the best result...
lamer_de
13th January 2008, 19:41
I've got troubles after upgrading to 0.5.62 when playing any video on windows xp. If smplayer is in the background, everything that is usually displayed as black is transparent and displays the content of the video, regardless of the application! This means that every text in front of the video becomes unreadable. Menus, directory listings, everything. Strangely enough, going back to .61, which previously didn't exhibit this behaviour, now also shows it. When I start mplayer without any commandline options, everything is fine. I'm having troubles making screenshots of the effect because of the overlay (I'd have to intall one of these special screenshot progams, and I'd want to avoid that unless someone really needs a screenshot to determine the problem). Video outputs are set to directx and dsound. Uninstalling/Re-installing didn't solve the problem, but seems the setting were kept anyway. Is there a way to reset the settings? They don't seem to be stored in the registry.
CU,
lamer_de
Reimar
13th January 2008, 20:09
If smplayer is in the background, everything that is usually displayed as black is transparent and displays the content of the video, regardless of the application!
I don't know how to change it, but the reason for this is that the colorkey is set to black.
LoRd_MuldeR
13th January 2008, 20:19
lamer_de, what you describe is caused by Overlay video output!
Overlay uses a key-color (mask color) that will be "transparent", so you can see the Overlay Video through it.
That is necessary because the Overlay Video is actually stored in a different video memory than all the rest.
So some pixels will show the video (from Overlay Memory) while other pixels show the regular stuff (Windows GUI).
The player application will fill it's entire video area with the key-color, so you see the Overlay Video at this place.
If you move other applications over that area, they will usually "hide" the Overlay Video.
But if an application uses the key-color by chance, then it will be transparent at those pixels and show the Overlay.
That's a totally normal effect of the way Overlay works.
You notice the Overlay Renderer easily if you make a screenshot:
On the screenshot the player will appear completely empty, showing only the key-color where you expect the video.
That's because the screenshot will only capture the regular video memory, the Overlay will not be in the screenshot.
Read this for more detailed info:
http://en.wikipedia.org/wiki/Hardware_overlay
There are two workarounds:
(a) Use OpenGL Renderer instead of DirectX/Overlay
(b) Change the key-color ("Colorkey" option under "Advanced")
BTW: Your setting are stored at:
C:\Documents and Settings\<username>\.smplayer\smplayer.ini
If you rename "smplayer.exe" to "smplayer_portable.exe", it will store "smplayer.ini" in it's base dir!
But this will disable all multi-user support...
rvm
14th January 2008, 11:19
If you rename "smplayer.exe" to "smplayer_portable.exe", it will store "smplayer.ini" in it's base dir!
By the way, from version 0.5.61, it's not necessary to rename smplayer.exe to smplayer_portable.exe. If smplayer finds a smplayer.ini in the same directory of the executable, it will use it.
lamer_de
14th January 2008, 17:25
Thanks, after changing the key-color to something slightly different from black, it worked as it's supposed to be (didn't work when I set it to something "very different" from black, like pink or green though, as it onyl displayed the key color then. Ah, well, it works now). Thanks for the quick help.
LoRd_MuldeR
14th January 2008, 23:48
@lamer_de
In theory it shouldn't matter which color-key you choose. Strange...
@rvm
1. What about adding "gl:yuv=3:lscale=1" (as suggested by Reimar) to the video renderer dropdown list?
2. What about adding the "-lavdopts vismv=7" option, as I suggested a while ago?
// EDIT
I just did a quick test and it turns out "#ff00ff" works fine as color-key, but "#00ffff" doesn't! :confused:
rvm
15th January 2008, 01:08
@rvm
1. What about adding "gl:yuv=3:lscale=1" (as suggested by Reimar) to the video renderer dropdown list?
I had already thought about it.
2. What about adding the "-lavdopts vismv=7" option, as I suggested a while ago?
Mmm, I don't know. I think it's a very advanced thing that very few people will use.
// EDIT
I just did a quick test and it turns out "#ff00ff" works fine as color-key, but "#00ffff" doesn't! :confused:
Maybe I'm not passing the colorkey correctly to mplayer. Right now it's passed in decimal, maybe it should be in hexadecimal? I'll test it tomorrow.
Another strange thing about the colorkey: it seems in linux it's not needed, it works even without it the -colorkey option.
LoRd_MuldeR
15th January 2008, 01:56
Another strange thing about the colorkey: it seems in linux it's not needed, it works even without it the -colorkey option.
I think -colorkey is specific to the DirectX/Overlay renderer.
If the Linux renderer is not using an Overlay, then no colorkey will be needed. The GL renderer on Windows doesn't need it either.
Maybe I'm not passing the colorkey correctly to mplayer. Right now it's passed in decimal, maybe it should be in hexadecimal? I'll test it tomorrow.
MPUI is passing the colorkey as "-colorkey 0x101010" :)
Mmm, I don't know. I think it's a very advanced thing that very few people will use.
Both, ffdshow and Avidemux, do offer that option...
rvm
15th January 2008, 02:23
I think -colorkey is specific to the DirectX/Overlay renderer.
If the Linux renderer is not using an Overlay, then no colorkey will be needed. The GL renderer on Windows doesn't need it either.
According to the manpage, the color key is used by other drivers too, xv included:
−colorkey <number>
Changes the colorkey to an RGB value of your choice. 0x000000 is black and 0xffffff is white. Only supported by the cvidix, fbdev, svga, vesa, winvidix, xmga, xvidix, xover, xv (see −vo xv:ck), xvmc (see −vo xv:ck) and directx video output drivers.
Edit: it seems the colorkey is used in xv only with xv:ck=set, otherwise it's ignored and uses xv's colorkey.
Edit 2: mmm, the window doesn't need to be painted with the colorkey... (it works, no matter the background color). It seems to me that the colorkey in xv is something completely different to the colorkey in directx.
Both, ffdshow and Avidemux, do offer that option...
Where do you suggest to add it? In a menu or somewhere in preferences?
rvm
15th January 2008, 11:16
About the colorkey: after some testings it seems the colorkey should be in BGR and not in RGB (as stated in the manual).
Now (svn r646) the colorkey is passed in BGR and it seems all colors work.
BTW, I also added gl:yuv=3:lscale=1 to the video drivers combo, although I tested it on a computer with an ATI card and it works extremely slow in fullscreen (it works ok without the lscale=1).
LoRd_MuldeR
15th January 2008, 13:04
BTW, I also added gl:yuv=3:lscale=1 to the video drivers combo, although I tested it on a computer with an ATI card and it works extremely slow in fullscreen (it works ok without the lscale=1).
Thanks. That configuration works fine here on my Radeon 1950XT. I'm using Catalyst 7.11, since 7.12 has bad tearing.
Playback is 100% smooth, even in Fullscreen with 720p or 1080p material.
If you have slow performance, check your OpenGL settings in CCC or ATT.
I have set AA and AF to "App Controlled", VSync to "Default On" and MipMap to "Quality" (not "High Quality").
BTW: I'm on WinXP x64 Edition SP-2.
Where do you suggest to add it? In a menu or somewhere in preferences?
I'd say in a menu, as you don't want to enable/disable it permanently. You just use it to inspect a single video once in a while.
I was thinking about:
* Options ŧ Show Motion-Vectors
* Video ŧ Filters ŧ Motion-Vectors/Visualization
About the colorkey: after some testings it seems the colorkey should be in BGR and not in RGB (as stated in the manual).
Seems colorkeys are now passed properly. At least I couldn't find one that doesn't work :)
Reimar
15th January 2008, 19:44
About the colorkey: after some testings it seems the colorkey should be in BGR and not in RGB (as stated in the manual).
Not sure, but I think you have the wrong idea about what RGB is (note: there are strange differences between 24 and 32 bit values).
References:
http://msdn2.microsoft.com/en-us/library/ms532655(VS.85).aspx
http://svn.mplayerhq.hu/mplayer/trunk/DOCS/tech/colorspaces.txt?view=markup (here the IMGFMT_RGB32 entry).
BTW, I also added gl:yuv=3:lscale=1 to the video drivers combo, although I tested it on a computer with an ATI card and it works extremely slow in fullscreen (it works ok without the lscale=1).
If it only happens with larger window sizes that simply means your graphics card is too slow. There are loads of combinations of yuv= and lscale= values, to get the optimal settings for their card/eyes everyone will have to experiment themselves...
Btw. latest SVN now also has lscale=4 which is a sharpening filter, but it is still unfinished (strength can not be adjusted).
rvm
15th January 2008, 22:59
Not sure, but I think you have the wrong idea about what RGB is (note: there are strange differences between 24 and 32 bit values).
References:
http://msdn2.microsoft.com/en-us/library/ms532655(VS.85).aspx
This link says:
When specifying an explicit RGB color, the COLORREF value has the following hexadecimal form:
0x00bbggrr
So yes, I was doing wrong. I thought it had to be 0xrrggbb.
LoRd_MuldeR
16th January 2008, 01:21
rvm, there's another issue with none-default colorkeys: If SMPlayer is using a colorkey different from black (or near-black), it will use that color to fill it's window - even when the video is stopped! This looks a bit strange, especially when the SMPlayer logo is visible. Maybe you could simply change the background-color back to black as soon as the playback is stopped. And maybe you could also make the logo re-appear after the playback has stopped, instead of keeping the window blank.
http://img219.imageshack.us/img219/7725/filesmplayercolorkeyrj7.th.png (http://img219.imageshack.us/my.php?image=filesmplayercolorkeyrj7.png)
rvm
16th January 2008, 12:09
Thanks. That configuration works fine here on my Radeon 1950XT. I'm using Catalyst 7.11, since 7.12 has bad tearing.
Playback is 100% smooth, even in Fullscreen with 720p or 1080p material.
If you have slow performance, check your OpenGL settings in CCC or ATT.
I have set AA and AF to "App Controlled", VSync to "Default On" and MipMap to "Quality" (not "High Quality").
I changed those settings, but still the video is very slow in fullscreen.
I'd say in a menu, as you don't want to enable/disable it permanently. You just use it to inspect a single video once in a while.
I was thinking about:
* Options ŧ Show Motion-Vectors
* Video ŧ Filters ŧ Motion-Vectors/Visualization
The option has been added in svn r654 (in the menu Options).
LoRd_MuldeR
16th January 2008, 12:40
I changed those settings, but still the video is very slow in fullscreen.
Then I think your Graphics Hardware is simply too slow :(
The option has been added in svn r654 (in the menu Options).
:thanks:
LoRd_MuldeR
16th January 2008, 23:13
Bad news: I just updated to the brand-new Catalyst 8.1 drivers.
Now I get bad tearing with the GL renderer, as I got with Catalyst 7.12.
Would be nice to have a working GL renderer in MPlayer, but it's just not very compatible yet:
Bad tearing with up-to-date ATI drivers, not working at all with nVidia cards...
Yong
17th January 2008, 12:55
hmm, im using cat 8.1 vista x86 version, no tearing problem with 2600xt.
btw -vf scale will improve performance when playing high-def video with opengl renderer, correct me if im wrong :p
LoRd_MuldeR
17th January 2008, 12:56
hmm, im using cat 8.1 vista x86 version, no tearing problem with 2600xt.
btw -vf scale will improve performance when playing high-def video with opengl renderer, correct me if im wrong :p
Vista :rolleyes:
BTW: Just sent bug-report to AMD/ATI, but I don't believe they will answer ^^
Reimar
17th January 2008, 19:08
btw -vf scale will improve performance when playing high-def video with opengl renderer, correct me if im wrong :p
Just -vf scale should not. If you are downscaling it might though. Especially for high-def make sure you use -vo gl:yuv=2 or something similar, using just -vo gl needs twice the bandwidth to transfer data to the graphics card in addition to the colourspace conversion being done on the CPU.
I welcome sane solutions to the compatibility problems, but currently I can only suggest to complain to the card manufacturers, they after all got money from you :p
And I'd still like to know if the tearing with ATI drivers also happens when running MPlayer standalone (without any gui).
As those problems seem to be Windows-specific there is of course also another solution :p
LoRd_MuldeR
17th January 2008, 19:23
And I'd still like to know if the tearing with ATI drivers also happens when running MPlayer standalone (without any gui).
Yes, it happens :(
As those problems seem to be Windows-specific there is of course also another solution :p
:rolleyes:
Yong
18th January 2008, 12:25
Just -vf scale should not. If you are downscaling it might though. Especially for high-def make sure you use -vo gl:yuv=2 or something similar, using just -vo gl needs twice the bandwidth to transfer data to the graphics card in addition to the colourspace conversion being done on the CPU.
I welcome sane solutions to the compatibility problems, but currently I can only suggest to complain to the card manufacturers, they after all got money from you :p
And I'd still like to know if the tearing with ATI drivers also happens when running MPlayer standalone (without any gui).
yeah im using -vo gl:yuv=4, but forgot to mention it :p
-vo gl:yuv=0 is default right?:rolleyes:
my onboard nvidia 6150 gpu is much faster than my 2600xt, when using opengl renderer :eek::eek:
i wonder why?
As those problems seem to be Windows-specific there is of course also another solution :p
linux?:cool:
@LoRd_MuldeR
may be u can try atitraytool, its an alternative to the ati CCC,
much lightweight than the bloated CCC and .net crap:cool:
or rivatuner, its come with a small utility called d3doverride, can enable vsync + triple buffering for opengl, should worth a try ;)
Reimar
18th January 2008, 14:44
my onboard nvidia 6150 gpu is much faster than my 2600xt, when using opengl renderer :eek::eek:
i wonder why?
Since the drivers behave very different between ATI and nVidia I might be doing something ATI cards do not like. It's been a long time since I tried to run on ATI (I sold my last card ATI, had enough of the crashes the drivers caused in combination with remote desktop)...
For an example of extreme performance differences, try -vo gl:yuv=6, last time I tried this made ATI drivers fall back to a 100% software emulation mode at < 1 fps... (nVidia works fine, even on old FX5200).
LoRd_MuldeR
18th January 2008, 16:19
@LoRd_MuldeR
may be u can try atitraytool, its an alternative to the ati CCC,
much lightweight than the bloated CCC and .net crap:cool:
ATT is one of my every-day-use tools ;)
It's definitely a driver/compatibility issue:
* Catalyst 7.11 ŧ OpenGL renderer works 100% fine
* Catalyst 7.12 or 8.1 ŧ Bad tearing in OpenGL renderer
Note: The DirectX/Overlay renderer has no such tearing problem.
Also VMR9 or Haali Renderer (in MPC) don't show such issue...
Since the drivers behave very different between ATI and nVidia I might be doing something ATI cards do not like.
Well, if I can do anything that helps to fix the problem, I'll do at every time...
Yong
18th January 2008, 16:50
Since the drivers behave very different between ATI and nVidia I might be doing something ATI cards do not like. It's been a long time since I tried to run on ATI (I sold my last card ATI, had enough of the crashes the drivers caused in combination with remote desktop)...
For an example of extreme performance differences, try -vo gl:yuv=6, last time I tried this made ATI drivers fall back to a 100% software emulation mode at < 1 fps... (nVidia works fine, even on old FX5200).
Oh god please make mplayer opengl renderer run faster on ati card lol :D :D
just kidding :p
imho both ati and nvidia driver also buggy, atleast they have problems with some old 3d games.
yup, yuv=6 doesnt work with ati card, while nvidia is very fast,
even with other yuv mode, nvidia card still can run normally with alot of video filters loaded, compare with ati card ;)
LoRd_MuldeR
18th January 2008, 16:56
I think for the Windows platform a good DirectX/Direct3D renderer would be the best solution :o
Yong
18th January 2008, 17:13
ATT is one of my every-day-use tools ;)
It's definitely a driver/compatibility issue:
* Catalyst 7.11 ŧ OpenGL renderer works 100% fine
* Catalyst 7.12 or 8.1 ŧ Bad tearing in OpenGL renderer
Note: The DirectX/Overlay renderer has no such tearing problem.
Also VMR9 or Haali Renderer (in MPC) don't show such issue...
hmm i got missing texture with some opengl game when enable triple buffering :p
with old directx8 game, i got no lighting effect, what a buggy driver :sly:
lets move to nvidia:p
yeah, vlc got a d3d video renderer, hope some one can port it to mplayer :D
but i still prefer opengl render since its cross platform ;)
Yong
19th January 2008, 07:09
Sorry for the OT :p
btw Reimar, with mplayer r25787, after u added the 5x5 unsharp mask, i cant use cscale=3 or 4,5 anymore,
i got this when using it:
[gl] Error compiling fragment program, make sure your card supports
[gl] GL_ARB_fragment_program (use glxinfo to check).
[gl] Error message:
line 2: redeclared variable name at dcoord = {
its only happen when im using yuv=2, 3 or 4,
tested with my 2600xt, while lscale is works fine iirc ;)
Reimar
19th January 2008, 11:10
should be fixed in r25788
rvm
23rd January 2008, 03:02
*** Package for testing ***
SMPlayer 0.6.0 preview1
I've just uploaded a package with installer for Windows from the current version from SVN (r704). The package includes also the latest version of smplayer-themes.
For first time, it includes a mplayer build compiled by myself (r25829). It has been patched to add the -volume option, which can fix the problem of loud volume on startup.
Compiling mplayer, with support for everything, it's not an easy task, and this build may have support for less formats, as it still lacks support for several libraries. If you see that now some files which previously played, don't play anymore, please report.
By the way, I haven't included the extra codecs for mplayer to save some space. You'll have install it separately if you need it.
(By mistake I also included mencoder.exe in the package... maybe I'll release soon another package without it and with the codecs instead of it)
https://sourceforge.net/project/showfiles.php?group_id=185512&package_id=216202&release_id=570619
LoRd_MuldeR
23rd January 2008, 23:54
Thanks for your efforts, rvm :)
Only noticed you have not updated the version string yet:
SMPlayer Đ 2006-2008 Ricardo Villalba <rvm@escomposlinux.org>
Version: 0.5.62+SVN-r704
Compiled with Qt 4.3.2
LoRd_MuldeR
24th January 2008, 18:47
Right another feature request :o
I'd like to have a "Refresh" button in the "MPlayer Log" window (or an "Auto Refresh" checkbox)...
:thanks:
rvm
25th January 2008, 19:01
Only noticed you have not updated the version string yet:
It's not an official release yet, so I didn't change it.
By the way, I've uploaded a new package:
smplayer_0.6.0preview2_setup.exe (http://downloads.sourceforge.net/smplayer/smplayer_0.6.0preview2_setup.exe)
It includes smplayer r718, mplayer r25850 and the extra codecs.
Most interesting change, now SSA/ASS subtitles can be resized without having to restart mplayer, so it's fast (this feature requires at least mplayer r25843).
There are also separate packages:
* smplayer_update_svn_r718.7z (http://smplayer.wiki.sourceforge.net/space/showimage/smplayer_update_svn_r718.7z)
* mplayer-r25850-mingw.7z (http://downloads.sourceforge.net/smplayer/mplayer-r25850-mingw.7z)
Adub
31st January 2008, 23:13
Hey, rvm I am getting an error with the latest SMPlayer stable version for linux.
Or rather, it's not an error, just that SMPlayer is not playing. meaning 0.6.0rc1.
I am running Sabayon Linux, a Gentoo derivative.
Now, when I open any video, say a generic avi file, smplayer starts, but no video is played, it just kind of freezes.
Here is mplayer's log:
/home/merlin/mplayer -noquiet -nofs -sub-fuzziness 1 -identify -slave -vo gl -ao alsa -zoom -nokeepaspect -autosync 100 -dr -input conf=/usr/local/share/smplayer/input.conf -stop-xscreensaver -wid 44040206 -colorkey 131586 -monitoraspect 1.25 -ass -embeddedfonts -ass-color ffff0000 -ass-border-color 00000000 -subfont-autoscale 1 -subfont-text-scale 5 -subcp ISO-8859-1 -subpos 100 -contrast 0 -brightness 0 -hue 0 -saturation 0 -cache 2000 -osdlevel 0 -idx -channels 2 /home/merlin/Desktop/Encoding/x264/work/159b826de1d66a3e8c5f33acd24ace5c752fa32a.mp4
and here is SMPlayers log:
Translator::loadCatalog: can't load qt_en_US from /usr/local/share/smplayer/translations
Translator::loadCatalog: can't load qt_en_US from /usr/share/qt4/translations
Translator::loadCatalog: successfully loaded smplayer_en_US from /usr/local/share/smplayer/translations
This is SMPlayer v. 0.5.62 (svn r418) running on Linux
Qt v. 4.3.2
* application path: '/usr/local/bin'
* data path: '/usr/local/share/smplayer'
* translation path: '/usr/local/share/smplayer/translations'
* doc path: '/usr/local/share/doc/packages/smplayer'
* themes path: '/usr/local/share/smplayer/themes'
* shortcuts path: '/usr/local/share/smplayer/shortcuts'
* smplayer home path: '/home/merlin/.smplayer'
* ini path: '/home/merlin/.smplayer'
main: files_to_play: count: 1
main: files_to_play[0]: '/home/merlin/Desktop/Encoding/x264/work/159b826de1d66a3e8c5f33acd24ace5c752fa32a.mp4'
Recents::load
Core::Core: file_settings: '/home/merlin/.smplayer/smplayer_files.ini'
MplayerProcess::init_rx
MplayerLayer::allowClearingBackground: 0
Preferences::monitor_aspect_double
warning: monitor_aspect couldn't be parsed!
monitor_aspect set to 0
Playlist::setModified: 0
Playlist::loadSettings
Playlist::addItem: '/home/merlin/Desktop/Encoding/x264/work/159b826de1d66a3e8c5f33acd24ace5c752fa32a.mp4'
Playlist::setModified: 0
name: '159b826de1d66a3e8c5f33acd24ace5c752fa32a.mp4'
Style name: 'plastique'
Style class name: 'QPlastiqueStyle'
BaseGui::initializeMenus
BaseGui::initializeMenus
BaseGui::updateRecents
BaseGui::updateWidgets
Core::changeUseAss: 1
BaseGui::updateWidgets
BaseGui::updateRecents
PlaylistDock::hideEvent: isFloating: 0
undocked
PlaylistDock::showEvent: isFloating: 1
PlaylistDock::hideEvent: isFloating: 1
BaseGui::initializeMenus
BaseGui::updateRecents
BaseGui::updateWidgets
BaseGuiPlus::loadConfig
DefaultGui::createStatusBar
DefaultGui::createActions
DefaultGui::createControlWidget
DefaultGui::createControlWidgetMini
BaseGui::initializeMenus
BaseGui::updateRecents
DefaultGui::updateWidgets
BaseGui::updateWidgets
DefaultGui::loadConfig
DefaultGui::updateWidgets
BaseGui::updateWidgets
BaseGui::showEvent
BaseGui::openFiles
Playlist::setModified: 0
Playlist::addFiles
Playlist::addItem: '/home/merlin/Desktop/Encoding/x264/work/159b826de1d66a3e8c5f33acd24ace5c752fa32a.mp4'
name: '159b826de1d66a3e8c5f33acd24ace5c752fa32a.mp4'
* latest_dir: ''
BaseGui::open: '/home/merlin/Desktop/Encoding/x264/work/159b826de1d66a3e8c5f33acd24ace5c752fa32a.mp4'
Core::open: '/home/merlin/Desktop/Encoding/x264/work/159b826de1d66a3e8c5f33acd24ace5c752fa32a.mp4'
* identified as local file
Core::openFile: '/home/merlin/Desktop/Encoding/x264/work/159b826de1d66a3e8c5f33acd24ace5c752fa32a.mp4'
Core::playNewFile: '/home/merlin/Desktop/Encoding/x264/work/159b826de1d66a3e8c5f33acd24ace5c752fa32a.mp4'
Core::saveMediaInfo
Core::saveMediaInfo: not saving settings, disabled by user
Core::checkHaveSettingsSaved: group_name: '_home_merlin_Desktop_Encoding_x264_work_159b826de1d66a3e8c5f33acd24ace5c752fa32a_mp4_329792952'
Core::playNewFile: volume: 100, old_volume: 100
Core::initPlaying
Core::startMplayer
Helper::setScreensaverEnabled: 0
DesktopInfo::desktop_size: primary screen: 0
DesktopInfo::desktop_size: size of primary screen: 1280 x 1024
DesktopInfo::desktop_size: size of screen: 1280 x 1024
Core::startMplayer: command: '/home/merlin/mplayer -noquiet -nofs -sub-fuzziness 1 -identify -slave -vo gl -ao alsa -zoom -nokeepaspect -autosync 100 -dr -input conf=/usr/local/share/smplayer/input.conf -stop-xscreensaver -wid 44040206 -colorkey 131586 -monitoraspect 1.25 -ass -embeddedfonts -ass-color ffff0000 -ass-border-color 00000000 -subfont-autoscale 1 -subfont-text-scale 5 -subcp ISO-8859-1 -subpos 100 -contrast 0 -brightness 0 -hue 0 -saturation 0 -cache 2000 -osdlevel 0 -idx -channels 2 /home/merlin/Desktop/Encoding/x264/work/159b826de1d66a3e8c5f33acd24ace5c752fa32a.mp4'
MplayerLayer::playingStarted
BaseGui::calculateDiff: diff_size: 0, 0
BaseGui::calculateDiff: diff_size set to: 0, 106
MplayerProcess::init_rx
MplayerProcess::gotError: 0
WARNING: Core::startMplayer: mplayer process didn't start
Core::tellmp: 'volume 100 1'
WARNING: tellmp: no process running: volume 100 1
BaseGui::initializeMenus
BaseGui::updateRecents
DefaultGui::updateWidgets
BaseGui::updateWidgets
BaseGui::loadActions
ActionsEditor::loadFromConfig
BaseGui::showMplayerLog
BaseGui::showLog
I custom compiled mplayer just yesterday with the latest svn, and then downloaded your latest stable SMPlayer for linux and compiled that.
Using mplayer from the command line worked perfectly, incase you were wondering.
Another curious thing is if I open a avi file, SMPlayer loads and does nothing. If I copy the mplayer command line from the log window and paste it in to terminal and execute it, my open SMPlayer starts playing the video.
rvm
31st January 2008, 23:26
and here is SMPlayers log:
WARNING: Core::startMplayer: mplayer process didn't start
For some reason mplayer doesn't run. If you say it works when you run from command line, even using the same parameters smplayer tries to pass, well it's very strange.
Maybe mplayer can't find some library if run from another directory?
Adub
1st February 2008, 05:31
Okay here is the deal.
I copy and paste the command line directly from the mplayer log, removing the /home/merlin/mplayer beginning and replacing it with just mplayer.
If the "dead" SMPlayer is open, and I run the copied commandline, the video starts playing in the "once dead" SMPlayer window.
Here is the commandline (again):
mplayer -noquiet -nofs -sub-fuzziness 1 -identify -slave -vo gl -ao alsa -zoom -nokeepaspect -autosync 100 -dr -input conf=/usr/local/share/smplayer/input.conf -stop-xscreensaver -wid 41943054 -colorkey 131586 -monitoraspect 1.25 -ass -embeddedfonts -ass-color ffff0000 -ass-border-color 00000000 -subfont-autoscale 1 -subfont-text-scale 5 -subcp ISO-8859-1 -subpos 100 -contrast 0 -brightness 0 -hue 0 -saturation 0 -cache 2000 -osdlevel 0 -idx -channels 2 /home/merlin/Desktop/Encoding/x264/work/159b826de1d66a3e8c5f33acd24ace5c752fa32a.mp4
However, if I close the SMPlayer window and then run the command, I get this:
X11 error: BadWindow (invalid Window parameter)
X11 error: BadWindow (invalid Window parameter)
MPlayer interrupted by signal 11 in module: decode_video
ID_SIGNAL=11
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- 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 think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
I don't know what else to tell you.
rvm
1st February 2008, 16:21
Okay here is the deal.
I copy and paste the command line directly from the mplayer log, removing the /home/merlin/mplayer beginning and replacing it with just mplayer.
If the "dead" SMPlayer is open, and I run the copied commandline, the video starts playing in the "once dead" SMPlayer window.
This is because of the option -wid. That makes mplayer to display the video in another window (in this case in a smplayer window). Once you close smplayer that window doesn't exist anymore and mplayer crashes.
Have you checked you have the right path to mplayer in Preferences -> General? Be sure you didn't add an extra space or something like that in the path.
Adub
1st February 2008, 18:34
Okay, I reselected the location of mplayer in the preferences and everything works fine again.
Sorry for the trouble, I assumed SMPlayer just ran mplayer from the commandline.
rvm
3rd February 2008, 02:02
SMPlayer 0.6.0rc1 released
Most important changes since 0.5.62:
* Added support for pls playlist files.
* Better accuracy on subtitle selection. Fixes problems with mp4 embedded subtitles. Requires mplayer svn r25158 or above.
* Now the screensaver and powersave on Windows are really turned off, even on Windows Vista.
* The cache setting is independent for each type of media.
* Added an option which allows to fix the problem of loud volume on startup (requires a patched mplayer).
* (Windows) The file associations code has been improved. Now it should work better in Windows Vista as well as other versions of Windows.
* New option Video->Add black borders, which replaces the letterbox options in Video->Aspect ratio.
* (Windows) Work-around for a mplayer bug: now filenames with characters outside the local codepage can be opened, by passing to mplayer the short version of the filename. This can be enabled in Preferences->Advanced.
* Now the H.264 loop filter can be disabled for High Definition videos only (720p and above).
* Possibility to update the video while dragging the time slider.
* New icons for the default theme.
* SSA/ASS subtitles can also be resized during playback. Requires at least mplayer r25843.
* Now it's possible to zoom out the video image.
* New Help->About dialog.
* New option Help->FAQ which will show the FAQ.
* Bugfix: the colorkey is passed properly to mplayer.
* Added the Finnish and the Korean translations.
Downloads (http://smplayer.sourceforge.net/downloads.php)
Adub
3rd February 2008, 02:48
Cool, thanks for the update. Installing....now!
Razorholt
3rd February 2008, 07:09
Thanks rvm!
Hey, quick question: is it possible to display a picture or a video while the requested file is buffering?... like a loader. I'm talking about mplayer, not SMplayer or MPUI. I'm looking at the mplayer Doc but can't see anything related to that matter.
Thanks,
- Dan
Adub
6th February 2008, 19:20
Not immediately, but as long as your internet connection is faster than your viewing speed, you should be fine. I have done it my self.
Razorholt
6th February 2008, 20:01
Not immediately, but as long as your internet connection is faster than your viewing speed, you should be fine. I have done it my self.
What do you mean? Can you give me an example of a cmd line?
Thanks Merlin7777!
- Dan
LoRd_MuldeR
9th February 2008, 12:35
rvm, I just noticed that the latest "unstable" build was compiled against Qt 4.3.3.
So I updated the QT Runtime Libs to v4.3.3 as well, but it seems to break the playlist.
See the column width go crazy when resizing the window:
http://mulder.dummwiedeutsch.de/etc/smplayer.htm
rvm
9th February 2008, 12:52
I see...
Well, I think I will have to compile it again with Qt 4.3.2.
Edit: I've just re-uploaded version r827 compiled with Qt 4.3.2.
Reimar
9th February 2008, 15:22
With MPlayer SVN r25965 those problems should be fixed, MPlayer now creates a child window.
With SMPlayer there is one problem though: it does no longer get/recognize the "Exiting" message from MPlayer (so it hangs for several seconds after clicking stop), I do not know why though.
I checked a bit more, and MPlayer actually does not quit until SMPlayer kills it after this timeout...
It seems that QT does something stupid that makes DestroyWindow hang when called on the MPlayer child window. Creating the window with WS_EX_NOPARENTNOTIFY fixes this, so everything should work in SVN r25966
rvm
10th February 2008, 03:40
This is very good news :)
I've just tested with a nvidia card and it works very well (and no blinks like before, with an ATI card).
I uploaded a build so other people could test: mplayer-r25967-mingw.7z (http://downloads.sourceforge.net/smplayer/mplayer-r25967-mingw.7z)
But I found a "small" problem, now (when using gl/gl2) smplayer doesn't get mouse click events made on the video window, that means that double clicking to enter fullscreen or right click to show the context menu won't work. (Surprisingly it still gets wheel events)
Reimar
10th February 2008, 11:05
But I found a "small" problem, now (when using gl/gl2) smplayer doesn't get mouse click events made on the video window, that means that double clicking to enter fullscreen or right click to show the context menu won't work.
Fixed, though in an ugly way.
(Surprisingly it still gets wheel events)
This is because Windows automatically forwards wheel events to the parent window, but now click events. Yes, Windows always makes an incredibly inconsistent mess out of everything. Proper engineering (and sanity in general) definitely isn't part of the Windows development process.
rvm
10th February 2008, 13:38
Yes, I think it works perfectly now.
:thanks:
LoRd_MuldeR
10th February 2008, 13:57
I see...
Well, I think I will have to compile it again with Qt 4.3.2.
Edit: I've just re-uploaded version r827 compiled with Qt 4.3.2.
Thanks, but don't get me wrong:
The build that was compiled againt Qt 4.3.3 worked alright with the v4.3.2 Runtime libs.
Only after updating the libs to v4.3.3, which I thought would be recommended, broke the List view.
Downgrading to Rubtime libs to v4.3.2 fixed the problem for the time being...
I've just tested with a nvidia card and it works very well (and no blinks like before, with an ATI card).
That is awesome news :thanks:
LoRd_MuldeR
10th February 2008, 16:27
But I found a "small" problem, now (when using gl/gl2) smplayer doesn't get mouse click events made on the video window, that means that double clicking to enter fullscreen or right click to show the context menu won't work. (Surprisingly it still gets wheel events)
Just for info: MPUI doesn't fail to show the context menu on rightclick, but the video will freeze until the menu is closed again.
Full screen via doubleclick on video area is broken too...
Reimar
10th February 2008, 17:56
Just for info: MPUI doesn't fail to show the context menu on rightclick, but the video will freeze until the menu is closed again.
Fixed in MPlayer SVN r25974
Full screen via doubleclick on video area is broken too...
Worked for me right from the start. Maybe you used a version before r25972? Then the right-click menu working was almost pure luck...
LoRd_MuldeR
10th February 2008, 18:07
Worked for me right from the start. Maybe you used a version before r25972? Then the right-click menu working was almost pure luck...
Nope, I tried "mplayer-r25967-mingw.7z". I will try a new build with the latest fix included asap...
Just another issue I noticed:
With the build above, I can move the video panel inside SMPlayer's window.
Just hold the left mouse button down on the video area and move the cursor...
Reimar
10th February 2008, 21:01
The annoying flicker when resizing and using -vo gl should be gone with MPlayer SVN r25978 as well.
Adub
10th February 2008, 21:22
@ Razorholt
When you say buffering, you are talking about a file you are downloading from the net, correct? Not one already on your harddrive?
Like say you were downloading an avi file from, oh, rapidshare. As it is downloading, you want to start watching it. Is this the case you are referring to?
LoRd_MuldeR
10th February 2008, 21:25
@ Razorholt
When you say buffering, you are talking about a file you are downloading from the net, correct? Not one already on your harddrive?
Like say you were downloading an avi file from, oh, rapidshare. As it is downloading, you want to start watching it. Is this the case you are referring to?
I think MPlayer can perfectly play "incomplete" files while downloading or encoding.
Of course only if the download/encode application grants read access to that file.
And of course only if no essential part of the file is missing, e.g. index block...
rvm
11th February 2008, 10:27
The annoying flicker when resizing and using -vo gl should be gone with MPlayer SVN r25978 as well.
I've just tested right now. Indeed now it works wonderfully. I think it works even better than directx.
I've uploaded my build, in case someone else want to test: mplayer-r25979-mingw.7z (http://downloads.sourceforge.net/smplayer/mplayer-r25979-mingw.7z)
Thanks, but don't get me wrong:
The build that was compiled againt Qt 4.3.3 worked alright with the v4.3.2 Runtime libs.
A newer version of the Qt libs should work ok with an application compiled with a slightly older one, but the opposite might not be true. So you've been lucky.
Downgrading to Rubtime libs to v4.3.2 fixed the problem for the time being...
I guess this problem was introduced in Qt 4.3.3. I hope it will be fixed in the next release, meanwhile it will be better to keep using 4.3.2.
rvm
13th February 2008, 12:59
Version 0.6.0rc2.
This version includes some bugfixes.
Most important changes since 0.6.0rc1:
* Fix for relative paths to the mplayer binary. The problem could cause that smplayer couldn't play anything if a directory or file named "mplayer" existed in the home directory.
* The option Play -> Repeat has been improved.
* The selection of chapters in mkv files didn't work well if using a recent mplayer from svn. This has been fixed now.
* (Windows) Bugfix: the buttons to select the font color in Preferences->Subtitles->SSA/ASS didn't show the color.
* (Windows) Now the screensaver should be disabled even if protected by password (tested on Windows XP).
* (Windows) Bugfix: don't try to convert to 8.3 short names files that don't exist. That could cause that URLs were corrupted.
This time the binary is compiled again with Qt 4.3.2 instead of 4.3.3. The table in the playlist was doing weird things with Qt 4.3.3.
Also the mplayer build has been updated. The included one is mplayer svn r25979.
Downloads (http://smplayer.sourceforge.net/downloads.php)
LoRd_MuldeR
13th February 2008, 13:34
Version 0.6.0rc2.
This version includes some bugfixes.
Most important changes since 0.6.0rc1:
This time the binary is compiled again with Qt 4.3.2 instead of 4.3.3. The table in the playlist was doing weird things with Qt 4.3.3.
Also the mplayer build has been updated. The included one is mplayer svn r25979.
Downloads (http://smplayer.sourceforge.net/downloads.php)
:thanks:
Razorholt
14th February 2008, 00:53
@ Razorholt
When you say buffering, you are talking about a file you are downloading from the net, correct? Not one already on your harddrive?
Like say you were downloading an avi file from, oh, rapidshare. As it is downloading, you want to start watching it. Is this the case you are referring to?
While the file is downloading - i.e. a mkv file - I'd like to see a message in mplayer that says: "Please wait", or something like that. When a file takes 5 minutes to download before the user can watch it I think it is recommended to display a message rather than having the viewer wonder what's going on :)
Thanks,
- Dan
LoRd_MuldeR
14th February 2008, 01:07
I just tested the new Catalyst 8.2 and V-Sync is still broken with GL renderer :( :( :(
hitbit
14th February 2008, 12:27
rvm, it's only me or your mplayer builds have problems with online video streams?
For example, try these:
http://f39.r.56.com/f39.c31.56.com/flvdownload/21/22/jy03254628@56.com_56flv_zhajm_11954158006.flv
http://pdl.warnerbros.com/looneytunes/us/acme/rjq439_scenti_mental_romeo_300.wmv
http://video.stage6.com/2199046/.divx
They buffer very fast with other mplayer builds (like Sherpya's or CelticDruid's), while with yours they take ages.
Update: it seems that it's not the buffering process that it is slow, but somehow your builds take ages to resolve the stream address, or sort of (I'm not an expert).
rvm
14th February 2008, 13:08
I've just tested right now, comparing with mplayer-2008-02-06 from CelticDruid, and I can't see any difference.
hitbit
14th February 2008, 13:37
Oops... you're right. My mplayer reference builds are 4.2.1 while yours are 4.2.3.
Something ugly must be happened between 4.2.1 and 4.2.2 (they're slow on streams too), so clearly it's not your fault, sorry.
Anyway, you can try this Celtic build (september 2007) to see what I mean:
http://ffdshow.faireal.net/mirror/mplayer/mplayer2007.09.10.7z
rvm
15th February 2008, 12:26
Still I can't see any noticeable difference.
hitbit
15th February 2008, 13:59
I think the fault is in my system. Late builds seems to stuck my computer trying to resolve the stream address for AF_INET6... which obviously my Vista don't like. Older builds try only for AF_INET, and they connect immediately, so this explains the differences.
Is AF_INET6 somehow related to IPv6?
Update: it's definately an IPv6 problem on my system. Using -prefer-ipv4 everything works like a charm.
rvm
21st February 2008, 03:28
Under Windows there's the option "Enqueue in smplayer" in the context menu that appears when you right click on a icon. This allows to add the selected files to the smplayer playlist.
This worked ok if smplayer was already running, but it didn't work well if smplayer was not running: an instance of smplayer was open for each file! (even if the single instance option was enabled)
I think this problem has been fixed in version svn r847.
There's available a package in case someone want to test: smplayer_update_svn_r847.7z (http://smplayer.wiki.sourceforge.net/space/showimage/smplayer_update_svn_r847.7z)
LoRd_MuldeR
21st February 2008, 03:45
Great. Thanks a lot for your work :)
Bad news: I just updated to the brand-new Catalyst 8.1 drivers.
Now I get bad tearing with the GL renderer, as I got with Catalyst 7.12.
I've just updated the ATI drivers to version 8.1. Now gl and gl2 are extremely slow! (as if there wasn't hardware accel). gl:yuv=3 and gl2:yuv=3 work better, but what have they done!!!
LoRd_MuldeR
4th March 2008, 14:32
I've just updated the ATI drivers to version 8.1. Now gl and gl2 are extremely slow! (as if there wasn't hardware accel). gl:yuv=3 and gl2:yuv=3 work better, but what have they done!!!
Don't know, but GL support in latest ATI drivers (starting with v7.12) is totally borked :mad:
I hope they get some working drivers out, before AMD/ATI is acquire by NVidia and support for ATI hardware is dropped.
We all remember what happened to 3dfx a while back... :rolleyes:
LoRd_MuldeR
6th March 2008, 02:04
Apparently Catalyst 8.3 fixes the V-Sync with the OpenGL Renderer - at least on the primary display.
But the performance still sucks: Even with gl:yuv=3 my Radeon 1950XT cannot handle 720p resolution...
Reimar
6th March 2008, 10:18
But the performance still sucks: Even with gl:yuv=3 my Radeon 1950XT cannot handle 720p resolution...
you could try "-vo gl -dr", depending on where the bottleneck is this might help. You could also compare against "-vo gl:swapinterval=0" - if that helps the speed issue is caused by the VSync code as well.
Something strange has happen to me a while ago. I tried the -dr option and the computer crashed. After the reboot gl and gl2 work faster :confused: Still there's a big difference: gl uses about 60% of the CPU, while gl:yuv=3 uses about 15%, but yesterday gl used 100% and it could only display a very few frames per second.
LoRd_MuldeR
7th March 2008, 16:49
Reimar, I'm not at home at the moment. I'll try next week when I'm back... :o
rvm
25th March 2008, 09:15
Version 0.6.0rc3 released
Most important changes since 0.6.0rc2:
* (Windows) Enqueuing multiple files in smplayer should work ok now even if smplayer is not running.
* Added new menu Video->Rotate, with options to rotate the image.
* Added new option Play->Jump to, which will show a dialog where you can enter the position (time) to jump.
* Added two new options in the Subtitles menu: "Enable closed caption" and "Forced subtitles only".
* The software equalizer should work now with gl, gl2 and directx:noaccel.
* Some multimedia keys should be recognized now in the shortcut editor.
* Added help for all options in the preferences dialog.
* New error dialog which will be shown if mplayer crashes, fails to start or finishes unexpectedly.
* SMPlayer will try to use xv (or directx in windows) as default.
* Added two new translations: Macedonian and Basque.
Downloads:
http://smplayer.sourceforge.net/downloads.php
http://smplayer.berlios.de/downloads.php
helms
31st March 2008, 09:25
Hi,
Is there anyway to remove the green line which occurs in some videos when using "expand=0:0:1440:0:0:8/5,harddup"
http://img514.imageshack.us/img514/6066/shot0087no4.th.jpg (http://img514.imageshack.us/my.php?image=shot0087no4.jpg)
feature request:
A,B placeholders so you can loop/repeat the part of the video in between the placeholders.
rvm
31st March 2008, 11:18
I don't get that green line using that filter. Tested with directx, directx:noaccel and gl. Using mplayer r26264.
http://img528.imageshack.us/img528/9726/shot0007lw1.th.jpg (http://img528.imageshack.us/my.php?image=shot0007lw1.jpg)
helms
1st April 2008, 06:37
how about with this sample video:
maybe its because its packed bit stream, no idea, when I use smart copy mode in avidemux the green line doesn't show up in the resulting encode.
I think I remember someone posting a sample of a TV capture in the avidemux forum but unsure whether that is accepted on doom9.
Remove the harddup filter and also be sure the option "Include subtitles on screenshots" is disabled. This way the green line disappears.
helms
1st April 2008, 12:15
Is there another word I can use there instead of hardup, if I remove hardup, subtitles disappear too slowly like before and you see the new subtitle on top of the old one.
Can I ask what is the default color key of smplayer, since I tried changing it to get rid of the green line.
Is there another word I can use there instead of hardup, if I remove hardup, subtitles disappear too slowly like before and you see the new subtitle on top of the old one.
Maybe you can try with scale, eq2... I don't have your sample video in this computer so I can't test by myself.
Can I ask what is the default color key of smplayer, since I tried changing it to get rid of the green line.
0x020202
helms
2nd April 2008, 09:45
scale works.
:thanks:
Just noticed, scale seems to cause flash videos to add a partial 2nd image to the right of the original. Eq2 causes the green line. I think I should report the subtitle bug when using the expand filter to mplayer maybe it would get fixed so that there is no need to append anything to the end of the filter. Then again I don't know whether the bug occurs in linux.
After testing various words I found that "crop" and "noformat" both don't give the green line and fixes the subtitle bug. They shouldn't do anything to the video if I don't add any other words or numbers?
rvm
15th April 2008, 02:25
Version 0.6.0rc4 released
Most important changes since 0.6.0rc3:
* (Bugfix) Now DVDs start to play at chapter #1, instead of chapter #2, if using mplayer 1.0rc2 or older.
* (Fix) A delay could happen on startup if there were non local files in the recent's menu.
* (Bugfix) When using the command line options -send-action or -actions, some actions like aspect_4:3 didn't work.
* Initial support for edl files. If a file with the same name of the file to play but with extension .edl (or .EDL) exists, then smplayer will load it automatically. An edl file allows to skip or mute parts of the video.
* Possibility to automatically get info (length and name) about the files added to the playlist. This option is enabled by defaul on linux and disabled on windows (it's slow in this OS).
* Added in Preferences->General->Video an option to select the default deinterlacer.
* Added support for the mouse's buttons XButton1 and XButton2.
* Some new options have been added to the list of available actions for mouse buttons.
* Possibility to merge the 6 seeking buttons in the GUI into only two. It would only show the "rewind 10 secs" and "forward 10 secs" buttons. Keeping them pressed for a moment would popup menu with the rest of the buttons. This option is DISABLED by default and currently it can only be enabled at compile time changing the MINI_ARROW_BUTTONS define in src/guiconfig.h before compiling.
Downloads:
http://smplayer.sourceforge.net/downloads.php
http://smplayer.berlios.de/downloads.php
liruogu
16th April 2008, 07:24
There's a problem with my 3GP files which were taken by my mobilephone, smplayer 0.5.62 plays them well, but 0.6.0 has no sound output, the audio format shown in 0.5.62 is:
samr
128kbps
8000Hz
1
ffamrnb
In 0.6.0, the last parameter is empty. Is it a bug of Mplayer?
rvm
16th April 2008, 14:53
This is because the mplayer build has been compiled without support for libamr_wb and libamr_nb because of licensing problems.
You can use this build (http://www.cccp-project.net/smf/index.php?topic=811.0) instead, I think it has support for those libs.
LoRd_MuldeR
17th April 2008, 19:06
Apparently ATI Catalyst 8.4 re-introduces OpenGL acceleration as it used to be in the good old days :D
(tested on Radeon 1950XT and WinXP x64-Edition)
bsw11
26th April 2008, 01:33
Hi,
Your player has real potential!
There is a problem using it in Vista as it causes the basic graphics mode to kick in and that is bad. It also does not seem to play at all on the 2nd video monitor. Do you have control over making changes to mplayer or if not where do I post these issues to?
As suggestion - make your playlist position dropable like winamp.
Also can where are the tracking files stored and are you keeping a play count and last play date?
An option to treat the playwindow as a drop into the current playlist (at end or after current) would also be very nice.
Thanks,
Barry
rvm
26th April 2008, 02:12
Hi,
Your player has real potential!
There is a problem using it in Vista as it causes the basic graphics mode to kick in and that is bad. It also does not seem to play at all on the 2nd video monitor. Do you have control over making changes to mplayer or if not where do I post these issues to?
Both things are explained in the FAQ (http://smplayer.wiki.sourceforge.net/FAQ#tocFAQ21)
Anyway version 0.6.0rc4 has a bug that could make disable Aero even if using gl/gl2. It's fixed in svn:
ftp://ftp.berlios.de/pub/smplayer/windows/
As suggestion - make your playlist position dropable like winamp.
The playlist can be docked into the main window, just drag it to the main window.
Also can where are the tracking files stored and are you keeping a play count and last play date?
The config files are in C:\Documents and Settings\your_username\.smplayer\ (that's in Windows XP, I think Vista uses a different directory).
An option to treat the playwindow as a drop into the current playlist (at end or after current) would also be very nice.
You can drag and drop files from the Windows explorer to the playlist.
(I don't know if this is what you were asking...)
bsw11
27th April 2008, 00:20
Both things are explained in the FAQ (http://smplayer.wiki.sourceforge.net/FAQ#tocFAQ21)
Anyway version 0.6.0rc4 has a bug that could make disable Aero even if using gl/gl2. It's fixed in svn:
ftp://ftp.berlios.de/pub/smplayer/windows/
The playlist can be docked into the main window, just drag it to the main window.
The config files are in C:\Documents and Settings\your_username\.smplayer\ (that's in Windows XP, I think Vista uses a different directory).
You can drag and drop files from the Windows explorer to the playlist.
(I don't know if this is what you were asking...)
The FAQ did the trick! - Suggestion - in the NSIS install - detect Vista and set the config file to the gl2 as the default.
Playlist - what I am talking about is the ability to drop AT a specific position in the playlist - right now when you drop a new file into the playlist, it ALWAYS goes at the END of the list. In winamp you can drop it anywhere IN the list. I hope this is clear now - its an important feature.
Another feature would be to be able to set where in the list an associated file winds up - End, or after the current file being played.
New Question - Is there any way to run multiple instances of SMPlayer? Where the file data is kept in a central place, put the player specific data is kept in separate locations?
I usually run 2 separate players on each monitor.
rvm
27th April 2008, 01:05
The FAQ did the trick! - Suggestion - in the NSIS install - detect Vista and set the config file to the gl2 as the default.
This is something pending. I hope I could do it soon.
Playlist - what I am talking about is the ability to drop AT a specific position in the playlist - right now when you drop a new file into the playlist, it ALWAYS goes at the END of the list. In winamp you can drop it anywhere IN the list. I hope this is clear now - its an important feature.
It's not possible at the moment. Maybe in the future, once I rewrite the playlist (another thing in the TODO list since a lot of time...)
New Question - Is there any way to run multiple instances of SMPlayer? Where the file data is kept in a central place, put the player specific data is kept in separate locations?
Yes, it's possible to run several instances. Preferences->Interface->Instances.
tomic
30th April 2008, 22:51
Hi,
i have a question about the Video-Equalizer. I change the options (Gamma,Kontrast etc) but i see no difference in my video. Why doesn't work?
Thx in advance
LoRd_MuldeR
30th April 2008, 23:45
Hmm, works fine here. With both, dx and gl renderer :confused:
Maybe some setting in your graphics drives disables application-controlled video eq !?
http://img236.imageshack.us/img236/1741/colorzt5.th.png (http://img236.imageshack.us/my.php?image=colorzt5.png)
However you can try the "Use software video equalizer" option in SMPlayer preferences...
rvm
30th April 2008, 23:47
The video equalizer may not work with some video drivers. Try to check the option "Use software video equalizer" in Preferences->General->Video and see if it works.
I checked the option "Use software video equalizer" and now the player doesn't work. After only 1 second it stops playing the files
I checked the option "Use software video equalizer" and now the player doesn't work. After only 1 second it stops playing the files
Could you copy the mplayer log? (Options->View logs)
mplayer log is empty, so i copied smplayer log
mplayer log is empty
Take a look at the mplayer log after you tried to play a file. Then it shouldn't be empty.
LoRd_MuldeR
1st May 2008, 23:52
@tomic:
Better do not post log files as "attachment", because they need approval by a moderator!
Approval can take a loooong time and during this time other users can't access your attachment.
You can include the log in your post easily using CODE (http://forum.doom9.org/misc.php?do=bbcode#code) tags.
Or you can submit your log to Pastebin (http://pastebin.com/) and post the link back here...
OK sorry for the attachment..
this is my mplayer log
C:/Programme/MPlayer for Windows/MPlayer.exe -noquiet -nofs -sub-fuzziness 1 -identify -slave -vo directx -ao dsound -zoom -nokeepaspect -priority abovenormal -framedrop -wid 918188 -colorkey 0x020202 -monitorpixelaspect 1 -subfont-autoscale 1 -subfont-text-scale 5 -subcp ISO-8859-1 -subpos 100 -contrast 0 -brightness 20 -hue 0 -saturation 0 -nocache -osdlevel 0 -vf-add screenshot -channels 2 -af volnorm=2,scaletempo -sws 9 C:/Dokumente und Einstellungen/user1/Desktop/ns/1.avi
MPlayer Sherpya-SVN-r26446-4.2.3 (C) 2000-2008 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Model: 8, Stepping: 3)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE
Setting process priority: abovenormal
Playing C:/Dokumente und Einstellungen/user1/Desktop/ns/1.avi.
AVI file format detected.
ID_VIDEO_ID=0
[aviheader] Video stream found, -vid 0
ID_AUDIO_ID=1
[aviheader] Audio stream found, -aid 1
VIDEO: [DIVX] 320x240 24bpp 30.000 fps 242.6 kbps (29.6 kbyte/s)
Clip info:
Software: Lavf50.5.0
ID_CLIP_INFO_NAME0=Software
ID_CLIP_INFO_VALUE0=Lavf50.5.0
ID_CLIP_INFO_N=1
ID_FILENAME=C:/Dokumente und Einstellungen/user1/Desktop/ns/1.avi
ID_DEMUXER=avi
ID_VIDEO_FORMAT=DIVX
ID_VIDEO_BITRATE=242624
ID_VIDEO_WIDTH=320
ID_VIDEO_HEIGHT=240
ID_VIDEO_FPS=30.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=65336
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=118.33
ID_SEEKABLE=1
Opening video filter: [screenshot]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
ID_VIDEO_CODEC=ffodivx
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 22050 Hz, 2 ch, s16le, 8.0 kbit/1.13% (ratio: 1000->88200)
ID_AUDIO_BITRATE=8000
ID_AUDIO_RATE=22050
ID_AUDIO_NCH=2
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [dsound] 22050Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=mp3
Starting playback...
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
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 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 7 -> 6
[swscaler @ 0pe0923c]Lanczos scaler, from yuv420p to yuyv422 using MMX2
[swscaler @ 0pe0923c]using 4-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0pe0923c]using 4-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0pe0923c]using n-tap MMX scaler for vertical scaling (BGR)
[swscaler @ 0pe0923c]320x240 -> 320x240
VO: [directx] 320x240 => 320x240 Packed YUY2 [zoom]
ID_AUDIO_TRACK=1
LoRd_MuldeR
2nd May 2008, 17:02
Could not find matching colorspace - retrying with -vf scale...
Enter "scale" (exactly) in the "Video Filters:" editbox at Preferences -> Advanced -> Options for MPlayer and try again...
Enter "scale" (exactly) in the "Video Filters:" editbox at Preferences -> Advanced -> Options for MPlayer and try again...
i entered but still doesn't work
In version 0.6.0rc4, smplayer automatically adds the scale filter, but only if using gl, gl2 or directx:noaccel (it didn't seem necessary for directx...)
So try for instance gl2 instead, and see if it works.
cyberbeing
3rd May 2008, 00:45
How does SMPlayer deal with scaling?
If I set -sws 9 under Advanced>Options for Mplayer>Options will it get automatically used? If so, what is the SMPlayer Video filter software scaling for (redundant?)? If not then I assume it does some sort of hardware scaling by default?
If I didn't set -sws 9 in the SMPlayer MPlayer options, what scaling method would it use when the software scaling video filter is selected?
Also is there some inherent advantage of why you would want to use gl2 over gl? gl2 seems to be missing a lot of the options from gl. Would gl:yuv=3:cscale=1:lscale=1 give better quality then gl2:yuv=3 which doesn't have the cscale and lscale options?
How does SMPlayer deal with scaling?
If I set -sws 9 under Advanced>Options for Mplayer>Options will it get automatically used? If so, what is the SMPlayer Video filter software scaling for (redundant?)?
Video->Filters->Software scaling. You don't need to use -sws 9, smplayer already does when you select this option.
If not then I assume it does some sort of hardware scaling by default?
Yes by default it uses hardware scaling. In my case, with a nvidia card the result is very good, I can't see any difference compared to software scaling.
If I didn't set -sws 9 in the SMPlayer MPlayer options, what scaling method would it use when the software scaling video filter is selected?
smplayer already uses the -sws 9 option, but if you use mplayer alone, the default scaling method (according to the mplayer manpage) is bicubic (-sws 2).
cyberbeing
3rd May 2008, 01:09
Thank you rvm, just the answers I was looking for.
Do you have any insight about the gl vs gl2 question that I edited in my previous post at the last minute?
About gl vs gl2 I'm afraid the only thing I can say is what the mplayer manpage (http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html#VIDEO OUTPUT DRIVERS (MPLAYER ONLY)) says:
gl
OpenGL video output driver, simple version. Video size must be smaller than the maximum texture size of your OpenGL implementation. Intended to work even with the most basic OpenGL implementations, but also makes use of newer extensions, which allow support for more colorspaces and direct rendering.
gl2
OpenGL video output driver, second generation. Supports OSD and videos larger than the maximum texture size.
In version 0.6.0rc4, smplayer automatically adds the scale filter, but only if using gl, gl2 or directx:noaccel (it didn't seem necessary for directx...)
So try for instance gl2 instead, and see if it works.
:) now it works...thx for the player :thanks:
Reimar
3rd May 2008, 10:34
gl2
OpenGL video output driver, second generation. Supports OSD and videos larger than the maximum texture size.
Ui, I never realized it was so confusing. I updated it to say:
Variant of the OpenGL video output driver.
Supports videos larger than the maximum texture size but lacks many of the
advanced features and optimizations of the gl driver and is unlikely to be
extended further.
cyberbeing
3rd May 2008, 21:33
Variant of the OpenGL video output driver.
Supports videos larger than the maximum texture size but lacks many of the advanced features and optimizations of the gl driver and is unlikely to be extended further.
Thanks Reimar, that is a bit more clear. When I read second generation in the original description I was thinking that gl2 was all around better and designed as a replacement for gl for hardware with more advanced opengl capabilities or something. From the updated description I gather gl2 was built as multi-texture opengl renderer because gl couldn't exceed the maximum texture size but it's purpose was more of a complement rather then a replacement for gl for people who needed that functionality.
Reimar
4th May 2008, 08:37
As far as I know, gl2 was originally intended to replace gl, and gl had even less features than gl2 when I started working on MPlayer. But the multi-texture support makes the gl2 code a mess so I did hardly any work on it, and thus gl is now again far ahead of gl2.
LoRd_MuldeR
7th May 2008, 02:21
@rvm:
Just want to mention that I just updated my Qt libs to v4.4.0 and they seem to work fine with SMPlayer :)
petran79
7th May 2008, 11:13
there is a problem and I dont know if it has to do with my OS or is MPlayer specific (more the former I think).
When I open a file that includes Unicode characters (eg. German, Spanish, French vowels) or non-Latin characters (Japanese, Russian, Arabic) while in the Regional Settings I have not selected this language as the default, Mplayer says the file is not found. The non-Latin characters appear in the log as ??????????.avi while in WIndows Explorer they appear correctly. Also the latin characters with the vowels appear correctly but in the log they're not found either.
Other players do not have that problem. Windows and Unicode is really a mess.
Reimar
7th May 2008, 11:40
When I open a file that includes Unicode characters
See
http://bugzilla.mplayerhq.hu/show_bug.cgi?id=955
I also do not know how a fix for that would affect support for Windows 95/98 (nor do I know how many users of those we have, though at least I still have a PC with Win 98).
smplayer provides a work-around for this problem: Preferences->Advanced->Pass short filenames to mplayer.
This way mplayer will be able to open these files.
petran79
8th May 2008, 08:45
thanks for the answer.
I use Windows XP and not 98. In 98 it would work without problems I think :p
LoRd_MuldeR
8th May 2008, 12:54
smplayer provides a work-around for this problem: Preferences->Advanced->Pass short filenames to mplayer.
Is there any drawback on that option or is it safe to use it as default?
Is there any drawback on that option or is it safe to use it as default?
The filename could appear in some places in the short filename format.
Just want to mention that I just updated my Qt libs to v4.4.0 and they seem to work fine with SMPlayer :)
At least it seems there's a minor problem: the logo isn't shown on startup. (In linux the problem seems to be more important: http://smplayer.berlios.de/forums/viewtopic.php?pid=1889#p1889)
ericab
8th May 2008, 23:12
hi im new to this forum, but have been reading it for many years...
thanks for the amazing infos...
anyway.
ive been having a problem with sm/mplayer for some time now. this is the error log i get when trying to run an .mkv in smplayer (which works perfectly fine in MPC & VLC):
Trying to force audio codec driver family hwac3...
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
hwac3: switched to AC3, 448000 bps, 48000 Hz
AUDIO: 48000 Hz, 2 ch, ac3, 448.0 kbit/29.17% (ratio: 56000->192000)
ID_AUDIO_BITRATE=448000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [hwac3] afm: hwac3 (AC3 through S/PDIF)
==========================================================================
No accelerated IMDCT transform found
[format] Sample format big-endian AC3 not yet supported
Error at audio filter chain pre-init!
Exiting... (Fatal error)
why wont it bit-stream to my receiver ???
thanks,
eric
*EDIT*
btw im using:
Version: 0.6.0rc4+SVN-r1227
Compiled with Qt 4.3.2
Using MPlayer SVN r26446
LoRd_MuldeR
8th May 2008, 23:36
The filename could appear in some places in the short filename format.
I see. However I now enabled that option by default to avoid trouble with unicode filenames.
At least it seems there's a minor problem: the logo isn't shown on startup.
Confirmed :o
bonanza
9th May 2008, 18:06
Is there an option for prefering special decoders like coreavc or ac3filter ?
LoRd_MuldeR
9th May 2008, 19:39
Is there an option for prefering special decoders like coreavc or ac3filter ?
You can at least force MPlayer to use a certain decoder/splitter for a specific file.
See the "Demuxer", "Video Codec" and "Audio Codec" tabs in the "File Properties" dialog.
Of course you can always do it manually with MPlayer commandline options.
Goto "Advanced" -> "Options for MPlayer" in SMPlayer's "Preferences" dialog and add the required params.
For example the following options will enforce the "AC3/DTS Passthrough" audio codecs:
-ac hwac3,hwdts,
Don't forget the trailing , in order to allow MPlayer to fallback to other codecs...
ericab
9th May 2008, 21:17
still a no go. i get this:
Trying to force audio codec driver family hwac3...
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
hwac3: switched to DTS, 1536000 bps, 48000 Hz
AUDIO: 48000 Hz, 2 ch, ac3, 1536.0 kbit/100.00% (ratio: 192000->192000)
ID_AUDIO_BITRATE=1536000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [hwdts] afm: hwac3 (DTS through S/PDIF)
==========================================================================
No accelerated IMDCT transform found
Couldn't find audio filter '-ac hwac3'
[libaf] Couldn't create or open audio filter '-ac hwac3'
Error at audio filter chain pre-init!
Exiting... (Fatal error)
LoRd_MuldeR
9th May 2008, 22:13
@ericab:
What exactly do you want to do? And please post your complete commandline!
I think ericab copied "-ac hwac3" to the audio filter field, but it has to be in the options field above.
LoRd_MuldeR
9th May 2008, 22:51
I think ericab copied "-ac hwac3" to the audio filter field, but it has to be in the options field above.
Or he forgot to add the trailing , to allow fallback to other audio codecs.
However he simply could have checked the "AC3/DTS pass-through S/PDIF" option under General/Audio preferences :p
My example above was intended to show how audio/video codecs can be enforced manually...
ericab
9th May 2008, 23:54
@rvm,
oops youre correct, i put it in the incorrect field :P
@MuldeR
now i see you can force the codec this way; but....
i have checked the "AC3/DTS pass-through S/PDIF" option under General/Audio preferences all along before you suggested forcing it in the options field with -ac hwac3,hwdts,
but it still wont bitstream out to my receiver. the file is an MKV, and it works just fine in VLC, MPC, KMPlayer, & ZoomPlayer, however s/mplayer wont give me spdif out... im using the latest SVN...
**edit**
this is whats stopping it from bitstreaming...
what do i do?:
No accelerated IMDCT transform found
[format] Sample format big-endian AC3 not yet supported
Error at audio filter chain pre-init!
LoRd_MuldeR
10th May 2008, 15:05
I noticed an issue when GL renderer is used: You can't drag in files into the SMPlayer window any more!
To be more precise: You can still drag them on the menubar or the statusbar, but not on the video area.
I think this can be a result of the way the GL renderer is now embedded into the host application...
Reimar
10th May 2008, 16:28
I noticed an issue when GL renderer is used: You can't drag in files into the SMPlayer window any more!
To be more precise: You can still drag them on the menubar or the statusbar, but not on the video area.
I think this can be a result of the way the GL renderer is now embedded into the host application...
Yes, because the window where the video is shown is now MPlayer's window. I do not see any really acceptable solution to this problem.
LoRd_MuldeR
10th May 2008, 19:54
Yes, because the window where the video is shown is now MPlayer's window. I do not see any really acceptable solution to this problem.
Can't the messages be simply forwarded to the host application's window?
Reimar
11th May 2008, 10:32
Can't the messages be simply forwarded to the host application's window?
That part would be no problem, the problem that the window would need to be set to accept files, but there seems to be no way to find out if the parent window accepts dropped files or not, so either it is broken for all application accepting dropped files, it is broken for all not doing so, or there would have to be a Windows, OpenGL vo-specific option for it.
None of these really seem acceptable to me (and now you may all guess why as a programmer I _hate_ Windows).
LoRd_MuldeR
11th May 2008, 12:47
Why not always accept files and forward the messages?
If the host application doesn't want to accept files, it will simply discard those message in it's message loop...
Reimar
11th May 2008, 14:57
Why not always accept files and forward the messages?
Because the mouse cursor will the look like the application will accept files even when it does not.
If the host application doesn't want to accept files, it will simply discard those message in it's message loop...
As I understand those functions, simply discarding would be bad since that would case a memory leak each time.
LoRd_MuldeR
12th May 2008, 22:54
Because the mouse cursor will the look like the application will accept files even when it does not.
IMHO it's better to have a "wrong" cursor icon in some applications, than breaking functionality in others...
As I understand those functions, simply discarding would be bad since that would case a memory leak each time.
Do you really need to free any memory if DragQueryFile() was never called? :confused:
Clobon
12th May 2008, 23:39
Hi,
I don't know if this has been disussed earlier:
the option General/Audio/Change volume just before playing doesn't seem to work for me...
If I tick YES it just comes up with an errormessage with the following errorlog:
C:/Programme/MPlayer for Windows/MPlayer.exe -noquiet -nofs -sub-fuzziness 1 -identify -slave -vo directx -ao dsound -zoom -nokeepaspect -priority abovenormal -framedrop -wid 5113170 -colorkey 0x020202 -monitorpixelaspect 1 -subfont-autoscale 1 -subfont-text-scale 5 -subcp ISO-8859-1 -aid 1 -subpos 100 -contrast 0 -brightness -100 -hue 0 -saturation 0 -volume 72 -nocache -ss 59 -osdlevel 0 -vf-add screenshot -channels 4 -af scaletempo -sws 9 -loop 0 H:\somefiledude.AVI
MPlayer Sherpya-SVN-r26446-4.2.3 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz (Family: 6, Model: 15, Stepping: 11)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Unknown option on the command line: -volume
Error parsing option on the command line: -volume
Setting process priority: abovenormal
I'd like to use it because the standard seems to be: put audio to 100%, wait a second and then put it to the desired level
(which actually annoys the hell out of me). If I turn it of it plays fine.
BTW: I'm using Mulders package MPlayer for Windows (2008-05-08).
Thanks anyway for this awesome frontend.
HF, Clobon
LoRd_MuldeR
12th May 2008, 23:50
The MPlayer builds included in my package (Sherpya) don't support the "-volume" switch, because that option isn't officially supported by MPlayer yet. It's only available via patch. I have already added a feature request to add the "-volume" patch to Sherpya's next builds, but no answer so far...
Version 0.6.0 final
Most important changes since 0.6.0rc4:
* (Bugfix) Two mplayer processes were run when opening a file. This could even make Aero in Windows Vista to be disabled.
* Seeking with the time slider works much better.
* Now it's possible to add directories recursively to the playlist.
* Added a preferences dialog for the playlist.
* The right mouse button can be configured.
* (Linux) File managers should now display an option to enqueue files in the smplayer playlist.
* (Fix) The playlist was shown for a small moment on startup. This caused problems if using compiz, as the window might not hide.
* Fix for Qt 4.4, the logo didn't show.
* Some translations have been updated (Simplified-Chinese, Italian, Ukrainian, Dutch, French, Romanian, Portuguese, Polish, Russian, Japanese, Spanish and German)
* Now the file Install.txt contains updated info about how to compile and install smplayer.
Downloads: http://smplayer.berlios.de/downloads.php
Thanks a lot! Great player! :cool:
vio_man
17th May 2008, 17:43
There's something wrong with real time seek. I've tried to seek inside within a VOB video and it doesn't really seeks. Cursor jumps to the selected time frame but the video is not from that time :confused:
LoRd_MuldeR
17th May 2008, 20:52
Yes, the seekbar appears to be broken for VOB files indeed!
The same applies for Video DVD's when playing from "physical" disc, not from Image file:
You move the slider to some position in the last third of the movie, but you end up somewhere else (usually near the beginning) ...
I guess those are problems in MPlayer, not SMPlayer itself...
@rvm: How do you compile mplayer with freetype?
i cant compile it unless disable freetype. it seems msys/mingw, or mplayer cant find the freetype2 directory during compiling, but not during configure.
and libac3 decoding still crash for me, your compile is working fine:confused:
ericab
18th May 2008, 05:15
@rvm: How do you compile mplayer with freetype?
i cant compile it unless disable freetype. it seems msys/mingw, or mplayer cant find the freetype2 directory during compiling, but not during configure.
and libac3 decoding still crash for me, your compile is working fine:confused:
im with ya yong;
i still to this day cant bitstream out to my reciever, and nobody has an answer. :eek:
@rvm: How do you compile mplayer with freetype?
i cant compile it unless disable freetype. it seems msys/mingw, or mplayer cant find the freetype2 directory during compiling, but not during configure.
and libac3 decoding still crash for me, your compile is working fine:confused:
My notes, with the packages I used and the options to compile them:
http://smplayer.svn.sourceforge.net/viewvc/*checkout*/smplayer/mplayer-builds/compiling_mplayer_mingw_with_fontconfig.txt
http://smplayer.svn.sourceforge.net/viewvc/*checkout*/smplayer/mplayer-builds/compiling_mplayer_mingw_additional_packages.txt
There's something wrong with real time seek. I've tried to seek inside within a VOB video and it doesn't really seeks. Cursor jumps to the selected time frame but the video is not from that time :confused:
If you've got a dvdrip (not only vob files but also the ifo files and so on) it would be better you use the option "Open->DVD from folder" and then select the folder with the *.vob files.
LoRd_MuldeR
20th May 2008, 01:33
If you've got a dvdrip (not only vob files but also the ifo files and so on) it would be better you use the option "Open->DVD from folder" and then select the folder with the *.vob files.
Yes. But DVD playback from "physical" disc (disc in the DVD drive) breaks seeking for some reason :(
Seeking works 100% fine, when I play the DVD from Folder on my HDD or when I play a DVD image from ISO file.
But when playing from a "real" disc, then seeking causes a huge delay and you end up at some random location.
LoRd_MuldeR
20th May 2008, 02:49
@rvm:
I think I found a bug in SMPlayer: While and after playing a web-stream, the "Open File" dialog doesn't work any more :o
Only way to make it work again loading a local file via drag & drop. Even restarting SMPlayer won't fix it.
My assumption: The open dialog tries to open the folder where the last played file is located, which isn't possible for URLs.
Tested with SMPlayer r1266 under Windows and using Qt 4.4.0
ericab
20th May 2008, 03:15
@rvm
i think i found a bug in SMPlayer: dts or ac3 wont bitstream out
@MeGui
20th May 2008, 03:19
I have Q about supporting Streamzap PC Remote (http://www.streamzap.com/), can be done?
Tnx in advannce :)
My assumption: The open dialog tries to open the folder where the last played file is located, which isn't possible for URLs.
Yes that's the problem (although strangely the "open dialog" works for me, even with Qt 4.4.)
I hope this is fixed in r1271.
@rvm
i think i found a bug in SMPlayer: dts or ac3 wont bitstream out
Did you try a different (maybe older) mplayer build?
It seems some versions crash.
LoRd_MuldeR
21st May 2008, 04:54
Yes that's the problem (although strangely the "open dialog" works for me, even with Qt 4.4.)
I hope this is fixed in r1271.
Thanks for the quick fix :)
LoRd_MuldeR
21st May 2008, 17:31
Found another problem: Apparently "Help > FAQ" doesn't work. Nothing happens.
Tested with SMPlayer r1271 + WindowsXP + Qt 4.4.0
Here is what I captured via ProcessMonitor when clicking the "FAQ" button:
21847 18:27:00,7565680 smplayer_portable.exe 1648 QueryOpen C:\Program Files (x86)\MPlayer for Windows\docs\en_US\faq.html PATH NOT FOUND
21849 18:27:00,7771265 smplayer_portable.exe 1648 QueryOpen C:\Program Files (x86)\MPlayer for Windows\docs\en\faq.html SUCCESS
21868 18:27:00,8483185 smplayer_portable.exe 1648 QueryOpen C:\Program Files (x86)\MPlayer for Windows SUCCESS
21869 18:27:00,8491689 smplayer_portable.exe 1648 QueryOpen C:\Program%20Files%20(x86)\MPlayer%20for%20Windows\docs\en\faq.html PATH NOT FOUND
...
22963 18:27:00,9774011 smplayer_portable.exe 1648 QueryOpen C:\Program%20Files%20(x86)\MPlayer%20for%20Windows\docs\en\faq.html PATH NOT FOUND
Found another problem: Apparently "Help > FAQ" doesn't work. Nothing happens.
Tested with SMPlayer r1271 + WindowsXP + Qt 4.4.0
It seems to happen with Qt 4.4.
I think the problem is fixed now in r1278 (ftp://ftp.berlios.de/pub/smplayer/windows/smplayer_update_svn_r1278.7z).
My notes, with the packages I used and the options to compile them:
http://smplayer.svn.sourceforge.net/viewvc/*checkout*/smplayer/mplayer-builds/compiling_mplayer_mingw_with_fontconfig.txt
http://smplayer.svn.sourceforge.net/viewvc/*checkout*/smplayer/mplayer-builds/compiling_mplayer_mingw_additional_packages.txt
your mplayer build is r26450,
while im using r26794, i believe the recent changes on the make system breaks the freetype compiling.
now newer revs only can use "mingw32-make", instead of "make":confused:
its too hard for me to fix it:eek:
unskinnyboy
23rd May 2008, 04:53
Ya know, running MPlayer.exe manually, and also trying with MPUI both work, but I noticed something. When these playback, it disables my Windows Vista Aero color scheme and switches it to Basic.
I think this because MPlayer uses the Overlay Renderer for video output.
From what I know, the Overlay Renderer doesn't work with Vista's "Aero" 3D User Interface.
So Vista will disable Aero for backward compatibility, as soon as Overlay is in use.
It seems for some reason that doesn't happen in SMPlayer ....
Did you try the OpenGL renderer instead of DirectX?I also have a Mobile Intel(R) 965 Express Chipset Family display adapter and am experiencing the same issue as EpheMeroN and have the same question he had:
Where's this OpenGL option located?
Does it have to be passed as an option to MPlayer? -gl?
Using SMPlayer SVN v1247.
Does it have to be passed as an option to MPlayer? -gl?
Using SMPlayer SVN v1247.
In smplayer you can select the video driver in Preferences->General.
For MPUI you need to pass -vo gl to mplayer.
LoRd_MuldeR
23rd May 2008, 12:52
Does it have to be passed as an option to MPlayer? -gl?
The front-end (e.g. MPUI or SMPlayer) will pass it to MPlayer. Passing it to the front-end won't do anything.
In SMPlayer set "Output Drivers > Video" to "gl:yuv=2", in MPUI add "-vo gl:yuv=2" to the "Additional MPlayer Parameters:" edit field.
In case you run MPlayer manually from the commandline, do it like this:
MPlayer.exe -vo gl:yuv=2 -dr -noslices "C:\My Videos\Foo.avi"
unskinnyboy
23rd May 2008, 13:13
The front-end (e.g. MPUI or SMPlayer) will pass it to MPlayer. Passing it to the front-end won't do anything.
In SMPlayer set "Output Drivers > Video" to "gl:yuv=2", in MPUI add "-vo gl:yuv=2" to the "Additional MPlayer Parameters:" edit field.Thanks. Although the drop-down only had a gl:yuv=3, I was able to manually change the yuv parm from 3 to 2. But either 3, 2 or 4 seems OK to me. Just a gl played too jerky. I sometimes have a problem with jerky playback on 1080p material, so I'm hoping this will fix it too.
LoRd_MuldeR
23rd May 2008, 14:19
Thanks. Although the drop-down only had a gl:yuv=3, I was able to manually change the yuv parm from 3 to 2. But either 3, 2 or 4 seems OK to me. Just a gl played too jerky. I sometimes have a problem with jerky playback on 1080p material, so I'm hoping this will fix it too.
Try Yong's build of MPlayer from here, which already includes the latest GL fixes:
http://y0ngc6.googlepages.com/Mplayer-r26853.7z
And add this to "Additional MPlayer Parameters:" in MPUI:
-vo gl:yuv=2:force-pbo:ati-hack -dr -noslices
I couldn't get that build to work with SMPlayer though...
@LoRd_MuldeR
my build dont have freetype, so other freetype-related stuff were also disabled, eg fontconfig/libass. i did mentioned about my build problems :p
"-subfont-autoscale" only work if has freetype and fontconfig enable when compiling, while SMplayer has that option enabled by default, i dont know how to remove that command on SMplayer though :p
i think i will report the problem to mplayer team.
too bad celtic druid/serphya still does not have any updated mplayer build :(
I've just compiled mplayer svn r26865 (http://downloads.sourceforge.net/smplayer/mplayer-r26865-mingw.7z) (no problem with freetype).
LoRd_MuldeR
24th May 2008, 14:52
too bad celtic druid/serphya still does not have any updated mplayer build :(
I wrote a mail to Sherpya two days ago and asked for an update, but no reply so far...
LoRd_MuldeR
24th May 2008, 14:58
I've just compiled mplayer svn r26865 (http://downloads.sourceforge.net/smplayer/mplayer-r26865-mingw.7z) (no problem with freetype).
Ah, that one works fine with "gl:yuv=2:force-pbo:ati-hack", performance looks really good :thanks:
I can now play HD content using the GL renderer :)
// EDIT
After further testing I noticed that it's the "force-pbo" sub-option that boosts performance on my Radeon 19650XT a lot.
The "ati-hack" option doesn't seem to have any noticeable effect, although it's an ATI card...
// EDITē
Another observation: Direct Rendering kills performance on DVD playback! Works fine when I disable Direct Rendering ...
LoRd_MuldeR
25th May 2008, 00:29
Feature request for SMPlayer:
Add "gl:yuv=2:force-pbo:ati-hack" to the list of video output drivers. Maybe clean-up some other "gl" entries...
Thanks :)
Version 0.6.1
Most important changes since 0.6.0 final:
* Now compact mode resizes the window, instead of leaving black borders.
* Added an option in Preferences->Interface which allows the user to select his/her preferred GUI. This way it's easier to use the mini GUI, for those who prefer a simpler interface with few buttons.
* One more fix for Qt 4.4. The option FAQ in the Help menu didn't work.
* (Windows) Fix: zoom didn't work well (black blocks appeared) if using directx.
* Added the Catalan translation.
Another change, which I couldn't test, is that now smplayer will try to use by default gl in Windows Vista instead of directx. (This affects only new users. If you already used smplayer and want to test, delete smplayer.ini)
Downloads: http://smplayer.berlios.de/downloads.php
Reimar
31st May 2008, 11:02
Another change, which I couldn't test, is that now smplayer will try to use by default gl in Windows Vista instead of directx. (This affects only new users. If you already used smplayer and want to test, delete smplayer.ini)
Works, though since it is just -vo gl without special options it is very slow. This is made worse by the fact that at least the NVidia Vista drivers seem to have massive problems with vsync (at least with the method that MPlayer uses): it causes an additional 10% of "System" CPU usage (the red thing in the task manager). Surprisingly, this is also when Aero is disabled, for which I see no logical reason.
Adding swapinterval=0 helps, and at least with Aero enabled should have no bad effects, so for that case I would suggest trying: -vo gl:yuv=2:force-pbo:ati-hack:swapinterval=0 -dr -noslices
LoRd_MuldeR
31st May 2008, 12:45
I think using "-dr" by default is problematic in some way.
It works fine with my HD trailers, but it decreases performance drastically for DVD playback! :confused:
This is reported on WinXP x64 with ATI hardware...
Reimar
31st May 2008, 14:15
I think using "-dr" by default is problematic in some way.
It works fine with my HD trailers, but it decreases performance drastically for DVD playback! :confused:
This is reported on WinXP x64 with ATI hardware...
If you use "-dr" you _must_ use "-noslices". But it does not make much of a difference currently, so feel free to not use it if you think it gives trouble.
LoRd_MuldeR
31st May 2008, 14:30
If you use "-dr" you _must_ use "-noslices". But it does not make much of a difference currently, so feel free to not use it if you think it gives trouble.
Yes, I use both of them. I always use "-noslices", but adding "-dr" definitely makes DVD sources unwatchable here.
When playing HD sources, I cannot see much difference between "-dr" and not using "-dr" for some reason...
Gusar
31st May 2008, 16:48
"ati-hack" and "-dr" don't work together for DVDs here. But since I have a Nvidia card, I don't use ati-hack, just "-vo gl:yuv=2:force-pbo -dr -noslices" and it works great for all sorts of video, including DVDs.
Adding swapinterval=0 helps, and at least with Aero enabled should have no bad effects, so for that case I would suggest trying: -vo gl:yuv=2:force-pbo:ati-hack:swapinterval=0 -dr -noslices
Thanks for the suggestion.
Although in my case, with a nvidia card (FX 5500), if I use -noslices I got a very jerky playback.
Clobon
3rd June 2008, 01:28
Hi,
for convenience I had the equalizer assigned to mbutton 3.
In recent builds that won't work anymore (I'm using LoRd_MuldeRs
package btw). In the build before the (2008-06-01) the equalizer
would appear when pushing the mb but wouldn't disappear
when pushing the mb again. Now (with the MPlayer for
Windows (2008-06-01) package) nothing happens.
Can anyone reproduce this? Or did I mess something up??
HF, Clobon
LoRd_MuldeR
3rd June 2008, 01:48
I can configure SMPlayer to show the equalizer when MouseButton3 (Wheel on my Mouse) is pressed down.
Tested with SMPlayer version 0.6.1+SVN-r1327 ...
Clobon
3rd June 2008, 02:01
HiI can configure SMPlayer to show the equalizer when MouseButton3 (Wheel on my Mouse) is pressed down.
Tested with SMPlayer version 0.6.1+SVN-r1327 ...
MB3 on my mouse is at the side. MWheelbutton is NR2 and configured by default for mute
which I use frequently. Anyhow it should work either and did until now.
Confirmed, it works with the MWheelbutton.
But it would be nice if the sidebutton would work again.
HF, Clobon
PS: The mouse is a Logitech G9 Laser
Maybe your side buttons are producing horizontal wheel events. These events are ignored since svn r1232.
If you move the mouse wheel, does it activate the action you configured for MB3 by any chance?
Clobon
3rd June 2008, 02:55
HiMaybe your side buttons are producing horizontal wheel events. These events are ignored since svn r1232.
If you move the mouse wheel, does it activate the action you configured for MB3 by any chance?
Nopes, it controls volume... Default is media seeking but I always
use the MWheel for volume control. I wish that would be the default.
The MWheel is a 4 way wheel so the horizontal wheel events
are triggered by the wheel itself and not by the sidebuttons.
The bottuns are numbered like this:
LeftMB=0
RightMB=1
MiddleMB(Wheel)=2
Sidebutton1=3
Sidebutton2=4
HF, Clobon
Ok, do you know the last version of smplayer on which the MB3 worked for you? (appears in Help->About smplayer)
Clobon
3rd June 2008, 03:34
Hi,
unfortunately I don't have the old packages anymore.
In SVN-r1321 nothing happens. In SVN-r1299 the
equalizer appeared on MB3 but didn't disappear when
pushing the MB3 again.
And afair in SVN-r1293 it worked fine but I can't say for
sure. I'm really sorry for being that vague. *gomenasai*
Under preferences/keyboard and mouse/mouse all buttons
that can be programmed are shown so I take it smplayer
recognises them. It wouldn't let me assign a function to
a mouse button it doesn't recognise, would it?
HF, Clobon
Hi,
unfortunately I don't have the old packages anymore.
In SVN-r1321 nothing happens. In SVN-r1299 the
equalizer appeared on MB3 but didn't disappear when
pushing the MB3 again.
Ok, I'll see what has changed between r1299 and r1321.
Under preferences/keyboard and mouse/mouse all buttons
that can be programmed are shown so I take it smplayer
recognises them. It wouldn't let me assign a function to
a mouse button it doesn't recognise, would it?
I'm afraid smplayer doesn't check for the mouse buttons (I don't know if that can be done with Qt). So yes, you can assing a function to a button your mouse even may not have.
Well, between versions r1299 and r1321 nothing related to the mouse buttons has changed.
The only thing that has changed which may have an effect on it, is the version of the Qt libraries. In my package I upgraded Qt from 4.3.2 to 4.3.5, while LoRd_MuldeR's packages I think now include 4.4.0.
Qt 4.4.0 introduced a lot of important changes, and it's quite possible that it could have broken several things in smplayer (at least two issues were detected and fixed until now).
Did you test my package? (smplayer_0.6.1_setup.exe (http://prdownload.berlios.de/smplayer/smplayer_0.6.1_setup.exe))
Clobon
3rd June 2008, 11:42
Hi,Did you test my package?
just did, same effect. Nothing happens when I assign the equalizer to MB3.
LeftMB or MiddleMB do fine. I didn't change anything related to the mouse...
No new driver and I didn't mess with any preferences either.
Thanks so far. HF, Clobon
You'll find here (ftp://ftp.berlios.de/pub/smplayer/windows/) some old versions, from r1202 to r1341. Could you test them until you find the one where your MB3 stops to work?
LoRd_MuldeR
18th June 2008, 18:06
I've got a question: Is there a way to hack the "smplayer.ini" in order to embed SMPlayer's playlist window into the main window?
Apparently embedding the playlist only changes some bytes in "toolbars_state", but that's a pretty long array. So I don't want to (over)write it as a whole.
Note: I ask, because I want to change the initial layout right after install. So I'm looking for a method that's safe for future versions...
That array is generated by Qt (QMainWindow::saveState) and it seems to be some internal data. Also the structure of the array might change in future versions, so I don't know if it would be safe to modify it. But I'm afraid there's no other way.
LoRd_MuldeR
18th June 2008, 19:18
That array is generated by Qt (QMainWindow::saveState) and it seems to be some internal data. Also the structure of the array might change in future versions, so I don't know if it would be safe to modify it. But I'm afraid there's no other way.
I see. Thanks for info! So I can forget about this...
avih
18th June 2008, 19:37
I see. Thanks for info! So I can forget about this...
Actually, you can modify it, to a degree. Before you change that array, make sure it's the one you already know (crc32 comes to mind). If it's a match, change it, if not, let it be. It will at least work for the versions you know.
Reimar
18th June 2008, 20:56
That array is generated by Qt (QMainWindow::saveState) and it seems to be some internal data. Also the structure of the array might change in future versions, so I don't know if it would be safe to modify it. But I'm afraid there's no other way.
If it wasn't safe to modify, anyone who updates smplayer without deleting the .ini file would be in trouble, too...
And I can't resist to also say: please do not misuse CRCs. They are only to check against low probablility errors/noise, and not really suitable for anything else (not to mention that I can't see it help in this case anyway, even if the default value has stayed the same, the value for "embedded playlist" might still have changed).
LoRd_MuldeR
18th June 2008, 21:53
Well, I think I'll simply keep it as-is, unless a better solution is available. Maybe a separate option or a new commandline switch can be added?
If it wasn't safe to modify, anyone who updates smplayer without deleting the .ini file would be in trouble, too...
Actually some people reported the playlist not showing after an update. The only solution was to delete the toolbars_state entry in the config file.
Well, I think I'll simply keep it as-is, unless a better solution is available. Maybe a separate option or a new commandline switch can be added?
Yes, I think this can be done.
LoRd_MuldeR
21st June 2008, 13:31
I have to report a problem with SMPlayer that bothers me for some time now:
When I play an audio-only file first and then play a video file, MPlayer will crash! Then I press the "play" button again and it works :confused:
This is 100% reproducible, but only with OpenGL renderer. It does not happen with DirectX renderer.
Furthermore I cannot reproduce the crash with MPUI, even when using the GL renderer and when switching between audio-only and video files.
I have compared the commandlines:
There is no difference! So the same commandline, that works 100% fine in the second attempt, crashes in the first attempt (after an audio only file).
This was tested with SMPlayer v0.6.1+SVN-r1441, but can be reproduces with previous revisions. Also I use MPlayer Sherpya-SVN-r27081.
I'm on Windos XP Professional x64 Edition, using an ATI card with latest Catalyst drivers.
Here is what I get on the log:
http://pastebin.org/45103
Second attempt, same commandline:
http://pastebin.org/45104
Any ideas ???
My idea is that SMPlayer hides the video panel for the audio-only file. Then I play the video file, but initially the video panel is still hidden.
Somehow the GL renderer doesn't like that and crashes. Nevertheless SMPlayer recognizes that there should have been video and makes the video panel visible again.
When I try again, the video panel is already visible so everything works as expected again.
Quick and dirty workaround: Don't hide the video panel for audio-only files, just resize the SMPlayer window...
Reimar
21st June 2008, 19:57
Here is what I get on the log:
http://pastebin.org/45103
I know neither if it is enabled in your MPlayer build nor if it works in Windows, but try the following to get more useful output:
1) Make sure gdb (available from the MinGW homepage) is in your path (e.g. whatever SMPlayer uses as current directory should do it).
2) add -crash-debug to the MPlayer command-line
If it works, the MPlayer output should contain a gdb backtrace. Obviously this is most useful if you have a MPlayer version with debug info included.
LoRd_MuldeR
21st June 2008, 21:06
MPlayer Sherpya-SVN-r27081-4.2.3 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 Quad CPU @ 2.40GHz (Family: 6, Model: 15, Stepping: 7)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Unknown option on the command line: -crash-debug
Error parsing option on the command line: -crash-debug
Setting process priority: abovenormal
:D
Well, I think I'll simply keep it as-is, unless a better solution is available. Maybe a separate option or a new commandline switch can be added?
From r1465 you can use -actions "dock_playlist true".
(dock_playlist false should undock the playlist but for some unknown reason is not working)
I have to report a problem with SMPlayer that bothers me for some time now:
When I play an audio-only file first and then play a video file, MPlayer will crash! Then I press the "play" button again and it works :confused:
This is 100% reproducible, but only with OpenGL renderer. It does not happen with DirectX renderer.
I can't reproduce this problem. After playing an audio file, I play a video file (using gl or gl:yuv=2:force-pbo:ati-hack) and there's no crash.
Using smplayer r1469, tested with both Qt 4.3.5 and Qt 4.4. The version of mplayer is r26865 compiled by myself.
Edit: I've just downloaded MPlayer-rtm-svn-27081.7z (http://downloads.sourceforge.net/mplayer-win32/MPlayer-rtm-svn-27081.7z). No crash either :confused:
LoRd_MuldeR
23rd June 2008, 11:41
From r1465 you can use -actions "dock_playlist true".
(dock_playlist false should undock the playlist but for some unknown reason is not working)
Thanks for that :)
I can't reproduce this problem. After playing an audio file, I play a video file (using gl or gl:yuv=2:force-pbo:ati-hack) and there's no crash.
Using smplayer r1469, tested with both Qt 4.3.5 and Qt 4.4. The version of mplayer is r26865 compiled by myself.
Edit: I've just downloaded MPlayer-rtm-svn-27081.7z (http://downloads.sourceforge.net/mplayer-win32/MPlayer-rtm-svn-27081.7z). No crash either :confused:
Hmmm, anything I can do? Are you on WinXP with ATI card and latest Catalyst too?
I just tried your "mplayer-r26865-mingw.7z" and it crashed in the same way :scared:
http://pastebin.org/45604
Maybe you can make "Hide video panel for audio-only files" optional?
In fact I can see no reason why displaying the SMPlayer logo while playing audio should be a bad thing...
Hmmm, anything I can do? Are you on WinXP with ATI card and latest Catalyst too?
Windows XP (32 bits), ATI card, and Catalyst I think it's version 8.4.
Maybe you can make "Hide video panel for audio-only files" optional?
Maybe. First try this build (ftp://ftp.berlios.de/pub/smplayer/windows/smplayer_svn_r1476_nohidevideowindow.7z). It doesn't hide the video window when playing audio files. Verify that it really avoids the crash.
Anyway this looks like a mplayer bug, maybe caused by something new in the ATI drivers.
LoRd_MuldeR
24th June 2008, 14:18
Maybe. First try this build (ftp://ftp.berlios.de/pub/smplayer/windows/smplayer_svn_r1476_nohidevideowindow.7z). It doesn't hide the video window when playing audio files. Verify that it really avoids the crash.
Yes, it definitely works :)
Can you make that a default for Win32 builds until a better solution comes around?
Anyway this looks like a mplayer bug, maybe caused by something new in the ATI drivers.
ATI and drives :rolleyes:
LoRd_MuldeR
24th June 2008, 16:13
Interesting observation:
The crash still happens when the video area is resized to zero size, e.g. when I make the playlist fill the entire SMPlayer window.
So it will be necessary to automatically resize the video area to at least 1x1 pixels before video playback starts...
BTW: Resizing the video area to zero size while the video is already playing doesn't cause a problem for some reason :confused:
ericab
25th June 2008, 04:46
very small visual feature request:
when in fullscreen;
moving the cursor down to the bottom of the screen, the play controls nicely slide up in a smooth animation....
...can we have it so it slides down in the same smooth animation too ?
Yes, it definitely works :)
Can you make that a default for Win32 builds until a better solution comes around?
Now in r1482 there's the option hide_video_window_on_audio_files for smplayer.ini. So you only need to set it to false.
On the other hand, I had to remove the action dock_playlist because it was causing a lot of troubles (even crashes) and it was difficult to properly fix it. So I'm afraid you'll need to modify the toolbars_state if you want the playlist embedded by default (or patch the source code).
...can we have it so it slides down in the same smooth animation too ?
I'll try.
LoRd_MuldeR
25th June 2008, 11:21
Now in r1482 there's the option hide_video_window_on_audio_files for smplayer.ini. So you only need to set it to false.
Okay, thanks for that :)
But there still is the problem that MPlayer will crash if the video area has zero size, e.g. when the playlist fills the entire SMPlayer window.
This has become even worse, because SMPlayer now won't resize it's window according to the video size when the playlist is visible. I think this did work before.
Even clicking "Video > Size > 100%" doesn't change the size of the SMPlayer window, when the playlist is visible. Simply nothing does happen.
So when the video area has zero size, because the playlist is visible, and you play a video, it will crash. And it will even crash at all following attempts now!
You need to either make the playlist smaller or hide it. Only then the video area becomes "visible" (size != 0x0) and MPlayer works again.
[EDIT]
To be precise, SMPlayer will sometimes resize the window to 100% size of the video. But sometimes it will resize the window to some other (smaller) size.
And sometimes it won't resize the window at all. So the video area might remain at zero size and cause MPlayer to crash on subsequent playback attempts.
I'm unable to reproduce the resizing problem reliable. It just seems to happen randomly...
On the other hand, I had to remove the action dock_playlist because it was causing a lot of troubles (even crashes) and it was difficult to properly fix it. So I'm afraid you'll need to modify the toolbars_state if you want the playlist embedded by default (or patch the source code).
Too bad, I liked that option...
JoeBG
25th June 2008, 12:12
@ rvm
You have a very nice mkv support for your player. We can see the name of the streams and all chapters. :thanks:
Unfortunatly 99% of my files are mp4 and for mp4 there is no support for chapters, streamnames and tags. It would be wonderful to have a full mp4 suport - do you plan to add something like this? :)
I still hope for the mp4 support with chapters, tags and streamnames ;) ;)
LoRd_MuldeR
27th June 2008, 14:31
Thanks for the audio EQ :)
Maybe you can add some fancy presets like "Rock", "Live" or "Club" to it ;)
But there still is the problem that MPlayer will crash if the video area has zero size, e.g. when the playlist fills the entire SMPlayer window.
This has become even worse, because SMPlayer now won't resize it's window according to the video size when the playlist is visible. I think this did work before.
Even clicking "Video > Size > 100%" doesn't change the size of the SMPlayer window, when the playlist is visible. Simply nothing does happen.
So when the video area has zero size, because the playlist is visible, and you play a video, it will crash. And it will even crash at all following attempts now!
You need to either make the playlist smaller or hide it. Only then the video area becomes "visible" (size != 0x0) and MPlayer works again.
I'm afraid I can't reproduce this problem.
LoRd_MuldeR
28th June 2008, 01:30
I'm afraid I can't reproduce this problem.
Okay, I have uploaded a screen capture that illustrates the problem:
http://mplayer.somestuff.org/misc/MPlayer_Crash.7z
Okay, I have uploaded a screen capture that illustrates the problem:
http://mplayer.somestuff.org/misc/MPlayer_Crash.7z
I see.
Well, as expected I don't have any crash. In my case I can't see the video, but when resizing the playlist the video appears.
I think the problem happens if the main window doesn't fit on the screen, then Qt resizes on its own to fit.
For instance, I play a 720x576 video. In the logs I can see the following:
Debug: [01:23:06] BaseGui::resizeWindow: 720, 576
Debug: [01:23:06] BaseGui::resizeWindow: size to scale: 720, 576
Debug: [01:23:06] BaseGui::resizeWindow: temp window size: 720, 1502
Debug: [01:23:06] BaseGui::resizeWindow: temp panel->size: 720, 573
Debug: [01:23:06] BaseGui::resizeWindow: diff: 0, 929
Debug: [01:23:06] BaseGui::resizeWindow: done: window size: 720, 1505
Debug: [01:23:06] BaseGui::resizeWindow: done: panel->size: 720, 576
Debug: [01:23:06] BaseGui::resizeWindow: done: mplayerwindow->size: 720, 576
The "done" lines report the size of the main window ("window size") and the video window ("panel" and "mplayerwindow") just after smplayer had resize the window. The video window size is correct, the problem is that the height of the main window (1505) doesn't fit on my screen (1280x1024) so I think Qt resizes to fit, which can make that the video window could be smaller than it should be.
The problem is difficult to fix, as for the function which makes the resizing everything went ok.
Edit: in svn r1515 (ftp://ftp.berlios.de/pub/smplayer/windows/smplayer_update_svn_r1515.7z) I've made the minimum size of video window to be 1x1 instead of 0x0, but I don't know if this will fix anything...
LoRd_MuldeR
2nd July 2008, 16:22
I just discovered this:
Revision 1515 - Directory Listing
Modified Wed Jul 2 00:05:54 2008 UTC (15 hours, 15 minutes ago) by rvm
Setting the minimum size of the panel widget to 1x1 instead of 0x0
This definitely fixes the crashes I encountered with the OpenGL renderer right after playing an audio-only file :)
:thanks: to rvm!
Good news, SMPlayer is one of the finalists in the "Best Project for Multimedia" category in the SourceForge.net 2008 Community Choice Awards:
http://sourceforge.net/community/cca08-finalists
http://sourceforge.net/awards/cca/badge_img.php?group_id=185512&style=5 (http://sourceforge.net/awards/cca/?group_id=185512)
I'd also like to say that version 0.6.2 is going to be released very soon. This version includes:
* audio equalizer
* new dialog to search and download subtitles from opensubtitles.org
* possibility to configure the toolbars. Ok, no graphical editor yet, it has to be done editing the config file, but you can at least get rid of the buttons you don't like, change the order, add other buttons... (I'll try to add the toolbar editor for 0.6.3)
You can test the latest version from svn: smplayer_update_svn_r1553.7z (ftp://ftp.berlios.de/pub/smplayer/windows/smplayer_update_svn_r1553.7z)
ericab
11th July 2008, 02:10
Good news, SMPlayer is one of the finalists in the "Best Project for Multimedia" category in the SourceForge.net 2008 Community Choice Awards:
http://sourceforge.net/community/cca08-finalists
http://sourceforge.net/awards/cca/badge_img.php?group_id=185512&style=5 (http://sourceforge.net/awards/cca/?group_id=185512)
I'd also like to say that version 0.6.2 is going to be released very soon. This version includes:
* audio equalizer
* new dialog to search and download subtitles from opensubtitles.org
* possibility to configure the toolbars. Ok, no graphical editor yet, it has to be done editing the config file, but you can at least get rid of the buttons you don't like, change the order, add other buttons... (I'll try to add the toolbar editor for 0.6.3)
You can test the latest version from svn: smplayer_update_svn_r1553.7z (ftp://ftp.berlios.de/pub/smplayer/windows/smplayer_update_svn_r1553.7z)
cool congrats rvm!
any word on the smooth scrolling control bar (stop, play, seek etc...) in fullscreen ?
LoRd_MuldeR
11th July 2008, 02:12
Good news, SMPlayer is one of the finalists in the "Best Project for Multimedia" category in the SourceForge.net 2008 Community Choice Awards:
http://sourceforge.net/community/cca08-finalists
http://sourceforge.net/awards/cca/badge_img.php?group_id=185512&style=5 (http://sourceforge.net/awards/cca/?group_id=185512)
I'd also like to say that version 0.6.2 is going to be released very soon. This version includes:
* audio equalizer
* new dialog to search and download subtitles from opensubtitles.org
* possibility to configure the toolbars. Ok, no graphical editor yet, it has to be done editing the config file, but you can at least get rid of the buttons you don't like, change the order, add other buttons... (I'll try to add the toolbar editor for 0.6.3)
You can test the latest version from svn: smplayer_update_svn_r1553.7z (ftp://ftp.berlios.de/pub/smplayer/windows/smplayer_update_svn_r1553.7z)
Congratulations http://www.soadfans.de/forum/images/armageddon/smilies/winken.gif
any word on the smooth scrolling control bar (stop, play, seek etc...) in fullscreen ?
I'm afraid that won't be in time for 0.6.2.
video_magic
11th July 2008, 02:34
Thankyou for your work on making Mplayer easy to use and accessible as a player, I use it quite often, and it's taken over from (the also terrific) VLC.
Congratulations also :thanks:
rvm
15th August 2008, 11:18
Version 0.6.2 released
Most important changes since 0.6.1:
* Added an audio equalizer (please read Audio_equalizer.txt).
* Added a dialog to search and download subtitles from opensubtitles.org (See Finding_subtitles.txt).
* The toolbars can be configured. The user can remove, add or change the order of the buttons. Right now it can only be done by editing manually the configuration file. A graphical editor will be added in the next version. See Configuring_the_toolbars.txt.
* The single instance port can now be chosen automatically by the application.
* Possibility to compile a portable version which (by default) won't write anything outside the smplayer's folder. It won't write either anything in the Windows registry. See Portable_Edition.txt for details.
* Added the Slovenian translation.
Downloads: http://smplayer.berlios.de/downloads.php
LoRd_MuldeR
15th August 2008, 11:49
great! :D
avih
17th August 2008, 10:23
Good news, SMPlayer is one of the finalists in the "Best Project for Multimedia" category in the SourceForge.net 2008 Community Choice Awards:
http://sourceforge.net/community/cca08-finalists
http://sourceforge.net/awards/cca/badge_img.php?group_id=185512&style=5 (http://sourceforge.net/awards/cca/?group_id=185512)
I'd also like to say that version 0.6.2 is going to be released very soon. This version includes:
* audio equalizer
* new dialog to search and download subtitles from opensubtitles.org
* possibility to configure the toolbars. Ok, no graphical editor yet, it has to be done editing the config file, but you can at least get rid of the buttons you don't like, change the order, add other buttons... (I'll try to add the toolbar editor for 0.6.3)
You can test the latest version from svn: smplayer_update_svn_r1553.7z (ftp://ftp.berlios.de/pub/smplayer/windows/smplayer_update_svn_r1553.7z)
Congratulations and good luck :)
It is indeed a very good project. Well done.
Regarding the subtitles, I used to use opensubtitles.org, but it's quite slow and I've found that in most cases, http://subscene.com gives better results.
IceHand
6th September 2008, 19:28
Very nice frontend, it's my default video player now. One small problem though: I can't find an option to configure which channel to use for volume control. By default SMPlayer uses the channel "PCM" for mixing on my PC, but I would like it to use "Master" instead, because my other programs do too and setting PCM too high causes distortion.
I use Arch Linux (current) and have a AD1981B AC'97 Audio controller (Intel 855GM), if that's of any concern.
rvm
6th September 2008, 22:28
I think you can do it by adding something like -mixer-channel Master to Preferences->Advanced->Options for MPlayer.
This what the mplayer manpage (http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html) say about that option:
−mixer−channel <mixer line>[,mixer index] (−ao oss and −ao alsa only)
This option will tell MPlayer to use a different channel for controlling volume than the default PCM. Options for OSS include vol, pcm, line. For a complete list of options look for SOUND_DEVICE_NAMES in /usr/include/linux/soundcard.h. For ALSA you can use the names e.g. alsamixer displays, like Master, Line, PCM.
NOTE: ALSA mixer channel names followed by a number must be specified in the <name,number> format, i.e. a channel labeled ’PCM 1’ in alsamixer must be converted to PCM,1.
IceHand
6th September 2008, 23:15
I think you can do it by adding something like -mixer-channel Master to Preferences->Advanced->Options for MPlayer.Thank you, that worked! However now SMPlayer always changes the volume to the default volume set under Preferences->General->Audio when opening a file, even though I have disabled the option "Change volume on every file". How can I disable that behaviour?
rvm
7th September 2008, 02:35
I think that problem is now fixed in svn r1751.
IceHand
7th September 2008, 11:21
Thanks!
rvm
26th September 2008, 12:56
Version 0.6.3 released
Most important changes since 0.6.2:
* Two fixes for Windows Vista. Now IPv4 is used by default (connection to networks are faster). And now it really uses "gl:yuv=2:force-pbo:ati-hack" as the default video output driver. Note: this mode could give problems with some graphic cards (specially ATI), if you experience any, try the other gl variants, or just directx.
* (Linux) Added a fix for a black screen problem when using Compiz.
* Added an option to select the number of threads that mplayer will use for decoding (only works for MPEG-1/2 and some H.264 videos).
* Added the possibility to disable the audio equalizer. Seems to be necessary to use the S/PDIF output.
* Added some options to increase/decrease the speed by 1% and 4%. This allows to play 24 fps movies at 25 fps speed and vice versa.
* Fix: sometimes the playlist is not shown. Added a workaround for the problem.
* Added some checks to avoid crashes when selecting subtitle tracks.
* (Windows) Added a new submenu Video->Screen to select the screen which will display the video when using directx.
* The settings in smplayer.ini have been reorganized in several sections. (This also means most of your preferences will be lost and you will have to reconfigure smplayer again).
* Added an option to mirror the video. And now it's also possible to flip and rotate the subtitles along with the image.
* Added a new shortcut set (sda.keys) which can be loaded in the shortcut editor in preferences.
* Added two new translations: Arabic and Kurdish.
(whole changelog (http://smplayer.berlios.de/forums/viewtopic.php?id=720))
Downloads (http://smplayer.berlios.de/downloads.php)
fastplayer
27th September 2008, 21:03
Thanks a lot for the new version, rvm! :thanks:
Two things I noticed:
1. There's one problem though with the portable version*: In Preferences --> General --> Video, "User defined" is selected by default with the value being "directx,". The problem is with the comma. With it no video is displayed (screen remains black). If you remove the comma, then all is fine and SMP reverts to "directx (fast)".
2. I have "save_playlist_in_config" set to "false" and all items removed from the playlist but smplayer.ini still contains an current_item=0 (item_0_filename, duration and name are all set with the last video played back before "save_playlist_in_config" was set to "false"). I know this is nitpicking but there shouldn't be any traces of filenames in the smplayer.ini if all history features are disabled.
* I don't know if this issue occurs with other builds since I use the portable only...
rvm
27th September 2008, 22:41
Thanks a lot for the new version, rvm! :thanks:
Two things I noticed:
1. There's one problem though with the portable version*: In Preferences --> General --> Video, "User defined" is selected by default with the value being "directx,". The problem is with the comma. With it no video is displayed (screen remains black). If you remove the comma, then all is fine and SMP reverts to "directx (fast)".
Actually the comma tells mplayer to fall back to other drivers if directx is not available. That's why I add it as default. I don't know why it doesn't work for you. I'll try to reproduce the problem, although if I could see your mplayer log when you use "directx," would be useful...
2. I have "save_playlist_in_config" set to "false" and all items removed from the playlist but smplayer.ini still contains an current_item=0 (item_0_filename, duration and name are all set with the last video played back before "save_playlist_in_config" was set to "false"). I know this is nitpicking but there shouldn't be any traces of filenames in the smplayer.ini if all history features are disabled.
I'll check this.
fastplayer
27th September 2008, 22:48
Actually the comma tells mplayer to fall back to other drivers if directx is not available. That's why I add it as default. I don't know why it doesn't work for you. I'll try to reproduce the problem, although if I could see your mplayer log when you use "directx," would be useful...
Here's the MPlayer log:
D:/Apps/Player/SMPlayer/mplayer/mplayer.exe -noquiet -nofs -sub-fuzziness 1 -identify -slave -vo directx, -ao dsound -zoom -nokeepaspect -priority abovenormal -nodr -double -wid 2425412 -monitorpixelaspect 1 -subfont-autoscale 1 -subfont-text-scale 5 -subcp ISO-8859-1 -subpos 100 -volume 50 -cache 2000 -osdlevel 0 -vf-add screenshot -slices -channels 2 -af scaletempo,equalizer=0:0:0:0:0:0:0:0:0:0 -nofontconfig D:/Incoming/spiritthe_trlr_02_720p_dl.mov
MPlayer dev-SVN-r27130-3.4.5 (with -volume) (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 47, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Setting process priority: abovenormal
Playing D:/Incoming/spiritthe_trlr_02_720p_dl.mov.
Cache fill: 0.00% (0 bytes)
libavformat file format detected.
ID_VIDEO_ID=0
[lavf] Video stream found, -vid 0
ID_AUDIO_ID=1
[lavf] Audio stream found, -aid 1
VIDEO: [avc1] 1280x544 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
ID_FILENAME=D:/Incoming/spiritthe_trlr_02_720p_dl.mov
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=avc1
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=1280
ID_VIDEO_HEIGHT=544
ID_VIDEO_FPS=23.976
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=255
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=147.07
ID_SEEKABLE=1
Opening video filter: [screenshot]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
[mov,mp4,m4a,3gp,3g2,mj2 @ 00C370B0]negative ctts, ignoring
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=faad
Starting playback...
VDec: vo config request - 1280 x 544 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 00C33B64]No accelerated colorspace conversion found
[swscaler @ 00C33B64]using unscaled yuv420p -> rgb24 special converter
VO: [directx] 1280x544 => 1280x544 Planar YV12 [zoom]
ID_AUDIO_TRACK=1
Maybe the comma is not allowed in a parameter (see first line)?
rvm
27th September 2008, 23:13
2. I have "save_playlist_in_config" set to "false" and all items removed from the playlist but smplayer.ini still contains an current_item=0 (item_0_filename, duration and name are all set with the last video played back before "save_playlist_in_config" was set to "false").
With that option set to false, the playlist is not saved to the config file, but it won't delete the remaining info there could be already there. You have to delete yourself.
About the problem with "directx," I'll check it later (I'm on linux now). BTW, could you copy the mplayer log when you use "directx" (without the comma)?
fastplayer
27th September 2008, 23:20
With that option set to false, the playlist is not saved to the config file, but it won't delete the remaining info there could be already there. You have to delete yourself.
No biggie! I just deleted the "playlist_contents" category and all is OK. I was just wondering why an entry was left.
About the problem with "directx," I'll check it later (I'm on linux now). BTW, could you copy the mplayer log when you use "directx" (without the comma)?
I remember the option "Repaint background of the video window" from the previous version 0.6.2. If I disabled it, it had the same effect as the issue above: blank screen. I can't find this option in the preferences anymore. Maybe it is set to disabled in the smplayer.ini itself?
Edit: OK, my last assumption doesn't make much sense because then "-vo directx" itself would show a blank screen too...
fastplayer
27th September 2008, 23:22
About the problem with "directx," I'll check it later (I'm on linux now). BTW, could you copy the mplayer log when you use "directx" (without the comma)?
Here you go:
D:/Apps/Player/SMPlayer/mplayer/mplayer.exe -noquiet -nofs -sub-fuzziness 1 -identify -slave -vo directx -ao dsound -zoom -nokeepaspect -priority abovenormal -nodr -double -wid 4653446 -colorkey 0x020202 -monitorpixelaspect 1 -subfont-autoscale 1 -subfont-text-scale 5 -subcp ISO-8859-1 -subpos 100 -volume 50 -cache 2000 -osdlevel 0 -vf-add screenshot -slices -channels 2 -af scaletempo,equalizer=0:0:0:0:0:0:0:0:0:0 -nofontconfig D:/Incoming/spiritthe_trlr_02_720p_dl.mov
MPlayer dev-SVN-r27130-3.4.5 (with -volume) (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 47, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Setting process priority: abovenormal
Playing D:/Incoming/spiritthe_trlr_02_720p_dl.mov.
Cache fill: 0.00% (0 bytes)
libavformat file format detected.
ID_VIDEO_ID=0
[lavf] Video stream found, -vid 0
ID_AUDIO_ID=1
[lavf] Audio stream found, -aid 1
VIDEO: [avc1] 1280x544 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
ID_FILENAME=D:/Incoming/spiritthe_trlr_02_720p_dl.mov
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=avc1
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=1280
ID_VIDEO_HEIGHT=544
ID_VIDEO_FPS=23.976
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=255
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=147.07
ID_SEEKABLE=1
Opening video filter: [screenshot]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
[mov,mp4,m4a,3gp,3g2,mj2 @ 00C370B0]negative ctts, ignoring
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=faad
Starting playback...
VDec: vo config request - 1280 x 544 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 00C33B64]No accelerated colorspace conversion found
[swscaler @ 00C33B64]using unscaled yuv420p -> rgb24 special converter
VO: [directx] 1280x544 => 1280x544 Planar YV12 [zoom]
ID_AUDIO_TRACK=1
rvm
28th September 2008, 00:45
I found the problem. If using "directx," smplayer doesn't pass mplayer the -colorkey option... Horrible bug indeed :(
I didn't realize of it because I compiled and tested it on a windows xp running on a virtual machine inside linux. There it worked.
fastplayer
28th September 2008, 12:04
I found the problem. If using "directx," smplayer doesn't pass mplayer the -colorkey option... Horrible bug indeed :(
I noticed that too after I diff'ed both logs but I wasn't sure what to think of it... :confused:
Anyway, I'm glad you figured it out! :thanks:
rvm
28th September 2008, 17:26
I've just uploaded an update: smplayer-portable_update_svn_1903.7z (ftp://ftp.berlios.de/pub/smplayer/windows/smplayer-portable_update_svn_1903.7z).
Could you test if it works ok now?
fastplayer
28th September 2008, 17:52
I've just uploaded an update: smplayer-portable_update_svn_1903.7z (ftp://ftp.berlios.de/pub/smplayer/windows/smplayer-portable_update_svn_1903.7z).
Could you test if it works ok now?
I removed the smplayer.ini before extracting the update in order to start with a clean profile. I changed not one setting and immediately opened a video file which played back correctly. The MPlayer log indicated that the "colorkey" parameter was added to the command line. :)
rvm
29th September 2008, 00:45
Version 0.6.3.1 (release for Windows only)
This release includes a fix for an important bug in 0.6.3 which affected the version for Windows: the video window would be black on the first video played, or always if the user opened the preferences dialog before playing a video. In those cases "directx," was used as video driver but the -colorkey option was not passed to mplayer producing the problem. Windows Vista probably wasn't affected by this bug, as it uses a different video driver as default.
Packages for v. 0.6.3.1 (http://sourceforge.net/project/showfiles.php?group_id=185512&package_id=216202&release_id=629389)
LoRd_MuldeR
29th September 2008, 00:56
Thanks for the fix :)
avih
20th October 2008, 12:55
rvm,
Issues in SMPlayer svn-r2030 (XP-SP3, NVidia, mulder's full package, GL/fast output):
- When the video is restarted (after preference changes, if reloaded while set to "remember settings", etc), a custom aspect ratio is restored at the menus but is not applied to the video.
- When I set middle mouse click to "show equalizer", it didn't work.
- Sometimes, maybe due to mplayer bugs, certain preferences changes through the menus (certain filters, etc) may cause mplayer to stop playing. In such cases, the bad menu option cannot be turned off because the menu is disabled (video not playing). It's even worse if the "remember settings" is checked in the preferences because it automatically applies the "bad" option, aborts the playback, menu gets disabled, and no way to disable the option without unchecking "remember " and reloading the video. I suggest to enable the menus even if the video isn't playing, such that changes can apply to the next playback.
As always, beautiful front end :), keep up the good work!
fastplayer
20th October 2008, 13:13
Can somebody reproduce this?
Click on a menu like "Help" or "Options", then move the mouse across the menu items into the video output area, move it back to the opened menu. Do that back and forth. The mouse cursor will disappear at some point when pointing inside the video output area.
avih
20th October 2008, 13:18
Can somebody reproduce this?
Click on a menu like "Help" or "Options", then move the mouse across the menu items into the video output area, move it back to the opened menu. Do that back and forth. The mouse cursor will disappear at some point when pointing inside the video output area.
Confirmed. My case is even simpler: just open one of the menus and move the cursor to the video area -> cursor disappears (tried with output GL and GL(fast))
fastplayer
20th October 2008, 13:50
Confirmed. My case is even simpler: just open one of the menus and move the cursor to the video area -> cursor disappears (tried with output GL and GL(fast))
Thanks for confirmation!
I'm using DirectX output and yes, I can reproduce the behavior you described but it's not consistent. Most of the time I have to move the cursor a couple of times between menu and video area but sometimes the cursor disappears immediately.
LoRd_MuldeR
20th October 2008, 14:58
But it only disappears when moving the cursor over the video area. Moving it back onto the menu makes it re-appear.
rvm
21st October 2008, 00:54
rvm,
Issues in SMPlayer svn-r2030 (XP-SP3, NVidia, mulder's full package, GL/fast output):
- When the video is restarted (after preference changes, if reloaded while set to "remember settings", etc), a custom aspect ratio is restored at the menus but is not applied to the video.
I can't reproduce this problem, here in linux with xv, using smplayer svn r2072.
- When I set middle mouse click to "show equalizer", it didn't work.
Fixed in r2074.
- Sometimes, maybe due to mplayer bugs, certain preferences changes through the menus (certain filters, etc) may cause mplayer to stop playing. In such cases, the bad menu option cannot be turned off because the menu is disabled (video not playing). It's even worse if the "remember settings" is checked in the preferences because it automatically applies the "bad" option, aborts the playback, menu gets disabled, and no way to disable the option without unchecking "remember " and reloading the video. I suggest to enable the menus even if the video isn't playing, such that changes can apply to the next playback.
I'll try to find a fix for this. Meanwhile there's an easy workaround, just disable the "remember settings" and open the video again. After that you can enable "remember settings" again.
avih
21st October 2008, 07:37
Fixed in r2074.
Thanks.
I'll try to find a fix for this. Meanwhile there's an easy workaround, just disable the "remember settings" and open the video again. After that you can enable "remember settings" again.
Thanks. And for quoting my workaround ;)
I can't reproduce this problem, here in linux with xv, using smplayer svn r2072.
OK, I didn't try it with many files, just with the ones I actually needed this feature for (I capture to 572x288 and the a.r. should be 4:3) and it didn't work for them. It does seem to work with other files.
I'm attaching a video snippet of the problematic file (format?). If you still can't reproduce it, I'll upload the log files.
BTW, because this video is so short, there's an easier way to reproduce this issue: start playing, pause if you need to, change to 4:3 from the menu, let the playback finish, click play --> not in 4:3.
thx again.
rvm
21st October 2008, 10:13
OK, I didn't try it with many files, just with the ones I actually needed this feature for (I capture to 572x288 and the a.r. should be 4:3) and it didn't work for them. It does seem to work with other files.
I'm attaching a video snippet of the problematic file (format?). If you still can't reproduce it, I'll upload the log files.
BTW, because this video is so short, there's an easier way to reproduce this issue: start playing, pause if you need to, change to 4:3 from the menu, let the playback finish, click play --> not in 4:3.
thx again.
Normally smplayer sets the aspect ratio (and other things, like subtitles, audio track...) just after the video has started to play, all important info is printed by mplayer before.
But this file starts to play a little bit before some of the info (resolution, video driver) is printed by mplayer. That confuses smplayer.
Maybe you video has a few ms at the beginning with audio only?
Changing the demuxer from avi to lavf fixes the problem with this video.
Edit: the video doesn't have this problem if using mplayer r27130. So maybe newer versions introduced a bug (or a fix)...
Edit 2: another strange thing in the video, the movie aspect is 2.00:1, if you are creating these videos, why don't you set the aspect to 4:3?
LoRd_MuldeR
21st October 2008, 15:41
rvm, what exactly does "dxlist.exe" do and what do we need it for?
Or in other words: Shall I include it in my package or not? I can't see any problem with excluding it :confused:
rvm
21st October 2008, 22:04
There's a document in the sources which explains:
dxlist is a small console application for Windows which can list the
directsound devices and directdraw display devices. This info is then used
by smplayer.
Usage: just run dxlist.exe with the -d or -s switches. -d shows the display
devices, -s the sound devices.
Compiling: in order to compile it you need the directx headers
(you can get a package here: http://www.videolan.org/vlc/dx7headers.tgz), and
extract it in the directx folder. Then just compile it with the usual:
qmake
make
Installation: dxlist.exe has to be installed on the same folder as smplayer.exe.
Someone may be wondering... why don't you just simply call mplayer to get that
info instead of writing this program?
Yes, mplayer can display that info, but there are several inconveniences:
1) it's necessary to use the -v switch. That makes mplayer to be much more
verbose, that could even have an impact on performace (at least that was
a problem with old versions of Qt)
2) it's necessary to play a file. Yes, you can't get the info if you don't
play a file. That's a problem, smplayer wouldn't be able to get the info until
the user has at least played one file.
3) even worse, to get the info about the attached displays, you have to
use the -adapter option, but how can you know what value to use for
-adapter if you don't know yet the list of valid values?
Because of those problems, I found easier to try to get that info using other
ways. This program just outputs the required info, no need to play anything,
smplayer can call it whenever it needs it.
Finally, the reason to implement all this in a separate program and not inside
smplayer itself (which would have been easier) is just simply to avoid it
to depend on directx, and require everyone who want to compile it to install
the directx headers. After all this (dxlist) program is optional, smplayer
can work without it.
LoRd_MuldeR
21st October 2008, 22:26
There's a document in the sources which explains:
I see. Thanks for the info :)
After all this (dxlist) program is optional, smplayer can work without it.
That's what I wanted to clarify :D
avih
22nd October 2008, 09:51
Normally smplayer sets the aspect ratio (and other things, like subtitles, audio track...) just after the video has started to play, all important info is printed by mplayer before.
But this file starts to play a little bit before some of the info (resolution, video driver) is printed by mplayer. That confuses smplayer.
Maybe you video has a few ms at the beginning with audio only?
Changing the demuxer from avi to lavf fixes the problem with this video.
Edit: the video doesn't have this problem if using mplayer r27130. So maybe newer versions introduced a bug (or a fix)...
Edit 2: another strange thing in the video, the movie aspect is 2.00:1, if you are creating these videos, why don't you set the aspect to 4:3?
regarding A/V delta, could be, it's captured with virtualdub and ffdshow. The relevent vdub options are left at default "auto a/v sync" or something similar. I didn't intentionally create this skew if there is one.
Can one choose lavf demuxer from the options? if not, how?
Could also be an mplayer bug of course, or vdub bug. But I think vdub is usually very "correct" with the file it outputs. mplayer is considered very robust too... but playback before it outputs certain parameters seems a bit strange. dunno.
regarding the manual capture aspect ratio, already tested earlier while trying to find a solution for my problem, it worked (initially ffdshow encoder was left at the default of PAR 1:1, I had to manually set the output display aspect ratio of ffdshow encoder to 4:3), it definitely is the correct way to handle this and I'll probably set my cap params this way now, but I was just reporting an incorrect behavior of the playback using SMPlayer.
rvm
22nd October 2008, 11:16
Can one choose lavf demuxer from the options? if not, how?
Options->View info and properties->Demuxer. But this only affects the current video.
There's also a way to change the demuxer for all videos, add -demuxer lavf in Preferences -> Advanced -> Options for mplayer -> Options, but then lavf will be used for all formats and it may not be suitable for some of them.
avih
22nd October 2008, 11:26
K, thx. Do you think this kind of video might also "confuse" SMPlayer in other aspects (pardon the pun)?
rvm
22nd October 2008, 11:44
Apart from the aspect ratio issue, I don't see any other problem.
rvm
27th October 2008, 17:00
Version 0.6.4 released.
Most important changes since 0.6.3:
* Now the dialog to find subtitles can also download the subtitle file and load it in smplayer automatically.
* (Linux) The black screen problem when using Compiz should really be fixed now.
* Added support for encoding autodetection for subtitle files. Requires a mplayer compiled with enca support.
* (Linux) Now it's possible to choose the audio device to be used with alsa (needs the application "aplay").
* (Windows) Now it's possible to choose the audio device to be used with dsound.
* (Windows) The menu Video->Screen displays now the actual available screens with their names.
* Added the possibility to add consecutive files (video_01.avi, video_02.avi..) automatically to the playlist.
* Bugfix: logout is not cancelled by smplayer.
* Now the options in preferences display a tooltip with a help message.
* Now it's possible to change the video track.
* Added the Galician translation.
Downloads: http://smplayer.berlios.de/downloads.php
LoRd_MuldeR
11th November 2008, 16:44
rvm, is there any chance to fix Drag&Drop for the OpenGL renderer on Win32 ???
Not being able to use Drag&Drop in fullscreen mode (and only outside the video area in windowed mode) is a bit nasty, although it's definitely not the end of the world ;)
(AFAIK the problem is that the GL renderer is using it's own window, but doesn't forward window messages, such as WM_DROPFILES, to the front-end app)
Reimar
11th November 2008, 20:25
(AFAIK the problem is that the GL renderer is using it's own window, but doesn't forward window messages, such as WM_DROPFILES, to the front-end app)
No, not quite. Qt (which SMPlayer uses) uses the OLE drag-and-drop method, so WM_DROPFILES is not involved and supporting it does not help.
Luckily I was stupid and there is a much easier way than forwarding messages: set the window to disabled, which also works for Drag-and-Drop.
So unless I once more messed up my testing this is fixed in MPlayer SVN r27904.
LoRd_MuldeR
11th November 2008, 20:33
No, not quite. Qt (which SMPlayer uses) uses the OLE drag-and-drop method, so WM_DROPFILES is not involved and supporting it does not help.
Luckily I was stupid and there is a much easier way than forwarding messages: set the window to disabled, which also works for Drag-and-Drop.
So unless I once more messed up my testing this is fixed in MPlayer SVN r27904.
:thanks:
LoRd_MuldeR
16th December 2008, 15:52
I got a feature request for SMPlayer:
When I do "+" -> "Add file(s)" in the playlist window and select a ".m3u" playlist file, then import&append the playlist to my current playlist.
At the moment it will add the ".m3u" file as a single item to the playlist, so it won't play at all :(
:thanks: in advance!
rvm
31st December 2008, 15:11
I think I forgot to announce the changes in version 0.6.5:
Most important changes since 0.6.4:
* The subtitles when using the SSA/ASS library can now be further customized. It's possible to select the font, size, colors, bold, italic, outline, shadow...
* (Linux) Now smplayer tries to follow the XDG Base Directory Specification for the config files. That means the now the configuration files will be saved under the directory $XDG_CONFIG_HOME/smplayer (or $HOME/.config/smplayer if $XDG_CONFIG_HOME is not defined). If you want to keep your preferences, copy or move the files from $HOME/.smplayer to the new location.
* Added some options in Preferences->Interface to configure the floating control.
* The commandline option -ini-path has been removed and replaced with -config-path, which specifies the directory where smplayer will store its data (not only smplayer.ini).
And these are the changes in the new version 0.6.6:
Most important changes since 0.6.5:
* Added an option to generate a preview (thumbnails) of the video.
* Added a new gui (mpcgui, a media player classic clone) developed by Matthias Petri.
* Added some auto zoom options, to display the video without black borders.
* Implemented a new (and optional) method to save the file settings. This method uses an ini file per each played file. It's faster than the old one.
* Added a new option in Preferences->Video: add black borders on fullscreen. If this option is enabled, black borders will be added to the image in fullscreen mode. This allows subtitles to be displayed on the black borders.
* Increased the resolution of the seekbar. Allows a more accurate seeking.
* Added 3 modes for the stay on top option: always, never and while playing.
* Added a history to the open URL dialog.
* Added new action to cycle through all aspect ratios. Assigned by default to key "A".
* It's possible to run some specified actions every time a file is loaded.
* Possibility to set up a proxy for internet connections (used for subtitle downloading).
Currently there's only available an update package:
smplayer_update_0.6.6.7z (ftp://ftp.berlios.de/pub/smplayer/windows/smplayer_update_0.6.6.7z)
Unity
31st December 2008, 17:32
A fantastic mplayer gui !
The new mpc skin is really nice too :)
LoRd_MuldeR
31st December 2008, 17:49
Thank you rvm :thanks:
I noticed one small cosmetic error with the MPC GUI: If you press the "play" button again while it's already pressed (lowered) it will become un-pressed (flat) again.
There is no effect though, so the media will keep on playing...
BTW: Happy new year !!!
tekNerd
1st January 2009, 17:45
Currently there's only available an update package:
smplayer_update_0.6.6.7z
Link doesn't work for me, it seems that the server is down or something. Can someone upload this somewhere else?
LoRd_MuldeR
1st January 2009, 17:47
Link doesn't work for me, it seems that the server is down or something. Can someone upload this somewhere else?
Seems to work for me :confused:
ftp://ftp.berlios.de/pub/smplayer/windows/smplayer_update_0.6.6.7z
rvm
1st January 2009, 19:34
I've just uploaded it here too:
http://downloads.sourceforge.net/smplayer/smplayer_update_0.6.6.7z
tekNerd
1st January 2009, 23:12
It started to work the ftp link...
Thanks.
Question:
can smplayer take a screenshot of a video and put it in the video's folder (like using some kind of option: use video's folder for screenshots)?
LoRd_MuldeR
1st January 2009, 23:16
Question:
can smplayer take a screenshot of a video and put it in the video's folder (like using some kind of option: use video's folder for screenshots)?
Answer: Yes.
(Use the "Video" -> "Screenshot" function to take a screenshot. Also note that the screenshot directory can be configured in the "Preferences" window)
tekNerd
2nd January 2009, 02:20
No, I know that it can take screenshots, I just want to know if it is possible to have as screenshot folder the video's corespondent folder, not a global screenshot folder.
And another thing: is it possible to save the screenshot with the video file's name?
mhj911
2nd January 2009, 02:39
a little issue, because I have no real decode file drvc.dll, so when I play a rmvb video, smplayer have no video image, some menu about video are disable status, it is normal. I click 'stop' button to stop playing this video, then copy 'drvc.dll' to 'codecs' folder under mplayer folder. I continue click 'play' button to play this video. smplayer display video image, but status of those menu about video are not updated. if I choose open this video again, those menu is ok.
check VIDEO_CODEC whether is null to decide whether have video, then to update those menu status.
VIDEO_CODEC='';
if mplayer ouput 'ID_VIDEO_CODEC=codec_name' then VIDEO_CODEC=codec_name
if VIDEO_CODEC='' then HaveVideo=false else HaveVideo=true;
menu.enable= HaveVideo;
because version of mplayer, it don't play video but only audio without real decoder 'drvc.dll', it maybe can use ffrv40 to play a real video after update mplayer.
MPlayer dev-SVN-r27130-3.4.5 (with -volume) (C) 2000-2008 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.
Setting process priority: abovenormal
Playing D:/My Documents/My Videos/非诚勿扰.rmvb.
Cache fill: 0.00% (0 bytes)
REAL file format detected.
Stream description: Audio Stream
Stream mimetype: audio/x-pn-realaudio
ID_AUDIO_ID=0
[real] Audio stream found, -aid 0
Stream description: Video Stream
Stream mimetype: video/x-pn-realvideo
ID_VIDEO_ID=1
[real] Video stream found, -vid 1
Stream mimetype: logical-fileinfo
VIDEO: [RV40] 640x460 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
Clip info:
name: 非诚勿扰1
==========================================================================
Opening video decoder: [realvid] RealVideo decoder
Error loading dll
ERROR: Could not open required DirectShow codec drvc.so.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
Error loading dll
ERROR: Could not open required DirectShow codec drvc.dll.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
Error loading dll
ERROR: Could not open required DirectShow codec drv4.so.6.0.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
Error loading dll
ERROR: Could not open required DirectShow codec drv43260.dll.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
Error loading dll
ERROR: Could not open required DirectShow codec drvc.bundle/Contents/MacOS/drvc.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Cannot find codec matching selected -vo and video format 0x30345652.
Read DOCS/HTML/en/codecs.html!
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 44.1 kbit/3.12% (ratio: 5512->176400)
ID_AUDIO_BITRATE=44096
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder)
==========================================================================
MPlayer Sherpya-SVN-r28126-4.2.5 (C) 2000-2008 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
Playing d:\My Documents\My Videos\非诚勿扰.rmvb.
REAL file format detected.
Stream description: Audio Stream
Stream mimetype: audio/x-pn-realaudio
ID_AUDIO_ID=0
[real] Audio stream found, -aid 0
Stream description: Video Stream
Stream mimetype: video/x-pn-realvideo
ID_VIDEO_ID=1
[real] Video stream found, -vid 1
Stream mimetype: logical-fileinfo
VIDEO: [RV40] 640x460 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
Clip info:
name: 非诚勿扰1
[...]
==========================================================================
Opening video decoder: [realvid] RealVideo decoder
Error loading dll
ERROR: Could not open required DirectShow codec drvc.so.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
Error loading dll
ERROR: Could not open required DirectShow codec drvc.dll.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
Error loading dll
ERROR: Could not open required DirectShow codec drv4.so.6.0.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
Error loading dll
ERROR: Could not open required DirectShow codec drv43260.dll.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
Error loading dll
ERROR: Could not open required DirectShow codec drvc.bundle/Contents/MacOS/drvc.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffrv40] vfm: ffmpeg (FFmpeg RV40 decoder)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 44.1 kbit/3.12% (ratio: 5512->176400)
ID_AUDIO_BITRATE=44096
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder)
==========================================================================
rvm
2nd January 2009, 02:52
No, I know that it can take screenshots, I just want to know if it is possible to have as screenshot folder the video's corespondent folder, not a global screenshot folder.
No, it's not possible. Maybe I could add an option for that.
And another thing: is it possible to save the screenshot with the video file's name?
No. There was a patch sent to the mplayer-dev-eng mailing list which added support for that, but it hasn't been added to mplayer yet.
Maybe I can add that possibility in smplayer anyway, it would be just a matter of renaming the screenshot made by mplayer.
mhj911
2nd January 2009, 03:15
name of system font not always uniform with first font face name of font, so use fontconfig + font name, may not work. e.g. simhei.ttf display as '黑体' in list of system font, if use -fontconfig -font 黑体 ,it don't work, use -fontconfig -font simhei ,is ok. so I never use fontconfig, but directly use -font +font.
petran79
2nd January 2009, 15:39
I have the following issue.
In Preferences -> File Types, when I click "Select None", all but the bin, divx, dv,iso, nsv and vcd extension disappear. Even when I uncheck the extensions manually and click "Apply" the boxes are automatically ticked again.
As a result only through Windows folder options in control panel is it possible to apply a different player.
rvm
2nd January 2009, 22:50
What version of Windows are you using? (XP? Vista?)
rvm
3rd January 2009, 01:03
a little issue, because I have no real decode file drvc.dll, so when I play a rmvb video, smplayer have no video image, some menu about video are disable status, it is normal. I click 'stop' button to stop playing this video, then copy 'drvc.dll' to 'codecs' folder under mplayer folder. I continue click 'play' button to play this video. smplayer display video image, but status of those menu about video are not updated. if I choose open this video again, those menu is ok.
Maybe you need to install the additional codecs package (smplayer_codecs_20071007.exe (http://www.mediafire.com/?jzlj6iw0wls) or windows-essential-20071007.zip (http://www.mplayerhq.hu/MPlayer/releases/codecs/windows-essential-20071007.zip)). They are not included in the smplayer packages because of licensing problems.
rvm
3rd January 2009, 01:05
New packages for Windows are available:
* smplayer_0.6.6_setup.exe (http://downloads.sourceforge.net/smplayer/smplayer_0.6.6_setup.exe) (includes mplayer svn r28126 from this site (http://oss.netfarm.it/mplayer-win32.php))
* smplayer-0.6.6_without_mplayer.7z (http://downloads.sourceforge.net/smplayer/smplayer-0.6.6_without_mplayer.7z)
* smplayer-portable-0.6.6.7z (http://downloads.sourceforge.net/smplayer/smplayer-portable-0.6.6.7z)
tekNerd
3rd January 2009, 18:23
Hi.
I know SMplayer is only a frontend for mplayer (a very good one, the best), but I was wondering: to pass new settings does have to restart the mplayer everytime?
I understand for video or audio renderer or some other setting like that, but for a subtitle setting or just for going fullscreen?
Am I doing something wrong or this is the normal behavior?
Thank u.
rvm
3rd January 2009, 19:23
Sometimes it's necessary to restart mplayer, but not always. Selecting a different subtitle track doesn't require to restart mplayer but if you change the font then it does. Going fullscreen doesn't require to restart mplayer (unless you have the option to automatically add black borders in fullscreen enabled).
tekNerd
4th January 2009, 01:51
I see.
Thank u for the help.
petran79
4th January 2009, 23:48
What version of Windows are you using? (XP? Vista?)
XP. But it wasnt such a big issue. Uninstalled and installed again and problem solved. Though now when I press select all, only m3u, m3u8 and pls extension are not ticked. Is it because another application locks the file type?
rvm
5th January 2009, 00:16
Probably, but I don't know. The file associations code was written by another person, so I don't know exactly how it works.
I experienced sometimes on Windows Vista that some of the extensions are disabled, so they can't be checked or unchecked, but I never had that problem on Windows XP.
LoRd_MuldeR
5th January 2009, 00:21
I don't think file extensions can be "locked" by an application. Maybe Windows Vista itself doesn't allow certain extension to be associated with a custom application?
Also some applications install an "Agent" which will be running in the background all the time and re-associates the file extensions with their own application as soon as it's changed by another application.
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.
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.
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?
Appreciated! :thanks:
I get this error though when starting SMPlayer.exe:
http://f.imagehost.org/0060/New_Bitmap_Image.png
Latest versions require the Qt 4.5 dll's. You can find them here (ftp://ftp.berlios.de/pub/smplayer/windows/qt-4.5.0_dlls-2.7z).
Even with "-nofontconfig" as parameter?
No, I couldn't find a way to avoid it. Anyway I'll try with the latest builds to see if the problem is really fixed.
fastplayer
2nd April 2009, 11:22
It works now although the mouse still disappears when video is paused or the window is not maximized. IMO the mouse should not disappear at all unless you're in fullscreen mode. Either that or I missed that checkbox again :D
avih
2nd April 2009, 13:05
I'll try.
Thanks :)
avih
30th April 2009, 01:08
I'll try.
Thanks :)
Since I've downloaded the latest build of mulder and couldn't find the monitor aspect toggle option, I decided to scratch my own itch and hacked smplayer with this functionality (while experiencing QT for the 1st time).
I didn't add new icon but rather replaced the existing (but not useful to me) compact window option since it already had icons on the toolbar, context menu and is available as option for middle mouse button, so I just replaced it's icon with "aspect" and changed the slot to my new toggle function. So the patch needs some refinements from integration point of view.
It works pretty well for me, so I'm satisfied, though I hope I won't have to patch the source myself on each release... ;)
Attached are the modified files (along with the originals for easier diff).
Enjoy.
P.S.
1. The build process is incremental but still takes considerable time even to compile one file and build the release (using compile_windows_portable.bat). Is that supposed to be? How long does it take you to build the executable after changing one cpp file?
2. What environment do you use for your development? Do you use some visual GUI editor? could you please create a QTCreator project for SMPlayer? thx in advance.
rvm
30th April 2009, 01:49
Since I've downloaded the latest build of mulder and couldn't find the monitor aspect toggle option, I decided to scratch my own itch and hacked smplayer with this functionality (while experiencing QT for the 1st time).
I didn't add new icon but rather replaced the existing (but not useful to me) compact window option since it already had icons on the toolbar, context menu and is available as option for middle mouse button, so I just replaced it's icon with "aspect" and changed the slot to my new toggle function. So the patch needs some refinements from integration point of view.
It works pretty well for me, so I'm satisfied, though I hope I won't have to patch the source myself on each release... ;)
Attached are the modified files (along with the originals for easier diff).
Enjoy.
That's great :). I'll take it a look.
P.S.
1. The build process is incremental but still takes considerable time even to compile one file and build the release (using compile_windows_portable.bat). Is that supposed to be?
If you compile in debug mode, it takes less time.
Also, it's better not to use compile_windows_portable.bat all the time, that recreates the Makefile, builds the translations, so it takes more time.
Just type "make" in the src directory.
How long does it take you to build the executable after changing one cpp file?
For instance if I change preferences.cpp, it takes here (linux) about 6 seconds to compile the file and link everything.
2. What environment do you use for your development? Do you use some visual GUI editor?
Actually none. I just use an editor (mcedit) and compile from a terminal.
could you please create a QTCreator project for SMPlayer? thx in advance.
I don't even have QtCreator installed, but well, if I install it some day I'll try to create the project.
avih
30th April 2009, 04:02
Thanks for the make tip (Qt\2009.02\bin\qtenv.bat and mingw32-make on win32). It is faster. About 12s instead of probably more than 20s on my aging AthlonXP 2500+ :)
About the editor, yes, I use SciTE for non-project edits and this hack and compiled smplayer from a terminal, but IDEs have some nice facilities such as code completion and easier context navigation, and expose the available APIs nicely especially for someone new to a project. QTCreator can get better but it's not bad at all for such an early phase and a nice jump-start for QT apps.
Anyway, thanks again and keep up the good job :)
BTW. FYI, QTCreator imports current smplayer.pro perfectly (just change release to debug on smplayer.pro) and enables debugging (single steps) with stack traces, watches etc, code completion/correction in proper context, visual editor of .ui files etc. It's great to be able to do it manually, but many times faster with tools such as this... really nice :)
Here's a screenshot on win32:
lansing
12th May 2009, 19:32
my problem was ignored in the mplayer thread, so I think I can get a better answer here
is it a bug in SMPlayer or is it just me, when I try to choose "select none" in the file association tab, after I click apply, nothing change, many of the file type are still checked.
also is there an option to hide the status bar?
What version of Windows are you using? Vista?
There's no way to hide the status bar, but you can use the "mini gui", it doesn't have a status bar.
lansing
13th May 2009, 00:42
What version of Windows are you using? Vista?
There's no way to hide the status bar, but you can use the "mini gui", it doesn't have a status bar.
I'm using Windows 7 build 7057.
And after a few more test with it, i think smplayer will force register file association on files type that were not register by any other program. In my case both the .DAT and .VOB format keep registering to smplayer whether i deselect them or not in preference
I'm using Windows 7 build 7057.
I think the problem is that smplayer is running the code intended for Windows XP instead of Vista. I'll try to fix it (although I don't know if the code for Vista would work fine on Windows 7...)
lansing
13th May 2009, 04:54
and also the playback keep repeating after finish and i can't find the option to disable it
Be sure you don't have the option "Play->Repeat" checked, or the repeat option in the playlist.
Could you test svn r3032 (ftp://ftp.berlios.de/pub/smplayer/windows/smplayer_update_svn_r3032.7z)?
Anyway I don't know if Windows 7 would be recognized properly...
lansing
13th May 2009, 13:59
Could you test svn r3032 (ftp://ftp.berlios.de/pub/smplayer/windows/smplayer_update_svn_r3032.7z)?
Anyway I don't know if Windows 7 would be recognized properly...
the repeat problem solved by uncheck the repeat button in playlist.
For file association, when open, everything is unchecked, when i checked anyone of the file type and press apply, got this message and everything unchecked again.
http://img524.imageshack.us/img524/4290/errorn.jpg
I didn't write the file associations code, so I don't know exactly how it works.
Maybe you'll be luckier if you send your question to the thread Vista Default Programs (http://smplayer.berlios.de/forums/viewtopic.php?id=90) in the smplayer development forum.
lansing
14th May 2009, 17:15
I didn't write the file associations code, so I don't know exactly how it works.
Maybe you'll be luckier if you send your question to the thread Vista Default Programs (http://smplayer.berlios.de/forums/viewtopic.php?id=90) in the smplayer development forum.
I installed a new windows 7 build 7100 yesterday and the file association problem seems alright now. Thanks for the help.
LoRd_MuldeR
19th August 2009, 17:16
SMPlayer spotted in German television :D
http://img196.imageshack.us/img196/451/clipboard02y.png
DarkZell666
20th August 2009, 16:57
SMPlayer spotted in German television :D
Nice one ! ... :eek:
tonyappuk
10th May 2010, 00:31
Hi folks
Not sure if this is the right place to ask this question but if not will somebody please point me in the right direction.
I have used SMplayer for quite a long time but in the last few days it has started to misbehave. If I double click on a file or if I load it normally there is a flash of the video displayed before the window goes black. If I drop down some of the menus you can see the vid is playing as the menu window dividers may be transparent.
I have unloaded SMPlayer and reloaded afresh, deleted config files and inspected all the options I can find to try to fix it but without success. Purely by chance I discovered that if I toggle on the subtitle menu the "Use SSA/ASS library" option the video appears. Next time I try to use SMplayer I have to toggle it back to the alternative state and so on. Not the end of the world but very annoying. Does anyone know how to fix this properly, please?
I'm using XP SP3 with 2 Gig of RAM.
Tony
Try to use a different video driver (preferences->general->video).
tonyappuk
10th May 2010, 14:32
Thanks, RVM. That worked. Not sure why it's only occurred now as I did not consciously alter the video driver. It was set on directx (fast) as found. Is this the default? Now set to gl(fast - ATI cards) since I have one and seems fine.
Tony
Reimar
13th May 2010, 15:31
Try to use a different video driver (preferences->general->video).
Hey, could you maybe "clean up" that list a bit? If there is gl_nosw vo available then MPlayer should always detect the best mode for -vo gl by itself, that includes the YUV->RGB conversion modes of rather old NVidia and ATI cards.
I admit I don't know for sure the auto-detection will always work 100% right (e.g. ATI drivers are regularly so full of bugs it often might not work) but I still think the auto mode will work better for most users than selecting any particular mode themselves.
Particularly since I guess that tonyappuk seems to have misunderstood the "ATI cards" thing to mean you should choose -vo gl for ATI cards - while I consider it a good choice (biased as I am as the author), direct3d probably would have worked just as well.
tonyappuk
13th May 2010, 20:04
gl(fast - ATI cards) was not after all, stable for me so I chose directx (slow) which was OK. Having read your post Reimar I have selected direct3d and we'll see what happens. I appreciate that SMPlayer is very flexible which appeals to me greatly but an automatic choice of suitable video driver would surely be preferable. Alternatively a less sensitive driver should be used as the default. And why if the directx (fast) setting is the default can it get into a state where you have to toggle the "Use SSA/ASS library" option to make it display? Very puzzling as I had not made any conscious changes to SMPlayer.
Tony
Reimar
13th May 2010, 20:36
gl(fast - ATI cards) was not after all, stable for me
I'd be rather interested in more detailed reports on this, to fix it if possible.
Selecting the just "gl" one and making sure you have an up-to-date MPlayer and video driver version might help, too.
so I chose directx (slow) which was OK.
It also really is slow.
Alternatively a less sensitive driver should be used as the default. And why if the directx (fast) setting is the default can it get into a state where you have to toggle the "Use SSA/ASS library" option to make it display?
The default is the one that is fastest of the most reliable ones, if it was a know issue it would probably be fixed (tends to take longer for Windows-specific issues) or an alternative made the default. It's not impossible that you're just the (almost) only one with that issue. And with the description you gave so far I see no reasonable explanation for the issue (even though that does not mean that much).
tonyappuk
13th May 2010, 22:33
I have been using SMPlayer on Win XP for must be at least 2 years and generally have had no problems. I think I remember a similar failure to display but it was many months ago and I think I fixed it by a full uninstall reinstall of Sm and Mplayer. At that time I had not discovered this odd behaviour of the need to toggle the "Use SSA/ASS library" so I don't know whether that would have worked. This time a full uninstall reinstall of SM plus MPlayer did not fix it hence my initial posting. I am confident I didn't change any config of the prog and it is likely I think that one of the clips I tried to display caused the problem. Although you could suspect a nasty in the clip file I am fully antivirused and updated and I have also run Malwarebytes as a precaution. It may be just one of those unexplained things although something must have provoked it.
Tony
sweetooth
20th May 2010, 02:48
I have a few issues. Installed Mulder's MPlayer/SMPlayer combo (MPUI.2010-04-16.Full-Package.exe) on an old computer running windows xp (no internet access).
1. I used the default installation, and SMPlayer associated itself with quite a few file types. But when I uncheck file extensions (globally or singularly) it reverts back to default on "apply", or "okay". This is on windows xp.
Do I need to uninstall, and do a custom install? Will uninstalling revert file extensions to previous?
2. When I 1st tried to use SMPlayer it hung up, alternating between "subtitles", and
"updating font cache". After about 30 minutes I shut it down, and turned subtitles off.
???????
3. Everytime I reboot I got a nag screen about checking for updates for MPlayer. Don't want it choosing/asking to update anyway. Couldn't find a setting. Would deleting/renaming update.exe, or update.dat help?
Thanks in advance.
For the Mulder's package, report problems here: MPlayer for Windows (http://forum.doom9.org/showthread.php?t=138725)
My package, for instance, doesn't check for updates.
sweetooth
21st May 2010, 08:27
For the Mulder's package, report problems here: MPlayer for Windows (http://forum.doom9.org/showthread.php?t=138725)
My package, for instance, doesn't check for updates.
Thanks rvm, will do.
smok3
6th June 2010, 08:51
i'am trying to make vdpau to work properly under lucid lynx (nvidia ion, asus 1201N eee), but there is noticeable tearing, any clues on how to fix that?
inxi -F returns:
System: Host pikiLinux Kernel 2.6.32-22-generic i686 (32 bit) Distro Ubuntu 10.04 lucid
CPU: Dual core Intel Atom 330 (HT) cache 512 KB flags (sse3 nx lm) bmips 6400.16
Clock Speeds: (1) 1600.041 MHz (2) 1600.041 MHz (3) 1600.041 MHz (4) 1600.041 MHz
Graphics: Card nVidia ION VGA [GeForce 9400M] X.Org 1.7.6 Res: 1366x768@50.0hz
GLX Renderer ION/PCI/SSE2 GLX Version 3.2.0 NVIDIA 195.36.15 Direct Rendering Yes
Audio: Card nVidia MCP79 High Definition Audio driver HDA Intel
Sound: Advanced Linux Sound Architecture Version 1.0.21
Network: Card-1 Realtek Device 8171 driver rtl819xSE v: 0015.0127.2010 at port d800
Card-2 Atheros Atheros AR8132 / L1c Gigabit Ethernet Adapter driver atl1c v: 1.0.0.1-NAPI at port ec00
Disks: HDD Total Size: 250.1GB (5.2% used) 1: /dev/sda WDC WD2500BEVT-8 250.1GB
Partition: ID:/ size: 28G used: 3.9G (15%) fs: ext4 ID:/home size: 92G used: 8.4G (10%) fs: ext4
ID:swap-1 size: 12.68GB used: 0.00GB (0%) fs: swap
Sensors: System Temperatures: cpu: 69.0C mobo: N/A gpu: 0.0:56C
Fan Speeds (in rpm): cpu: N/A
Info: Processes 185 Uptime 10:32 Memory 232.1/1760.1MB Client Shell inxi 1.3.2
inxi -G
Graphics: Card nVidia ION VGA [GeForce 9400M] X.Org 1.7.6 Res: 1366x768@50.0hz
GLX Renderer ION/PCI/SSE2 GLX Version 3.2.0 NVIDIA 195.36.15
edit: refresh is probably 60hz, so inxi fails here i'd say.
smok3
30th June 2010, 14:35
to answer myself, tearing seems to be connected with compositing mode,
workaround:
disable compositing
gconftool-2 -s '/apps/metacity/general/compositing_manager' --type bool false
play something with vdpau without tearing
enable compositing
gconftool-2 -s '/apps/metacity/general/compositing_manager' --type bool true
XSAlliN
16th January 2012, 13:22
Downloaded the 720p version of this video: http://www.youtube.com/watch?v=-ppdigJKWmI - and strangely, doesn't work in SMPlayer - works with all other players i have (Potplayer, MPC-HC, Videolan)... in theory it should work, i have several other videos same as that and those work...
rvm
19th November 2012, 02:57
Version 0.8.1.
* Fix youtube.
Version 0.8.0.
* A toolbar editor has been added. Now it's possible to select the buttons
and controls that want to appear in the toolbars.
* New video filters: gradfun, blur and sharpen.
* Now it's possible to change the GUI (default, mini, mpc) at runtime,
no restart required.
* sub files from opensubtitles should work again.
* (Youtube) Recognize short urls (like this one: http://y2u.be/F5OcZBVPwOA)
* Better support for chapters in video files.
* Bug fix: remote m3u files work from the favorites menu or command line.
* Internal changes in the single instance option (switch to
QtSingleApplication).
Version 0.7.1.
This version include some bug fixes, some of them important. It's highly
recommended to update.
Fixes:
* SMPlayer took more than 10 seconds to show when running for the very
first time.
* The links to download subtitles from Opensubtitles were wrong.
* SMPlayer crashed in the favorite editor when trying to select a file if
the KDE open dialog was used.
* Some translations were missing in the Windows package.
New:
* By default the screenshots are saved in the user's pictures folder instead
of the SMPlayer's config folder.
* Now it's possible to change the opensubtitles server.
* Youtube: seeking is slow with flv videos, so now flv videos have the
lowest priority.
* Youtube: now it's possible to search and download videos from youtube.
This is provided by an external application (in linux you have to install
an independent package: smtube).
Version 0.7.0.
Most important changes since 0.6.10:
* New favorite menu, where you can add your favorite videos, music, streams,
youtube videos... It's also possible to add submenus.
* Support for youtube. Now you can open urls like
http://www.youtube.com/watch?v=..... using the Open -> URL dialog or
dragging a link from a browser to the smplayer window.
* Support for mplayer2 (http://www.mplayer2.org). It's a fork of mplayer with
interesting features like precise seeking, ordered chapters in mkv videos and
better pause handling (e.g. seek works while the video is paused).
* New translation: croatian.
Links on the first post (http://forum.doom9.org/showthread.php?p=943620#post943620).
suanm
19th November 2012, 03:36
I'm trying smplayer...
rvm
26th December 2012, 03:28
Version 0.8.3.
* Fix for youtube playback.
Version 0.8.2.
* A skinnable interface has been added. Several skins are included.
* Support for 6.1 and 7.1 audio output.
* A "Privacy" section in the preferences dialog has been added. You can
disable saving the recent files or URLs.
* The main window can be moved by dragging the video area.
* Fix for a freeze that may happen on Windows XP.
* (Windows) The font cache is created before showing the GUI.
Links on the first post (http://forum.doom9.org/showthread.php?p=943620#post943620).
lansing
20th January 2013, 04:49
reporting a bug, every time on the first launch of the program after an install or upgrade, the drag and drop function didn't work, it works after the after the first launch.
Version 0.8.5:
Due to changes in opensubtitles.org, smplayer couldn't find subtitles anymore. This has been fixed.
The interface with support for skins is now the default.
An option to enter url(s) in the playlist has been added.
The options to change the size of the main window work now even if the autoresize is set to never.
Two new options for Audio -> Stereo mode: Mono and Reverse.
The option "Move the window when the video area is dragged" is now disabled by default because it has some issues that need to be addressed.
New translation: Malay.
Some configuration options are changed to new defaults after installation to ease upgrade from old versions.
Links on the first post (http://forum.doom9.org/showthread.php?p=943620#post943620).
Gaius
24th May 2013, 06:38
Will mplayer2 someday replace mplayer by default on this player?
fagoatse
24th May 2013, 11:27
mplayer2 has its own smplayer2
check github.com/lachs0r
anyway, mplayer2 is pretty much a dead project and has been superseded by mpv-player but it doesn't have a frontend yet.
Gaius
31st May 2013, 08:29
Will SMplayer move to MPV?
http://mpv.io/
fagoatse
31st May 2013, 12:10
Will SMplayer move to MPV?
http://mpv.io/
No, mpv will have a frontend when somebody gets down to it and writes one. It will happen sooner or later.
For the time being you can use this - http://bakamplayer.netii.net/ or this https://code.google.com/p/cmplayer/
I do not believe they are proper solutions but its a start. They both probably rely on the same horrible way of doing things that smplayer utilizes but it kinda works.
I suggest that you add --vo=opengl-hq to the config btw.
SMPlayer already supports MPlayer2 (although there are still some issues to fix). We even provide a package for windows with MPlayer2.
About mpv I'll try to add support for it in future versions, right now it's not possible since they removed the slave mode.
rvm
17th August 2013, 00:21
Version 0.8.6.
SMPlayer can now update its internal Youtube code so it's not necessary to update smplayer everytime Youtube makes a change.
A section "Updates" has been added to the preferences dialog, where it's possible to configure or disable the update checker.
SMPlayer could still fail to find some subtitles from opensubtitles.org. Hopefully this is fixed.
(Windows) The autoload of subtitles with non latin1 filenames has been fixed.
The Windows installer gives the possibility to delete most of the configuration files of smplayer. This can be useful if the configuration files have been corrupted or smplayer has been misconfigured. Linux users can use the command "smplayer -delete-config".
Several other bugfixes. See the Changelog for details.
Links on the first post (http://forum.doom9.org/showthread.php?p=943620#post943620).
xabregas
24th October 2013, 14:15
Hi, i`m really liking this player, is so simple :)
But i wish to know how to output full range colour (0-255) and knowing what kind of scaling is used by default
TIA ;)
rvm
16th September 2014, 01:23
Now the version number is just the year + month of release.
Version 14.3.
Possibility to play (non-protected) blu-ray discs.
The control for fullscreen mode has been rewritten and improved. Now it is displayed over the video.
(Windows) New option in Preferences -> Subtitles to enable or disable the use of the Windows font directory. Disabling this option prevents the annoying font scanning.
Some presets have been added to the audio equalizer.
Better support for multimedia keys. This can help control SMPlayer with a remote control.
The option "Move the window when the video area is dragged" has been fixed.
(Windows) Now it's possible to open Windows shortcuts (symlinks).
Better support for Youtube.
(Windows) Better screensaver disabling.
Many bugfixes.
Version 14.9.
Fix for Youtube.
New option to shut down the computer when playback has finished.
The themes and skin icons are loaded from resource files (*.rcc).
New fix for searching subtitles from opensubtitles.org that should return more results
Official site: http://smplayer.sourceforge.net
(If you don't like the sourceforge wrapper you can download from the fosshub mirror (http://www.fosshub.com/SMPlayer.html))
Keiyakusha
17th September 2014, 00:01
Any news on mpv player support? Last time I checked, something were missing in mpv. But since I see mpv received some default (very limited) GUI, it have to be possible.
rvm
4th December 2014, 15:01
Since many people asked for it, now SMPlayer supports mpv! :)
http://smplayer.sourceforge.net/mpv.php
More details in the SMPlayer blog:
SMPlayer with support for MPV is now available (http://blog.smplayer.info/smplayer-with-support-for-mpv-is-now-available/)
Displaying two subtitles at the same time, now it’s possible (http://blog.smplayer.info/displaying-two-subtitles-at-the-same-time-now-its-possible/)
Support for video sites (not only youtube) (http://blog.smplayer.info/support-for-video-sites-not-only-youtube/)
Version 16.6
Support for 2 in 1 computers with touch screens.
SMPlayer includes now a 'tablet mode', available in the menu Options. When the option is turned on it makes some changes in the interface so that it would be easier to control SMPlayer by touching the screen. When the user changes the tablet mode in the Windows 10 action center, SMPlayer will detect it and ask if it should switch to the SMPlayer's tablet mode as well.
Option to send video to an external screen.
Now it's possible to send the video to a second screen connected to the computer, while controlling the application in the computer's screen.
Support for high DPI screens.
On high DPI (dots per inch) screens SMPlayer looked very tiny. Now the interface is automatically scaled so it looks correctly. There are also settings in Preferences -> Interface -> High DPI where you can adjust manually the scale factor or turn off this feature.
Global shortcuts.
Now it's possible to use the media keys (play/pause, stop, volume+/-, etc.) as global shortcuts. That means that those keys will work even when SMPlayer is in the background. You can activate this option in Preferences -> Keyboard and mouse.
Settings are remembered for online streams too.
This means that, for example, SMPlayer can resume playback or set bookmarks on YouTube videos or other online streams (as long as they are seekable).
SMPlayer is now built with Qt 5 by default.
rvm
16th February 2017, 22:29
Most important changes from version 16.8 to 17.2
Experimental support for Chromecast.
Option to send the audio to the specified audio device. It can be useful to send the audio to a TV via a HDMI cable or wireless headphones via bluetooth.
New option 'Show info on OSD' in View -> OSD (shortcut Shift + I). It displays info about the current media (resolution, bitrate...) on the OSD.
Option to display bitrate information in the status bar.
Improvements on the playlist.
Downloads:
http://smplayer.sourceforge.net/downloads.php
stax76
1st July 2017, 13:37
Hi, I've tried your player today and was surprised it opens avs which is a requirement for staxrip.
Is there a CLI?
There are scaling issues on 288% DPI:
https://www.dropbox.com/s/e8p3mztqnsiwxf5/2017-07-01%2014_27_58-SMPlayer%20%E2%80%93%20Einstellungen.png?dl=0
sneaker_ger
1st July 2017, 13:56
Is there a CLI?
:confused:
"SMPlayer - a new frontend for MPlayer"
P.S.: If you are interest in integrating a player into StaxRip you might also want to look at mpv (https://mpv.io/).
stax76
1st July 2017, 14:09
I'm asking because I cannot find the documentation for a CLI, typically it's located at: Main Menu > Help > Command Line
stax76
3rd July 2017, 02:40
@sneaker_ger
mpv looks very interesting.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.