Software :: Mencoder - How To Keep Audio Bitrate Settings At 192 Kbps

Nov 25, 2010

Mencoder settings... I'm doing a simple transcoding of an avi file from FFmpeg MPEG4 codec to XVID MPEG-4 codec. The problem is that the audio bitrate is changing from 192 kbps to 32 kbps. The audio codec for both files is mp3 (MPEG-1 layer 3). (I'm transcoding the FFmpeg MPEG4 encoded avi because my blu-ray player doesn't see, let alone play it. Any XVID MPEG-4 encoded avi files the blu-ray player sees and plays fine). I ran mencoder trying the four settings below but the audio bitrate still comes out at 32 kbps:

Code:
mencoder camping_en.avi -ovc xvid -oac mp3lame -xvidencopts bitrate=192 -o camping_us.avi
mencoder camping_en.avi -ovc xvid -oac mp3lame -xvidencopts bitrate=687 -o camping_us.avi
mencoder camping_en.avi -ovc xvid -oac mp3lame -xvidencopts bitrate=9146 -o camping_us.avi
mencoder camping_en.avi -ovc xvid -oac mp3lame -xvidencopts bitrate=192000 -o camping_us.avi

How to keep the bitrate at 192 kbps?

View 2 Replies


ADVERTISEMENT

Software :: Mencoder Ignores Audio Bitrate Parameter

Dec 26, 2009

When I convert files with mencoder I get the output with incorrect audio bitrate. Seems that mencoder ignores the bitrate I pass to it. Here's my script:

Code:
#!/bin/bash
vbitrate=800
abitrate=128
#mkdir $2/../$2_rip
unlink frameno.avi 2> /dev/null
mencoder $1 -ovc frameno -oac mp3lame -lameopts abr:br=$abitrate -o frameno.avi
mencoder $1 -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=$vbitrate:v4mv:mbd=2:trell:cmp=10:subcmp=3:vpass=1 -ffourcc DX50 -o /dev/null
mencoder $1 -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=$vbitrate:v4mv:mbd=2:trell:cmp=10:subcmp=3:vpass=2 -ffourcc DX50 -o $2
unlink frameno.avi 2> /dev/null
unlink divx2pass.log 2> /dev/null

Result file should have 128kbps audio bitrate, but here are the results:
Input file:
02_seminar.avi, 42Mb
video: 432x320 00:05:10 25fps DivX5 1Mbps
audio: 48KHz 00:05:10 Stereo 138Kbps mp3

Output file:
02.avi, 34Mb
video: 432x320 00:05:10 25fps FMP4 802Kbps
audio: 48KHz 00:05:10 Stereo 138Kbps mp3

Why audio bitrate remains unchanged?

View 4 Replies View Related

Red Hat / Fedora :: PCM File Burnt To Audio CD Without Bitrate Change

Nov 24, 2009

I really need to burn my 64 kbps uncompressed A-Law PCM file to Audio CD uncompressed as is and make this 8 hour file appear on CD Players. What app does it for me? It must fit on CD! Goldwave makes a-law / u-law wav files BTW. I can do this with linux or windows with any application. tell me how or where to download. I have the wav files already.

View 1 Replies View Related

Ubuntu Multimedia :: Flash Plugin, Left Audio Channel Bitrate Very Low?

Aug 6, 2010

Or at least that's what I figured, when watching videos from ....., etc., the sound in the left channel turns into distorted high frequency noise, anyone had the same issue? Is there a fix for this? Sound in other applications works just fine.EDIT: Oh, and I'm using the proprietary flash plugin, has worked just fine on my Ubuntu Studio on the exact same computer.

View 5 Replies View Related

Ubuntu Multimedia :: MEncoder Settings For DVD Fast Rip

Nov 26, 2010

I'm doing a little python app for encoding .avi from dvds. I know there are a few really good applications out there that do the same thing but I wanted something simple with less faff. The application has 3 settings: Fast, Medium, and Slow. These are for the varying quality rips. For file format I was thinking either lavc or Xvid.

So my first question is, which is better? I really don't know anything about it and I haven't found a decent site that compares them. And secondly what are the best settings for a DVD rip for a Fast Rip, a 'Best of Both' Rip, and a Best Quality Rip? If I've missed any factors in this, please let me know, I'm new to the DVD ripping game. I have no intentions of distributing the movies, they are for my own uses.

View 2 Replies View Related

Fedora :: Mencoder - FPS And Audio Sync

Nov 22, 2009

I have found that if I change the FPS of a video, the audio is out of sync.

Is there a way in mencoder to have it correct this, and maintain the correct sync?

