VideoHelp Forum




+ Reply to Thread
Results 1 to 12 of 12
  1. Member
    Join Date
    Sep 2008
    Location
    Bulgaria
    Search Comp PM
    Hello all,

    My problem in MP4Cam2AVI is that when I try to convert a mp4 file movie to avi movie the sound dosent match with the video ( the sound is showing 5sec after the video :\ ) can someone tell me how to fix it ?
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Give us MORE information about your mp4. Use Mediainfo to identify all details, copy and paste it here.

    But MP4Cam2AVI might not work with all mp4. You might wanna try something else like reconverting using WinFF, alltoavi, super, avidemux.
    Quote Quote  
  3. Member
    Join Date
    Sep 2008
    Location
    Bulgaria
    Search Comp PM
    Format : MPEG-4
    Format profile : Base Media
    Codec ID : isom
    File size : 242 MiB
    Duration : 23mn 5s
    Overall bit rate : 1 465 Kbps
    Movie name : NARUTO -
    Encoded date : UTC 2008-09-10 12:49:46
    Tagged date : UTC 2008-09-10 12:49:46

    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 5 frames
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 23mn 4s
    Bit rate mode : Variable
    Bit rate : 1 336 Kbps
    Maximum bit rate : 9 700 Kbps
    Width : 1 280 pixels
    Height : 720 pixels
    Display aspect ratio : 16/9
    Frame rate mode : Variable
    Frame rate : 28.199 fps
    Minimum frame rate : 19.980 fps
    Maximum frame rate : 119.880 fps
    Original frame rate : 29.970 fps
    Resolution : 24 bits
    Colorimetry : 4:2:0
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.051
    Stream size : 221 MiB (91%)
    Writing library : x264 core 59 r839+10 8134e7a
    Encoding settings : cabac=1 / ref=5 / deblock=1:-2:-1 / analyse=0x3:0x113 / me=umh / subme=6 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=1 / deadzone=21,11 / chroma_qp_offset=0 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=8 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=240 / keyint_min=1 / scenecut=60(pre) / rc=crf / crf=22.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=8 / qpmax=41 / qpstep=8 / vbv_maxrate=40000 / vbv_bufsize=8192 / ip_ratio=1.40 / pb_ratio=1.30 / aq=0 / cabac=1 / ref=5 / deblock=1:-2:-1 / analyse=0x3:0x113 / me=umh / subme=6 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=1 / deadzone=21,11 / chroma_qp_offset=0 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=8 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=240 / keyint_min=1 / scenecut=60(pre) / rc=crf / crf=22.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=8 / qpmax=41 / qpstep=8 / vbv_maxrate=40000 / vbv_bufsize=8192 / ip_ratio=1.40 / pb_ratio=1.30 / aq=0
    Encoded date : UTC 2008-09-10 11:10:15
    Tagged date : UTC 2008-09-10 12:49:54

    Format : AAC
    Format/Info : Advanced Audio Codec
    Format version : Version 4
    Format profile : LC
    Format settings, SBR : No
    Codec ID : 40
    Duration : 23mn 5s
    Bit rate mode : Variable
    Bit rate : 126 Kbps
    Maximum bit rate : 188 Kbps
    Channel(s) : 2 channels
    Channel positions : L R
    Sampling rate : 48.0 KHz
    Resolution : 16 bits
    Stream size : 20.7 MiB (9%)
    Encoded date : UTC 2008-09-10 12:49:53
    Tagged date : UTC 2008-09-10 12:49:54


    P.S. Is there another program for that information that can convert from mp4 to avi without loosing the quality and size of the file ? ( like mp4cam2avi ) ?
    Quote Quote  
  4. Member
    Join Date
    Sep 2008
    Location
    Bulgaria
    Search Comp PM
    Someone please ? ( sorry for my 2nd post ) I realy need to fix this problem. This is the only program that can get good quality... and the same file size.
    Quote Quote  
  5. Your video is variable frame rate (VFR) - that is why it is out of sync when you try to manipulate it.

    AVI container doesn't support VFR, and it is only partially compatible with h264 video. But .mkv and .mp4 containers do support VFR - that's why you should leave it as is. Furthermore, AAC audio is not compatible in .avi container, therefore you would have to re-encode that.

    Why do you want to put it into an .avi container?

    It might be possible to fix it, but you would have to re-encode the video using a lower compression codec like xvid (=lose quality and bigger filesize), and re-encode the audio (=worse quality and bigger filesize). You might be able to do it with avisynth scripts to make it cfr and feed into any encoder:
    DirectShowSource("PATH\file.mp4", fps=29.97, convertfps=true)
    Quote Quote  
  6. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Why do you need an avi??? If you are going to edit it for example it's better to convert to avi with dv or huffyuv codec.


    And please WAIT some days before you bump your topic next time.


    edit: VFR is not support in avi as poisons says.
    Quote Quote  
  7. Member
    Join Date
    Sep 2008
    Location
    Bulgaria
    Search Comp PM
    Originally Posted by poisondeathray
    You might be able to do it with avisynth scripts to make it cfr and feed into any encoder:
    DirectShowSource("PATH\file.mp4", fps=29.97, convertfps=true)
    I never used scripts and I dont know how to work with them. :\
    Quote Quote  
  8. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    it's simple enough.

    install avisynth.

    open notepad.
    write:
    DirectShowSource("moviename.mp4", fps=29.97, convertfps=true)
    save as:
    'movie.avs' under the same directory that your .mp4 file is.

    from now on, treat 'movie.mp4' as your video file.
    just drag it into vdub, set encoder,
    encode.
    "I'll give you five dollars if you let me throw a rock at you"
    Quote Quote  
  9. Member
    Join Date
    Sep 2008
    Location
    Bulgaria
    Search Comp PM
    Thanks, works great. Btw Is there a way to tell the DirectShowSource what filesize I want ?
    Quote Quote  
  10. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    umm no

    filesize is dependent on encoder settings...
    (unless you mean to trim the source that is)
    so change the bitrate (or constant quant) in vdub to change filesize.
    "I'll give you five dollars if you let me throw a rock at you"
    Quote Quote  
  11. Member
    Join Date
    Sep 2008
    Location
    Bulgaria
    Search Comp PM
    But if I change the bit rate the quality will be bad. :\

    Small bitrate -> small filesize -> bad quality

    Big bitrate -> big filesize -> good quality
    Quote Quote  
  12. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    such is life,

    compromise
    "I'll give you five dollars if you let me throw a rock at you"
    Quote Quote  



Similar Threads

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