VideoHelp Forum




+ Reply to Thread
Results 1 to 23 of 23
  1. Is there any way to process an mpeg file in Cinema Craft Encoder? I want to avoid having to re-encode it to avi.
    Quote Quote  
  2. Member
    Join Date
    Jan 2006
    Location
    United States
    Search Comp PM
    I have CCE Basic and have re-encoded mpegs with it by using AviSynth. If you are good with Avisynth scripts you can even apply filters as part the re-encode. Naturally that will slow the encoding down but it may be a way to kill two birds with one stone.

    Another, more round about way would be to use DVDRB Pro and CCE. DVDRB uses Avisynth scripts and CCE to re-encode mpegs from decrypted DVD mpegs.
    bits
    Quote Quote  
  3. Banned
    Join Date
    Oct 2004
    Location
    Freedonia
    Search Comp PM
    Do a web search on VFAPI. On Google, one of the early matches is at http://www.doom9.org. I hestitate to provide a full link as Doom9 despises when people go to links within his site, but you can do the search and find it. Basically, VFAPI creates a fake AVI file around other video input (such as MPEG-2) and allows the AVI to be processed by programs like CCE. Basically you use DVD2AVI to create a Project File and then use that file as input to VFAPI to create your fake AVI. The AVI file is very small. I'm not sure if it's technically the same thing, but the fake AVI acts like a frameserver allowing you to frameserve your non-AVI video to CCE.
    Quote Quote  
  4. Член BJ_M's Avatar
    Join Date
    Jul 2002
    Location
    Canada
    Search Comp PM
    dont use VFAPI if you dont have to ... it is slow - it does a color shift , it is not alaways to good on time code ... it does not always handle interlacing correctly ...


    use avisyth or virtualdub-mpeg or mod instead to frame serve to encoder
    "Each problem that I solved became a rule which served afterwards to solve other problems." - Rene Descartes (1596-1650)
    Quote Quote  
  5. I tried virtualdubmod (which I understand is the same as virtualdubmpeg), but it only exports mpeg to avi. I want to prepare large mpeg2 files (500mb-1gig) for DVD burning but don't want the authoring software to re-encode (reduction will be necessary, as I want to burn a large number of files per DVD), instead I wanted to use CCE to convert them to DVD compliant files, because I heard it does the best job. So...can you explain again, how I can do that, please? I'm sorry, I AM a newbie, that's why I'm posting here.
    Quote Quote  
  6. Member
    Join Date
    Mar 2006
    Location
    United States
    Search Comp PM
    Originally Posted by mltwitz
    I tried virtualdubmod (which I understand is the same as virtualdubmpeg), but it only exports mpeg to avi. I want to prepare large mpeg2 files (500mb-1gig) for DVD burning but don't want the authoring software to re-encode (reduction will be necessary, as I want to burn a large number of files per DVD), instead I wanted to use CCE to convert them to DVD compliant files, because I heard it does the best job. So...can you explain again, how I can do that, please? I'm sorry, I AM a newbie, that's why I'm posting here.
    CCE will re-encode, no way around it. CCE is fast but it will re-encode.

    To be clear on what you want to do; you have mpeg files that you want to reduce the file size so that you can put more of them on a DVD, is that correct? If so, there is no way around re-encoding the files. To make them smaller and keep them DVD compliant the video bitrate has to be reduced and that can not be done without re-encoding.
    Quote Quote  
  7. I realize that, and for that purpose I want to use CCE. I do NOT want the authoring software to do that job. But my problem is, it seems CCE will not import mpeg2, so that's why I posted here to perhaps find a workaround or trick.
    Quote Quote  
  8. The trick is to use virtualdubmpeg and start its frameserver. Then drop the signpost file into the CCE window. Very simple procedure you can look up on my DVB page, for example.

    Codecpage
    Quote Quote  
  9. Member
    Join Date
    Mar 2006
    Location
    United States
    Search Comp PM
    Originally Posted by mltwitz
    I realize that, and for that purpose I want to use CCE. I do NOT want the authoring software to do that job. But my problem is, it seems CCE will not import mpeg2, so that's why I posted here to perhaps find a workaround or trick.
    I have already given you how to use CCE for mpeg, use a very simple AviSynth script and place it in CCE Basic window, it will re-encode your mpeg file to what ever you specified in CCE. AviSynth is freeware and there are lots of sample scripts, in fact that is how I got it to work for me. The script you drop into the CCE window will have the filename and path in it, so you do not have to load the mpeg file into CCE.
    Quote Quote  
  10. Ok, thanks. I never used Avisynth or scripts To save a lot of time with trial-and-error and avoid potential frustration with it, and since you said you have a script for that exact purpose, could you please share your script with me? You could email it or post it.
    Quote Quote  
  11. Member
    Join Date
    Jan 2006
    Location
    United States
    Search Comp PM
    Originally Posted by mltwitz
    Ok, thanks. I never used Avisynth or scripts To save a lot of time with trial-and-error and avoid potential frustration with it, and since you said you have a script for that exact purpose, could you please share your script with me? You could email it or post it.
    Be sure to install AviSynth ver 2.5 or higher

    Open Notepad

    Type in the following: DirectShowSource ("Drive Letter:\Folder\Filename") where the Drive Letter is the drive that the file you want to run in CCE is located and Folder is the folder where it is located and Filename is the specific name of the file you want to run in CCE. Be sure to use the ( and the ) and the "

    Save the file with some name.avs

    Open CCE and drag the avs file to the CCE window

    You can double click in the avs file and set bitrate and so on....

    When ready press the encode button and you should be off and running
    bits
    Quote Quote  
  12. Member
    Join Date
    Oct 2002
    Location
    United States
    Search Comp PM
    use vfapi converter. technically not as good i guess as frameserving with avisynth, but
    so super simple and it will turn out great with CCE to encode. try it both ways and see what
    you like.
    Quote Quote  
  13. I did what bits said, when I drag the script into cce it comes back with an error saying "could not find video stream". Again, this is a standard mpg file. Then I downloaded the MPEGDecoder_YV12.zip v2.03a for AviSynth 2.5 version, which is what I have and tried a new script using mpegsource:

    LoadPlugin("C:\MPEGdecoder.dll")
    mpegsource("D:\My Movies\filename.mpg")

    and what happens is I get a file with approx. the first 8 seconds of the video, then it stops and the audio file generated is just silence.

    What a drag!@@#$!@
    Quote Quote  
  14. Member
    Join Date
    Aug 2004
    Location
    United States
    Search Comp PM
    why didn't you just use virtualdubmod like you were gonna? Load up file into vdubmod. Resize if needed to dvd specs, and do whatever filtering you need in vdubmod. Then go to file -> start frameserver -> start ...... save the xxx.vdr file. Then import that .vdr file into CCE.

    Mostly I personally use avisynth as a frameserver, but to avoid scripting, vdubmod can do just the same.
    Quote Quote  
  15. Member
    Join Date
    Jan 2006
    Location
    United States
    Search Comp PM
    Originally Posted by mltwitz
    I did what bits said, when I drag the script into cce it comes back with an error saying "could not find video stream". Again, this is a standard mpg file. Then I downloaded the MPEGDecoder_YV12.zip v2.03a for AviSynth 2.5 version, which is what I have and tried a new script using mpegsource:

    LoadPlugin("C:\MPEGdecoder.dll")
    mpegsource("D:\My Movies\filename.mpg")

    and what happens is I get a file with approx. the first 8 seconds of the video, then it stops and the audio file generated is just silence.

    What a drag!@@#$!@
    What settings are you using in CCE? You should be using MPEG-2 and System Stream - System stream will give you the video and audio, Elementary Stream will demux the video and audio and give you seperate streams. I also use 1pass CBR at 7-8Mb
    bits
    Quote Quote  
  16. @bits: Thanks for your help, I'm getting closer: I encoded a full mpeg to mpeg with the avisynth script using mpegsource, and I did select system stream, however the aspect ratio is all distorted, video is stretched in y and there is no audio in the resulting file (source has mpeg1 layer 2 audio). Do I need an additional plugin for mpeg audio?

    @Pinstripes23: I tried the method you suggested using vdubmod, but when I start frameserving the mpg file, nothing happens, the frame server status window indicates it's stuck at 0 frames, the vdr file is 1kb and if I try to drag that into cce I get an error message.

    thanks for all your help though, I'm closer but not there yet.
    Quote Quote  
  17. Here's what I was referring to, on my page:
    To enable frameserving: Install Auxsetup.exe that comes with VirtualDub (Aviproxy is not necessary and may cause problems). With video output set to uncompressed, start the frameserver, let it have any (short) name, and save filenameyougiveit.vdr. Then, the .vdr-file can be drawn right into the CCE Window.

    Cheers
    Quote Quote  
  18. It won't work! I open an mpg file in virtualdubmod (version 1.5.10.2), I start the frame server , I save the vdr file (1kb), I drag the vdr file into cce and I get an error: "GdipLoadImageFromFile failed:3" and the frame server window shows zero for "number of frames served" and "audio segments delivered" . It also says Frameclients installed: None. Is that the culprit?

    By the way, I also re-installed the latest version of avisynth (2.56a) and re-istalled cce sp (v.2.70.02.06) and the problem remains.
    Quote Quote  
  19. Member
    Join Date
    Aug 2004
    Location
    United States
    Search Comp PM
    Go to where you installed vdubmod and look for Auxsetup.exe. Click on that then click on Install handler.:



    It should then tell you if it's installed. The reason it says zero is cuz you haven't started anything yet. Once you start encoding only then will it tell you differently.
    Quote Quote  
  20. Bingo! Thanks so much, that was it.

    One last question, I have many files that I need to re-encode in cce. Obviously cce can handle batch encoding, but since I'm framserving to cce, do I have to just open up multiple instances of vdubmod or how do I batch frameserve?
    Quote Quote  
  21. Member
    Join Date
    Aug 2004
    Location
    United States
    Search Comp PM
    Yea just open up multiple instances. Just don't accidentally close any of the frameserve windows.
    Quote Quote  
  22. You made my day Pinstripes! Weeks of trial and error finally come to an end. Frameserving via avisynth just wouldn't work, I don't know why, I either got a cryptic error that resolution ???x56 isn't supported or, when it worked once, the encoded file had no sound. Plus, writing scripts in avisynth is not really for newbies like me With vdubmod it's sooo much easier.

    Again thanks, I can now re-encode all my mpegs in cce and prepare them for DVD authoring.
    Quote Quote  
  23. Member
    Join Date
    Aug 2004
    Location
    United States
    Search Comp PM
    No problem. Yea sometimes I'll encounter a file that avisynth can't open for whatever reason. But vdubmod opens it up. So I'll just start the frameserver and import the .vdr file into an avisynth script. I know it will be slower encoding but at least this way I get to use avisynth's filters.
    Quote Quote  



Similar Threads

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