Summary: | SLIDESHOW: Inserted Movie files show a white screen for about one frame at the start | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | NoWorries <sbc_hates_spam> |
Component: | Presentation | Assignee: | NoWorries <sbc_hates_spam> |
Status: | NEW --- | QA Contact: | |
Severity: | major | ||
Priority: | high | CC: | alex.teichman2, caolanm, jmadero.dev, mst.fdo, qubit, sbc_hates_spam, s.mehrbrodt, zolnaitamas2000 |
Version: | 4.2.1.1 release | Keywords: | regression |
Hardware: | Other | ||
OS: | Linux (All) | ||
See Also: | https://bugs.freedesktop.org/show_bug.cgi?id=78703 | ||
Whiteboard: | BSA bibisectRequest | ||
i915 platform: | i915 features: | ||
Attachments: |
Desktop recording of one frame of white before video start
presentation with test video (actually first hit for "fade from black" on youtube) LO Impress 4.2 with Question Mark before video start presentation with test video (actually first hit for "fade from black" on youtube) Screenshot of the white flash Example Desktop Output from Impress 4.3.0.4 with Flash before Video |
Description
NoWorries
2013-09-17 10:37:51 UTC
Created attachment 86117 [details]
Desktop recording of one frame of white before video start
This attachment shows one white frame after advancing to a video file. It was recorded using RecordMyDesktop, converted to an mp4 file and edited with Avidemux to show the section where the white frame appears.
I find this feature particularly embarrassing when I use OO Presentations before an audience. Please - please fix this problem soon.
Plese accept my apology for using the OO abbreviation instead of LO. I hope I don't make this mistake again. Hello.. please let status UNCONFIRMED while filing new bug. Someone (other than reporter) with same or newer version will mark NEW if he/she can confirm that problem. I can't reproduce with LO 4.0.5.2 (Win7 32bit), so let someone confirm that. I agree that this bug was not present in the 4.0 versions and I only noticed it in LO Presentation Version 4.1.2.2. I have just tried with a blank first slide in black and added a second slide with an mp4 video inserted. I used F5 to view the presentation and when I advanced to the video slide, it gave the flash of a white screen just before the video was played. I do not have access to a MS Windows system. I observe this problem on Kubuntu 13.10 and Kubuntu 13.04. CONFIRMED on Ubuntu 12.04.3 + LO 4.1.2.3 Steps: 0. Download the test video attached to this bug. 1. Open LO Impress 2. Set bg color of first slide to black 3. Insert new slide 4. On slide #2 add test video using the 'Insert Movie' button present in the middle of the slide 5. Run presentation by pressing 'F5' 6. Advance to 2nd slide by pressing spacebar; The screen will briefly flash white as reported by OP I too am being affected by this bug. It actually makes a particular presentation of mine physically painful to watch, and this makes me sad. Strangely, when advancing backwards through the slides, the white flash shows up less frequently. Ubuntu 12.04.3 LTS LibreOffice 3.5.7.2 Build ID: 350m1(Build:2) Does anyone have a workaround? Thanks. Created attachment 93489 [details]
presentation with test video (actually first hit for "fade from black" on youtube)
with test video from previous comment i'm seeing white flash in versions 4.1.0.4, 4.0.0.3, 3.6.7.2, 3.5.7.2, 3.5.0.3 but not in 3.4.6. presumably this bug is in the Linux-specific GStreamer video backend. Created attachment 93582 [details]
LO Impress 4.2 with Question Mark before video start
If gstreamer is to blame for this bug, then why does LO impress 4.2 give a different pre-video with a question mark rather than a 1 frame flash?
When I tried to open your attachment https://bugs.freedesktop.org/attachment.cgi?id=93489 I was not able to see the video. All I got was a box with a sound symbol. This is because on you system LO Impress loads the video. It is not inbeded in LO Impress. If I want to show what is happening, with LO Impress, I use the application recordmydesktop to record the LO Impress screen output. This package saves an ogv file which can be converted to an mp4 format. I use the command: ffmpeg -i out.ogv -vcodec libx264 -vpre medium -crf 24 -threads 0 -acodec libfaac out.mp4 I then use avidemux to edit the file and remove start and end bits that are not necessary. My understanding is that LO is primarily for Linux systems. I does require gstreamer to work and for this I install gst123 to get all the gstreamer packages. So I think that LO developers should make sure that they interface correctly with gstreamer. I have always been disappointed that the installation of LO does not include the gstreamer dependencies. Now to show how LO Impress does not correctly interface with gstreamer, you will find that LO 4.2 gets worse in this regard. You now get a large question mark for about 47 video frames before the start of the video. The attached video was recorded using the above method Comment on attachment 93489 [details]
presentation with test video (actually first hit for "fade from black" on youtube)
*facepalm* being a complete idiot i forgot to actually _embed_ the video
Created attachment 93625 [details]
presentation with test video (actually first hit for "fade from black" on youtube)
(In reply to comment #9) > > If gstreamer is to blame for this bug, then why does LO impress 4.2 give a > different pre-video with a question mark rather than a 1 frame flash? i'm not blaming GStreamer itself but the code in LO's avmedia module that interfaces with GStreamer. (In reply to comment #13) > (In reply to comment #9) > > > > If gstreamer is to blame for this bug, then why does LO impress 4.2 give a > > different pre-video with a question mark rather than a 1 frame flash? > > i'm not blaming GStreamer itself but the code in LO's avmedia module that > interfaces with GStreamer. Thanks for fixing up your attachment as, on my system, I can definitely see the one frame flash before the start of the movie. I look forward to this problem being fixed, particularly for LO Impress 4.2. I have presentations which involve movie insertions at times. So, with current video projector response times, the 4.1 flash is less obvious than the 1 second question in 4.2. I now have LO version 4.2.1.1 installed on Kubuntu 14.04 and I repeated my test to see if the "Question Mark" still existed before the start of a video using Impress. Unfortunately, it is still present but it now lasts about half the time. I counted the number of frames using Avidemux on a converted video file made by RecordMyDesktop. The Question Mark on LO Impress 4.2 lasts 43 frames The Question Mark on LO Impress 4.2.1 lasts 26 frames. I know a lot of improvements have been made with 4.2.1, however I cannot use it until this "Question Mark" is removed. My reason for wanting this fixed ASAP is that I use my Laptop for projection on a regular basis. Because of the quality of my presentations, I am used in preference to those who use Power Point on a MS Windows system. I use every opportunity to quietly demonstrate the capabilities of Linux. The lates version of LO does not help in this regard. This bug is still present in version 4.2.1.1 on Kubuntu 14.04. I used this version last Sunday and I had 3 mp4 videos to display in public. I received one comment about a flash before the start of the videos and I said that I had already filed a bug report regarding this over a month ago. I just checked and it is now 6 months!!!!!!!!!!!!!!!!! I am disappointed that nothing has been done to remove this bug and I hope it is fixed soon as this would have to be the most annoying problem that I have with LibreOffice Impress when doing presentations. While I understand your frustration, please realize there are close to 9k existing open bugs. It is impossible to fix them all. Even in 6 months. You may raise the incentives and put some cash onto this bug on freedomsponsors.com or learn to code and contribute a patch or find a dev willing to contribute a fix. I honestly hope this will soon be tackled but there are far to few devs to deal with even all the important bugs only. Thank-you for letting me know the current situation and I now know that you have a truckload of Bugs to fix. From my perspective, I put Bugs into 2 categories. Those that can be worked around and those that cannot be worked around. I have encountered a number of Bugs that can be worked around. One is that when I inserted a ppt file, Impress would crash! I overcame this by converting the ppt file to an odp format before inserting it. Thankfully this problem no longer exists but I did find a work around! In the case of the flash before the start of a video, I cannot find any work around. Because of this, I therefore consider it a higher priority than those bugs that can be worked around. I hope you take the above factors into consideration when prioritising the 9K of bugs. NoWorries March 18, 2014 at 9:23 am Your comment is awaiting moderation. I care about getting this fixed, so I’m offering USD 200.00 via FreedomSponsors to the first person who fix it. Offer link: http://www.freedomsponsors.org/core/issue/468/slideshow-inserted-movie-files-show-a-white-screen-for-about-one-frame-at-the-start You can also join me and throw in a few bucks there and we’ll get it fixed faster :) If you fix this issue (see my acceptance criteria there) please use that site to request your payment. Could this be related with the VLC integration? I am not sure what is meant by "VLC Integration" with LO Impress. I did remove all packages that related to VLC and tried to see if that removed the flash. It made no difference and the flash was still present. BTW VLC does not give any flash before the start of a video. Also, Avidemux shows no white frame before the start of a video as does LO Impress. If you need further proof of this problem, Sunday before last, I used my Laptop for Projection at a Church that I attend. The service was recorded and I could cut out the section where the problem is evident in the recording. Hi, I just want to say that I really care about this issue too and have added what I can to the bounty opened by NoWorries. I've got an upcoming PhD defense that would be greatly improved by a fix... Thanks for your support on this issue and your contribution. I am still surprised that the developers do not realize how embarrassing this problem is to those using LO Impress for a presentation with movies included. I just tested this on Windows and there the issue does not appear. When you add a slide transition to the second slide, you can see that the white flash is actually an image with a question mark on it (see attached screenshot). So it seems that LO tries to render a preview image before starting the video. Created attachment 96414 [details]
Screenshot of the white flash
I have sumitted a patch at https://gerrit.libreoffice.org/8765/ which fixes the problem I mentioned in Comment 24. But there is another problem: The white flash is still there. This method call leads to the white flash: http://opengrok.libreoffice.org/xref/core/slideshow/source/engine/shapes/viewmediashape.cxx#467 I have found that, for LO Impress version 4.2.3.1, the large Question mark in you example is given. This has a longer duration (about 47 frames) than the white flash that is present in version 4.2.2.1. Therefore, my impression is that there have been some code changes between these versions that changed the pre-video "Flash" and made it worse. @NoWorries: Yes, the question mark came in version 4.2 (with this change: http://cgit.freedesktop.org/libreoffice/core/commit/?id=507c1c9905ce02c376be4e57a937cde8d01d2c26) Looks like more changes have happened. I now have 4.2.3.2 and the large Question mark before the video in 4.2.3.1 is now a brief white flash as before. You may now notice that the large Question mark is behind the video in the Impress control window. In this window, the video is displaced to the left and up as before. The light grey box enclosing the Question Mark is correctly located in the box showing the displayed image. It will be interesting to see what changes are made in this area when 4.2.3.3 is released. Previously, I was using 3.5.7.2 and saw a brief white flash. I've just tried with 4.2.3.3, Build Id 420m0(Build:3), and am now seeing a somewhat long display of a question mark, sometimes combined with a white flash, before my videos start playing. By the way, I opened a question related to this at ask.libreoffice.org: http://ask.libreoffice.org/en/question/32951/jarring-white-flash-before-video-playback-in-impress/ Created attachment 104367 [details]
Example Desktop Output from Impress 4.3.0.4 with Flash before Video
Desktop recording startin with a "Title Slide" followed by advancing to the next slide with a video. There are 9 frames of white before the start of the video.
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.