I don't think it is just a matter of audio/video delay. I have tried many times to correct this via that method, and it doesn't come close. Although, if I encode the video to another format, but with the original fps, the audio is sync'd.

View 2 Replies View Related

Ubuntu Multimedia :: Transcoding Audio With Mencoder?

Mar 7, 2010

I'm trying to convert a video in .ogm format to .avi format so I can stream it to my PS3 via uShare. I'm using Mencoder and the following command to do it (to transcode the audio from vorbis to mp3 and the video from mpeg4 to xvid):

Code: mencoder input.ogm -oac mp3lame -ovc xvid -xvidencopts pass=1 -o output.avi.The only problem is, the video contains 2 audio streams - one Japanese and one English. Needless to say, I need the English one. The above command only seems to transcode the Japanese audio though!Here's what ffmpeg has to say about the input file:

Code:
Input #0, ogg, from 'input.ogm':
Duration: 00:24:16.12, start: 0.000000, bitrate: 1280 kb/s[code]...

what I can do to specify the correct audio stream to encode? Also, how can I keep the bitrate the same as the output.avi seems to default to 96kbps?I'm not sure which audio stream is which but a little trial and error will sort that out in no time.

View 7 Replies View Related

Software :: Mencoder Not Using Correct Audio Stream

Jul 28, 2009

I whipped up a script to convert VOBs to AVIs for storage on ym NFS backend. I'm using mencoder on CentOS5 to do the conversion.For 9 out of 10 videos, this works great. There is the occasional 1 that will not have the correct audio stream however. I've tried -alang, -slang, aid, etc. to no avail. Here is my script (also in case anyone else finds it useful), but can anyone offer any suggestions on how to get the correct audio in my avi? When I open the vob in mplayer, I get English. When I run it through mencoder, I get Spanish.

View 2 Replies View Related

General :: Extract Audio From Video File Using Mencoder?

Feb 2, 2011

Code:
mencoder The.Negotiator.mkv -of rawaudio -oac mp3lame -ovc copy -o sound-mencoder.mp3
I got a 195.3MB mp3 file

[code]...

View 2 Replies View Related

Ubuntu Multimedia :: Create Video From JPEGs - Use Mencoder To Add The Audio?

Jan 18, 2010

My 1st and only grandson turned 1 year old and we have taken about 1 million pics of him. I wanted to make a video from pictures taken in the past year. The first one is an ultra sound picture. The last one was taken this last Saturday. I have 153 12 MPixel pictures in a folder. They are named C001.jpg - C153.jpg (I can rename them if needed).

I had noticed mencoder or ffmpeg can create movies from jpegs. But, I didn't think about the frames per second. Would I need to make like 20 copies of each picture and then make it like 10 FPS? or something like that? Optimally, I would like to have a video where each picture lasts for 8-10 seconds or so and I would be able to add a song as audio. (I think I know how to use mencoder to add the audio).

View 9 Replies View Related

Software :: Ffmpeg And Mencoder Slice Mp4 Video Audio Out Of Sync

Jan 7, 2010

I am trying to use ffmpeg and mencoder to slice a portion of my video out but the audio is always 2 seconds out of sync.

ffmpeg -i bird.avs.MP4 -acodec copy -vcodec copy -ss 00:08:40 -t 00:01:00 test.mp4
mencoder -ss 00:08:40 -endpos 00:01:00 -oac copy -ovc copy bird.avs.MP4 -o test.mp4
mencoder -ss 00:08:40 -endpos 00:01:00 -oac copy -ovc copy -noskip bird.avs.MP4 -o test.mp4

[Code]....

View 5 Replies View Related

General :: `mencoder` Captures 10 Minutes Of Audio In Less Than 10 Minutes?

Mar 15, 2011

I'm using mencoder to capture audio from a Encore ENLTV-FM3 video capture device. I have recently noticed that, since one week ago, when the machine was forcibly restarted due to a power outage, all recordings are slightly pitched, they play back slower than they should.

I narrowed down the problem to the following command line:

$ time mencoder -really-quiet -tv driver=v4l2:device=/dev/video1:chanlist=us-cable:audiorate=32000:alsa:adevice=hw.1:input=0:amode=1:normid=11 -endpos 00:10:00 -ovc copy -oac pcm -of rawaudio -o test-32000.wav tv://69
real 9m54.886s
user 0m5.536s
sys 0m1.740s
$ ls -l test-32000.wav
-rw-r--r--@ 1 martin martin 76800000 Mar 15 17:20 test-32000.wav

