VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Member
    Join Date
    Dec 2007
    Location
    Netherlands
    Search Comp PM
    I record television programs with Hauppauge PVR150 MCE in MPEG2 format.
    I cut out advertisements and convert to XVID with the following command:
    start /low /wait mencoder.exe "%~dpn1.mpg" -edl "%~dpn1.edl" -ovc xvid -xvidencopts pass=1 -oac copy -o "%~dpn1.avi"

    NOTE: the EDL file is generated by comskip program that detects the commercials.
    On my PC the resulting AVI files play always well (using VLC program) including seeking.
    On my Sweex mediacenter (MM132) some files give seek problems or just start in the middle in stead of at the beginning.
    Smaller files (< 1GB) never have problems; bigger files seem to have always these seek problems.

    The problem also occurs when I don't cut out commercials, but only do the conversion to XVID.

    I have tried to rebuild the index with an extra mencoder command:
    mencoder -forceidx -oac copy -ovc copy infile.avi -o outfile.avi
    but that does not solve the problem.

    I am looking for a solution to convert the MPEG files via command line (so it can be done automatically after recording).

    Any help is appreciated,

    kind regards,
    Bas
    Quote Quote  
  2. Member
    Join Date
    Apr 2007
    Location
    Australia
    Search Comp PM
    Hi.
    Might want to try vcdgear (vcdgear176-040415_win32.zip has a command line option)
    vcdgear -mpg2mpg -fix inputfile outputfile.


    Edit:-
    As I apologised elsewhere; I think I was working with mpeg1 files at the time. I am very sorry if I have wasted yours. I tried fixing a bad mpeg2 file and failed. I don't think VCDGear will help.
    Quote Quote  



Similar Threads

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