#11 Encoding Does not Occur

open
nobody
5
2009-05-06
2007-12-28
dmcorsa
No

I am running openSuSE 10.3 on an AMD Athlon Dual Core X86_64 with an NVidia Quadro FX1400 Video card using the NVidia binary drivers.

I have tried the packages for both version 3.6 and the latest 3.7, using commandline, and both GTK and QT interface and when I attempt to stop the recording, there is no encoding process started, the process hangs and I have to manually kill it. Using the GTK or QT interface I receive notification that encoding is in progress, but nothing ever is written, I end up with an empty file. I have setting to encode on the fly with the same result.

I had this working perfectly under openSuSE 10.2 with this same configuration using version 3.6, but now since I upgraded, it does not. I will a file perhaps once out of 10 attempts.

I have made sure that XDAMAGE is available as well.

Any help would be appreciated.

Thanks for your help with a great tool.

Discussion

  • John Varouhakis

    John Varouhakis - 2007-12-29

    Logged In: YES
    user_id=1585344
    Originator: NO

    This issue has been reported a couple of times before, but I haven't been able to reproduce it,
    or find the cause, yet.

    So, can you please paste here, the exact output
    of the commandline program, when run with the
    following parameters:

    1) recordmydesktop
    2) recordmydesktop --no-sound
    3) recordmydesktop --full-shots
    4) recordmydesktop --no-sound --full-shots

    Also please use the last version of
    recordMyDesktop (0.3.7).

    Thank you,
    John.-

     
  • dmcorsa

    dmcorsa - 2007-12-29

    Logged In: YES
    user_id=1969264
    Originator: YES

    Ok, here is the detail from the tests you requested. Please note, I used v3.7 as noted. In the first two tests, CTL-C did not respond and I had to kill the process to exit. The first time I used the --full-shots option, CTL-C worked however, there was a delay of about 30 seconds between the Shutting Down message and the STATE:ENCODING message. I tried it one more time at the end and that delay did not occur, nor did it occur on the --full-shots --no-sound options. Hope this helps. Thanks.
    __________________________________________________________________
    dmc55@dmcLinux01:~> recordmydesktop --version
    recordMyDesktop v0.3.7

    dmc55@dmcLinux01:~> recordmydesktop
    Initial recording window is set to:
    X:0 Y:0 Width:1600 Height:1200
    Adjusted recording window is set to:
    X:0 Y:0 Width:1600 Height:1200
    Your window manager appears to be KWin

    Initializing...
    Buffer size adjusted to 4096 from 4096 frames.
    Opened PCM device hw:0,0
    Recording on device hw:0,0 is set to:
    1 channels at 22050Hz
    Capturing!
    Killed
    dmc55@dmcLinux01:~> recordmydesktop --no-sound
    Initial recording window is set to:
    X:0 Y:0 Width:1600 Height:1200
    Adjusted recording window is set to:
    X:0 Y:0 Width:1600 Height:1200
    Your window manager appears to be KWin

    Initializing...
    Capturing!
    Killed
    dmc55@dmcLinux01:~> recordmydesktop --full-shots
    Initial recording window is set to:
    X:0 Y:0 Width:1600 Height:1200
    Adjusted recording window is set to:
    X:0 Y:0 Width:1600 Height:1200
    Your window manager appears to be KWin

    Initializing...
    Buffer size adjusted to 4096 from 4096 frames.
    Opened PCM device hw:0,0
    Recording on device hw:0,0 is set to:
    1 channels at 22050Hz
    Capturing!

    *********************************************

    Cached 3 MB, from 1069 MB that were received.
    Average cache compression ratio: 0 %

    *********************************************
    Saved 146 frames in a total of 135 requests
    Shutting down.....
    STATE:ENCODING
    Encoding started!
    This may take several minutes.
    Pressing Ctrl-C will cancel the procedure (resuming will not be possible, but
    any portion of the video, which is already encoded won't be deleted).
    Please wait...
    [23%]
    Encoding finished!
    Wait a moment please...

    Done.
    Written 1165048 bytes
    (1164139 of which were video data and 909 audio data)

    Cleanning up cache...
    Done!!!
    Goodbye!
    dmc55@dmcLinux01:~> recordmydesktop --no-sound --full-shots
    Initial recording window is set to:
    X:0 Y:0 Width:1600 Height:1200
    Adjusted recording window is set to:
    X:0 Y:0 Width:1600 Height:1200
    Your window manager appears to be KWin

    Initializing...
    Capturing!

    *********************************************

    Cached 3 MB, from 600 MB that were received.
    Average cache compression ratio: 0 %

    *********************************************
    Saved 82 frames in a total of 83 requests
    Shutting down......
    STATE:ENCODING
    Encoding started!
    This may take several minutes.
    Pressing Ctrl-C will cancel the procedure (resuming will not be possible, but
    any portion of the video, which is already encoded won't be deleted).
    Please wait...
    [100%]
    Encoding finished!
    Wait a moment please...

    Done.
    Written 753329 bytes
    (753329 of which were video data and 0 audio data)

    Cleanning up cache...
    Done!!!
    Goodbye!
    dmc55@dmcLinux01:~> recordmydesktop --full-shots
    Initial recording window is set to:
    X:0 Y:0 Width:1600 Height:1200
    Adjusted recording window is set to:
    X:0 Y:0 Width:1600 Height:1200
    Your window manager appears to be KWin

    Initializing...
    Buffer size adjusted to 4096 from 4096 frames.
    Opened PCM device hw:0,0
    Recording on device hw:0,0 is set to:
    1 channels at 22050Hz
    Capturing!

    *********************************************

    Cached 2 MB, from 395 MB that were received.
    Average cache compression ratio: 0 %

    *********************************************
    Saved 54 frames in a total of 51 requests
    Shutting down.....
    STATE:ENCODING
    Encoding started!
    This may take several minutes.
    Pressing Ctrl-C will cancel the procedure (resuming will not be possible, but
    any portion of the video, which is already encoded won't be deleted).
    Please wait...
    [107%]
    Encoding finished!
    Wait a moment please...

    Done.
    Written 380624 bytes
    (380262 of which were video data and 362 audio data)

    Cleanning up cache...
    Done!!!
    Goodbye!
    dmc55@dmcLinux01:~>

     
  • dmcorsa

    dmcorsa - 2007-12-29

    Logged In: YES
    user_id=1969264
    Originator: YES

    I tried one more thing after those tests and after I posted. I repeated just recordmydesktop with no options, and it responsded normally as expected. Tried again, and again worked normally as expected. Tried third time and then got an error cannot create tmp file. The forth and fifth tries then would hang again and I had to kill the processes. Not sure if that helps any more, but here is the output from the console for your review.
    _______________________________________________________________
    dmc55@dmcLinux01:~> recordmydesktop
    Initial recording window is set to:
    X:0 Y:0 Width:1600 Height:1200
    Adjusted recording window is set to:
    X:0 Y:0 Width:1600 Height:1200
    Your window manager appears to be KWin

    Initializing...
    Buffer size adjusted to 4096 from 4096 frames.
    Opened PCM device hw:0,0
    Recording on device hw:0,0 is set to:
    1 channels at 22050Hz
    Capturing!

    *********************************************

    Cached 2 MB, from 314 MB that were received.
    Average cache compression ratio: 0 %

    *********************************************
    Saved 43 frames in a total of 40 requests
    Shutting down.....
    STATE:ENCODING
    Encoding started!
    This may take several minutes.
    Pressing Ctrl-C will cancel the procedure (resuming will not be possible, but
    any portion of the video, which is already encoded won't be deleted).
    Please wait...
    [2%]
    Encoding finished!
    Wait a moment please...

    Done.
    Written 249815 bytes
    (249786 of which were video data and 29 audio data)

    Cleanning up cache...
    Done!!!
    Goodbye!
    dmc55@dmcLinux01:~> recordmydesktop
    Initial recording window is set to:
    X:0 Y:0 Width:1600 Height:1200
    Adjusted recording window is set to:
    X:0 Y:0 Width:1600 Height:1200
    Your window manager appears to be KWin

    Initializing...
    Buffer size adjusted to 4096 from 4096 frames.
    Opened PCM device hw:0,0
    Recording on device hw:0,0 is set to:
    1 channels at 22050Hz
    Capturing!
    Shutting down.
    *********************************************

    Cached 2 MB, from 278 MB that were received.
    Average cache compression ratio: 0 %

    *********************************************
    Saved 38 frames in a total of 35 requests
    ....
    STATE:ENCODING
    Encoding started!
    This may take several minutes.
    Pressing Ctrl-C will cancel the procedure (resuming will not be possible, but
    any portion of the video, which is already encoded won't be deleted).
    Please wait...
    [111%]
    Encoding finished!
    Wait a moment please...

    Done.
    Written 304683 bytes
    (304425 of which were video data and 258 audio data)

    Cleanning up cache...
    Done!!!
    Goodbye!
    dmc55@dmcLinux01:~> recordmydesktop
    Initial recording window is set to:
    X:0 Y:0 Width:1600 Height:1200
    Adjusted recording window is set to:
    X:0 Y:0 Width:1600 Height:1200
    Your window manager appears to be KWin

    Initializing...
    Buffer size adjusted to 4096 from 4096 frames.
    Opened PCM device hw:0,0
    Recording on device hw:0,0 is set to:
    1 channels at 22050Hz
    Could not create temporary directory /tmp/rMD-session-5995/ !!!
    dmc55@dmcLinux01:~> recordmydesktop
    Initial recording window is set to:
    X:0 Y:0 Width:1600 Height:1200
    Adjusted recording window is set to:
    X:0 Y:0 Width:1600 Height:1200
    Your window manager appears to be KWin

    Initializing...
    Buffer size adjusted to 4096 from 4096 frames.
    Opened PCM device hw:0,0
    Recording on device hw:0,0 is set to:
    1 channels at 22050Hz
    Capturing!
    Killed
    dmc55@dmcLinux01:~> recordmydesktop
    Initial recording window is set to:
    X:0 Y:0 Width:1600 Height:1200
    Adjusted recording window is set to:
    X:0 Y:0 Width:1600 Height:1200
    Your window manager appears to be KWin

    Initializing...
    Buffer size adjusted to 4096 from 4096 frames.
    Opened PCM device hw:0,0
    Recording on device hw:0,0 is set to:
    1 channels at 22050Hz
    Capturing!
    Killed
    dmc55@dmcLinux01:~>

     
  • John Varouhakis

    John Varouhakis - 2007-12-29

    Logged In: YES
    user_id=1585344
    Originator: NO

    Ok, thanks for the thorough info. I'll get down to debugging
    and will post back as soon as I have something more.

    Regarding the "Could not create temporary directory ..." error,
    notice that recordMyDesktop creates temporary files in /tmp, which
    doesn't get properly erased when the application is killed. It is
    likely that the error occurred because there were leftover
    files from a previous, crashed session.

    In order to cleanup all leftovers (you should do this, because
    they might occupy many GBytes from you hard disk) run this command:
    ~$ rm -rf /tmp/rMD-session-*

    Also note that recordMyDesktop 0.3.7 can 'rescue' crashed
    and killed sessions, by running

    ~$ recordmydesktop -rescue [session-name]

    Were [session-name] will be a full or relative path,
    something like /tmp/rMD-session-29510/

    (rescuing works only with data captured from 0.3.7, not 0.3.6)

    So you can use this for now, to obtain videos, when the
    program is getting stuck (though since I'm not yet
    sure of the nature of the problem, I don't know if the
    videos will be usefull).

    Thanks,
    John.-

     
  • dmcorsa

    dmcorsa - 2007-12-29

    Logged In: YES
    user_id=1969264
    Originator: YES

    Ok, thank you. I had suspected the error was due to an already existing with the same process ID and there was from a prior date. I cleaned up the tmp. I will try the rescue option and see how that works out. Thanks for that information. Happy New Year! :)

     
  • John Varouhakis

    John Varouhakis - 2009-05-06
    • assigned_to: iovar --> nobody
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks