GNOME Bugzilla – Bug 645975
video recording makes black-only movies after taking a photo or recording another movie
Last modified: 2011-04-02 17:29:11 UTC
Step 1.Open cheese Step 2.Take a photo Step 3.Start recording a video Step 4.Stop recording after a few seconds Step 5.Open the video in Totem and notice that the timeline is fixed to the end and stuck there (can't seek in the movie) and the image is completely black although the sound is ok.
I found a solution, but, at the moment the sound is a bit distorted or unsynchronized. I'll work a bit on it and I'll post the patch in the morning.
Created attachment 184523 [details] [review] lib: fix recording videos after previous image/video captures
seems ok to me. do you want to request a freeze break and commit the patch?
are you asking me or some other maintainer?
yep. if you don't want to, then i could do it too.
Review of attachment 184523 [details] [review]: Thank you very much for the patch. We are currently on a hard code freeze, but we will commit it after it.
Sorry, I didn't see Daniel's comment before. Go ahead and ask for freeze break if you want to. I think the ideal thing to do would be to fix this at camerabin. Can you provide more information on why this is needed and report it to camerabin also? Thanks again.
Freeze request sent. I'm not sure why this works, I've tried several variations. Some created very bad interaction between sound/video (lots of cracking), some made the recorded video black too. GST_STATE_READY's description said that the buffers are flushed or something like that (can't find the docs now). I assumed that having data on the buffer would mess up the transition from IMAGE_MODE to VIDEO_MODE.
I have received a freeze break permission.
please do as the r-t told you, then commit the patch thanks!
I submitted bug to gstreamer : 646211 I don't have a gnome git account so I can't commit the patch. Could you please do that for me?
committed. thanks a lot!