VideoHelp Forum
+ Reply to Thread
Results 1 to 21 of 21
Thread
  1. Hi, I am not sure in which thread to post, therefore in the newbie section

    I recorded a video with a screen capture software called Camstudio. Unfortunately the recording is corrupt and looks like this. Image
    [Attachment 74667 - Click to enlarge]


    I think the picture is self-explanatory. The video is split horizontally and vertically. The bottom should be at the top and vice versa. And the left should be right and vice versa.

    It's an avi file.

    Anyone an idea how to solve it? Is it perhaps a codec issue?

    Thanks in advance.
    regards,
    kauf
    Quote Quote  
  2. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Can you provide a sample?
    Quote Quote  
  3. Thank you for your reply.

    the attached video is just a sample that you can see/imagine how this video plays.

    This is not the original avi-file.

    I only can provide a short excerpt because of poor internet. And also have to convert it from avi to mp4 as even the excerpt has an avi-size of 3,7 gb. The original corrupt messed up file has a size of about 4 gb.


    Thank you.
    Image Attached Files
    Quote Quote  
  4. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Well a re-encoded copy is useless for determining whether there is something related to the decoding causing this problem.
    Perhaps you should at least post a mediainfo report (in text view) of the file.
    Whether or not it's possible to come up with a script that tracks those moving quadrants is another thing.
    If they'd been still it would have been simple to crop and realign them
    Quote Quote  
  5. Also try another media player, such as VLC, MPV .
    Quote Quote  
  6. Here's the mediainfo

    General

    Format : AVI
    Format/Info : Audio Video Interleave
    Format settings : BitmapInfoHeader
    File size : 4.00 GiB
    Duration : 1 h 8 min
    Overall bit rate : 8 345 kb/s
    Frame rate : 20.000 FPS
    IsTruncated : Yes

    Video
    ID : 0
    Format : RGB
    Codec ID : 0x00000000
    Codec ID/Info : Basic Windows bitmap format. 1, 4 and 8 bpp versions are palettised. 16, 24 and 32bpp contain raw RGB samples
    Duration : 1 h 8 min
    Bit rate : 234 Mb/s
    Width : 1 600 pixels
    Height : 900 pixels
    Display aspect ratio : 16:9
    Frame rate : 20.000 FPS
    Color space : RGB
    Bit depth : 8 bits
    Bits/(Pixel*Frame) : 8.132
    Stream size : 112 GiB
    Quote Quote  
  7. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    A sample of the original file might be useful.
    Open it in Avidemux, use the A and B buttons to mark off a short clip (a few seconds is enough)
    save as MKV (the default)
    Quote Quote  
  8. I think I expressed myself incorrectly in post #3 in which I attached the mp4 excerpt. The sample clip there is extracted from the original avi-Video and just saved as mp4 file. Do you still need this clip as mkv or is the mp4 enough?
    Quote Quote  
  9. Originally Posted by poisondeathray View Post
    Also try another media player, such as VLC, MPV .
    Indeed I can play it the old windows media player but as you can see in my first post it's like split and messed up. Other media players, even VLC and even after reindexing the avi header won't play this avi video.
    Quote Quote  
  10. Originally Posted by habmalnefrage View Post
    IsTruncated : Yes

    Video
    ID : 0
    Format : RGB
    Codec ID : 0x00000000
    Codec ID/Info : Basic Windows bitmap format. 1, 4 and 8 bpp versions are palettised. 16, 24 and 32bpp contain raw RGB samples
    Duration : 1 h 8 min
    Bit rate : 234 Mb/s
    Width : 1 600 pixels
    Height : 900 pixels
    It's truncated , but otherwise uncompressed RGB

    Try vdub/ vdub2
    Quote Quote  
  11. vdub can play it but still messed up
    Quote Quote  
  12. Originally Posted by davexnet View Post
    A sample of the original file might be useful.
    Open it in Avidemux, use the A and B buttons to mark off a short clip (a few seconds is enough)
    save as MKV (the default)
    Hi davexnet, it seems you did not see my #8 post https://forum.videohelp.com/threads/412196-repair-corrupt-messed-up-avi-file#post2711157 regarding a sample?
    Quote Quote  
  13. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    That file in post#3 was cut direct from the source without re-encoding?
    IT does not agree with the file details you posted in post#6
    Quote Quote  
  14. I am not sure if it was re-encoded. I will try to send a new short sample without re-encoding.
    Thanks meanwhile
    Quote Quote  
  15. Unfortunately I am having an issue in saving the cropped file to mkv in Avidemux with default settings because of errors. If it helps the admlog.txt is attached.
    Maybe it's because of the unknown video codec mentioned in the admlog. hm
    Image Attached Files
    Quote Quote  
  16. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    I see this, but I don't know what's wrong. DId you try saving to avi instead?
    Code:
    [HandleAction] 21:00:46-850 ************ SAVE_VIDEO **************
    [dxvaRender::draw] 21:00:47-801 D3D : Draw!
    [dxvaRender::refresh] 21:00:47-801 Refresh**
    [admSaver::admSaver] 21:00:49-360 [Save] Encoder index=0
    [admSaver::save] 21:00:49-360 Audio starting time 00:00:00,000
    [admSaver::save] 21:00:49-360 [A_Save] Saving..
    [ADM_Composer::checkCutsAreOnIntra] 21:00:49-360 Checking cuts start on keyframe..
    [muxerMkv::muxerMkv] 21:00:49-360 Creating Matroska muxer.
    [admSaver::setupVideo] 21:00:49-360 Simple copy mode engaged
    [ADM_videoStreamCopy::ADM_videoStreamCopy] 21:00:49-361 Creating copy video stream, start time: 00:00:00,000
    [ADM_videoStreamCopy::ADM_videoStreamCopy] 21:00:49-361 End time: 00:00:34,750
    [ADM_Composer::getTimeBase] 21:00:49-361 Ref video 0 is frame-encoded, copy mode: 1
    [ADM_Composer::getTimeBase] 21:00:49-361 Timebase set to 1 / 10
    [ADM_Composer::getFrameNumFromPtsOrBefore] 21:00:49-361 Best candidate for time 00:35:43,500 in reference is frame 14344
    [ADM_videoStreamCopy::ADM_videoStreamCopy] 21:00:49-361 PTS/DTS delta=0 us
    [ADM_videoStreamCopy::ADM_videoStreamCopy] 21:00:49-362  Fixating start time by 0
    [ADM_videoStreamCopy::ADM_videoStreamCopy] 21:00:49-362  Starting DTS=0, PTS=0 ms
    [admSaver::setupAudio] 21:00:49-362 Setting up 0 audio track(s)
    [FF] Muxer opened
    [muxerFFmpeg::initVideo] Initial audio delay: 0 ms
    [FF] Using 0 bytes for video extradata
    [FF] Unknown video codec
    [muxerMkv::open] 21:00:49-362 [Matroska] Failed to init video.
    [dxvaRender::draw] 21:00:49-595 D3D : Draw!
    [dxvaRender::refresh] 21:00:49-595 Refresh**
    [muxerMkv::~muxerMkv] 21:02:47-561 Destroying Matroska muxer.
    Also you can use ffmpeg to save a clip:
    Code:
    ffmpeg.exe -i "c:\path\source.avi" -ss 00:00:05 -t 30 -c:v copy -an clip.avi
    This will save 30 seconds starting at 5 seconds offset
    Quote Quote  
  17. I meant these lines in the admlog:
    [FF] Using 0 bytes for video extradata
    [FF] Unknown video codec
    [muxerMkv:pen] 21:00:49-362 [Matroska] Failed to init video.

    Anyway later the day I will try to save it via Avidemux as Avi and try also to use ffmpeg.
    Quote Quote  
  18. @davexnet
    I managed to save a short sample as avi. In Avidemux I just changed the output format to avi muxer and avi. Attached is the file as well the mediainfo.
    Hope this was the right procedure and hope this helps.
    Image Attached Files
    Last edited by habmalnefrage; 18th Nov 2023 at 06:43.
    Quote Quote  
  19. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    I still don't know how you got uncompressed RGB. I tried Camstudio myself, it's not even one of the options.
    That video cannot be fixed
    Quote Quote  
  20. A pity. Thanks anyway
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!