Answers.Body: <p>It appears you do not have the necessary codec to play the video in mplayer. You will need to find a codec that can decode it. I can't tell from the posted information what codec it is.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-09-06T14:21:07.843Z
Answers.Text: It is not a codec issue. I can play videos recorded in identical circumstances after AND before that one.
Answers.UserDisplayName: Mephisto
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-09-05T21:54:25.143Z
Answers.LastActivityDate: 2013-09-05T21:54:25.143Z
Answers.UserDisplayName: AJ Henderson
Body: <p>I recorded a video chat session with recordmydesktop in linux, but it is somehow defective. I give more details in a (big) footnote down here. I badly need to repair and play that video.</p>
  
  <p>Please put me in the right direction, what should I learn about, which internet sites provide that information, and any clue on what you should thing the problem could be. I don't shy away from doing any learning efforts, but the question of Video Production is just too wide. Any help on narrowing the search for the probable cause would be very helpful.</p>
  
  <hr>
  
  <p>This is the capture of the konsole during the recording:</p>
  
  <blockquote>
    <p>inma:~> recordmydesktop</p>
    
    <p>Initial recording window is set to:</p>
    
    <p>X:0   Y:0    Width:1366    Height:768</p>
    
    <p>Adjusted recording window is set to:</p>
    
    <p>X:6   Y:0    Width:1354    Height:768</p>
    
    <p>Your window manager appears to be KWin</p>
    
    <p>Initializing...</p>
    
    <p>Buffer size adjusted to 4096 from 4096 frames.</p>
    
    <p>Opened PCM device default</p>
    
    <p>Recording on device default is set to:</p>
    
    <p>1 channels at 22050Hz</p>
    
    <p>Capturing!</p>
    
    <p>^CShutting down.</p>
    
    <hr>
    
    <p>Cached 72482 MB, from 215345 MB that were received.</p>
    
    <p>Average cache compression ratio: 66.3 %</p>
    
    <hr>
    
    <p>Saved 54287 frames in a total of 54245 requests</p>
    
    <p>....</p>
    
    <p>STATE:ENCODING</p>
    
    <p>Encoding started!</p>
    
    <p>This may take several minutes.</p>
    
    <p>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).</p>
    
    <p>Please wait...</p>
    
    <p>Output file: out.ogv</p>
    
    <p>[89%]   [Cache File 141]</p>
    
    <p>Encoding finished!</p>
    
    <p>Wait a moment please...</p>
    
    <p>Done.</p>
    
    <p>Written 921301705 bytes</p>
    
    <p>(885658169 of which were video data and 35643536 audio data)</p>
    
    <p>Cleanning up cache...</p>
    
    <p>Done!!!</p>
    
    <p>Goodbye!</p>
  </blockquote>
  
  <p>But now I try to play the file:</p>
  
  <blockquote>
    <p>inma:~> mplayer out.ogv </p>
    
    <p>MPlayer svn r34540 (Ubuntu), built with gcc-4.6 (C) 2000-2012 MPlayer
    Team</p>
    
    <p>mplayer: could not connect to socket</p>
    
    <p>mplayer: No such file or directory</p>
    
    <p>Failed to open LIRC support. You will not be able to use your remote
    control.</p>
    
    <p>Playing out.ogv.                                                      </p>
    
    <p>libavformat version 53.21.1 (external)</p>
    
    <p>Mismatching header version 53.19.0</p>
    
    <p>libavformat file format detected.</p>
    
    <p>[ogg @ 0x2b4a70f82940]Codec not found</p>
    
    <p>[ogg @ 0x2b4a70f82940]Codec not found</p>
    
    <p>LAVF_header: av_open_input_stream() failed</p>
    
    <p>Ogg : Warning found none bos page from unknown stream 1091944242</p>
    
    <p>libavformat file format detected.</p>
    
    <p>[ogg @ 0x2b4a70f82940]Codec not found</p>
    
    <p>[ogg @ 0x2b4a70f82940]Codec not found</p>
    
    <p>LAVF_header: av_open_input_stream() failed</p>
    
    <p>Exiting... (End of file)</p>
  </blockquote>
  
  <p>What is happeing with this recording? Will</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-02-17T14:28:52.430Z
Comments.Text: @dark 
   
  I wasn't. But I learnt how to avoid it in further occasions. This is the point: you need to plan ahead before using recordmydesktop and have at least 100 GB free in your hard disk for a ~30 minute video. With less than that, recordmydesktop will exhaust the available space during the recording with temporal files, and the result will be a defective video with no warnings or error messages. The program is pretty fragile: be careful too not to activate desktop effects or anything similar while using it or you get a segmentation fault and the recording will be destroyed.
