VideoHelp Forum




+ Reply to Thread
Results 1 to 20 of 20
  1. Member
    Join Date
    May 2008
    Location
    Canada
    Search Comp PM
    Hi all,
    I am using a script downloaded earlier from this forum to create a 'huffy' AVI file (the end result is quite a big file, as anticipated). Now, I want to encode it to 'xvid' using Virtual Dub. However, VDub is complaining about non-suitable codecs when I try to load the 'huffy' AVI file, asking for some Video for Windows codecs. What can be done?

    On the same note, when I deploy '_multi_demux_mts_Xvid.bat' (a script posted earlier by soopafresh) directly on a MTS file, the resulting xvid AVI cannot be played back on some older DVD players that are DivX/XviD enabled. I suspect the newer/newest codecs are being used and some devices don't have the necessary updates. Hence the question - is the script calling the current xvid encoder installed on the system or does it use the 'ffmpeg.exe' which came along with the script itself and lives in the same directory? Simply put - what can I do to control which xvid encoder version I want to use when running the aforementioned xvid script ?

    Thanks guys! I appreciate any hint.
    Quote Quote  
  2. Install HuffYUV or ffdshow and enable the VFW HuffYUV decoder.
    Quote Quote  
  3. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    I think FFMPEG is doing something non standard on the XVID side of things. You can fix those Xvid files by running them through this:

    https://forum.videohelp.com/topic314909.html


    It will reindex and re-mux the files so they'll play. At least I recall it'll do that.
    Quote Quote  
  4. Member
    Join Date
    May 2008
    Location
    Canada
    Search Comp PM
    jagabo - thanks, now it works.

    soopafresh - I downloaded 'avi_gain_v07.rar'. I'll run the demux, burn the file to CD, run it in the older DivX player and give you a shout back to let you know if it worked.

    Thanks.
    Quote Quote  
  5. Member
    Join Date
    May 2008
    Location
    Canada
    Search Comp PM
    soopafresh - demux doesn't help. I still have garbled video and no sound when I play the files on a regular DivX/Xvid ready DVD player

    Where do we go from here?
    Quote Quote  
  6. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    Darn. Well, as jagabo suggested, install Huffyuv and Xvid and do the conversion with Virtualdub
    Quote Quote  
  7. Try encoding with no, or single b-frames. I believe the ffmpeg option would be -bf 0 or -bf 1.
    Quote Quote  
  8. Member
    Join Date
    May 2008
    Location
    Canada
    Search Comp PM
    Nope. The file now is not even recognized by the DivX/XviD enabled DVD player. Maybe it doesn't like the XviD v1.1.2 codec...

    On another note, I enabled the huffyuv codec in VDub, but forgot where I did so. Help, I'm going crazy
    Quote Quote  
  9. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    You can turn on Huffy in 2 places





    Also, does your DVD player accept files which are 720x400 in dimension? I seem to recall 640x352 was the max on some older players.
    Quote Quote  
  10. Originally Posted by geonuine
    Nope. The file now is not even recognized by the DivX/XviD enabled DVD player. Maybe it doesn't like the XviD v1.1.2 codec... :(
    Post a MediaInfo or GSpot dump.

    Originally Posted by geonuine
    On another note, I enabled the huffyuv codec in VDub, but forgot where I did so. Help, I'm going crazy :)
    For reading HuffYUV encoded files you don't need to enable anything. For writing HuffYUV you use Video -> Compression... select HuffYUV.
    Quote Quote  
  11. Member
    Join Date
    May 2008
    Location
    Canada
    Search Comp PM
    soopafresh - yes, that's the spot and huffyuv is enabled. What I seem to have screwed up is the very compression codec in VDub (duh!). I was not using ffdshow's xvid. Anyways, I'm running it now again and it seems a lot faster than processed previously. 'Will post some results soon.

    I wouldn't know about the dimensions limit, but do have a Phillips DivX player purchased exactly three years ago with a BIOS upgrade done a year later.

    --Thanks.
    Quote Quote  
  12. Member
    Join Date
    May 2008
    Location
    Canada
    Search Comp PM
    jagabo - here's the gspot dump. 'Hope the file uploads.

    --Thanks.

    Quote Quote  
  13. Member
    Join Date
    May 2008
    Location
    Canada
    Search Comp PM
    OK, we're making progress. I encoded the video using ffdshow's DIVX and it looks fine on playback. However, no audio What am I missing ?

    --Thanks
    Quote Quote  
  14. 848x480 is too big. You have to use 720x480 or less for NTSC sources. I recommend 720x368 for widescreen, 640x480 for 4:3 material.

    A 3 year old Philips Divx/DVD Player? The DVP-642? Players from that generation have more restrictions than the newer Philips models. For safety you should set the Max Consecutive BVOPs to 1 instead of 2.

    You probably want to compress the audio too. Lame MP3 at 192 kbps CBR or higher should be ok.
    Quote Quote  
  15. Member
    Join Date
    May 2008
    Location
    Canada
    Search Comp PM
    > 848x480 is too big. You have to use 720x480 or less for NTSC sources.
    > I recommend 720x368 for widescreen, 640x480 for 4:3 material.

    OK, I found that under ffdshow video processor configuration -> resize -> specify size. Is that it ?

    > A 3 year old Philips Divx/DVD Player? The DVP-642? Players from that
    > generation have more restrictions than the newer Philips models. For
    > safety you should set the Max Consecutive BVOPs to 1 instead of 2.

    Yes, that's the one. Where do I set these BVOPs?

    > You probably want to compress the audio too. Lame MP3 at 192 kbps
    > CBR or higher should be ok.

    Sounds good, but need help in finding this setting please.
    Quote Quote  
  16. Originally Posted by geonuine
    > 848x480 is too big. You have to use 720x480 or less for NTSC sources.
    > I recommend 720x368 for widescreen, 640x480 for 4:3 material.

    OK, I found that under ffdshow video processor configuration -> resize -> specify size. Is that it ?
    Use the Resize filter in VirtualDub. Video -> Filters -> Add... -> Resize...

    Originally Posted by geonuine
    > A 3 year old Philips Divx/DVD Player? The DVP-642? Players from that
    > generation have more restrictions than the newer Philips models. For
    > safety you should set the Max Consecutive BVOPs to 1 instead of 2.

    Yes, that's the one. Where do I set these BVOPs?


    I recommend you select Closed GOP and Packed Bitstream there too.

    Originally Posted by geonuine
    > You probably want to compress the audio too. Lame MP3 at 192 kbps
    > CBR or higher should be ok.

    Sounds good, but need help in finding this setting please.
    In VirtualDub: Audio -> Full Processing, then Audio -> Compression... select Lame, select bitrate. You must have Lame ACM installed. Or use some other MP3 encoder if you have one installed.
    Quote Quote  
  17. Member
    Join Date
    May 2008
    Location
    Canada
    Search Comp PM
    jagabo - all clear; however, Audio -> Compression is greyed out I installed 'LAME 3.98.2 ACM codec' previously and restarted VDub. OK, I see now you re-edited your post and it's not greyed out anymore after selecting full processing mode.

    --Thanks.
    Quote Quote  
  18. Member
    Join Date
    May 2008
    Location
    Canada
    Search Comp PM
    jagabo - now it works correctly with both, audio and video. Except I used the DIVX codec. My Phillips DVP-642 doesn't like the XviD 1.1.2 codec for some reason. Many thanks for your guidance.
    Quote Quote  
  19. VH Wanderer Ai Haibara's Avatar
    Join Date
    Jan 2006
    Location
    Somewhere on VideoHelp...
    Search Comp PM
    Hmm... I don't think I've really had any problems with any version of Xvid on my 642. Just to be safe, you might also want to make sure it doesn't exceed the criteria in this post: https://forum.videohelp.com/topic357003.html
    If cameras add ten pounds, why would people want to eat them?
    Quote Quote  
  20. I agree. Xvid itself isn't a problem. Some options with Xvid (Divx has most of the same options) can cause problems. Avoid GMC, QPEL, packed bitstream with 2 or more b-frames, high bitrates, frame sizes over 720x576, custom matrices, etc.
    Quote Quote  



Similar Threads

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