Filtering audio in LabView

Hi,
I'm still working on my LabView project to obtain the numerical value of the peak frequency in a spectrum. 
I'm using an example VI, and I've done some slight modification to it to learn how to implement filtering.
I've added a filter, but cannot seem to get it to make any difference in the output.  I'd like to cut out the lower part of the spectrum.
If anyone has any advice as to why it is behaving as if I don't have a filter in at all, I would very much appreciate it.
Thanks,
Wes
Attachments:
Sound Card Spectrum Modified.vi ‏114 KB

nvaloor wrote:
Hi
I need to do the following
I have a audio file which has a person speaking and typing simultaneously.
What I need is to filter out the voice of the person and just get the keystroke sounds.
By analysing the sprectrum you can probably detect the key stroke, and use the spectrum before and after the stroke to estinate a filter to filter out the speaker during the stroke.
Look at the spectrogram.
Mono or stereo input?  Using the phase information might help too.
Powerful algorythms have been created to do such tasks (ask the NSA ?? ) but a slightly similar task is the party-problem for hearing aids->multiple sound sources, where our brain (together with both ears) is able to filter out the sound (usually person) of interest, but people who wear hearing aids lost that feature. Search for puplications in the acustics fields.
Kalman-filters might do the job (Have fun ) 
Greetings from Germany
Henrik
LV since v3.1
“ground” is a convenient fantasy
'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

