VideoHelp Forum
+ Reply to Thread
Results 1 to 13 of 13
Thread
  1. Member
    Join Date
    Apr 2008
    Location
    United States
    Search Comp PM
    I like to edit many of the movies I own for personal use. Usually, it is to cut out language that I deem inappropriate for my family.

    I have been using SolveigMM video splitter to cut (or mute) the scenes I don't want. However, that doesn't always work (with PCM files for instance, the mute function isn't working)

    Since I decide which words to cut by looking at the subtitle file, I know which timecodes I want muted. That leads me to three different options (for audio) that I'd like help with (Note that I want to avoid any kind of transcoding of the video)

    1. Can I just use audacity, silence the vocals of the scene I want to eliminate language from, export as AAC (or AC3? or FLAC), keep it in surround sound (will that work?) and remux with the original video using mkvtoolnix? I'm getting errors when I try to export as AAC, (it's a 7.1 audio file and this is the error code I'm getting [invalid parameter 0x15002]

    2. I've seen a lot of people use ffmpeg to do something similar...using command line like this:
    Code:
    ffmpeg -i in.mp4 -af "volume=enable='between(t,3.200,3.500)':volume=0,volume=enable='between(t,7.5,8)':volume=0" -c:v copy out.mp4
    3. Is there a lossless audio editor (similar to SolveigMM or TMPGenc) that I could use for just the audio so I could remux that audio back into the original video file?


    Is there a gui that would let me put in the time stamps so I don't have to do all of this via command line? I can easily get the time stamps via the subtitle file.

    With regards to video, if there is a part I want to cut out, I just use mkvtoolnix...works great!

    Any help would be greatly appreciated! Thanks
    Last edited by primetime34; 26th Feb 2021 at 16:06.
    Quote Quote  
  2. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Yes you should be able to do this in Audacity. You just have to enable "advanced mixing options" in Preferences import/export
    Quote Quote  
  3. Member
    Join Date
    Apr 2008
    Location
    United States
    Search Comp PM
    Originally Posted by davexnet View Post
    Yes you should be able to do this in Audacity. You just have to enable "advanced mixing options" in Preferences import/export
    How do I export the 7.1 audio through audacity? If I try as an AAC, it gives me an error...
    Quote Quote  
  4. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Originally Posted by primetime34 View Post
    Originally Posted by davexnet View Post
    Yes you should be able to do this in Audacity. You just have to enable "advanced mixing options" in Preferences import/export
    How do I export the 7.1 audio through audacity? If I try as an AAC, it gives me an error...
    Export as ac3
    Quote Quote  
  5. I'm a Super Moderator johns0's Avatar
    Join Date
    Jun 2002
    Location
    canada
    Search Comp PM
    Make sure you have FFmpeg for Audacity installed,then you can export as aac.
    I think,therefore i am a hamster.
    Quote Quote  
  6. Member
    Join Date
    Apr 2008
    Location
    United States
    Search Comp PM
    Originally Posted by davexnet View Post
    Originally Posted by primetime34 View Post
    Originally Posted by davexnet View Post
    Yes you should be able to do this in Audacity. You just have to enable "advanced mixing options" in Preferences import/export
    How do I export the 7.1 audio through audacity? If I try as an AAC, it gives me an error...
    Export as ac3
    AC3 will only do 6 channels (5.1) right?
    Quote Quote  
  7. Member
    Join Date
    Apr 2008
    Location
    United States
    Search Comp PM
    Originally Posted by johns0 View Post
    Make sure you have FFmpeg for Audacity installed,then you can export as aac.
    I do have it installed and it gives me this error: invalid parameter 0x15002

    Audacity's user guide says this about that error:

    Error 0x15002 occurs if you export more than a 2-channel M4A file (such as a 5.1 surround sound file), using the "M4A (AAC) Files (FFmpeg)" export choice. To correct the error and export up to 8 channels, choose (external program) and specify a command that tells Audacity to explicitly use the native FFmpeg AAC encoder.

    I don't know what I need to put in the command line in audacity to make this work....any suggestions?

    Thanks
    Quote Quote  
  8. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Save it as a multi-channel WAV, then from the command line run
    Code:
    FFmpeg -i input.wav output.acc
    or

    Code:
    ffmpeg -i input.wav -c:a aac -strict -2 -b:a 448k output.aac
    I'm not an FFmpeg expert, but here's a place to start
    Last edited by davexnet; 27th Feb 2021 at 15:51.
    Quote Quote  
  9. Member
    Join Date
    Apr 2008
    Location
    United States
    Search Comp PM
    Originally Posted by davexnet View Post
    Save it as a multi-channel WAV, then from the command line run
    Code:
    FFmpeg -i input.wav output.acc
    or

    Code:
    ffmpeg -i input.wav -c:a aac -strict -2 -b:a 448k output.aac
    I'm not an FFmpeg expert, but here's a place to start
    Wav file would be bigger than 4 gig so it can't be exported as a wav.

    What about exporting in FLAC? Or is there a command line in audacity that I could use?
    Quote Quote  
  10. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Originally Posted by primetime34 View Post
    Originally Posted by davexnet View Post
    Save it as a multi-channel WAV, then from the command line run
    Code:
    FFmpeg -i input.wav output.acc
    or

    Code:
    ffmpeg -i input.wav -c:a aac -strict -2 -b:a 448k output.aac
    I'm not an FFmpeg expert, but here's a place to start
    Wav file would be bigger than 4 gig so it can't be exported as a wav.

    What about exporting in FLAC? Or is there a command line in audacity that I could use?
    If there's a command line in Audacity it's news to me. Yes, save as Flac
    Quote Quote  
  11. Member
    Join Date
    Apr 2008
    Location
    United States
    Search Comp PM
    Originally Posted by davexnet View Post
    Originally Posted by primetime34 View Post
    Originally Posted by davexnet View Post
    Save it as a multi-channel WAV, then from the command line run
    Code:
    FFmpeg -i input.wav output.acc
    or

    Code:
    ffmpeg -i input.wav -c:a aac -strict -2 -b:a 448k output.aac
    I'm not an FFmpeg expert, but here's a place to start
    Wav file would be bigger than 4 gig so it can't be exported as a wav.

    What about exporting in FLAC? Or is there a command line in audacity that I could use?
    If there's a command line in Audacity it's news to me. Yes, save as Flac
    What's the difference between the two commands above?
    Quote Quote  
  12. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Originally Posted by primetime34 View Post
    Originally Posted by davexnet View Post
    Originally Posted by primetime34 View Post
    Originally Posted by davexnet View Post
    Save it as a multi-channel WAV, then from the command line run
    Code:
    FFmpeg -i input.wav output.acc
    or

    Code:
    ffmpeg -i input.wav -c:a aac -strict -2 -b:a 448k output.aac
    I'm not an FFmpeg expert, but here's a place to start
    Wav file would be bigger than 4 gig so it can't be exported as a wav.

    What about exporting in FLAC? Or is there a command line in audacity that I could use?
    If there's a command line in Audacity it's news to me. Yes, save as Flac
    What's the difference between the two commands above?
    Did I mention I was not an FFmpeg expert? The only difference I'm aware of is the first comes up with
    some default bitrate while the second allows you you to specify it
    Quote Quote  
  13. Member
    Join Date
    Apr 2008
    Location
    United States
    Search Comp PM
    Originally Posted by davexnet View Post
    Originally Posted by primetime34 View Post
    Originally Posted by davexnet View Post
    Originally Posted by primetime34 View Post
    Originally Posted by davexnet View Post
    Save it as a multi-channel WAV, then from the command line run
    Code:
    FFmpeg -i input.wav output.acc
    or

    Code:
    ffmpeg -i input.wav -c:a aac -strict -2 -b:a 448k output.aac
    I'm not an FFmpeg expert, but here's a place to start
    Wav file would be bigger than 4 gig so it can't be exported as a wav.

    What about exporting in FLAC? Or is there a command line in audacity that I could use?
    If there's a command line in Audacity it's news to me. Yes, save as Flac
    What's the difference between the two commands above?
    Did I mention I was not an FFmpeg expert? The only difference I'm aware of is the first comes up with
    some default bitrate while the second allows you you to specify it
    Excellent. I'll give that a shot....
    Quote Quote  



Similar Threads

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