Results 1 to 4 of 4

Thread: No Audio in VLC after Mencoder -oac copy

  1. #1
    Join Date
    Oct 2008
    Location
    Sweden
    Beans
    84
    Distro
    Ubuntu 13.04 Raring Ringtail

    Red face No Audio in VLC after Mencoder -oac copy

    Normally VLC plays all of my files just fine. But for some reason, if I join two video-files with mencoder, VLC will not play the audio in the new file, while MPlayer plays it just fine.

    Code:
    mencoder -oac copy -ovc x264 ../intro.mov movie.mov -o Final-Video.mov
    Note that VLC plays the audio just fine in the separate files(before they are joined)

    Audio: mp3, 44100 Hz, 2 channels, s16, 160 kb/s

    If I use "-oac mp3lame" instead of "-oac copy" VLC will play the audio-stream, but the quality is less than admirable because the audio gets dropped to 32 kb/s.

    Is there a way to encode mp3 audio with a bitrate of 160 kb/s in mencoder?

    Or is it a bug in mencoder... or VLC?

    I'd be happy to provide any info, just tell me what to type(in the terminal).

    This is all part of a video rendering script I use on a lot of large files on a daily basis, so I'd appreciate any solutions that fixes the problem without adding any more encoding/transcoding steps after the mencoder command.

  2. #2
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: No Audio in VLC after Mencoder -oac copy

    Quote Originally Posted by Valpskott View Post
    Is there a way to encode mp3 audio with a bitrate of 160 kb/s in mencoder?
    Hi
    If you do need to encode the mp3...
    your oac command is like this:-
    Code:
    -oac mp3lame -lameopts cbr:br=160
    More mp3 information at mencoder -lameopts help

  3. #3
    Join Date
    Oct 2008
    Location
    Sweden
    Beans
    84
    Distro
    Ubuntu 13.04 Raring Ringtail

    Smile Re: No Audio in VLC after Mencoder -oac copy

    Just tried it! Thanks, that fixed the problem! Now the audio in the file gets to be 160 kb/s and it plays fine in VLC

  4. #4
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: No Audio in VLC after Mencoder -oac copy

    ...
    Last edited by ron999; April 6th, 2012 at 10:40 PM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •