VideoHelp Forum




+ Reply to Thread
Results 1 to 15 of 15
  1. Member
    Join Date
    Jul 2006
    Location
    United Kingdom
    Search Comp PM
    Hey i've been wanting to convert an mp4 file (with x264 video) and (ac3 audio)
    to xvid avi
    the quality of the mp4 is amazing but my divx player doesn't support it ..unfortunately.
    so i made a post about this a while back and was told to get mp4ui SUPER alltoavi and some more.
    here is a link to the previous post i made -
    https://forum.videohelp.com/viewtopic.php?t=306015&highlight=

    this is the info from the previous post and for my mp4's (sample and main file was the same so no difference in which one i got the info from..)

    here are the logs for the sample.mp4's when loaded into mp4box YAMB, mp4cam2avi program...
    START-
    * Movie Info *
    Timescale 600 - Duration 00:00:11.160
    Fragmented File no - 2 track(s)
    File Brand mp42 - version 1
    Created: GMT Wed Feb 01 18:36:27 2006

    File has no MPEG4 IOD/OD

    Track # 1 Info - TrackID 1 - TimeScale 100 - Duration 00:00:14.200
    Media Info: Language "English" - Type "vide" - Sub Type "avc1" - 355 samples
    MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21
    AVC/H264 Video - Visual Size 768 x 568 - Profile Main @ Level 5.1
    Self-synchronized

    Track # 2 Info - TrackID 2 - TimeScale 44100 - Duration 00:00:11.192
    Media Info: Language "English" - Type "soun" - Sub Type "mp4a" - 482 samples
    MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40
    MPEG-4 Audio AAC LC - 2 Channel(s) - SampleRate 44100
    Synchronized on stream 1
    END-

    i couldn't get these programs to work and they took long to convert even my sample mp4's (for whichever program managed to do that)
    i then made a post elsewhere at another site and was told to generate an avs script like this..

    DirectShowSource("<full-path-to-mp4-file>")
    LanczosResize(resultion)

    is resultion right - supposed to be resolution? - not sure..

    I have done this and have tried to open with virtual dubmod
    when i open it - i get an error (script error line 1, column xx etc.)
    any ideas how i can get this to work?
    i really need to convert these to xvid avi - i'd love to use AutoGK since i've really got the hang of that now and the quality of some rips i made with a guide from here have come out very nicely.

    Thanks guys.

    Parypv
    Quote Quote  
  2. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    Have you tried reading the avisynth help at the avisynth site - it explains all this and lots more. It is your best reference if you want to use avisynth.
    Read my blog here.
    Quote Quote  
  3. Member
    Join Date
    Jul 2006
    Location
    United Kingdom
    Search Comp PM
    I've just had a look on the site but i can't see anything about AutoGK or x264 (MP4)
    I've seen DVD to x264
    But i'm looking for x264 (*.mp4) to XviD(*.avi)

    Many thanks
    I've got a lot of these files and i managed to do a task like this (though dvd to xvid) great quality with subs in a short amount of time. leave the job in queue and away it goes...all night

    That's what i'd like to do with AutoGK and this sutuation - i've been told that it's possible to open the avs script with autoGK but can't figure out how..

    Thanks guys and sorry for being fussy but these mp4's are driving me crazy - if only they were encoded in XviD video or DivX at that..

    Parypv
    Quote Quote  
  4. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    Start by looking at your script. Apart from incorrectly spelling Resolution, you are supposed to put the actual resolution there, not the word. Get your script right, then worry about loading it into AutoGK.
    Read my blog here.
    Quote Quote  
  5. Hi-

    Although there are add-ons to AutoGK that allow you to pause before encoding to edit the AVS, since AutoGK doesn't accept MP4 input, neither those add-ons nor AutoGK will be of much use to you.
    Quote Quote  
  6. Member
    Join Date
    Jul 2006
    Location
    United Kingdom
    Search Comp PM
    Hey thanks for the replies guys
    Sorry about the imistake - i also thought that would be "resolution" but it was given to me by someone else who must have mispelt it - though i thought it was a typo i thought that since i'm new at this thing it might mean something totally different.

    I've come up with a new avs script with help from you guys and others at another site.
    Here is what I have..

    directshowsource""
    LanczosResize(640,480)


    full path to mp4 file goes right between the ""
    no (, no <,
    do i need a space after directoshowsource? and then the "
    also i was given the script by someone else and told what to do/use..
    it says resize - i just want to convert it to XviD - preferably a direct rip but just a change in video codec - does that mean i need to resize?

    I've read that avi synth basically makes the notepad seem like an avi file
    is it possible for me to make the avs script (just locating my mp4) and then opening with virtual dubmod or another prog, and then usnig "save as AVI" or encode using XviD MPEG-4 Codec?
    or is that much harder than it sounds..?


    as i've said the quality as it is a x264 video is really good, that's why 'i'm looking to keeping the quality - or more likely losing a little but keeping a lot of the goodness =)
    it's a shame that i have to convert it and not use the originals ...

    Thanks guys

    Parypv
    Quote Quote  
  7. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    DirectShowSource("drive:/pathtofile/filename.extension")
    Lanczos4Resize(640,480)

    Where

    Drive is the hard drive you have the video on
    pathtofile is the full path to the folder your file is on
    filename is the name of the file
    extension is the file type eg. .avi, .mp4 etc.

    Two minutes of searching and reading at the avisynth would have given you this. If that is too hard, then avisynth is way beyond you, sorry to say.
    Read my blog here.
    Quote Quote  
  8. Member
    Join Date
    Jul 2006
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by guns1inger
    DirectShowSource("drive:/pathtofile/filename.extension")
    Lanczos4Resize(640,480)

    .
    sorry about that
    forgot to put in the brackets ()
    everything else was good
    trying it out now
    Thanks GunSlinger

    EDIT - THANKS FOR THE HELP! - the vid is playing in virtualdubmod
    now i need to convert to xvid with little quality loss if possible. i know how to do basic convert - but not wihth all the settings to get me a good output.
    Sorry for being a pain guys but if i get this "guide" i'm set for a couple of weeks converting..

    Thanks

    Parypv

    second edit - i just did my noob conversion on my sample file - out put is pretty good but i'll try the whole file to see if it stays in sync etc
    Thanks for the help GunSlinger - but is there a better way of compressing to XviD? - how many passes is recommended for the best output - i've read that more than 2 is pointless..
    Quote Quote  
  9. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    What do you want to do ? If you want the output to fit in a certain size, do a 2 pass encode. If size isn't an issue, set the quality to high and take what you get.

    You do have another alternative, which is to output to lossless compression (huffyuv or lagarith, for example), then you can use autoGK to do the final compression.
    Read my blog here.
    Quote Quote  
  10. Member
    Join Date
    Jul 2006
    Location
    United Kingdom
    Search Comp PM
    Hey
    The length is 1hr30mins max sometimes 1hr 10mins - i wouldn't mind having 7,8 maybe 850mb per episode - preferably 750megs
    Vdub is telling me that my output will now be 1300~mb
    i might cancel the job now since this will prob be the output - well something near to this and that's a bit too big for me.
    i've cancelled and checked the quality out..it's really good =)
    nice suggestion with the two pass - i've just checked two pass and it automatically suggests the best size?!
    i also get the optinos i was looking for earlier - FPS , audio

    Many thanks again for the help GunSlinger - i'm making good progress

    Parypv

    edit- run into al ittle trouble - i've selected 1,024,000 = 1gb exactly right? for my output
    and i've selected vbr-mp3-128kbps audio
    25fps
    i click ok etc..
    when i start the project my projected output becomes 4000mb+ and rises constantly lowers a bit etc..
    is this normal -last time i done this it hovered around my projected file size and stabilised near the end.
    shouldn't it be hovering around 1000MB? - unless i did a little but huge mistake..
    i also have two target sizes one (on the main window under where i select how many passes which is now 937000~) and then another when i press "calc" which is what i typed in for 1,024,000 and the bitrate inc.,dec, in response to the input size.
    Where do i type my final projected output ? or is it that that was for my video and now my audio will be on top of that ? :S
    Thanks
    Quote Quote  
  11. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    It may be the VBR mp3 throwing it's calculations out. I don't know that I can offer much more help though. Hopefully someone better versed in Xvid encoding will drop by.
    Read my blog here.
    Quote Quote  
  12. Member
    Join Date
    Jul 2006
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by guns1inger
    It may be the VBR mp3 throwing it's calculations out. I don't know that I can offer much more help though. Hopefully someone better versed in Xvid encoding will drop by.
    I'll wait a while then
    Many thanks GunS1inger for helping me out with the AVS - maybe a new thread for the next step - encoding to XviD!..or keep this open for a little while
    now i need to find a way of adding a job list to virtual dub.
    i've been using virtual dub - should i try virtualdubMOD - or nandub?
    what's the difference? - i know nandub splits avi's - prob more too =)

    Thanks

    Parypv
    Quote Quote  
  13. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    Have a look at this guide, specifically from step 5 onwards

    https://forum.videohelp.com/viewtopic.php?t=221896

    It might help
    Read my blog here.
    Quote Quote  
  14. Member
    Join Date
    Jul 2006
    Location
    United Kingdom
    Search Comp PM
    That's a nice guide but unfortunately that deals with separate audio and conversion for movies - i have loads of these files and i don't think that's the right method to go.
    I'll wait until an XviD encoder drops by as you said =)

    Thanks GunS1inger

    Parypv
    Quote Quote  
  15. Member
    Join Date
    Jul 2006
    Location
    United Kingdom
    Search Comp PM
    I'm not going to leave it on because at 25% my output is 900meg
    which means by the time it is finished it will be the 4gig that it estimated to be..
    it starts off estimating my projected size but then jumps and goes crazyto 4-5 gig
    what can be causing this?
    it's two pass encode with XviD - VBR MP3 - 25fps..!

    Thanks

    Parypv
    Quote Quote  



Similar Threads

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