Somehow, mencode managed to gather precisely 10 minutes worth of raw audio in 9m 55s. That's not physically possible, unless the capture device's A/D converters are "overclocked". I can't think of any other explanation besides hardware failure. Can that be? Could it be that something got burnt during the power outage and now the capture device's internal clock went nuts?

Since the machine's restart, I've also noticed dmesg is flooded with entries like this:

CE: hpet increased min_delta_ns to XXX nsec

Which seem to indicate that the computer's high precision event timer is somehow out of sync. Does this have to do with the audio issue? Can it be that the audio converter's sample rate is linked to the HPET? I'm totally lost here. Has anyone bumped into something similar?

View 2 Replies View Related

Ubuntu :: What Does 320 Kbps Mean

Jan 6, 2011

I am using auddacity to edit my mp3s. They were originally 120 kbps, but I save them at 320 kbps. Whats the difference? Does 320 sound better? They sound the same to me.

View 5 Replies View Related

Ubuntu Multimedia :: Issues While Converting 192 Kbps Mp3 Using Ffmpeg

Jun 9, 2010

I'm having issues while converting 192kbps mp3 using ffmpeg. The right channel somehow gets damaged. I'm using winff and I'm facing this problem only when using mp3 files having bit rate of 192 kbps . i've attached the screenshots of the file . Should i report a bug??

View 2 Replies View Related

Networking :: Wireless Download Speed Limited To 64 Kbps

Sep 12, 2010

I am connecting from this Ubuntu 9.10 computer to a WRT54G running dd-wrt, over WPA2 AES. Normally, everything works fine and I get very satisfactory download speeds; usually 1.5+ Mbps. Sometimes though, usually after restarting networking a lot, i.e. /etc/init.d/networking restart, the download speed seems to be limited to around 64-70 kbps. It also happened recently when I disconnected from a vpn with vpnc. It's really strange because it has nothing to do with changing any settings.

The only things I can think of are POSSIBLY wpa_supplicant causing problems because that's the only thing besides networking that's restarted. It could be related to my router config but I can't imagine what because it runs so fast normally. Rebooting the router doesn't fix it. Restarting the network, manually killing wpa_supplicant, rebooting the router. None of these seem to fix it. The only way I've found is to just reboot. Obviously, something breaks at some point that isn't affected again by anything but a reboot.

View 2 Replies View Related

Debian :: How To Save Audio Settings

Nov 17, 2015

I have three audio devices on my system;

1. a builtin (broken)
2. an HDMI on my graphics board
3. a USB audio device (i am using this one)

I normally shut off the system each night. Next day, I have to go through the pulse-audio mixer and re-set all of the audio settings. They are apparently not being saved. I've searched the forum for 'save audio' and similar terms but no joy.

View 7 Replies View Related

OpenSUSE :: System Settings / Audio Crash

Jan 24, 2010

Today, I started having a problem with the "System Settings" audio option. Basically, when I go to Personal Settings -->Multimedia I get a crash.This also means that I am not getting sound correctly.

View 8 Replies View Related

Ubuntu :: 10.4 RC - Your Audio Capture Settings Are Invalid

Apr 24, 2010

Running 10.4 Luci RC 64-bit desktop and when attempting to run Applications > Sound & video > Sound recorder, I receive the following error message:

Quote:

Your audio capture settings are invalid. Please correct them with the "Sound Preferences" under the System-Preferences menu. When I do go to System > Preferences > Input, there is only 1 device - "Internal Audio Analog Stereo" with no options for modification.My laptop does have an internal microphone but it apparently isn't working as nothing was recorded when I ran a Skype test call. This is the reason why I attempted to record something to check the mic.

View 1 Replies View Related

Ubuntu :: Analog Audio Output Settings?

Mar 8, 2011

I have just gotten unbuntu install and was force to learn cuase while installing i accidently messed up the part of windows it needs to start i think on another hard drive.

i dont mind anymore. its a easy learn but now i down to the nitty gritty stuff.my audio outputs. i have a biostar board with reltek onboard audio.board model: TF8200 A2+ now i am just looking for a way to manage what one of the 6 ports do what.. like before in windows 7 with the realtek program. i could make every single on back their all fronts. or all line ins. or anything in between.

i dont really no what else to say. what ever other info you need just ask and ill reply fast.ps Ubuntu is awesome. its so slick with compiz and conky is nice to. only other problem i have now is music manager/player/mp3 sync. anyone know a good program off the top of your head?

View 2 Replies View Related

Ubuntu Multimedia :: USB External Audio Card Settings?

May 24, 2010

