Log in

View Full Version : SMPlayer - a new frontend for MPlayer


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

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!

rvm
31st July 2007, 22:30
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...