Hacking converting films with batchdpg

Shelleeson

Well-Known Member
OP
Member
Joined
Jan 30, 2007
Messages
928
Trophies
1
Location
i'm here....silly.
XP
327
Country
ok so i converted my first lot of eps last night but i'm starting to notice that i can only convert from .mp4 (i've tried avi, 3gp and straight from the dvd)............why only mp4 ??
anything i want to view i'm having to double convert, i may as well not do it because once i get to to mp4 i can just watch it on my phone.
dry.gif

i installed the full k-lite codec pack as well, have i missed something here when i read the instructions
cry.gif
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,403
Country
United Kingdom
klite is not the greatest pack and a likely cause of your troubles (if you installed the full version chances are there is a lot of redundant code and conflicting code) so that may be a good place to look, http://www.cccp-project.net/ is a good start if you need an alternative.

Assuming the DVD is decrypted you will need to demux it first and serve it through avisynth as audio and video is usually scattered across several VOB files. DGmpegdec is a good tool for this:
http://neuron2.net/dgmpgdec/dgmpgdec.html

As for the AVI what codec are you using in your AVI's (I sense klite is causing hassle and is it an H264 codec?)

Regarding 3gp that is one I would convert first but you might just want to try muxing it into MP4 first (a 40 second job max), MP4box and YAMB might be able to help here:
http://yamb.unite-video.com/
You might also want to search some forums for newer betas:
http://forum.doom9.org/
 

fli_guy84

Well-Known Member
Member
Joined
Nov 20, 2006
Messages
335
Trophies
1
XP
411
Country
Malaysia
Hi, I'm using CCCP codec pack and have no problem converting videos of multiple formats. Only problem is when converting *.mkv files the subtitle is missing in the *.dpg movies.

FAST6191, do you know what's wrong?
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,403
Country
United Kingdom
Chances are your subs are soft subs, to get them with your DPG file you will have to hardsub the video.

First extract the subtitles using mkvextract, part of the mkvtoolnix line:
http://www.bunkus.org/videotools/mkvtoolnix/
Virtualdubmod may also be able to help (some newer files may not work):
http://www.free-codecs.com/download/VirtualDubMod.htm

BatchDPG has subtitle support inbuilt so it may be easier to use that with your newly extracted file, what follows is the manual method either for to satisfy curiousity or to try and solve a problem if you are using anime with descriptors and resizing causes a problem or syncing becomes an issue (subs are occasionally based in frames not time).

Then grab a copy of vsfilter for avisynth and install it (batchdpg ships with it if memory serves)
http://sourceforge.net/project/showfiles.p...ackage_id=84359
Code:
TextSub("[drive letter]:\(path)\(name).srt")
Example for a.srt on f:\subs\
TextSub("F:\subs\a.srt")

The .srt may also be .ssa or .ass (it could be a few others but that is not so likely), consult the documentation for things on subtitle placement, font and the like.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    If your internet speeds are fast enough. Streaming 4k takes alot. I used to only have 20mb sec, and 4k struggled. Now I have 300mb sec and 4k plays fine.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i only have like 1 or 2 mb sec
  • BigOnYa @ BigOnYa:
    Did you feed the hamster in your internet router? It prob died and is running slow now.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, why did you start saying my pc has a hamster in the first place?
    +1
  • BigOnYa @ BigOnYa:
    Its actua!ly just a old joke, meaning its slow. Was just kidding around with you.
    +1
  • BigOnYa @ BigOnYa:
    I bet @AncientBoi has some hamsters hidden somewhere tho....
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I think Game streaming should work like this.... Local Hardware able the run the game fine, game engine and common assets stored locally, all FMV and music and textures could be streaming
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Some temporary storage
  • Xdqwerty @ Xdqwerty:
    also @BigOnYa im making some progress on my gdevelop project, implemented various mechanics
  • Psionic Roshambo @ Psionic Roshambo:
    They went all in on streaming, should have been more of a hybrid approach
    +1
  • BigOnYa @ BigOnYa:
    Or free government supplied high speed internet be nice also. Like Obama care. Xdqwerty that's cool, its time consuming but rewarding once done or playable, to see what you've made from scratch. Animations take forever, but worth it.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, although the bullets are a bit buggy
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Not to mention this would be a massive pain to pirate
  • Xdqwerty @ Xdqwerty:
    @BigOnYa,
    and the visual aspect of the game is quite crude (the sprite that looks best is that of the protagonist just because he is a stickman with sunglasses)
    +1
  • BigOnYa @ BigOnYa:
    There is a bullets behaviour you assign to your character, that makes the code easier, under "behaviours"
  • Xdqwerty @ Xdqwerty:
    i meant that when the character is pointing to the right, the bullets spawn where they should, but when he is on the right, they move to the right but the spawn point is incorrect
  • BigOnYa @ BigOnYa:
    Itch.io has lots of free assets also. Under the bullets behavior tab, there is a "rotate bullets" option, can try that. Or in the code can try
    - fire bullet Player.X(PlayerDirection)
  • Xdqwerty @ Xdqwerty:
    im taking a break for today anyway
    +1
  • BigOnYa @ BigOnYa:
    YEa gotta after a while, looking at code for long periods will bug your eyes.
    +1
  • BigOnYa @ BigOnYa:
    That's cool tho, I'm proud of you going back to it, not giving up. It is difficult at first to learn, but fun once you get the hang of it. I think I've watched every tutorial video there is, but I still struggle sometimes to get stuff to work right. But gotta keep trying dif things, and eventually you will get it right.
    +1
  • K3Nv2 @ K3Nv2:
    Lol McDonald's has a grandma mcflurry
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, furry grandma?
    Xdqwerty @ Xdqwerty: @K3Nv2, furry grandma?