VideoHelp.com Forum
+ Reply to Thread
Results 1 to 11 of 11
Thread
  1. Member
    Join Date: Mar 2009
    Location: Satellite Provider
    I'm Looking for a Working Command Line to Exectue ffmpeg or Mencoder to convert MKV to AVI and encode the Subs into the Video file.

    This should work with almost all types of MKV files and all type of subs, i need like a globale command.

    Will pay 10$ payapl to who ever sends me a Working Command.

    thanks

    izzy
    Quote Quote  

  2. Greetings Supreme2k's Avatar
    Join Date: Feb 2003
    Location: Right Here, Right Now
    Check out this thread and this one

    Basically, no one gives a crap about cheap, insincere "rewards". Most people here do this stuff as a hobby, but would be glad to answer your question (in due time).

    Unfortunately, though I have the answer, I don't give them to people that think that their problem is more important than anyone else's just because they have a tiny bit of cash to throw at it.
    Quote Quote  

  3. Member
    Join Date: Mar 2009
    Location: Satellite Provider
    I only offer cash as a "reward" since i cant find any other alternitive, i'v searched the forum and google inside and out and nothing seems to be working for me.

    All i'm looking for is a globale mencoder command that will convert almost any type of Mkv with any type of Subs to a good quality (same file size) avi file.

    So please if you do have the answer, i'd love to know, and i'm sorry if you were insulted by my reward offer. i only ment well.
    Quote Quote  

  4. Member
    Join Date: Mar 2009
    Location: Satellite Provider
    Well i have managed to find the command myself

    mencoder -slang eng -subfont-text-scale 6 -subfont-autoscale 3 23.mkv -oac mp3lame -ovc lavc -lavcopts vcodec=mpeg4 -sid 0 -o movie3.avi

    seems like this will work fine for almost every Mkv i tryed
    Quote Quote  

  5. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date: Aug 2000
    Location: Sweden
    Thanks for posting your solution. It may help others.

    I'm moving this topic as it doesn't have much to do with the ffmpegx gui.
    Quote Quote  

  6. Member
    Join Date: Mar 2009
    Location: Satellite Provider
    Well the above command i wrote is not working

    as time past i realize that my command line is worthless and most MKV files with english subs convert well but without any embed subs.

    I was hopeing if maby you know a globale command to convet an MKV to avi + adding the first sub file it finds inside the MKV

    Since all the MKvs i want to convet have only one subs option and thats english but (-slang eng) Does not allways work.

    Thanks and Have a Great DAY
    Quote Quote  

  7. Member
    Join Date: Mar 2009
    Location: Satellite Provider
    Please any body ?
    Quote Quote  

  8. Greetings Supreme2k's Avatar
    Join Date: Feb 2003
    Location: Right Here, Right Now
    Try mediacoder.

    It may be easier to demux the subs with mkvtoolnix before adding them with mediacoder.

    You may also use whatever you need from this (use as a batch file):
    Code:
    mencoder -o "%3" -sub "%2" -font tahoma.ttf -subfont-encoding unicode -utf8 -ffactor 10 -subpos 100 -subalign 2 -subfont-autoscale 2 -subfont-blur 1.1 -subfont-outline 1.2 -subfont-text-scale 3 -subfont-osd-scale 4.2 -oac copy "%1"
    Quote Quote  

  9. Member
    Join Date: Mar 2009
    Location: Satellite Provider
    the %3 = the filename.mkv
    the %1 = the output.avi

    but what is the

    -sub "%2" ?

    Thanks again
    Quote Quote  

  10. Greetings Supreme2k's Avatar
    Join Date: Feb 2003
    Location: Right Here, Right Now
    sub.srt file (extracted from mkv)
    Quote Quote  

  11. Member
    Join Date: Mar 2009
    Location: Satellite Provider
    The problem is that it's all automatic when i new mkv file is placed in my folder a cron job runs a script each 10 Min to convert to AVI this is why i used.

    mencoder -slang eng -subfont-text-scale 6 -subfont-autoscale 3 23.mkv -oac mp3lame -ovc lavc -lavcopts vcodec=mpeg4 -o movie3.avi

    but some mkv files have english subs but the -slang eng wont work and the subs dont get converted
    Quote Quote  




Similar Threads

  1. Replies: 7
    Last Post: 2nd Nov 2011, 04:58
  2. Replies: 9
    Last Post: 6th Oct 2011, 21:21
  3. Command-line command for fixing AVI?
    By timur in forum ffmpegX general discussion
    Replies: 1
    Last Post: 23rd Sep 2009, 02:23
  4. Command line tool to make x264 mkv samples
    By lime- in forum Editing
    Replies: 4
    Last Post: 1st Nov 2008, 16:58
  5. Command line tool to take AVI samples
    By Dean C in forum Editing
    Replies: 6
    Last Post: 9th Sep 2008, 05:55
Search   Contact us   About   Advertise   Forum   RSS Feeds   Statistics   Tools