Comments.UserDisplayName: Mephisto
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2013-09-06T09:55:55.427Z
Comments.Text: none of those messages indicate anything is wrong with the recording.
Comments.UserDisplayName: Dr Mayhem
Tags: <video><encoding>
Title: What do I need to learn in order to repair an ogv or ogg video that is defective? Where to start?
UserDisplayName: Mephisto
ThreadText: # What do I need to learn in order to repair an ogv or ogg video that is defective? Where to start?
  
  (Asked by: username_0 on 2013-09-05)
  
  I recorded a video chat session with recordmydesktop in linux, but it is somehow defective. I give more details in a (big) footnote down here. I badly need to repair and play that video.
  
  Please put me in the right direction, what should I learn about, which internet sites provide that information, and any clue on what you should thing the problem could be. I don't shy away from doing any learning efforts, but the question of Video Production is just too wide. Any help on narrowing the search for the probable cause would be very helpful.
  
  ---
  
  This is the capture of the konsole during the recording:
  
  > inma:~> recordmydesktop
  >
  > Initial recording window is set to:
  >
  > X:0 Y:0 Width:1366 Height:768
  >
  > Adjusted recording window is set to:
  >
  > X:6 Y:0 Width:1354 Height:768
  >
  > Your window manager appears to be KWin
  >
  > Initializing...
  >
  > Buffer size adjusted to 4096 from 4096 frames.
  >
  > Opened PCM device default
  >
  > Recording on device default is set to:
  >
  > 1 channels at 22050Hz
  >
  > Capturing!
  >
  > ^CShutting down.
  >
  > ---
  >
  > Cached 72482 MB, from 215345 MB that were received.
  >
  > Average cache compression ratio: 66.3 %
  >
  > ---
  >
  > Saved 54287 frames in a total of 54245 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...
  >
  > Output file: out.ogv
  >
  > [89%] [Cache File 141]
  >
  > Encoding finished!
  >
  > Wait a moment please...
  >
  > Done.
  >
  > Written 921301705 bytes
  >
  > (885658169 of which were video data and 35643536 audio data)
  >
  > Cleanning up cache...
  >
  > Done!!!
  >
  > Goodbye!
  
  But now I try to play the file:
  
  > inma:~> mplayer out.ogv
  >
  > MPlayer svn r34540 (Ubuntu), built with gcc-4.6 (C) 2000-2012 MPlayer
  > Team
  >
  > mplayer: could not connect to socket
  >
  > mplayer: No such file or directory
  >
  > Failed to open LIRC support. You will not be able to use your remote
  > control.
  >
  > Playing out.ogv.
  >
  > libavformat version 53.21.1 (external)
  >
  > Mismatching header version 53.19.0
  >
  > libavformat file format detected.
  >
  > [ogg @ 0x2b4a70f82940]Codec not found
  >
  > [ogg @ 0x2b4a70f82940]Codec not found
  >
  > LAVF\_header: av\_open\_input\_stream() failed
  >
  > Ogg : Warning found none bos page from unknown stream 1091944242
  >
  > libavformat file format detected.
  >
  > [ogg @ 0x2b4a70f82940]Codec not found
  >
  > [ogg @ 0x2b4a70f82940]Codec not found
  >
  > LAVF\_header: av\_open\_input\_stream() failed
  >
  > Exiting... (End of file)
  
  What is happeing with this recording? Will
  
  **Tags:** video, encoding
  
  > **Comments:**
  > **username_1**: none of those messages indicate anything is wrong with the recording.  
  > **username_0**: @dark    I wasn't. But I learnt how to avoid it in further occasions. This is the point: you need to plan ahead before using recordmydesktop and have at least 100 GB free in your hard disk for a ~30 minute video. With less than that, recordmydesktop will exhaust the available space during the recording with temporal files, and the result will be a defective video with no warnings or error messages. The program is pretty fragile: be careful too not to activate desktop effects or anything similar while using it or you get a segmentation fault and the recording will be destroyed.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2013-09-05. Score: 1
  
  It appears you do not have the necessary codec to play the video in mplayer. You will need to find a codec that can decode it. I can't tell from the posted information what codec it is.
  
  > **Comments:**
  > **username_0**: It is not a codec issue. I can play videos recorded in identical circumstances after AND before that one.  
  
  ---
  
  