VideoHelp Forum




+ Reply to Thread
Results 1 to 21 of 21
  1. ok, i'm using VirtualDub to encode an avi file (hardsubbing it)
    but whenever i click Save avi as, it said something like Statsfile not found! and then Cannot start video compression: The operation is not supported. (error code -1), this only happen lately and only happen when i compress the Video file and i notice something weird too: i just realized that out of the blue, there are 2 Xvid MPEG-4 Codec When i chose Video->Compression, for the first Xvid MPEG, on the right, it said:

    Video codec information:
    Delta frames_______No
    FOURCC code______'xvid'
    Driver name_______xvidvfw.dll
    Format restrictions:
    No known restrictions.

    When i chose Video->Compression, for the first Xvid MPEG, on the right, it said:

    Video codec information:
    Delta frames_______No
    FOURCC code______'yv12'
    Driver name_______xvidvfw.dll
    Format restrictions:
    No known restrictions.

    i only saw one Xvid MPEG-4 Codec before

    plz help
    Quote Quote  
  2. Member
    Join Date
    Nov 2002
    Location
    United States
    Search Comp PM
    You set the XVID to 2-pass encoding. Set it to 1-pass and it'll work.
    Quote Quote  
  3. If you want to use 2-pass VBR encoding you have to set up as "twopass, first pass", and save as AVI (there will be no picture in the resulting AVI file). Then go back to the Xvid configuration dialog and select "twopass, second pass" and Save as AVI again. This time there will be video. If you try to perform the second pass without first performing the first pass you get the statsfile error.
    Quote Quote  
  4. when i want to compress my audio, i have a problem, usually, if you click to one of the audio codec on the left, there must be lots of choices appear on the right box (ex: when you click AC-3 ACM Codec, on the right there must be something like 32 kBit/s, 32000 Hz, Mono 4kb/s)
    but now whenever i click MPEG Layer-3, nothing appears on the right (before, it does), i tried to search for 'MPEG Layer-3' or 'MPEG Layer-3 codec' on google, download and install it but nothing happens, does anyone knows why?


    btw: can i ask what is the different between 2pass and first pass?
    Quote Quote  
  5. During the first pass the codec is only examining the video and creating a file with statistics about each frame. During the second pass the codec uses the information from the first pass to decide how to best allocate the bitrate.

    Regarding the audio, if you have some oddball sampling frequency you may need to use VirtualDub's Audio -> Conversion function to change it to something the audio codec will like.
    Quote Quote  
  6. ok i get the first part but the audio's part sorry, i don't get it
    Quote Quote  
  7. is there anyway to make that MPEG Layer-3 work again?
    'cause i'm converting an rmvb file to avi, the original audio is in MPEG Layer-3, before, when that MPEG Layer-3 still worked, the final avi file is fine but now, since that MPEG Layer-3 doesn't work anymore, my final file always has problem (the audio goes before or after the motion)
    Quote Quote  
  8. Put VirtaulDub into Audio -> Direct Stream Copy mode. That way it will just copy the audio stream without reencoding it.

    I'm not sure why your mp3 codec isn't working any more. You could try to install Lame MP3 codec instead. That's what I use.
    Quote Quote  
  9. if i use Direct Stream Copy mode, my video file will end up alot bigger, the reason why i didn't use Direct Stream copy mode earlier was because i wanted to compress the file as small as possible

    anyway, thanks alot for helping me
    Quote Quote  
  10. if i use Direct Stream Copy mode, my video file will end up alot bigger,

    No it won't. Not if you Direct Stream Copy both the video and the audio.
    Quote Quote  
  11. i tried and it does, i compared one of the previous files i had convert when my MPEG layer-3 still worked (~150mb) while the one i just converted (using the same original file) is ~460mb
    Quote Quote  
  12. You probably managed to convert the MP3 audio to PCM (i.e., you didn't Direct Stream it). Open it in GSpot and have a look.
    Quote Quote  
  13. how come? i did choose Audio-->Direct Stream copy
    Quote Quote  
  14. Open your source and output files with AVICodec or GSpot. Those programs will tell you the codecs and bitrates of both the audio and video. Then you can tell exactly why your file got larger. I find AVI codec a little easier to read but GSpot gives more detailed information.
    Quote Quote  
  15. So, it had been converted to PCM audio (against your will)? I don't know why (but I'll bet someone else does), as I don't use VDub. Anyway, demux the MP3 audio from the original file, and remux it into the new AVI with the hardcoded subs, replacing the WAV audio.
    Quote Quote  
  16. VirtualDub MPEG2 and VirtualDUbMod will convert MP2 and MP3 audio from MPEG files to uncompressed PCM -- even if when Direct Stream Copy is selected. In that case you have to recompress. I'm not sure what process he's using with RMVB files but something similar may be happening. Your suggestion of demuxing the MP3 audio from the source, and muxing it with the AVI video may work.
    Quote Quote  
  17. Oh, so the same thing happens with the other Dubs too? I never encode with the audio still in the AVI anyway, so I've never seen that problem myself. I guess it's better to either kill it in the AviSynth script file, or just remove it from the AVI completely before doing whatever you're going to do. Save out the original audio and then mux it back in afterwards.
    Quote Quote  
  18. Originally Posted by manono
    Oh, so the same thing happens with the other Dubs too?
    It doesn't happen with AVI files, only MPEG.
    Quote Quote  
  19. OK, got it. Thanks, jagabo.
    Quote Quote  
  20. Member
    Join Date
    Sep 2005
    Location
    sweden
    Search Comp PM
    can i convert the audio to mp3 vbr in vdub-mpeag2?

    and i got a mpeag file and i'm going to convert it to xvid can i make a direct stream copy and not get pcm audio? the audio format is mpeag layer 2 on the movie
    Quote Quote  
  21. Originally Posted by sarmin
    can i convert the audio to mp3 vbr in vdub-mpeag2?
    Of course, just enable Audio -> Full Processing Mode, select an MP3 codec, and set it up for VBR encoding.

    Originally Posted by sarmin
    and i got a mpeag file and i'm going to convert it to xvid can i make a direct stream copy and not get pcm audio? the audio format is mpeag layer 2 on the movie
    I already told you, VirtualDubMod and VirtualDubMPEG 2 always convert the source audio to uncompressed when reading MPEG files.

    If you want to use the original audio, use an MPEG file demuxer to demux the audio (I use the dumux tools of TMPGEnc Plus), then use VirtualDubMod's ability to mux a separate audio stream.
    Quote Quote  



Similar Threads

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