VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. Member
    Join Date
    Jul 2009
    Location
    France
    Search Comp PM
    Hello, it's my first post on this forum !

    Here is my problem, I've got a lot of videos with background noise in .mov format.
    I have done a ruby script to automatise all steps.
    But i'm blocked on this step :
    I want to demux files, treat sound with an audio processing program, and remux audio with video.
    All that stuff on Mac OS and scriptable (so in command line (ffmpeg, HandBrakeCLI...)) :P
    I don't find a good solution, so if anybody can help me, it would be nice !

    Thank you !
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Moving you to our mac section.

    Demux and remux with ffmpeg. Google how to use it.

    But I don't any command line to fix noise.
    Quote Quote  
  3. Member terryj's Avatar
    Join Date
    Sep 2002
    Location
    N35°25.24068, W097°34.204
    Search Comp PM
    Fixing noise would have to be done in an Audio editor such as
    Bias, Audacity, or Amadeus II. Then a new AIFF file generated
    from the clean file. Then that File muxed back in with the video.
    "Everyone has to learn, so that they can one day teach."
    ------------------------------------------------------
    When I'm not here, Where can I be found?
    Urban Mac User
    Quote Quote  
  4. Member
    Join Date
    Jul 2009
    Location
    France
    Search Comp PM
    Thanks for answers !

    I already did it with Amadeus Pro, but it's not in CLI.. And that's the prob.
    I tested to do that in Apple Script with a soft called UI Browser which can normally translate actions of any programs in Apple Script, but the script doesn't work well. And, moreover, i don't know if we can pass parameter to an Apple Script...

    I'm a blocked..
    Quote Quote  
  5. Member
    Join Date
    Jul 2009
    Location
    France
    Search Comp PM
    It works now ! I used UI Browser in the good way !
    So now, I scripted all the workflow to demux and correct the background sound in Applescript.
    Now I have to remux corrected audio and video, certainly in ffmpeg.

    If you are intrested to see the script, tell me and i post it !
    Quote Quote  
  6. Member
    Join Date
    Jul 2009
    Location
    France
    Search Comp PM
    Do you know the command line in ffmpeg to remplace the soundtrack from a .mov by another one which come from another file.mov
    Quote Quote  
  7. Since the answer of "Google how to use it" leads to this forum, here is the command line to demux:
    The command lines for demuxing are:
    -> to get the audio
    ffmpeg -i input -vn -acodec copy output
    -> to get the video
    ffmpeg -i input -an -vcodec copy output
    The extension for "output" is important: if you want you video embedded with an avi header, put ".avi"; if you want your aac audio readable on an iPod, put ".m4a"...

    Note that Google only gives answers if some put them sometimes so if you know them, put them.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!