[vlc-devel] Mac OS X interface, errors and dutch translation

Derk-Jan Hartman d.hartman at student.utwente.nl
Thu Jan 9 01:52:28 CET 2003


Used the wrong email adres first time round, so here we go again.

On woensdag, jan 8, 2003, at 19:51 Europe/Amsterdam, Jean-Paul Saman  
wrote:
>>>> here is my ui-design for vlc-mac. this is my entire MacOSX folder. i
>> This is excellent work !!! (http://www.via.ecp.fr/~massiot/vlc.gif)
> Yummie
> Excellant work!

Wow, this is so gonna rock.
Hate to be picky and all, i'm not doing any of the work here, just a  
few thoughts.

1: I'm missing a volume control
2: In my eyes it is better to have an alternating play/pause button  
(like quicktime does). This means that if you press 'play' the play  
button turns into a pause button. When you pause the movie it turns  
into a play button again. I do not know if it is possible the current  
state of vlc (i.e. playing or pausing), but then this is quite easy to  
implement. The Stop button could then move to the current location of  
the pause button. Which Interface wise is much better, because you  
would have a clear distinction between 'movie' controls and 'program'  
controls. (a group of a preferences, playlist and stop button is not  
really neat. stop should go to the right side).
3: Don't know if this is possible, but I think buttons should be added  
to the playlist.
I'm thinking square buttons at the bottom of the playlist (like winamp,  
but not pull down ;-)

+: add a Playlist item: should call the File->Open... dialog i guess.
-: to remove an item: Only having a command-click option to do so is  
not handy
arrow-up: move up:move an item up in the playlist (if the interface  
design supports this of course)
arrow-down:move down: move an item down in the playlist

For a future release i guess ;-)
i: info: show info about a movie
l:loop:loop the playlist
z:random:randomize the playlist

4: Maybe the Open... dialog could contain a checkbox or something that  
would enqeue the item to playlist instead of play it?
5: I don't think the faster command should have the key combo command-F  
for the simple reason that Quicktime uses this command for 'fullscreen'
For faster, slower i suggest using the keycombo command-. and command-,  
or com-[ and com-]
6: Add 'Controller' to the View menu. In MacosX it is possible for  
windows of other programs to be on top of the current program. This  
item can be of use in such situations. Actually I think the two 'View'   
items actually belong in the Window menu. They should be between  
Minimize and Bring All to front. For instance look in the Mail Window  
menu.  Sidenote: Maybe 'Controller' should also be added to the  
titlebar of the controller-window.
7: I don't think the messages window should be in the brushed-metal  
style. It gives it to much a feeling of being part of the interface,  
where it actually is simply a debug tool and not much more. Giving it  
the aqua look will give it more of a 'this is a system thing' feeling  
which i think is better suited.
8: Controls menu should be split up into a Controls-menu (with  
start-stop sound etc) and a Movie-menu (with fullscreen, screen,  
deinterlace, subtitles, chapter selection etc)
9: I love the graphic on the right side of the interface. But it seems  
that mid-bottom of the counter, there is a small error (1 pixel, might  
just be my monitor though)
10: faster/slower doesn't work as expected. You press faster twice then  
you get [4:1] then you press slower and you get [1:2] instead of what  
the average user would expect [2:1]. The only way to get back to normal.
11: when you add the .bin file extension to the interface (as .avi and  
.mpg etc) then you can drag and drop raw disc images on the vlc program  
icon. Now these need to be opened trough the File->Open File menu.

Use my suggestions as you see fit, it is just my opinion.


Some (possible) errors i noticed.
I get this warning when i start vlc-test2 on MacOSX (G4-400 with ATI  
128) (always)
[00000122] ipv4 interface warning: cannot configure socket (SO_RCVBUF:  
No buffer space available)
[00000122] ipv4 interface warning: socket buffer size is 0xa460 instead  
of 0x80000

If i then hit the pause button in the interface, i get this. (always,  
any type of movie)
[00000124] main input warning: thread 39757472: possible deadlock  
detected in cond_wait at src/input/input_clock.c:162 (Operation timed  
out)
Probably because the interface is not notified of the already paused  
video ????

(with one file) If I open a file, I get
dvdread: cannot stat() source `/Volumes/Genitus/Discovery Channel -  
Harry Potter-' (No such file or directory)
I guess this is because of the @ character in the file's name
[00000124] main input: playlist item `/Volumes/Genitus/Discovery  
Channel - Harry Potter- at TV.mpg'

If i choose grayscale in the preferences (and restart, else it doesn't  
work at all) i get monochrome green video (always, any type of movie).  
That's probably not what it is supposed to do. Actually, many of these  
preference options need more testing.

