+ Reply to Thread
Results 1 to 11 of 11

How to use maxbitrate option in mencoder?

This is a discussion on How to use maxbitrate option in mencoder? within the Video and Imaging forums, part of the miniPlayer M6 / SL category; I think increase in bitrate causes sync problem. I want to use maxbitrate like batman encoder so I typed this ...

  1. #1
    Passing By
    Join Date
    Apr 2007
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to use maxbitrate option in mencoder?

    I think increase in bitrate causes sync problem.

    I want to use maxbitrate like batman encoder

    so I typed this code

    -noodml "~~" -o "~~" -mc 0 -audio-preload 0.0 -ofps 20.000 -vf scale=320:-2,expand=:240:-1:-1:1,crop=320:240:-1:-1,rotate=1 -noautoexpand -ovc lavc -ffourcc XVID -lavcopts vcodec=mpeg4:vbitrate=384:vrc_maxrate=400 -srate 44100 -oac mp3lame -lameopts vbr=3 -lameopts br=96 -lameopts vol=0 -lameopts mode=1 -lameopts aq=7 -lameopts padding=3 -font "C:\WINDOWS\Fonts\gulim.ttc" -sub "C:\Documents and Settings\SCBZ\Application Data\kipple\badak\temp.smi" -utf8 -subpos 95 -subfont-text-scale 4 -subfont-blur 1 -subfont-outline 1 -af volnorm

    but it has an error.

    what is wrong?

  2. #2
    mfb
    mfb nincs online
    Member
    Join Date
    May 2007
    Location
    The Netherlands
    Posts
    220
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It would be nice to know the error, so we can help you solving it.

    Why don't you use BatMan's custom profile, it should give you the abillity to use custom settings for MEncoder and you'll have lipsync-audio.

  3. #3
    Passing By
    Join Date
    Apr 2007
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have a problem with subtitles because i use other language .(-codepage=949)

    That's why i want to know resource code.

    Movie encoded with batman shows "broken subtitles".

    It seems that batman doesn't support other language.

    Badak that i usually use can be modified, so it is possible not only to use normal subtitles but also to read "smi files"

    Besides encoding program that can't read "smi files" is discomfort for me

    When i tried to encode with badak, it has sync problem

    because badak's standard code doesn't limit maxbitrate

    In action scene, it has a big bitrate that m6 can't play


    What is the code that exactly limit bitrate?

  4. #4
    Administrator
    Join Date
    May 2007
    Posts
    3,191
    Thanks
    17
    Thanked 32 Times in 29 Posts
    Quote Originally Posted by senggu View Post
    Movie encoded with batman shows "broken subtitles".
    would it be possible to provide the whole error message or screenshot ?
    Quote Originally Posted by senggu View Post
    Badak that i usually use can be modified, so it is possible not only to use normal subtitles but also to read "smi files"
    What do you modify ? BADAK and BatMan both are based on MEncoder which has natural support for .smi subtitles.
    Quote Originally Posted by senggu View Post
    Besides encoding program that can't read "smi files" is discomfort for me
    Today is the first time I have even heard of the format ... lol.
    Mencoder support these subtitle formats :
    MicroDVD, SubRip, unnamed,SAMI (smi), vplayer, RealMedia RT, ssa (Sub Station Alpha), AQT, VobSub and MPsub.
    BatMan, the free video converter for Meizu players. Problems ? English First Aid here. Deutsche Erste Hilfe hier.
    Join the Meizume Chatroom at irc://irc.moofspeak.net/meizume ! Firefox Users : get the Chatzilla Plugin. Other Browsers : use this web client.

  5. #5
    Passing By
    Join Date
    Apr 2007
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    here

    Some text are broken and the others are right
    Attached Files
    Last edited by senggu; 09-01-2007 at 03:29 PM.

  6. #6
    Administrator
    Join Date
    May 2007
    Posts
    3,191
    Thanks
    17
    Thanked 32 Times in 29 Posts
    hm, difficult to say because I have no test videos with smi subs here. Could you please provide such an .smi file ? What language is this meant to be btw. ?
    BatMan, the free video converter for Meizu players. Problems ? English First Aid here. Deutsche Erste Hilfe hier.
    Join the Meizume Chatroom at irc://irc.moofspeak.net/meizume ! Firefox Users : get the Chatzilla Plugin. Other Browsers : use this web client.

  7. #7
    Passing By
    Join Date
    Apr 2007
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Batman doesn't recognize '.smi files'

    plz help me
    Attached Files

  8. #8
    Administrator
    Join Date
    May 2007
    Posts
    3,191
    Thanks
    17
    Thanked 32 Times in 29 Posts
    Hi senggu. We have 3 problems here :
    - BatMan indeed does not support automatic smi files detection yet, but it's not much of a problem to add that feature
    - your subtitles are Korean which is a problem because I don't have a korean localized version of windows to test that. No fonts, no characer sets, no nothing. If you can provide me with information how to show Korean characters on an english Windows, I would be able to do some testing. As long as I can't get hat running, there will be no support for Korean subs in BatMan (can any other converter do this right ?)
    - the current mencoder that BatMan uses has a problem with subtitles but that will be fixed soon
    BatMan, the free video converter for Meizu players. Problems ? English First Aid here. Deutsche Erste Hilfe hier.
    Join the Meizume Chatroom at irc://irc.moofspeak.net/meizume ! Firefox Users : get the Chatzilla Plugin. Other Browsers : use this web client.

  9. #9
    Passing By
    Join Date
    Apr 2007
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi BobbyQ

    Quote Originally Posted by BobbyQ View Post
    (can any other converter do this right ?)
    All program based on Mencoder can this right, because i can modify just one code.

    ----------------
    -subpos 98 -subfont-text-scale 4 -subfont-outline 1 -subcp cp949 -font ""
    -sub ""
    ----------------
    If code "-subcp cp949" is added in batman, All problem will be solved.

  10. #10
    Administrator
    Join Date
    May 2007
    Posts
    3,191
    Thanks
    17
    Thanked 32 Times in 29 Posts
    Quote Originally Posted by senggu View Post
    If code "-subcp cp949" is added in batman, All problem will be solved.
    this was the first thing I tried ! But it does not seem to know the right font, because I still get the same output as from your screenshots.
    BatMan, the free video converter for Meizu players. Problems ? English First Aid here. Deutsche Erste Hilfe hier.
    Join the Meizume Chatroom at irc://irc.moofspeak.net/meizume ! Firefox Users : get the Chatzilla Plugin. Other Browsers : use this web client.

  11. #11
    Administrator
    Join Date
    May 2007
    Posts
    3,191
    Thanks
    17
    Thanked 32 Times in 29 Posts
    latest beta of BatMan has smi support. Also you can add your desired codepage by using special command "switch" and then entering "-subcp cp949".
    BatMan, the free video converter for Meizu players. Problems ? English First Aid here. Deutsche Erste Hilfe hier.
    Join the Meizume Chatroom at irc://irc.moofspeak.net/meizume ! Firefox Users : get the Chatzilla Plugin. Other Browsers : use this web client.


 

Similar Threads

  1. Linux script for mencoder.
    By shookie in forum Video and Imaging
    Replies: 50
    Last Post: 05-20-2008, 08:10 PM
  2. nvops and mencoder - how to?
    By Lolita in forum Video and Imaging
    Replies: 1
    Last Post: 06-30-2007, 11:04 AM
  3. Cropping With Mencoder?
    By jabowabo in forum Video and Imaging
    Replies: 0
    Last Post: 05-22-2007, 04:13 PM
  4. mplayer > avisynth > mencoder ?
    By Lolita in forum Video and Imaging
    Replies: 1
    Last Post: 05-12-2007, 10:34 AM
  5. Replies: 3
    Last Post: 04-15-2007, 09:05 PM