VideoHelp Forum

Try DVDFab and copy Ultra HD Blu-rays and DVDs! Or rip iTunes movies and music! Download free trial !
+ Reply to Thread
Results 1 to 20 of 20
Thread
  1. I have damaged .AVI file from my dashcam which i want to join in solveigMM video splitter but it won't open in solveigMM . if it did i could cut the piece i want and that would be a new file so may be ok. The damaged file plays in VLC so i did a screen record with camtasia which says it saves as an AVI if you don't need sound i think it is. i don't need sound. But the AVI from Camtasia is not compatible. Neither is one from aimersoft video converter

    can I repair an avi. It is only 2 mins and i only want tens secs. This is the media info from the corrupted file

    Anyone had any experiece with this https://www.risingresearch.com/en/dvr/ i see people use it here, i got a low risk warning from AV

    General
    Complete name : C:\Users\MY DASHCAM FILE\
    Format : AVI
    Format/Info : Audio Video Interleave
    File size : 284 MiB
    Duration : 2 min 3 s
    Overall bit rate : 19.3 Mb/s

    Video
    ID : 0
    Format : JPEG
    Codec ID : MJPG
    Duration : 2 min 3 s
    Bit rate : 18.0 Mb/s
    Width : 1 280 pixels
    Height : 720 pixels
    Display aspect ratio : 16:9
    Frame rate : 30.000 FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Compression mode : Lossy
    Bits/(Pixel*Frame) : 0.652
    Stream size : 266 MiB (93%)

    Audio
    ID : 1
    Format : PCM
    Format settings, Endianness : Little
    Format settings, Sign : Signed
    Codec ID : 1
    Duration : 2 min 3 s
    Bit rate mode : Constant
    Bit rate : 512 kb/s
    Channel(s) : 1 channel
    Sampling rate : 32.0 kHz
    Bit depth : 16 bits
    Stream size : 7.54 MiB (3%)
    Alignment : Aligned on interleaves
    Last edited by David Banner; 18th Oct 2020 at 16:29.
    Quote Quote  
  2. Try to remux it to mkv:
    ffmpeg.exe - i "yourfile.avi" - c copy output.mkv
    Quote Quote  
  3. Member DB83's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    If it plays in vlc it is not damaged.


    Try avidemux to see if it will open in that and create your split there.
    Quote Quote  
  4. Originally Posted by ProWo View Post
    Try to remux it to mkv:
    ffmpeg.exe - i "yourfile.avi" - c copy output.mkv
    but then i will have an mkv and the joiner needs all the files the same
    Last edited by David Banner; 18th Oct 2020 at 17:51.
    Quote Quote  
  5. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    What is it you're trying to do? In the first post you said you're trying to join (to another file?)
    then later you said you're trying to extract 10 seconds
    Quote Quote  
  6. Member DB83's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    And even if you extract that 10 secs to 'join' with another, as you said BOTH files have to be the same. That does not mean that both are simply .avi they have to have the same codec.


    We might also need to see the mediainfo report of the other part of the 'join'
    Quote Quote  
  7. Originally Posted by davexnet View Post
    What is it you're trying to do? In the first post you said you're trying to join (to another file?)
    then later you said you're trying to extract 10 seconds
    i want to take ten second out and then join that to others. But they all have to be the same type of file
    Quote Quote  
  8. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    You may have to re-encode both files to make them match. Should be simple enough
    whether you use an Avisynth script or not
    Quote Quote  
  9. Member DB83's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    Seems that I am being ignored.


    Bye !
    Quote Quote  
  10. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Originally Posted by DB83 View Post
    Seems that I am being ignored.


    Bye !
    Not by me you're not. I simply added some verbiage to complement your post
    Quote Quote  
  11. Member DB83's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by davexnet View Post
    Originally Posted by DB83 View Post
    Seems that I am being ignored.


    Bye !
    Not by me you're not. I simply added some verbiage to complement your post

    You will understand that I was not referring to you.
    Quote Quote  
  12. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Originally Posted by DB83 View Post
    Originally Posted by davexnet View Post
    Originally Posted by DB83 View Post
    Seems that I am being ignored.


    Bye !
    Not by me you're not. I simply added some verbiage to complement your post

    You will understand that I was not referring to you.
    Hakuna matata
    Quote Quote  
  13. Originally Posted by davexnet View Post
    You may have to re-encode both files to make them match. Should be simple enough
    whether you use an Avisynth script or not
    I don't know how to re encode avi files. anyway there are several to join together. The corrupt one is just one.
    Quote Quote  
  14. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Originally Posted by David Banner View Post
    Originally Posted by davexnet View Post
    You may have to re-encode both files to make them match. Should be simple enough
    whether you use an Avisynth script or not
    I don't know how to re encode avi files. anyway there are several to join together. The corrupt one is just one.
    First of all, try opening the problem file in Avidemux and see if it will let you save the seconds you want,
    leaving video and audio at copy (on the left).

    If it does you can append the new file and the second file in the same program
    Quote Quote  
  15. Originally Posted by davexnet View Post
    Originally Posted by David Banner View Post
    Originally Posted by davexnet View Post
    You may have to re-encode both files to make them match. Should be simple enough
    whether you use an Avisynth script or not
    I don't know how to re encode avi files. anyway there are several to join together. The corrupt one is just one.
    First of all, try opening the problem file in Avidemux and see if it will let you save the seconds you want,
    leaving video and audio at copy (on the left).

    If it does you can append the new file and the second file in the same program
    it won't open in avidemux.
    Quote Quote  
  16. That bad file shouldn't be hard to deal with. MJPG is an all intraframe codec. You should be able to open it with VirtualDub, select Video -> Direct Stream Copy, then save it as a new AVI. That will rebuild the keyframe index. Or use fmpeg to remux it.

    Code:
    ffmpeg -fflags +genpts -i input.avi -c copy output.avi
    But you won't be able to simply join it to other AVI files unless they also use MJPG video and PCM audio with the same properties (frame size, frame rate, sampling rate, bit depth, etc.)

    The file is only 19 MB. Why don't you just upload it here and someone will take a look at it.
    Quote Quote  
  17. Member
    Join Date
    Feb 2006
    Location
    United States
    Search Comp PM
    Originally Posted by David Banner View Post
    Originally Posted by davexnet View Post
    Originally Posted by David Banner View Post
    Originally Posted by davexnet View Post
    You may have to re-encode both files to make them match. Should be simple enough
    whether you use an Avisynth script or not
    I don't know how to re encode avi files. anyway there are several to join together. The corrupt one is just one.
    First of all, try opening the problem file in Avidemux and see if it will let you save the seconds you want,
    leaving video and audio at copy (on the left).

    If it does you can append the new file and the second file in the same program
    it won't open in avidemux.
    vlc media player has a built in video repair feature - https://www.stellarinfo.com/article/repair-AVI-video-file.php
    Quote Quote  
  18. Originally Posted by october262 View Post
    Originally Posted by David Banner View Post
    Originally Posted by davexnet View Post
    Originally Posted by David Banner View Post
    Originally Posted by davexnet View Post
    You may have to re-encode both files to make them match. Should be simple enough
    whether you use an Avisynth script or not
    I don't know how to re encode avi files. anyway there are several to join together. The corrupt one is just one.
    First of all, try opening the problem file in Avidemux and see if it will let you save the seconds you want,
    leaving video and audio at copy (on the left).

    If it does you can append the new file and the second file in the same program
    it won't open in avidemux.
    vlc media player has a built in video repair feature - https://www.stellarinfo.com/article/repair-AVI-video-file.php
    i just saw that, thanks. I will try it tomorrow
    I tried that and while vlc did repair it and it played it would not load into the solveigMM video splitter. It does not stay saved apparently
    Last edited by David Banner; 19th Oct 2020 at 07:22.
    Quote Quote  
  19. Originally Posted by jagabo View Post
    That bad file shouldn't be hard to deal with. MJPG is an all intraframe codec. You should be able to open it with VirtualDub, select Video -> Direct Stream Copy, then save it as a new AVI. That will rebuild the keyframe index. Or use fmpeg to remux it.

    Code:
    ffmpeg -fflags +genpts -i input.avi -c copy output.avi
    But you won't be able to simply join it to other AVI files unless they also use MJPG video and PCM audio with the same properties (frame size, frame rate, sampling rate, bit depth, etc.)

    The file is only 19 MB. Why don't you just upload it here and someone will take a look at it.
    will try that. All the files came from my dash cam so should be same properties. Thanks

    Edit:
    I used fmpeg to remux the file. it worked. Thanks jagabo you are always very helpful
    Last edited by David Banner; 19th Oct 2020 at 07:24.
    Quote Quote  
  20. Just relialsed DVR is adware
    Quote Quote  



Similar Threads