You can use ffmpeg to create video from audio using several filters.
Convert input audio to a video output, displaying the volume histogram.
ffmpeg -i input.flac -filter_complex \
-map "[v]" -map 0:a output.mp4
ffplay -f lavfi "amovie=input.flac, asplit [a][out1]; [a] ahistogram [out0]"
There's a semi-automatic way to do this – semi automatic because it involves only typing three keystrokes over and over: xf,, xf,, xf,… — you could train your cat to do it!
Here's how it goes:
make sure the audio is enabled for the tracks you want to restore (you only need to do this once)
park the playhead over one of the clips.
hit x (for Mark Clip) ...
#1 To simultaneously fade the audio in/out:
ffmpeg -i clip.mp4 -vf 'fade=in:0:30,fade=out:960:30'
-c:v libx264 -crf 22 -preset veryfast fadeInOut.mp4
The afade times are in seconds.
#2 Automatically? No. But see workaround below
You can first run ffprobe to get duration.
ffprobe -i ...
ffmpeg -i titlefile.mp4 -vf setdar=16/9 -video_track_timescale 29971 -ac 1 newtitle.mp4
and then run concat with the new title video.
Modern containers like MP4 have Presentation TimeStamps, which are denominated with reference to a timebase. So, if the timebase value is 1/500 and a frame's PTS is 200, then that tells the video player to show that ...
There are a variety of reasons to have an external recorder depending on the size of your production. A big advantage is the number of audio inputs and the ability to record each of those inputs as separate tracks, allowing you to do the mixing in post. I'm not sure about the H4n, but I know the H5 and H6 support multiple inputs as well as interchangeable ...
It's a terrible hack, but this might work if all you want to do is audio fade in/out but don't know exactly how long the clip is:
ffmpeg -i input.mp4 -filter_complex "afade=d=0.5, areverse, afade=d=0.5, areverse" output.mp4
[edit 2019-07-24: Note that this solution is not good for streaming solutions since it requires the full track to be processed before ...
FFmpeg's loudnorm filter can be used. Basic syntax is
ffmpeg -i in.mp4 -c:v copy -af loudnorm=I=-23:LRA=1 -ar 48000 out.mp4
The loudness range (LRA) should be 2 x max deviation.
Also see the ebur128 filter for measuring loudness.
I suspect you are having problems because you are trying to overwrite the input file with the output, ffmpeg just doesn't work that way. For a single file:
ffmpeg -i input.avi -an -c:v copy output.mkv
To do every file in a directory, you can use a for loop. For every `file.avi``in the working directory, this command will create an output called file-v.mkv:
You can use ffmpeg with the compand audio filter (a port of sox effect filter of same name) to "compress or expand the audio's dynamic range", but admittedly this is one of the more complicated audio filters.
Example from the documentation
Make music with both quiet and loud passages suitable for listening to in a noisy environment (whatever that means):
Back in the day when movie cameras recorded to film, the sound made by the cameras was something to be isolated from the sound recording process. Digital video cameras make very little noise (with the odd exception of things like early model RED cameras that needed high-powered fans to deliver sufficient cooling for their hot-rodded internals).
But that's ...
If you are judging Vegas Pro audio editing on native effects than I don't think it has any edge over others.
I have been using the Pro version for about 18 months now and I find it pretty darn good overall. I am also learning Adobe Premiere and After Effects CS5.5, so far I think Vegas has the edge on the audio for sure.
However, are you aware that Vegas ...
If you just play the comp it won't play audio. You need to do a RAM preview. Hit 0 (zero) on the numeric keypad or Ctrl+0 if you're on a laptop.
. (period) on the numeric keypad (or for laptop ctrl+.) plays just the audio from wherever the playhead is.
If your footage does have audio, you will see the waveform in the preview thumbnail in the project ...
Is it possible? Sure, just setup each source clip as a sequence that has the audio feed you want for that shot and leave the tracks linked so that you cut between both video and audio.
Is it advisable? Probably not. People are far less used to changing of the audio scene they are watching. Video creates kind of a disconnect between the scene we are ...
Yes, its way better. Being able to monitor the levels, and headphones, makes a huge difference.
However, its not even just the quality of the mic or recording device its the location. Having an external recorder means you can separate the audio easily from the camera. Back in the day when I was a teen, and had more enthusiasm than money, we used mics from ...
Youtube generally reencodes all videos you upload to youtube to ensure compatibility across various platforms and to provide smaller versions of the videos for users with slow internet connections. So yes, both the video and the audio stream of your video file will be compressed and reencoded when you upload it. If someone uses a third party tool to download ...
First, get ffmpeg.
Generally, you want to give YouTube the highest quality you can because it will re-encode anything you give it, but the formats used in MXF can be mental for uploading. So re-encoding to modern formats for a more manageable upload often makes sense.
ffmpeg -i input.mxf \
-filter_complex "[0:a:0][0:a:1]amerge" \
-ac 2 -c:v ...
The Mainconcept or Sony codecs in Vegas are subpar for low-bitrate output such as needed for HTML5 use. Use ffmpeg to generate your HTML5 videos. Yes, mono audio is acceptable for HTML5 use, but once you use ffmpeg/x264 for generating those videos, the 6kB/s savings you get from switching to mono audio won't matter much if at all.
Get the 32-bit static ...
First off, if you have audio with your video (that you want to replace with your high-quality audio recording), then step #1 is to nudge the Zoom audio track to line up the impulse of the clap with the corresponding impulse of the scratch audio from the video file. To do that, you need to change the Timecode Display Format to Audio Samples. Once you do ...
FFmpeg, a free command-line tool, has a volume filter that should do this.
Syntax would be
ffmpeg -i input.mp4 -c:v copy -af volume=replaygain=track output.mp4
The af invokes the volume filter with the option set to adjust the volume using the track replaygain value (if present). Video is set to passthrough into the output.
Yes. MPEG-4 Part 14 (the MP4 container format) supports any number of objects (e.g. video, audio and subtitle streams) and isn't limited to only one stream per content type.
In practice however, you seldom see a video file that has multiple video streams, because the range of applications for this is very limited. I would also advise you not to put multiple ...
The frames in your H.264 video are grouped into units called GOPs (Group Of Pictures). Inside these GOPs frames are classified into three types:
I-frame: frame that stores the whole picture
P-frame: frame that stores only the changes between the current picture and previous ones
B-frame: frame that stores differences with previous or future pictures
Speech Detection with Adobe Premiere
You haven't mentioned what NLE you use to edit, however here is a method you can use to transcribe if you are using Adobe CS4 or later.
This method uses speech detection to automatically transcribe videos - a feature brought in with CS4. It then adds the the text into the metadata of the file.
Analyze speech to ...
To expand upon ObscureRobot's answer, use ffmpeg like so:
ffmpeg -loop 1 -f image2 -r 2 -i input1.png -i input2.aiff -c:v libx264 -c:a copy -shortest output.mp4
-loop 1 -f image2 -r 2 -i input1.png tells ffmpeg to loop input1.png forever, at a frame rate of 2fps. -c:v libx264 tells it to use x264 to encode the video, and -c:a copy tells it to simply copy ...
It depends on the exact studio's process, but generally either an animatic (basically a roughly animated storyboard) or the audio is done first. In the case of Family Guy and American Dad specifically, it sounds like they work on the audio and the animatic first. The advantage to doing an animatic first is it can help the voice actors visualize what will ...
If you work on a regular basis with the "owner" of the voice I can recommend Nuance's Dragon it offers very accurate speech to text with very few errors but it needs some "calibration" to a specific voice.
So if you can get your actor/narrator to read the calibration text you will have an easy time making transcripts and subtitles (though subs will require ...
AVI and MKV are both containers, so in theory it should be possible to transfer your contents with no further loss. I can't say for certain if MKV can wrap xvid4, but it's very likely. You shouldn't need to decode / re-encode to transfer the contents, just demux / remux.
Can't speak for the Nikon, but the Canon 5D and 7D both have terrible on-board audio, with no way to easily monitor the audio levels. The Zoom will have a better mic pre-amp, and will let you monitor the levels easily and accurately. You can also monitor the audio on headphones whilst filming, so you'll stand a better chance of spotting problems, like wind ...