VideoHelp Forum




+ Reply to Thread
Page 4 of 17
FirstFirst ... 2 3 4 5 6 14 ... LastLast
Results 91 to 120 of 481
  1. Member
    Join Date
    Aug 2005
    Location
    Canada
    Search Comp PM
    Yep I got it. I think I know how to author this. I hope it works with DVDLab Pro.

    Thanks for a great guide
    Quote Quote  
  2. Member
    Join Date
    May 2005
    Location
    Montreal
    Search Comp PM
    Wohoo! No problem man =).
    Quote Quote  
  3. Member
    Join Date
    Aug 2005
    Location
    Canada
    Search Comp PM
    It seems like you have to press a Key everytime you finish encoding 1 video file. What do I have to change in the BatchConvert.bat to just make it go straight through.
    Quote Quote  
  4. Member
    Join Date
    May 2005
    Location
    Montreal
    Search Comp PM
    omg! i completely forgot to remove that!
    sorry, i was testing it and forgot to remove...

    just remove the line
    echo.pause

    sorry man, i`ll remove it from the tutorial fiist thing in the morning.

    thx for reminding me...
    Quote Quote  
  5. Member
    Join Date
    Aug 2005
    Location
    Canada
    Search Comp PM
    LanczosResize(688,352,0,1,560,430)
    AddBorders(16,64,16,64)

    I want to use this resize that I got from FitCD. How would I enter these in the batchconvert?
    Quote Quote  
  6. Member
    Join Date
    May 2005
    Location
    Montreal
    Search Comp PM
    Code:
    for %%x in (*.avi) do (
    echo.AVISource^("%sourcevideo%\%%x"^)
    echo.%resize%Resize^(%width%,%height%)
    echo.AddBorders^(%leftright%,%topbottom%,%leftright%,%topbottom%^)
    echo.ConvertToYV12^(^)
    ) > "%%~nx.avs"
    for
    Code:
    for %%x in (*.avi) do (
    echo.AVISource^("%sourcevideo%\%%x"^)
    echo.%resize%Resize^(%width%,%height%^, 0,1,560,430^)
    echo.AddBorders^(%leftright%,%topbottom%,%leftright%,%topbottom%^)
    echo.ConvertToYV12^(^)
    ) > "%%~nx.avs"
    and just replace the values at the top.
    Quote Quote  
  7. Member
    Join Date
    Aug 2005
    Location
    Canada
    Search Comp PM
    So it should look like this right
    :: Resize Value (Fullscreen is 660, 440 - Widescreen is 660, 330)
    @set width=688
    @set height=352

    :: AddBorders Value (Fullscreen is 20, 30 - Widescreen is 75, 30)
    @set topbottom=16
    @set leftright=64
    or do I set topbottom at 64 and leftright at 16?

    for %%x in (*.ogm) do (
    echo.AVISource^("%sourcevideo%\%%x"^)
    echo.%resize%Resize^(%width%,%height%^, 0,1,560,430^)
    echo.AddBorders^(%leftright%,%topbottom%,%leftrigh t%,%topbottom%^)
    echo.ConvertToYV12^(^)
    ) > "%%~nx.avs"
    Quote Quote  
  8. Member
    Join Date
    Aug 2005
    Location
    Canada
    Search Comp PM
    Seems like it doesnt work. When I put it into DVDLab is say its the wrong frame size

    Cause:Wrong frame size
    You can enable non-DVD size in Properties
    Size 528x48 FPS:29.97 Aspect: 4:3
    Quote Quote  
  9. Member
    Join Date
    May 2005
    Location
    Montreal
    Search Comp PM
    Code:
    :: AddBorders Value (Fullscreen is 20, 30 - Widescreen is 75, 30)
    @set topbottom=64
    @set leftright=16
    It should work like that.
    Quote Quote  
  10. Member
    Join Date
    Aug 2005
    Location
    Canada
    Search Comp PM
    It seems like both of them dont work for some reason. Tried it both ways and got the same error message
    Quote Quote  
  11. Member
    Join Date
    May 2005
    Location
    Montreal
    Search Comp PM
    did it encode properly?
    did you test the generated AVS files before encoding?

    because I just tested both and it's 720*480.

    :: Resize type (Bicubic, Lanczos, Lanczos4).
    @set resize=Lanczos

    :: Resize Value (Fullscreen is 660, 440 - Widescreen is 660, 330)
    @set width=688
    @set height=352

    :: AddBorders Value (Fullscreen is 20, 30 - Widescreen is 75, 30)
    @set topbottom=64
    @set leftright=16
    for %%x in (*.avi) do (
    echo.AVISource^("%sourcevideo%\%%x"^)
    echo.%resize%Resize^(%width%,%height%^,0,1,560,430 ^)
    echo.AddBorders^(%leftright%,%topbottom%,%leftrigh t%,%topbottom%^)
    echo.ConvertToYV12^(^)
    ) > "%%~nx.avs"
    Quote Quote  
  12. Member
    Join Date
    Aug 2005
    Location
    Canada
    Search Comp PM
    i dont know if it matters but its ogm file
    Yeah i tested it doesnt work for some reason. Ill try again and see what happens
    Quote Quote  
  13. Member
    Join Date
    Aug 2005
    Location
    Canada
    Search Comp PM
    Nope tried it again it's not working. I'm trying the opening scene for gundam since its only about 1 min 30 secs long. It still got the same specs as the other one. I notice that when I use the mainencoding.bat it converts really fast. It's almost instant. What is weird also is that the output file Opening3_video.m2v was only 2.5mb
    Quote Quote  
  14. Member
    Join Date
    May 2005
    Location
    Montreal
    Search Comp PM
    LOL!!! IT'S OGM?!
    It's completely different!! LOL!!!

    Did you used the OGM tutorial or the AVI one? Because you know that the 2 are different.

    But did you try opening the video? Watching it after the encode.
    Quote Quote  
  15. Member
    Join Date
    Aug 2005
    Location
    Canada
    Search Comp PM
    yeah i'm using the ogm tutorial. I tried opening but I only got a blank 9 sec screen
    Quote Quote  
  16. Member
    Join Date
    May 2005
    Location
    Montreal
    Search Comp PM
    Okay.. hmm..
    open
    \encodedvideo\batch\batch_for_opening3_video.bat
    with notepad.

    Delete all lines starting with "DEL".

    Save, and run the batch.

    It should encode.. and if it still renders blank 9 sec screen,
    try opening the AVS File..
    And try opening the AVI file too.

    and last thing, GSPOT the AVI file..
    Quote Quote  
  17. Member
    Join Date
    Aug 2005
    Location
    Canada
    Search Comp PM
    you do mean OGM file right?

    Still didnt work. Getting the blank screen still.
    Opened avi with GSpot everything looks fine

    Quote Quote  
  18. Member
    Join Date
    May 2005
    Location
    Montreal
    Search Comp PM
    no no, when after deleting all lines beginning with DEL.. The temporary files should not be deleted.. That includes the AVI which is being demuxed from the OGM..

    There should be an AVI file in the \encodedvideo folder, after running the batch_for...
    Quote Quote  
  19. Member
    Join Date
    Aug 2005
    Location
    Canada
    Search Comp PM
    actually Im getting this when I open the mpv file

    Quote Quote  
  20. Member
    Join Date
    May 2005
    Location
    Montreal
    Search Comp PM
    Ahhh Ahh!
    Now that's changes everything!
    I'm a bit surprised you didn't open it when you saw that something was wrong. hahaha.

    Okay.. open the AVS file with Media Player. It will give you the same message (just open it anyway just to be sure).

    Then open it again but with NOTEPAD. Copy and paste here.

    and tell me the full name of the AVI..
    Quote Quote  
  21. Member
    Join Date
    Aug 2005
    Location
    Canada
    Search Comp PM
    I get this


    Stream 0

    Media Type 0:
    --------------------------
    AM_MEDIA_TYPE:
    majortype: MEDIATYPE_Stream {E436EB83-524F-11CE-9F53-0020AF0BA770}
    subtype: MEDIASUBTYPE_MPEG1Audio {E436EB87-524F-11CE-9F53-0020AF0BA770}
    formattype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
    bFixedSizeSamples: 1
    bTemporalCompression: 0
    lSampleSize: 1
    cbFormat: 0


    Media Type 1:
    --------------------------
    AM_MEDIA_TYPE:
    majortype: MEDIATYPE_Stream {E436EB83-524F-11CE-9F53-0020AF0BA770}
    subtype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
    formattype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
    bFixedSizeSamples: 1
    bTemporalCompression: 0
    lSampleSize: 1
    cbFormat: 0
    The avi is called
    Opening3.avi
    The orginal file is
    Opening3.ogm
    Quote Quote  
  22. Member
    Join Date
    May 2005
    Location
    Montreal
    Search Comp PM
    Hey.
    You forgot what's written in the AVS file..

    Seems like you don't have mp3 audios in the OGM. Are you sure you have mp3 audio?

    Open the OGM with GSPOT. It should be written in there.
    Quote Quote  
  23. Member
    Join Date
    Aug 2005
    Location
    Canada
    Search Comp PM
    I thought you meant open the AVS file with Media Player. My mistake.

    AVS file contains
    AVISource("C:\OGMSource\Opening3.ogm")
    LanczosResize(688,352, 0,1,560,430)
    AddBorders(16,64,16,64)
    ConvertToYV12()
    I do have mp3 audio.

    Quote Quote  
  24. Member
    Join Date
    May 2005
    Location
    Montreal
    Search Comp PM
    Well. This is friggin strange =).

    How about I tell you my FTP and you upload it? (it's only 15mb, should take... 5 mins).

    I won't sleep today as I have alot of things to do, so i'll resolve the problem right after you upload it.
    After this message, check your PM!
    Quote Quote  
  25. Member
    Join Date
    Aug 2005
    Location
    Canada
    Search Comp PM
    ok tell me which files you want me to send you
    Quote Quote  
  26. Member
    Join Date
    May 2005
    Location
    Montreal
    Search Comp PM
    Bahahaha.
    My bad.
    I found out what's the problem..
    When I posted what you should write for Lanczos... I based myself on the AVI tutorial (I completely forgot you was using OGM).
    Both of them are really different.

    A little sidenote as well, is that the opening is quite different.
    there's only..
    1 video, 1 audio, 1 sub, as opposed to the 1 video, 2 audio, 1 sub.

    The screenshot you gave me above is because MediaPlayer automatically opens audio files depending on the filename.
    when opening
    Music.Avi
    it will also open
    Music_sound1.mp3
    music_sound3.mp3

    In our case, it failed because Opening3_audio2.mp3 was ACTUALLY a subtitle file! LOL!
    That's why It was 2kb instead of the 2,3mb.

    So. How to fix this?

    :: Resize type (Bicubic, Lanczos, Lanczos4).
    @set resize=Lanczos

    :: Resize Value (Fullscreen is 660, 440 - Widescreen is 660, 330)
    @set width=688
    @set height=352

    :: AddBorders Value (Fullscreen is 20, 30 - Widescreen is 75, 30)
    @set topbottom=64
    @set leftright=16
    for %%x in (*.ogm) do (
    echo.AVISource^("%encodedvideo%\%%~nx.avi"^)
    echo.%resize%Resize^(%width%,%height%^,0,1,560,430 ^)
    echo.AddBorders^(%leftright%,%topbottom%,%leftrigh t%,%topbottom%^)
    echo.ConvertToYUY2^(^)
    ) > "%%~nx.avs"
    Save, open it.

    open \encodedvideo\batch\batch_for_Opening3.bat
    WITH NOTEPAD

    modify the first line.
    "d:\program files\ogmtools\ogmdemuxer.exe" tracks "D:\NarutoDVD\fullmetalpanic\source\Opening3.ogm" 0:"D:\NarutoDVD\fullmetalpanic\source\EncodedVideo\Op ening3.avi" 1:"D:\NarutoDVD\fullmetalpanic\source\EncodedVideo\Op ening3_audio1.mp3" 2:"D:\NarutoDVD\fullmetalpanic\source\EncodedVideo\Op ening3_audio2.mp3" 3:"D:\NarutoDVD\fullmetalpanic\source\EncodedVideo\Op ening3_subs.srt"
    to

    "d:\program files\ogmtools\ogmdemuxer.exe" tracks "D:\NarutoDVD\fullmetalpanic\source\Opening3.ogm" 0:"D:\NarutoDVD\fullmetalpanic\source\EncodedVideo\Op ening3.avi" 1:"D:\NarutoDVD\fullmetalpanic\source\EncodedVideo\Op ening3_audio1.mp3" 2:"D:\NarutoDVD\fullmetalpanic\source\EncodedVideo\Op ening3_subs.srt"
    Of course, replace the paths (to the video, and to OGMDemuxer).

    Hey, I hope you are only encoding few of these. Because it will be a pain to modify each of these..
    Quote Quote  
  27. Member
    Join Date
    Aug 2005
    Location
    Canada
    Search Comp PM
    Well it shouldn't be a problem the episodes got 2 audio pieces. I guess the opening one only has 1 audio. So I won't need these changes for it. I just wanted to test the aspect ratio change on this small file instead of using a full epsidoe
    Quote Quote  
  28. Member
    Join Date
    Aug 2005
    Location
    Canada
    Search Comp PM
    hmm I'm still getting the same thing except now it just didnt create the audio2 file. video is still the same
    Quote Quote  
  29. Member
    Join Date
    May 2005
    Location
    Montreal
    Search Comp PM
    I see. =D

    Keep me up on the news =).

    If there's any other prob, reply! hehe.
    Quote Quote  
  30. Member
    Join Date
    Aug 2005
    Location
    Canada
    Search Comp PM
    im just going to try on the regular episode and see how it goes.

    edit: tried it with a regular episode and got the same result.

    This is getting frustrating.

    here my batchconvert.bat see if you can find anything wrong with it
    ::CCE Encoding Batch Generator!
    @echo off

    :::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::
    :: Lines beginning with 2 colons are comment line. They are ignored,::
    :: so you can safely copy this. ::
    :: Change the value after the equal sign ::
    :::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::

    :: Pulldown file? (yes if your videos are 23.976fps, no if your videos are 29.970fps)
    @set applypulldown=yes

    :: Resize type (Bicubic, Lanczos, Lanczos4).
    @set resize=Lanczos

    :: Resize Value (Fullscreen is 660, 440 - Widescreen is 660, 330)
    @set width=688
    @set height=352

    :: AddBorders Value (Fullscreen is 20, 30 - Widescreen is 75, 30)
    @set topbottom=64
    @set leftright=16

    :: Audio Bitrate (The one you chose when calculating)
    @set audiobitrate=192

    :: Audio type (ogg or WAV)
    @set audiotype=mp3

    :: Path for source videos (The video you want to encode should reside in there)
    @set sourcevideo=C:\OGMSource

    :: CCE Template Name (The template you made in step 3)
    @set template=Gundam

    :: Path to your encoder. Select CCEFRONT.exe if you have CCE SP.
    @set cce=C:\Program Files\Custom Technology\CCE SP Trial Version\CCEFRONT.exe

    :: Path for DVD2SVCD (The folder where DVD2SVCD is located)
    @set dvd2svcd=C:\Program Files\DVD2SVCD

    :: Path to OGM Demuxer
    @set ogmdemuxer=C:\program files\ogm tools\ogmdemuxer.exe

    :::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::
    :: DO NOT CHANGE ANYTHING BELOW UNLESS YOU KNOW WHAT YOU'RE DOING!! ::
    :::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::

    :: Define variable path for programs that is included with DVD2SVCD
    @set besweetdir=%dvd2svcd%\besweet
    @set besweetexe=%besweetdir%\besweet.exe
    @set pulldown=%dvd2svcd%\pulldown\pulldown.exe
    @set mplex=%dvd2svcd%\dvdauthor\mplex.exe
    @set encodedvideo=%sourcevideo%\EncodedVideo

    echo Generating Batch, tutututut - please be patient.
    echo ::MAIN ENCODING BATCH > mainencoding.bat
    echo @echo off >> mainencoding.bat

    MKDIR %encodedvideo%\Batch

    for %%x in (*.ogm) do (
    echo.AVISource^("%sourcevideo%\%%x"^)
    echo.%resize%Resize^(%width%,%height%^, 0,1,560,430^)
    echo.AddBorders^(%leftright%,%topbottom%,%leftrigh t%,%topbottom%^)
    echo.ConvertToYV12^(^)
    ) > "%%~nx.avs"

    if %applypulldown%==yes (
    for %%x in (*.ogm) do (
    echo."%ogmdemuxer%" tracks "%sourcevideo%\%%~nx.ogm" 0:"%encodedvideo%\%%~nx.avi" 1:"%encodedvideo%\%%~nx_audio1.%audiotype%" 2:"%encodedvideo%\%%~nx_audio2.%audiotype%" 3:"%encodedvideo%\%%~nx_subs.srt"
    echo."%cce%" -t "%template%" "%encodedvideo%\%%~nx.avs" -batch
    echo.MOVE "%encodedvideo%\batch\%%~nx.mpv" "%encodedvideo%"
    echo.REN "%encodedvideo%\%%~nx.mpv" %%~nx.m2v
    echo."%pulldown%" %encodedvideo%\%%~nx.m2v %encodedvideo%\encoded%%~nx.m2v -run -exit
    echo."%besweetexe%" -core^( -input "%encodedvideo%\%%~nx_audio1.%audiotype%" -output "%encodedvideo%\%%~nx_audio1.mp2" -logfilea "%besweetdir%\BeSweet.log" ^) -ssrc^( --rate 48000 ^) -toolame^( -m s -b %audiobitrate% ^)
    echo."%besweetexe%" -core^( -input "%encodedvideo%\%%~nx_audio2.%audiotype%" -output "%encodedvideo%\%%~nx_audio2.mp2" -logfilea "%besweetdir%\BeSweet.log" ^) -ssrc^( --rate 48000 ^) -toolame^( -m s -b %audiobitrate% ^)
    echo.DEL "%encodedvideo%\%%~nx.m2v"
    echo.DEL "%encodedvideo%\%%~nx.avi"
    echo.DEL "%encodedvideo%\%%~nx_audio1.%audiotype%"
    echo.DEL "%encodedvideo%\%%~nx_audio2.%audiotype%"
    echo.REN "%encodedvideo%\encoded%%~nx.m2v" %%~nx_video.m2v
    ) > "batch_for_%%~nx.bat"
    ) ELSE (
    for %%x in (*.ogm) do (
    echo."%ogmdemuxer%" tracks "%sourcevideo%\%%~nx.ogm" 0:"%encodedvideo%\%%~nx.avi" 1:"%encodedvideo%\%%~nx_audio1.%audiotype%" 2:"%encodedvideo%\%%~nx_audio2.%audiotype%" 3:"%encodedvideo%\%%~nx_subs.srt"
    echo."%cce%" -t "%template%" "%encodedvideo%\%%~nx.avs" -batch
    echo.MOVE "%encodedvideo%\batch\%%~nx.mpv" "%encodedvideo%"
    echo.REN "%encodedvideo%\%%~nx.mpv" %%~nx.m2v
    echo."%besweetexe%" -core^( -input "%encodedvideo%\%%~nx_audio1.%audiotype%" -output "%encodedvideo%\%%~nx_audio1.mp2" -logfilea "%besweetdir%\BeSweet.log" ^) -ssrc^( --rate 48000 ^) -toolame^( -m s -b %audiobitrate% ^)
    echo."%besweetexe%" -core^( -input "%encodedvideo%\%%~nx_audio2.%audiotype%" -output "%encodedvideo%\%%~nx_audio2.mp2" -logfilea "%besweetdir%\BeSweet.log" ^) -ssrc^( --rate 48000 ^) -toolame^( -m s -b %audiobitrate% ^)
    echo.DEL "%encodedvideo%\%%~nx.m2v"
    echo.DEL "%encodedvideo%\%%~nx.avi"
    echo.DEL "%encodedvideo%\%%~nx_audio1.%audiotype%"
    echo.DEL "%encodedvideo%\%%~nx_audio2.%audiotype%"
    ) > "batch_for_%%~nx.bat"
    )


    for %%x in (*.ogm) do (
    echo.CALL "%encodedvideo%\batch\batch_for_%%~nx.bat"
    ) >> mainencoding.bat

    for %%x in (*.ogm) do (
    MOVE "%sourcevideo%\%%~nx.avs" "%encodedvideo%"
    MOVE "batch_for_%%~nx.bat" "%encodedvideo%\batch"
    )

    move "mainencoding.bat" "%encodedvideo%\batch"

    echo.
    echo.
    echo.
    echo.
    echo Batch Creation Finished! hehe - Now you just have to open MainEncoding.bat !!
    pause






    :::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::
    :: END OF BATCH ::
    :::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::
    Quote Quote  



Similar Threads

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