Similar Messages

  • Record audio with labview and audio dataplugin

    The thing I would like to do, is write waveforms to WAV/wma/mp3 files.
    The way to do this, is probably with the help of the audio data plugin.
    However, it is far from clear how to configure and use this plugin with LabView. There is documentation available for DIAdem, but what good is that to me, as a simple LabView user?
    There is also an example for reading dataPlugin data with LabView, but this example is:
    A) not working, e.g. it cannot open a simple WAV file, when using "uspAudio" as DataPlugin Name
    B) not documented
    C) not handeling errors
    D) only reading, not writing, which is slightly more complicated.
    So, tips for writing waveform to audio files and/or
    tips for working with dataPlugins in LabView would be welcome...

    Ok, so, now I can read a WAV/WMA/mp3 file, see attached VI
    There's still one problem: writing data to a WAV/WMA/mp3 file. In my "DataPlugin Write Audio File.vi" I try to read from / listen to a microphone connected to a AD card. On the Waveform graph, I see my signal correctly, but in the WAV file, there is only a flat line (zero's).
    Perhaps it is needed to add properties to the group, but I don't know which properties to add...
    All advice is appreciated...
    Message Edited by bram@tno on 08-08-2007 07:00 AM
    Attachments:
    DataPlugin Load Audio File.vi ‏46 KB
    DataPlugin Write Audio File.vi ‏229 KB

  • How can capture audio with labview

        I desired to make a audio equalizer vi using lab view. Audio will be taken from microphone. How can I capture sound from microphone with labview?

    See the example "Sound Card AutoPower Spectrum" This allows you to sample from an input device through your sound card, and take a spectrum.  you should be able to bin the spectrum by frequency bands, and show the histogram of frequencies.  You probably can even selectively resample and scale the frequencies, mix the signal and output the new sounds but I hav not tried this (I am not an audiophile so this is beyond my scope of expertise)  Good luck  ,
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • Filtering Audio Files In Obj-C

    I am trying to write a cocoa app that will import a wav file, filter it through octaves then display the information in tabular form as well as graph it on a grid. How would i go about importing the wav file? Thanks.

    Hi,
    there are different possibilites, one is CoreAudio which might take some time to learn, a second is to use linux libraries like libsndfile (has to be installed first), which for example is used in the Musickit as well. A third way would be to read the Wavefile as a NSData object, next extracting everything per hand... and fourth Quicktime API.
    How did you implement the filter? I was wondering since I am alsways looking for better audio filters (I am working on a bat call analysis tool and good filters are quite useful )
    Volker

  • Is ALAC Filtering Audio?

    I'm currently in the process of importing a rather sizable library of CDs into iTunes and have opted for ALAC as the file format of choice.
    However, when evaluating the sound quality of the ALAC files, there definitely seems to be a lacking transparency between the source CD tracks and the ALAC files. More specifically the ALAC files sound as if they have gone through some sort of noise filtering similar to Dolby NR or MPX. The best way I can describe the difference is a loss of transparency in the ALAC files at the higher frequency range compared to the original source CDs.
    I should note that all of my evaluations have been done solely on my PowerBook using iTunes 7.0.1... thereby ruling out different D/A converters as a possible cause to this perceived lacking transparency.
    I would like to know if anyone with knowledge of ALAC can give some insight as to whether what I'm experiencing is a phenomenon intrinsic to lossless compression or something more isolated to just Apple's lossless encoder. With the overwhelming abundance of material on lossy audio formats, I've found that finding good reference documentation on lossless audio has been something of a struggle.
    I would greatly appreciate more insight on the technical fundamentals that go into lossless compression.

    I'm 99.9999% confident that it is just your imagination.
    Apple Lossless, like all other lossless codecs, uses a technique called linear prediction: http://en.wikipedia.org/wiki/Linear_prediction
    More to the point, Apple Lossless, like any other lossless codec, can be encoded and then decoded again. When you compare the two results, they are bit-perfect.

  • Vis for recording AVI with audio in LabViEW--d​ownload available

    Hi,
    for people asking for recording avi file with sound,
    here we go. The IVision-AudioPlus is available. You can
    record live video(or processed images) into avi file
    with the audio from the sound card or DV stream for DV
    camcorder or convert other movie files(such as mpeg
    file) into AVI file with selectable compression for
    video and audio. Plus the newest version of IVision 1.3 and AudioPlus is available for download for a full feature evalutation at:
    http://www.hytekautomation.com/products.html
    Irene He

    Hi,
    for people asking for recording avi file with sound,
    here we go. The IVision-AudioPlus is available. You can
    record live video(or processed images) into avi file
    with the audio from the sound card or DV stream for DV
    camcorder or convert other movie files(such as mpeg
    file) into AVI file with selectable compression for
    video and audio. Plus the newest version of IVision 1.3 and AudioPlus is available for download for a full feature evalutation at:
    http://www.hytekautomation.com/products.html
    Irene He

  • Audio File - Specific frequency range filtering

    Hi! Im very noob in labview, i need help for my exam! The task is to do a audio filtering program in labview. Sorry about my bad english. :/
    here it is:
    First thing: We must do a wav file with some noise then we need  to describe with some aspects:
    -The noise's specific frequency range
    - The wav file's specific frequency range
    We need to with the program:
    -Specific frequency range filtering ( with windowed -sinc)
    - One input : the wav file
    - One output: the filtered wav file
    - Compare the filtering with the built in digital filters
    ( we can change the parameters in the front panel! )

    Hello.
    I suggest you to start with examples from Example Finder (in Labview go to Help>> Example Finder). There you can do a search for function you are interested in and figure out how those simple example are implemented. Combination of those examples will bring you result.
    Functions which can be usefull for your task, you can find on Sound and Vibration subpalette (block diagram).
    Links for examples, which explains how to use those functions, you can find in detailed help of those functions.
    Do a serach how to write in wav file in LV, how create signals with specified features, how to add noice to signal, how to filter signals,...
    I do not think that asking for a code, without trying firstly, is good aproach...Did you try to do your task by yourself?
    Best regards, 
    S.P.

  • Play cd audio labview

    Bonjour,
    J'ai trouvé sur le forum un VI permettant de lire les pistes d'un CD
    audio avec LabView et ça fonctionne très bien (merci à son auteur).
    Cependant, j'aimerais aussi avoir comment récupérer des informations
    sur la lecture en cours, notamment la piste en cours de lecture, la
    durée restante, le temps en cours, le nombre de pistes du CD inséré. Je
    sais que que winmm.dll permet de récupérer ces informations, mais je ne
    sais pas comment coder ça en LabView.
    Je joins le fichier original qui permet la lecture des pistes.
    Merci d'avance pour votre aide.
    Hello,
    I've found on this forum au VI which can play audio CD tracks with LabView and it works great (thanks to the author).
    But I would to know how to recover the playing track, the elapsed time, the playing time, and the number of tracks on the cd. I Know that winmm.dll permit this functions but I don't know how to code that with LabView.
    I join the original Vi which plays the audio tracks.
    Thanks for help.
    Attachments:
    PlayCD.vi ‏22 KB

    Hi,
    It's useless to post 2 topics on the French and English forum for the same problem.
    Somebody answers here, advicing to have a look on the web to find this kind of page
    You need to use a call library node, double-click the node and then enter the correct parameters to call the DLL winmm.dll properly.
    Browsing documentation will help you to find the function that fit your needs.
    Cordialement / Regards, Matthieu B. @ NI France.

  • How can I copy an audio effect from a clip and paste it to another clip in the same timiline...With FCPro 7 it was all so fast........

    how can I copy an audio effect from a clip and paste it to another clip in the same timiline...With FCPro 7 it was all so fast........

    Tom Wolsky wrote:
    The advantage goes to FCP7 if you allow that it can copy and paste filters, audio and video, transformations, and other attributes separately.
    You can do that in FCPX too, as all the things you cited are listed separately in the inspector.
    Here's a little gotcha. Let's say you've color corrected a few clips and you've applied an effect to one and want to paste it the other clips. You switch off color correction and copy the clip. You select the other clips and paste effects. What do you think happens? The effect is applied, but the color correction is applied as well, only it's switched off as it was in the first clip, so all the color correction on the other clips is lost. Fun, eh?
    I'll try to replicate your gotcha - but no, that doesn't sound like fun at all!

  • How can I get the DC component out of a signal in Labview

    I was trying to get the DC component of a signal using lowpass filters provided by Labview(professional version 8.2). I used the FIR windowed filter but I couldn't get what I expected. The sample rate is 20* the maxium signal frequency. I simulated a function like y= 10(volt)+Sin(2*pi*f*t+phase). If I set the low cutoff to be less than the frequency f, shouldn't I get 10 volt as the outputs?  See the attachment for vi. Thanks!
    Attachments:
    Simulation03062008.vi ‏53 KB

    Hi,
    You can use the filters located in Signal Processing -> Filters, then create a constant from the "filter type" input and select "Lowpass". There is also an AC & DC estimator vi, located in: Signal Processing -> Measurement.
    You may also use something like "running mean" filter. To do it you need to calculate the mean value in some range around every point. It will decrease the value of the noise and will give you the dc value (or slow changing part) of your signal. Finally you can use median filter.
    Benjamin R.
    R&D Software Development Manager
    http://www.fluigent.com/
    Attachments:
    meanrun.vi ‏21 KB

  • Implement active filter in LabVIEW using Orcad

    Hello. My problem is as follows:
    I have to generate a filtered signal using LabVIEW and NI-5411(Arbitrary Waveform Generator)(A sinus sweep from 10KHz to 100KHz in LabVIEW --> filter it in LabVIEW --> AWG NI-5411). The filter to use is an active filter designed with Orcad. I had thought of two choices: integrating somehow Orcad in LabVIEW or using a mathematical expression via a Formula Node to characterize that filter. The question would be how should I do it and how do I implement it.Just started working with NI5411, so any help would be really valuable. Thanks.

    Nlquist, I am attaching a passive filter in this post. But please see that it is a very rough simulation, I have not yet finalised it. I have done using signal processing and butterworth filter  In this attached simulation, I have made a noisy sine wave and filtered it using Butterworth filter. Perhaps now you could be able to answer ny doubt in a better way. I am also attaching a pdf  on reading which, I was able to simulate the passive filter ..I have checked the wikipedia page which you are referring but it contains no information how to simulate it in labview. It just contain theory of active and passsive filter. Tell me any method -simple or difficult but please help me with this active analog filter
    Attachments:
    filter labview good.pdf ‏451 KB
    low pass and high pass filter.vi ‏83 KB

  • Premiere Audio Filter Issues

    So I've finished my project, applied audio filters (Denoiser) to get rid of the hissing sound. Worked flawlessly. Sounds great in my project, but once exported the hissing returns at the begining of each new audio clip. The sound gets perfect again after a second or two but reverts to the pre-filter sound each time a new clip comes in.
    So is there a fade in-out for the audio filter? I can't find one (and why would one want one). Doesn't matter how I export, to any file type, always the same, brief original audio which gently fades back to the perfect-filtered audio.
    Again, sounds perfect all the way through in my project, but not after rendering. Any ideas?

    This is a known issue with certain audio filters in PP.  The recommended solution is to process those audio files in Audition instead.
    And do file a bug report.
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • [SOLVED] MPlayer/Pulseaudio, No audio output

    I can't seem to figure out how to make mplayer's "ao=pulse" option to work.
    It works fine with alsa, but I couldn't find anything definitive on Google about what might be wrong.  I think one of the problems might be that I couldn't find any errors in mplayer's output.
    Here is the verbose output of an example file:
    $ mplayer -v example.mp4
    MPlayer SVN-r35107-4.7.2 (C) 2000-2012 MPlayer Team
    CPU vendor name: GenuineIntel max cpuid level: 11
    CPU: Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz (Family: 6, Model: 37, Stepping: 2)
    extended cpuid-level: 8
    extended cache-info: 16801856
    Detected cache-line size is 64 bytes
    CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
    Compiled with runtime CPU detection.
    get_path('codecs.conf') -> '/home/user/.mplayer/codecs.conf'
    Reading optional codecs config file /home/mike/.mplayer/codecs.conf: No such file or directory
    Reading optional codecs config file /etc/mplayer/codecs.conf: 198 audio & 409 video codecs
    init_freetype
    Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
    get_path('fonts') -> '/home/user/.mplayer/fonts'
    Configuration: --prefix=/usr --enable-runtime-cpudetection --disable-gui --disable-arts --disable-liblzo --disable-speex --disable-cdparanoia --disable-openal --disable-libdv --disable-musepack --disable-esd --disable-mga --disable-ass-internal --enable-xvmc --enable-radio --enable-radio-capture --disable-vdpau --enable-vaapi --language=all --confdir=/etc/mplayer
    CommandLine: '-v' 'example.mp4'
    Using nanosleep() timing
    get_path('input.conf') -> '/home/user/.mplayer/input.conf'
    Reading optional input config file /home/user/.mplayer/input.conf: No such file or directory
    Parsing input config file /etc/mplayer/input.conf
    Input config file /etc/mplayer/input.conf parsed: 92 binds
    get_path('example.mp4.conf') -> '/home/user/.mplayer/example.mp4.conf'
    Playing example.mp4.
    get_path('sub/') -> '/home/user/.mplayer/sub/'
    [file] File size is 2285184 bytes
    STREAM: [file] example.mp4
    STREAM: Description: File
    STREAM: Author: Albeu
    STREAM: Comment: based on the code from ??? (probably Arpi)
    libavformat version 54.25.104 (internal)
    Configuration: --enable-gpl --enable-postproc
    LAVF_check: QuickTime / MOV
    libavformat file format detected.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]ISO: File Type Major Brand: mp42
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]File position before avformat_find_stream_info() is 10279
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]first_dts 14 not matching first dts 0 in que
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]first_dts 14 not matching first dts 0 in que
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]first_dts 14 not matching first dts 0 in que
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]first_dts 14 not matching first dts 0 in que
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]first_dts 14 not matching first dts 0 in que
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]File position after avformat_find_stream_info() is 31013
    ==> Found video stream: 0
    ======= VIDEO Format ======
    biSize 79
    biWidth 640
    biHeight 360
    biPlanes 0
    biBitCount 24
    biCompression 875967048='H264'
    biSizeImage 691200
    Unknown extra header dump: [1] [42] [c0] [1e] [ff] [e1] [0] [18] [67] [42] [c0] [1e] [da] [2] [80] [bf] [e5] [84] [0] [0] [3] [0] [4] [0] [0] [3] [0] [c0] [3c] [58] [ba] [80] [1] [0] [4] [68] [ce] [3c] [80]
    ===========================
    [lavf] stream 0: video (h264), -vid 0
    ==> Found audio stream: 1
    ======= WAVE Format =======
    Format Tag: 20557 (0x504D)
    Channels: 2
    Samplerate: 44100
    avg byte/sec: 12021
    Block align: 1
    bits/sample: 16
    cbSize: 16
    Unknown extra header dump: [12] [10] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
    ==========================================================================
    [lavf] stream 1: audio (aac), -aid 0, -alang und
    LAVF: 1 audio and 1 video streams found
    LAVF: build 3545448
    VIDEO: [H264] 640x360 24bpp 24.000 fps 562.6 kbps (68.7 kbyte/s)
    [V] filefmt:44 fourcc:0x34363248 size:640x360 fps:24.000 ftime:=0.0417
    Clip info:
    major_brand: mp42
    minor_version: 0
    compatible_brands: isommp42
    creation_time: 2013-03-18 01:56:42
    Load subtitles in ./
    get_path('sub/') -> '/home/user/.mplayer/sub/'
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]demuxer injecting skip 2112
    X11 opening display: :0
    vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
    vo: X11 running at 1600x900 with depth 24 and 32 bpp (":0" => local display)
    [x11] Detected wm supports NetWM.
    [x11] Detected wm supports FULLSCREEN state.
    [x11] Detected wm supports ABOVE state.
    [x11] Detected wm supports BELOW state.
    [x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
    [VO_XV] Using Xv Adapter #0 (Intel(R) Textured Video)
    [xv common] Drawing no colorkey.
    [xv common] Maximum source image dimensions: 2048x2048
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    libavcodec version 54.53.100 (internal)
    Configuration: --enable-gpl --enable-postproc
    INFO: libavcodec init OK!
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    dec_audio: Allocating 1536000 + 131072 = 1667072 bytes for output buffer.
    FFmpeg's libavcodec audio codec
    INFO: libavcodec "aac" init OK!
    AUDIO: 44100 Hz, 2 ch, s16le, 96.2 kbit/6.81% (ratio: 12021->176400)
    Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
    ==========================================================================
    Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
    [libaf] Adding filter dummy
    [dummy] Was reinitialized: 44100Hz/2ch/s16le
    [dummy] Was reinitialized: 44100Hz/2ch/s16le
    Trying preferred audio driver 'pulse', options '[none]'
    AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
    AO: Description: PulseAudio audio output
    AO: Author: Lennart Poettering
    Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
    [dummy] Was reinitialized: 44100Hz/2ch/s16le
    [dummy] Was reinitialized: 44100Hz/2ch/s16le
    Starting playback...
    Increasing filtered audio buffer size from 0 to 46144
    Unsupported PixelFormat 61
    Unsupported PixelFormat 81
    Unsupported PixelFormat 61
    [VD_FFMPEG] Trying pixfmt=0.
    [ffmpeg] aspect_ratio: 0.000000
    Unsupported PixelFormat 61
    VDec: vo config request - 640 x 360 (preferred colorspace: Unknown 0x0000)
    Trying filter chain: vo
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    SwScale params: -1 x -1 (-1=no scaling)
    Trying filter chain: scale vo
    The selected video_out device is incompatible with this codec.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    [VD_FFMPEG] Trying pixfmt=1.
    [ffmpeg] aspect_ratio: 0.000000
    VDec: vo config request - 640 x 360 (preferred colorspace: H.264 VA-API Acceleration)
    Trying filter chain: vo
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    SwScale params: -1 x -1 (-1=no scaling)
    Trying filter chain: scale vo
    The selected video_out device is incompatible with this codec.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    Unsupported PixelFormat 81
    [VD_FFMPEG] Trying pixfmt=2.
    [ffmpeg] aspect_ratio: 0.000000
    Unsupported PixelFormat 81
    VDec: vo config request - 640 x 360 (preferred colorspace: Unknown 0x0000)
    Trying filter chain: vo
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    SwScale params: -1 x -1 (-1=no scaling)
    Trying filter chain: scale vo
    The selected video_out device is incompatible with this codec.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    [VD_FFMPEG] Trying pixfmt=3.
    [ffmpeg] aspect_ratio: 0.000000
    VDec: vo config request - 640 x 360 (preferred colorspace: Planar YV12)
    Trying filter chain: vo
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is undefined - no prescaling applied.
    VO Config (640x360->640x360,flags=0,'MPlayer',0x32315659)
    VO: [xv] 640x360 => 640x360 Planar YV12
    VO: Description: X11/Xv
    VO: Author: Gerd Knorr <[email protected]> and others
    Xvideo image format: 0x32595559 (YUY2) packed
    Xvideo image format: 0x32315659 (YV12) planar
    Xvideo image format: 0x30323449 (I420) planar
    Xvideo image format: 0x59565955 (UYVY) packed
    Xvideo image format: 0x434d5658 (XVMC) planar
    using Xvideo port 75 for hw scaling
    *** [vo] Exporting mp_image_t, 640x360x12bpp YUV planar, 345600 bytes
    Unicode font: 2293 glyphs.
    Unicode font: 2293 glyphs.
    A: 4.3 V: 4.3 A-V: 0.000 ct: 0.042 0/ 0 4% 0% 0.3% 0 0
    Uninit audio filters...
    [libaf] Removing filter dummy
    Uninit audio: ffmpeg
    Uninit video: ffmpeg
    vo: uninit ...
    Exiting... (Quit)
    Is there something else I can check with the MPlayer feedback?
    Also, I'm using mplayer-vaapi, but I took a look at its abs PKGBUILD and it didn't have any configure options disabling pulseaudio.  At least I'm assuming the abs PKGBUILDs reflect the default options that the binaries come with.
    Last edited by mellowmaroon (2013-04-14 05:26:07)

    You were right about it being muted through the PA mixer!  I didn't think about that, and installed pavucontrol.  I figure I'll try to learn how to learn to do it through pactl/pacmd sometime.
    Though, I have "flat-volumes = no" so I have a kind of global maximum volume and normally can set other applications' volumes individually from within the program. Pavucontrol reflects MPD+ncmpcpp volume changes, but apparently doesn't seem to pick up MPlayer's application volume.
    Is there any way to fix MPlayer so it's internal volume adjustment will be the same as what is under Playback in pavucontrol?  Or if it isn't exclusive to MPlayer, is there any way to have all applications start at the 100% playback volume (not the output device volume)?
    EDIT: Quickly found it! Haha I had "softvol=yes" in my config file, I think to try to increase the Alsa volume when I had that on.  Thanks for your help anyway!
    Last edited by mellowmaroon (2013-04-14 05:25:24)

  • FCP Filters not transfering to Motion

    I'm working on a project in Final Cut, and I've just built a template in
    motion that I want to use in FCP. I saved the motion project as a template, and thought it was working fine in FCP, but when I drag clips into the drop zones, it doesn't keep any of the filters (audio or video) that I've applied to the clips. For instance, if I have a clip that I want black and white, when I drag it into the Motion template, it comes out in color. Does anyone have any ideas?
    Thanks so much!

    You need to apply the filters to the dropzones in Motion, then save the template, then add your straight video in FCP and the Motion filters will work.

  • [SOLVED] .mkv audio issues after updating x264, ffmpeg and mplayer

    Since I updated to x264-20100410-1, ffmpeg-22837-2 and mplayer-31029-1 the audio of random mkv files is having issues. While it seems to be in sync with the video it sounds as if it was slowed down.
    The problem was solved after downgrading back to the previous versions with:
    pacman -U /var/cache/pacman/pkg/x264-20100312-1-i686.pkg.tar.xz
    /var/cache/pacman/pkg/ffmpeg-22511-1-i686.pkg.tar.xz
    /var/cache/pacman/pkg/mplayer-30886-1-i686.pkg.tar.xz
    I can't pinpoint the precise culprit using the binary packages and have no time right now to recompile them and track the problem individually, sorry.
    Last edited by dresb (2011-02-07 16:30:03)

    I reinstalled the new versions and tried again but the problem seems to be independent of the -vo (or -ao) drv. I even tried null as -vo but the sound is still distorted. The video plays fine.
    The logs of the current (problematic) versions:
    MPlayer SVN-r31029-4.4.3 (C) 2000-2010 MPlayer Team
    CPU vendor name: GenuineIntel max cpuid level: 10
    CPU: Genuine Intel(R) CPU T2080 @ 1.73GHz (Family: 6, Model: 14, Stepping: 12)
    extended cpuid-level: 8
    extended cache-info: 67125312
    Detected cache-line size is 64 bytes
    Testing OS support for SSE... yes.
    Tests of OS support for SSE passed.
    CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 0
    Compiled with runtime CPU detection.
    get_path('codecs.conf') -> '/home/andres/.mplayer/codecs.conf'
    Reading /home/andres/.mplayer/codecs.conf: Can't open '/home/andres/.mplayer/codecs.conf': No such file or directory
    Reading /etc/mplayer/codecs.conf: 150 audio & 337 video codecs
    Configuration: --prefix=/usr --enable-runtime-cpudetection --disable-gui --disable-arts --disable-liblzo --disable-speex --disable-openal --disable-fribidi --disable-libdv --disable-musepack --disable-esd --disable-mga --enable-xvmc --enable-liba52-internal --language=all --confdir=/etc/mplayer --extra-cflags=-fno-strict-aliasing
    CommandLine: '-v' 'South.Park.S14E04.You.Have.0.Friends.HDTV.XviD-FQM-muxed.mkv'
    init_freetype
    Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
    get_path('fonts') -> '/home/andres/.mplayer/fonts'
    Using nanosleep() timing
    get_path('input.conf') -> '/home/andres/.mplayer/input.conf'
    Can't open input config file /home/andres/.mplayer/input.conf: No such file or directory
    Parsing input config file /etc/mplayer/input.conf
    Input config file /etc/mplayer/input.conf parsed: 91 binds
    Setting up LIRC support...
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.
    get_path('South.Park.S14E04.You.Have.0.Friends.HDTV.XviD-FQM-muxed.mkv.conf') -> '/home/andres/.mplayer/South.Park.S14E04.You.Have.0.Friends.HDTV.XviD-FQM-muxed.mkv.conf'
    Playing South.Park.S14E04.You.Have.0.Friends.HDTV.XviD-FQM-muxed.mkv.
    get_path('sub/') -> '/home/andres/.mplayer/sub/'
    [file] File size is 41061991 bytes
    STREAM: [file] South.Park.S14E04.You.Have.0.Friends.HDTV.XviD-FQM-muxed.mkv
    STREAM: Description: File
    STREAM: Author: Albeu
    STREAM: Comment: based on the code from ??? (probably Arpi)
    LAVF_check: Matroska file format
    Checking for YUV4MPEG2
    ASF_check: not ASF guid!
    Checking for REAL
    Checking for SMJPEG
    [mkv] Found the head...
    [mkv] + a segment...
    [mkv] /---- [ parsing seek head ] ---------
    [mkv] /---- [ parsing cues ] -----------
    [mkv] \---- [ parsing cues ] -----------
    [mkv] /---- [ parsing chapters ] ---------
    [mkv] Chapter 0 from 00:00:00.097 to 00:00:00.000, 00:00:00.097
    [mkv] \---- [ parsing chapters ] ---------
    [mkv] \---- [ parsing seek head ] ---------
    [mkv] |+ segment information...
    [mkv] | + timecode scale: 1000000
    [mkv] | + duration: 1305.942s
    [mkv] |+ segment tracks...
    [mkv] | + a track...
    [mkv] | + Track number: 1
    [mkv] | + Track type: Video
    [mkv] | + Default flag: 1
    [mkv] | + Codec ID: V_MPEG4/ISO/AVC
    [mkv] | + CodecPrivate, length 40
    [mkv] | + Default duration: 41.708ms ( = 23.976 fps)
    [mkv] | + Language: und
    [mkv] | + Video track
    [mkv] | + Pixel width: 624
    [mkv] | + Pixel height: 352
    [mkv] | + Display width: 624
    [mkv] | + Display height: 352
    [mkv] | + a track...
    [mkv] | + Track number: 2
    [mkv] | + Track type: Audio
    [mkv] | + Default flag: 1
    [mkv] | + Codec ID: A_AAC
    [mkv] | + CodecPrivate, length 7
    [mkv] | + Default duration: 42.667ms ( = 23.438 fps)
    [mkv] | + Language: und
    [mkv] | + Audio track
    [mkv] | + Sampling frequency: 24000.000000
    [mkv] | + Channels: 2
    [mkv] |+ found cluster, headers are parsed completely :)
    ==> Found video stream: 1
    [mkv] Aspect: 1.772727
    [mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
    ==> Found audio stream: 2
    [mkv] Track ID 2: audio (A_AAC), -aid 0, -alang und
    [mkv] Will play video track 1.
    Matroska file format detected.
    VIDEO: [avc1] 624x352 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
    [V] filefmt:31 fourcc:0x31637661 size:624x352 fps:23.976 ftime:=0.0417
    get_path('sub/') -> '/home/andres/.mplayer/sub/'
    X11 opening display: :0
    vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
    vo: X11 running at 1280x800 with depth 24 and 32 bpp (":0" => local display)
    [x11] Detected wm supports NetWM.
    [x11] Detected wm supports FULLSCREEN state.
    [x11] Detected wm supports ABOVE state.
    [x11] Detected wm supports BELOW state.
    [x11] Detected wm supports STAYS_ON_TOP state.
    [x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
    Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
    [vdpau] Error when calling vdp_device_create_x11: 1
    [VO_XV] Using Xv Adapter #0 (Intel(R) Textured Video)
    [xv common] Drawing no colorkey.
    [xv common] Maximum source image dimensions: 2048x2048
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    INFO: libavcodec init OK!
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    dec_audio: Allocating 192000 + 65536 = 257536 bytes for output buffer.
    FFmpeg's libavcodec audio codec
    INFO: libavcodec "aac" init OK!
    AUDIO: 24000 Hz, 2 ch, s16le, 128.0 kbit/16.67% (ratio: 16000->96000)
    Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
    ==========================================================================
    Building audio filter chain for 24000Hz/2ch/s16le -> 0Hz/0ch/??...
    [libaf] Adding filter dummy
    [dummy] Was reinitialized: 24000Hz/2ch/s16le
    [dummy] Was reinitialized: 24000Hz/2ch/s16le
    Trying every known audio driver...
    ao2: 24000 Hz 2 chans s16le
    audio_setup: using '/dev/dsp' dsp device
    audio_setup: using '/dev/mixer' mixer device
    audio_setup: using 'pcm' mixer device
    [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
    alsa-init: requested format: 24000 Hz, 2 channels, 9
    alsa-init: using ALSA 1.0.22
    alsa-init: setup for 1/2 channel(s)
    alsa-init: using device default
    alsa-init: pcm opened in blocking mode
    alsa-init: got buffersize=32768
    alsa-init: got period size 1024
    alsa: 48000 Hz/2 channels/4 bpf/32768 bytes buffer/Signed 16 bit Little Endian
    AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
    AO: Description: ALSA-0.9.x-1.x audio output
    AO: Author: Alex Beregszaszi, Zsolt Barat <[email protected]>
    AO: Comment: under developement
    Building audio filter chain for 24000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
    [dummy] Was reinitialized: 24000Hz/2ch/s16le
    [libaf] Adding filter lavcresample
    [dummy] Was reinitialized: 48000Hz/2ch/s16le
    [dummy] Was reinitialized: 48000Hz/2ch/s16le
    Starting playback...
    [libaf] Reallocating memory in module lavcresample, old len = 0, new len = 36869
    Increasing filtered audio buffer size from 0 to 36800
    [h264 @ 0x8a214e0]no picture
    [ffmpeg] aspect_ratio: 1.772727
    VDec: vo config request - 624 x 352 (preferred colorspace: Planar YV12)
    Trying filter chain: vo
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
    VO Config (624x352->624x352,flags=0,'MPlayer',0x32315659)
    VO: [xv] 624x352 => 624x352 Planar YV12
    VO: Description: X11/Xv
    VO: Author: Gerd Knorr <[email protected]> and others
    Xvideo image format: 0x32595559 (YUY2) packed
    Xvideo image format: 0x32315659 (YV12) planar
    Xvideo image format: 0x30323449 (I420) planar
    Xvideo image format: 0x59565955 (UYVY) packed
    Xvideo image format: 0x434d5658 (XVMC) planar
    using Xvideo port 96 for hw scaling
    *** [vo] Exporting mp_image_t, 624x352x12bpp YUV planar, 329472 bytes
    Unicode font: 5025 glyphs.
    Unicode font: 5025 glyphs.
    Increasing filtered audio buffer size from 36800 to 36864 1.7% 4 0
    [h264 @ 0x8a214e0]no picture
    A: 82.0 V: 93.5 A-V:-11.550 ct: -2.541 0/ 0 6% 1% 1.8% 0 0
    The previous versions:
    MPlayer SVN-r30886-4.4.3 (C) 2000-2010 MPlayer Team
    CPU vendor name: GenuineIntel max cpuid level: 10
    CPU: Genuine Intel(R) CPU T2080 @ 1.73GHz (Family: 6, Model: 14, Stepping: 12)
    extended cpuid-level: 8
    extended cache-info: 67125312
    Detected cache-line size is 64 bytes
    Testing OS support for SSE... yes.
    Tests of OS support for SSE passed.
    CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 0
    Compiled with runtime CPU detection.
    get_path('codecs.conf') -> '/home/andres/.mplayer/codecs.conf'
    Reading /home/andres/.mplayer/codecs.conf: Can't open '/home/andres/.mplayer/codecs.conf': No such file or directory
    Reading /etc/mplayer/codecs.conf: 150 audio & 335 video codecs
    Configuration: --prefix=/usr --enable-runtime-cpudetection --disable-gui --disable-arts --disable-liblzo --disable-speex --disable-openal --disable-fribidi --disable-libdv --disable-musepack --disable-esd --disable-mga --enable-xvmc --enable-liba52-internal --language=all --confdir=/etc/mplayer --extra-cflags=-fno-strict-aliasing
    CommandLine: '-v' 'South.Park.S14E04.You.Have.0.Friends.HDTV.XviD-FQM-muxed.mkv'
    init_freetype
    Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
    get_path('fonts') -> '/home/andres/.mplayer/fonts'
    Using nanosleep() timing
    get_path('input.conf') -> '/home/andres/.mplayer/input.conf'
    Can't open input config file /home/andres/.mplayer/input.conf: No such file or directory
    Parsing input config file /etc/mplayer/input.conf
    Input config file /etc/mplayer/input.conf parsed: 90 binds
    Setting up LIRC support...
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.
    get_path('South.Park.S14E04.You.Have.0.Friends.HDTV.XviD-FQM-muxed.mkv.conf') -> '/home/andres/.mplayer/South.Park.S14E04.You.Have.0.Friends.HDTV.XviD-FQM-muxed.mkv.conf'
    Playing South.Park.S14E04.You.Have.0.Friends.HDTV.XviD-FQM-muxed.mkv.
    get_path('sub/') -> '/home/andres/.mplayer/sub/'
    [file] File size is 41061991 bytes
    STREAM: [file] South.Park.S14E04.You.Have.0.Friends.HDTV.XviD-FQM-muxed.mkv
    STREAM: Description: File
    STREAM: Author: Albeu
    STREAM: Comment: based on the code from ??? (probably Arpi)
    LAVF_check: Matroska file format
    Checking for YUV4MPEG2
    ASF_check: not ASF guid!
    Checking for REAL
    Checking for SMJPEG
    [mkv] Found the head...
    [mkv] + a segment...
    [mkv] /---- [ parsing seek head ] ---------
    [mkv] /---- [ parsing cues ] -----------
    [mkv] \---- [ parsing cues ] -----------
    [mkv] /---- [ parsing chapters ] ---------
    [mkv] Chapter 0 from 00:00:00.097 to 00:00:00.000, 00:00:00.097
    [mkv] \---- [ parsing chapters ] ---------
    [mkv] \---- [ parsing seek head ] ---------
    [mkv] |+ segment information...
    [mkv] | + timecode scale: 1000000
    [mkv] | + duration: 1305.942s
    [mkv] |+ segment tracks...
    [mkv] | + a track...
    [mkv] | + Track number: 1
    [mkv] | + Track type: Video
    [mkv] | + Default flag: 1
    [mkv] | + Codec ID: V_MPEG4/ISO/AVC
    [mkv] | + CodecPrivate, length 40
    [mkv] | + Default duration: 41.708ms ( = 23.976 fps)
    [mkv] | + Language: und
    [mkv] | + Video track
    [mkv] | + Pixel width: 624
    [mkv] | + Pixel height: 352
    [mkv] | + Display width: 624
    [mkv] | + Display height: 352
    [mkv] | + a track...
    [mkv] | + Track number: 2
    [mkv] | + Track type: Audio
    [mkv] | + Default flag: 1
    [mkv] | + Codec ID: A_AAC
    [mkv] | + CodecPrivate, length 7
    [mkv] | + Default duration: 42.667ms ( = 23.438 fps)
    [mkv] | + Language: und
    [mkv] | + Audio track
    [mkv] | + Sampling frequency: 24000.000000
    [mkv] | + Channels: 2
    [mkv] |+ found cluster, headers are parsed completely :)
    ==> Found video stream: 1
    [mkv] Aspect: 1.772727
    [mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
    ==> Found audio stream: 2
    [mkv] Track ID 2: audio (A_AAC), -aid 0, -alang und
    [mkv] Will play video track 1.
    Matroska file format detected.
    VIDEO: [avc1] 624x352 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
    [V] filefmt:31 fourcc:0x31637661 size:624x352 fps:23.976 ftime:=0.0417
    get_path('sub/') -> '/home/andres/.mplayer/sub/'
    X11 opening display: :0
    vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
    vo: X11 running at 1280x800 with depth 24 and 32 bpp (":0" => local display)
    [x11] Detected wm supports NetWM.
    [x11] Detected wm supports FULLSCREEN state.
    [x11] Detected wm supports ABOVE state.
    [x11] Detected wm supports BELOW state.
    [x11] Detected wm supports STAYS_ON_TOP state.
    [x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
    Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
    [vdpau] Error when calling vdp_device_create_x11: 1
    [VO_XV] Using Xv Adapter #0 (Intel(R) Textured Video)
    [xv common] Drawing no colorkey.
    [xv common] Maximum source image dimensions: 2048x2048
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    INFO: libavcodec init OK!
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
    dec_audio: Allocating 6144 bytes for input buffer.
    dec_audio: Allocating 65536 + 65536 = 131072 bytes for output buffer.
    FAAD: Decoder init done (0Bytes)!
    FAAD: Negotiated samplerate: 48000Hz channels: 2
    FAAD: compressed input bitrate missing, assuming 128kbit/s!
    AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
    Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
    ==========================================================================
    Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
    [libaf] Adding filter dummy
    [dummy] Was reinitialized: 48000Hz/2ch/s16le
    [dummy] Was reinitialized: 48000Hz/2ch/s16le
    Trying every known audio driver...
    ao2: 48000 Hz 2 chans s16le
    audio_setup: using '/dev/dsp' dsp device
    audio_setup: using '/dev/mixer' mixer device
    audio_setup: using 'pcm' mixer device
    [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
    alsa-init: requested format: 48000 Hz, 2 channels, 9
    alsa-init: using ALSA 1.0.22
    alsa-init: setup for 1/2 channel(s)
    alsa-init: using device default
    alsa-init: pcm opened in blocking mode
    alsa-init: got buffersize=32768
    alsa-init: got period size 1024
    alsa: 48000 Hz/2 channels/4 bpf/32768 bytes buffer/Signed 16 bit Little Endian
    AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
    AO: Description: ALSA-0.9.x-1.x audio output
    AO: Author: Alex Beregszaszi, Zsolt Barat <[email protected]>
    AO: Comment: under developement
    Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
    [dummy] Was reinitialized: 48000Hz/2ch/s16le
    [dummy] Was reinitialized: 48000Hz/2ch/s16le
    Starting playback...
    Increasing filtered audio buffer size from 0 to 34816
    [h264 @ 0x8a89bc0]no picture
    [ffmpeg] aspect_ratio: 1.772727
    VDec: vo config request - 624 x 352 (preferred colorspace: Planar YV12)
    Trying filter chain: vo
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
    VO Config (624x352->624x352,flags=0,'MPlayer',0x32315659)
    VO: [xv] 624x352 => 624x352 Planar YV12
    VO: Description: X11/Xv
    VO: Author: Gerd Knorr <[email protected]> and others
    Xvideo image format: 0x32595559 (YUY2) packed
    Xvideo image format: 0x32315659 (YV12) planar
    Xvideo image format: 0x30323449 (I420) planar
    Xvideo image format: 0x59565955 (UYVY) packed
    Xvideo image format: 0x434d5658 (XVMC) planar
    using Xvideo port 96 for hw scaling
    *** [vo] Exporting mp_image_t, 624x352x12bpp YUV planar, 329472 bytes
    Unicode font: 5025 glyphs.
    Unicode font: 5025 glyphs.
    [h264 @ 0x8a89bc0]no picture1 ct: 0.041 0/ 0 15% 3% 1.8% 4 0
    EDIT: I've just seen your edit
    Last edited by dresb (2010-04-14 21:03:59)

Maybe you are looking for

  • IPod Touch nto working in car or iHome.

    I have an iHome (IH22SV) and an 2008 Scion Xd. I used to be able to dock my iPod with both and have no issues. The scions connects through the special iPod cable, and not the basic AUX input. I was always able to navigate the ipod through my radio's

  • A few DVR / Internet questions

    I am holding off buying a WD DVR Extender until the release of IMG 1.9 (Bucks County, PA). I have a couple questions about using external storage: 1. In what format (.avi, .ts, .mpg, etc) are the recordings ? 2. Can the recordings be off-loaded to my

  • Setting Specific Programs to Run in 640x480 Resolution?

    Hello again team, Another question as I work on an OS X.3 image for my school's iBooks -- I know this sort of thing is possible in Windows, but does OS X allow you to specify that certain programs run in 640x480 screen resolution? Most applications I

  • Update program not working

    hi i have a n95 its on version 10.0.018 i have just installed the update software but after the restart the program will not start up.i have tryed all the f.a.q's but still no luck does anyone have any ideas on how to get this program working i have

  • In other words is any way bring back old data itunes kept in PC(was vista- crashed- now win7)...

    As stated briefly: My PC crashed I have all files but cannot run os vista was to run itunes in a new win7 pc with prior data: I must connect ipad and synchr (but this says This device (IPAD 1) synchr with another Library go and delete data and replac