If i override the ratio for instance i get a flickering image and these  
errors. (always)
[00000145] main video output debug: overriding source aspect ratio to  
16:9
[00000145] main video output debug: looking for video output module
[00000145] main video output debug: probing 4 candidates
[00000011] main module debug: using video output module "macosx"
[00000145] main video output debug: thread 38623568 (video output)  
created at priority 31 (src/video_output/video_output.c:317)
[00000145] main video output debug: got 8 direct buffer(s)
[00000145] main video output debug: picture in 352x288, chroma  
0x49343230 (I420), aspect ratio 16:9
[00000145] main video output debug: picture out 352x288, chroma  
0x49343230 (I420), aspect ratio 16:9
[00000145] main video output debug: direct render, mapping render  
pictures 0-6 to system pictures 1-7
[00000129] main audio output warning: resampling stopped after 208971  
usec
[00000011] main module debug: unlocking module "macosx"
[00000145] main video output debug: thread 38623568 joined  
(src/video_output/video_output.c:340)
[00000125] main decoder debug: no usable vout present, spawning one
[00000146] main video output debug: overriding source aspect ratio to  
16:9
[00000146] main video output debug: looking for video output module
[00000146] main video output debug: probing 4 candidates
[00000011] main module debug: using video output module "macosx"
[00000146] main video output debug: thread 43063664 (video output)  
created at priority 31 (src/video_output/video_output.c:317)
[00000146] main video output debug: got 8 direct buffer(s)

I also seem to get this a lot at random actions i perform (usually  
stopping)
mpeg_video: thread 39312896: mutex_unlock failed at  
modules/codec/mpeg_video/synchro.c:214 (22:Invalid argument)
main: thread 39312896: mutex_lock failed at  
src/video_output/vout_pictures.c:118 (22:Invalid argument)
main: thread 39312896: mutex_unlock failed at  
src/video_output/vout_pictures.c:204 (22:Invalid argument)
main: thread 39312896: mutex_lock failed at  
src/video_output/vout_pictures.c:118 (22:Invalid argument)
main: thread 39312896: mutex_unlock failed at  
src/video_output/vout_pictures.c:204 (22:Invalid argument)
main: thread 39312896: mutex_lock failed at  
src/video_output/vout_pictures.c:257 (22:Invalid argument)
main: thread 39312896: mutex_unlock failed at  
src/video_output/vout_pictures.c:273 (22:Invalid argument)
main: thread 39312896: mutex_lock failed at  
src/video_output/vout_pictures.c:81 (22:Invalid argument)
main: thread 39312896: mutex_unlock failed at  
src/video_output/vout_pictures.c:97 (22:Invalid argument)
main: thread 39312896: mutex_lock failed at  
src/video_output/vout_pictures.c:257 (22:Invalid argument)
main: picture refcount is -1
main: thread 39312896: mutex_unlock failed at  
src/video_output/vout_pictures.c:273 (22:Invalid argument)
main: object is not attached

If i choose Decoders->ffmpeg->configure then vlc crashes with a  
bus-error (that's all the info it returns)

In Audio->ouput frequency I see the value: -1 probably because that  
variable is not initialized (ergo has the default value), but it looks  
weird. Maybe it's better to leave it empty in that case.

After a lot of testing i got this:
main warning: buffer is 33085 in advance, triggering downsampling
main warning: resampling stopped after 288982 usec
main warning: buffer is 27235 in advance, triggering downsampling
main warning: late picture skipped (113157)
message error: message queue overflowed   
<!----------------------------- don't know how important it is.
main debug: unlocking module "macosx"

When using the fast forward button it resulted in this, but this might  
have been a bad .mpg:
[00000124] main input debug: playing at 2:1 fast forward
[00000127] mad decoder warning: lost synchronization
[00000128] main audio output warning: buffer is 31289 late, triggering  
upsampling
[00000128] main audio output warning: timing screwed, stopping  
resampling
[00000128] main audio output warning: buffer is 67521 late, triggering  
upsampling
.......
[00000124] main input debug: playing at 2:1 fast forward
[00000127] mad decoder warning: lost synchronization
[00000128] main audio output warning: buffer is 31289 late, triggering  
upsampling
[00000128] main audio output warning: timing screwed, stopping  
resampling
[00000128] main audio output warning: buffer is 67521 late, triggering  
upsampling
.............
[00000129] main video output warning: late picture skipped (2485557)
[00000129] main video output warning: late picture skipped (2475595)
[00000129] main video output warning: late picture skipped (2465629)
[00000129] main video output warning: late picture skipped (2479673)
[00000124] main input error: failed allocating a new buffer (decoder  
stuck?)
.........
[00000128] main audio output debug: audio output is too slow (977797),  
trashing 11610us
[00000128] main audio output debug: audio output is too slow (967168),  
trashing 11610us
[00000128] main audio output debug: audio output is too slow (955616),  
trashing 11610us
[00000128] main audio output debug: audio output is too slow (944051),  
trashing 11610us
[00000128] main audio output debug: audio output is too slow (932491),  
trashing 11610us
Bus error

I'll take a look at the dutch .po. I'm not very good at translations,  
but it's always better then having nothing at all.
When do you need it?

DJ
------------------------------------------------------------------------ 
---
Universiteit Twente
------------------------------------------------------------------------ 
---
Derk-Jan 'The DJ' Hartman
ICQnr: 10111559
Mail:  mailto:d.hartman at student.utwente.nl
WWW:   http://home.student.utwente.nl/d.hartman/
Goto:  http://www.student.utwente.nl/~macsatcampus

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list