I've purchased Creative sound blaster. It's external usb sound card, which worked well as I plugged it in. In sound preferences it was setted to 'Analog stereo output' in hardware, and I've accidently messed up with Connector droplist in Output bookmark. As a result - silence in my speakers. I wonder what went wrong and where to search for it. The card is worked and it is supported by ALSA. Just some settings went wrong.

View 1 Replies View Related

Ubuntu Multimedia :: 10.04 - HDMI Audio And ALSA Settings

Dec 3, 2010

I've recently encountered a sound issue and I recently installed the nvidia gt220 in my box and was thrilled at how well it worked with hdmi until I tried to use the audio. I updated my alsa and went into the alsamixer and it does detect my gt220. I unmuted all spdif and tested the sound and with success the sound test works. I know the card and device numbers that work with the audio but now sure where to make changes so it will default to that device instead of the onboard audio that it seems to try to use now. I am running lucid 10.04.

View 4 Replies View Related

Ubuntu Multimedia :: How To Make Vlc Remember My Preset Audio Settings

Apr 13, 2011

how can I make vlc media player remember my preset audio settings. I'd want it to start up with ska preset instead of flat nothing.

View 2 Replies View Related

Ubuntu Multimedia :: Pulse Audio Volume Controller: Stop It From Changing Settings?

Jun 12, 2010

I'm still working on ubuntu 9.10 with an acer aspire 1810tz. To use my microphone I found out that I have to change my microphone settings because it's mono and the default setting is thinking it's stereo: With the Volume Controller I setup one chancel to 5 and the other to 90 and the mic is working fine. Starting Skype and using it I see that the setting is reducing the volume for the mic below 20, so nobody can hear me. I tried closing first Volume Controller and then starting Skype, no matter the volume of the mic is reduced. How do I stop this behavior?

View 2 Replies View Related

Software :: How To Set Bitrate For MPlayer

May 8, 2010

Trying to play a *.mp4 video using mplayer and the picture is jumpy and the sound completely screwed. It say it is guessing the bitrate thus:

Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)

In fact the bitrate should be 139 or possibly 132. So assume that is what is wrong. Have assiduously coated myself with nourishing smegma and the like but am unable to work out how to set the bitrate in this case.

View 14 Replies View Related

Software :: Same MP3 But Bitrate Changes On Different Distros

Jan 29, 2011

I have the same mp3 on two different distros, Fedora 14 and Ubuntu 10.10, both using gnome. The md5sum of the mp3 is identical on both distros, but on Ubuntu the bitrate is 96kbps and on Fedora it is apparently 257kbps. Discovered this using RhythmBox but also appears in Nautilus browser, under the properties tag.

View 1 Replies View Related

Slackware :: Finding Out The Bitrate In A MP3 With ID3 Tag?

Dec 16, 2010

Kernel 2.6.21.5, Slakware 12.0 I have plenty of files like this:

Code:

$ file 23-1.mp3
23-1.mp3: Audio file with ID3 version 23.0 tag, MP3 encoding
$

All I want to know about a file like this is the bitrate is has been created with. Can this data be inside the tag? What's a cli program that lets me know that information?

View 5 Replies View Related

Ubuntu :: Reduce MP3 Bitrate Using Lame?

Jun 17, 2011

I am wanting to reduce around 9.9gigs of music to 8gigs to fit on my phone. I have done some snooping and noticed a program called Lame. I also noticed a code:

for x in [ `ls -1 *.mp3` ]; do lame --preset 32 $x new32-${x}; done

I was wondering if someone would be able to explain the code and how I go about converting the bitrate to 96?

View 1 Replies View Related

Networking :: How To Estimate IP Layer Bitrate

Feb 2, 2011

I am trying to find out how I can estimate the IP Layer bitrate I would get from an ethernet link? Say at 100 Mbits/s or 200 Mbits/s (powerline)? Is there a formula that I could use to calculate that?

View 2 Replies View Related

Software :: Any MP3 Ripper With Variable Bitrate?

Dec 2, 2008

The subject of this post is actually a question e.g. is there a mp3 ripper that allows the bitrate to be modified. I have looked at cdparanioa, which I believe is the foundation of most of the Linux rippers, but it does not allow modification of the bitrate. I realise I could ripper in flacc format but I have an mp3 player as does my grandaughter so I need the mp3 format. Incidentally is there a player(portable) that will play flacc encoded files?

View 1 Replies View Related

Programming :: Need To Determine Bitrate Of Stream?

Dec 3, 2009

I'm new to gStreamer and need to determine the bitrate of a stream. Has anyone here worked with this before and does anyone know how to do it?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved