Summary: | Xine freezes when watching video (ogg media) from a mounted cdrom; playing from harddisk works | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Florian Evers <florian-evers> |
Component: | Current packages | Assignee: | Chris White (RETIRED) <chriswhite> |
Status: | VERIFIED FIXED | ||
Severity: | major | CC: | media-video |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Florian Evers
2004-07-25 15:00:54 UTC
Does this issue work with a variety of ogg files? Is it xvid specific for the video stream? Are you using the latest xine-lib-1_rc5-r2? Are there bad frames in the video stream? If it's bad frames, cdroms have a fun enough time trying to stream the video, much less dealing with streaming if there's errors in your video stream. Local file streaming is extremely fast, and wouldn't have too much of an issue dealing with that. Hi, thanks for your reply. I took a bunch of cd's in order to follow your advice, and discovered the following: It's not the stream/file/whatsoever on the cd, it's the fact that there is a cd mounted at the requested mountpoint! (For all subsequent uses of "freeze" I mean that the interface freezes, and xine has to be killed by a "killall -9 xine") umount /mnt/cdrom mount /mnt/cdrom ls -al /mnt/cdrom -> some-video.ogg xine /mnt/cdrom -> freeze, no splash screen, just black window xine /mnt/cdrom/some-video.ogg -> freeze, no splash screen, just black window su -l mount /mnt/cdrom xine /mnt/cdrom -> freeze, no splash screen, just black window umount /mnt/cdrom # as root xine /mnt/cdrom -> no freeze, shows slash screen, navigation possible exit # now user xine /mnt/cdrom -> no freeze, shows splash screen, but navigation starts in home directory: /mnt/cdrom is not readable by users in unmounted state. mount /mnt/cdrom cd ~/ xine -> open file-> /mnt/cdrom -> shows .ogg-file -> "click to start" :-) -> xine freezes ------------------ root@powerstation /home/florian # etcat -v xine-lib [ Results for search key : xine-lib ] [ Candidate applications found : 6 ] Only printing found installed programs. * media-libs/xine-lib : [ ] 0.9.13-r3 (0) [ ] 1_rc2 (1) [ ~ ] 1_rc3-r1 (1) [ ] 1_rc4 (1) [ ] 1_rc4-r1 (1) [ ~I] 1_rc5-r2 (1) root@powerstation /home/florian # etcat -v xine-ui [ Results for search key : xine-ui ] [ Candidate applications found : 8 ] Only printing found installed programs. * media-video/xine-ui : [ ] 0.9.13-r1 (0) [ ] 0.9.21-r1 (0) [ ] 0.9.22-r1 (0) [ ] 0.9.22-r2 (0) [ ~ ] 0.9.23-r1 (0) [ ] 0.9.23-r2 (0) [ ~ ] 0.99.1 (0) [ ~I] 0.99.2 (0) root@powerstation /home/florian # BTW: There is another "behavior" that could possibly be a bug of xine or KDE 3.3beta2. Do you use KDE 3.3beta2? * Open a Konsole * Start xine * Quit xine * Konsole returns to bash, but "hangs" and does not accept keystrokes. When you switch to a different window (a konqueror for example) and simply switch back to the konsole, it stopped hanging. I only discovered this behavior when messing around with xine. Greetings, Florian can you emerge strace if you don't have it, run it on xine while you're playing off a cdrom and attach the results to this bug? Thanks. Hi, ok, I emerged strace. I did the following: Open a "konsole" "watch free" Open another konsole "mount /mnt/cdrom" "strace -o xine xine /mnt/cdrom" output attached as attachment 1 [details].) Xine starts, and tries to open the file(s) at /mnt/cdrom immediately. It starts "buffering" it: You see the tons of "read" lines in the output. It takes 3-4 minutes, and xine does "unfreeze" while starting to play the video. This happens when the strace output changes to a different style then "just" those read lines. 2.) In the mean time, xine ate up my whole memory! It looks like it wants to buffer the whole file to memory before starting to output it. I had 300 MB of free memory, but the size decreased to ~3 MB and then it started eating up my buffers/cache... The attachment (xine.strace.bz2) is ~2 MB. I don't know if its OK to send this big file as an attachment. Try this URL: http://www.stud.tu-ilmenau.de/~evers/xine.strace.bz2 Greetings, Florian Hi, I tried different versions of xine-lib, and the bug came along between xine-lib 1_rc4-r1 and 1_rc5-r2. I just tested xine-lib, and did not recompile xine-ui or any other packages. Problem still there in xine-lib-1_rc5-r3. I have exactly the same problem as described before. Xine freezes when I try to start a video (ogg) from a mounted cdrom. It works fine when I open the same video from the harddisk. I'm using xine-lib-1_rc5-rc3. Seems to be fixed in: media-libs/xine-lib-1_rc6 :-) Sorry, I meant "Closed"... |