+ Reply to Thread
Results 1 to 3 of 3

Linux mencoder clicks, windows okay

This is a discussion on Linux mencoder clicks, windows okay within the Video and Imaging forums, part of the miniPlayer M6 / SL category; When I use mencoder on linux, I get regular clicks in the right audio channel and there is also occasional ...

  1. #1
    Passing By
    Join Date
    Sep 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Linux mencoder clicks, windows okay

    When I use mencoder on linux, I get regular clicks in the right audio channel and there is also occasional stuttering in on the video (the video stuttering does not happen when the audio clicks).

    When I use mencoder on windows (via batman or the supplies SW), I don't have these problems.

    I have tried several different mencoder setups and lowering the quality.

    Three example setups I've tried, all with these problems are:
    Code:
    mencoder $1 -o $2 -ofps 18.000 -vf dsize=320:240:2:16,scale=0:0,rotate=1 -ovc xv
    id -xvidencopts max_bframes=0:vhq=3:nogmc:noqpel:bitrate=384:threads=2:nopacked:
    curve_compression_high=40 -ffourcc XVID -sws 9 -srate 44100 -oac mp3lame -lameop
    ts cbr:br=128:mode=0 > /tmp/meizo.txt 2>&1
    
    mencoder $1 -o $2 -ofps 15.000 -vf dsize=320:240:2:16,scale=0:0,rotate=1 -ovc l
    avc -oac lavc -lavcopts vcodec=mpeg4:vbitrate=256:acodec=mp3:abitrate=128 -ffour
    cc XVID -af volnorm -xvidencopts max_bframes=0:nogmc:noqpel > /tmp/meizo.txt 2>&
    1
    
    mencoder $1 -o $2 -ofps 18.000 -vf dsize=320:240:2:16,scale=0:0,rotate=1 -ovc lavc -oac lavc -lavcopts vcode
    c=mpeg4:vbitrate=256:acodec=mp2:abitrate=128 -ffourcc XVID -af volnorm -aid 1 > 
    /tmp/meizo.txt 2>&1
    Has anyone experienced this? Also, is there a way to get the mencoder command line from batman to compare?

  2. #2
    Administrator
    Join Date
    May 2007
    Posts
    3,191
    Thanks
    17
    Thanked 32 Times in 29 Posts
    Hi alien,
    BatMan's command lines wouldn't help you much because they are assembled by lots of variables and also vary with different quality presets. Eventually it's not much different from your lines.
    I believe your clicks have something to do with your linux build of mencoder, but maybe this applies only to the lame library which you use here. I suggest to give the libav audio encoder a chance. It is not much worse than lame but uses another library. It might solve your problem.
    - oac lavc
    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.

  3. #3
    Passing By
    Join Date
    Sep 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi Bobby,

    Thanks for the response.

    As for the batman command line, I was thinking along the lines of the command used for a particular run. I checked through the log directory and couldn't find it. Is it output anywhere? It would be really interesting to compare runs using the exact command line.

    Thanks for the hint. I had already tried the lavc audio encoder (third try above). I have also tried with mpg2 and mpg3 audio. All with the same result, so this seems to indicate it isn't the encoder, but something more basic with mencoder.

    I'm beginning to suspect something in my release of mplayer. I'm running the latest debian stable release and haven't seen any bugs related to this, but things seem to be pointing that way. I wanted to do an exact compare to the batman produced mencoder output to rule out any stupid operator error on my part :D


 

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. Rotate with substitiles. Is it possible in mencoder?
    By senggu in forum Video and Imaging
    Replies: 7
    Last Post: 06-22-2007, 02:29 PM
  4. Cropping With Mencoder?
    By jabowabo in forum Video and Imaging
    Replies: 0
    Last Post: 05-22-2007, 04:13 PM
  5. Conflicting free space Windows / Linux
    By scaglifr in forum Technical
    Replies: 5
    Last Post: 02-22-2007, 03:06 PM