How to copy paste audio track from/to mp4 - audio

i have 2 video streams,
DVD is a big (4.6 GB) iso file white a dutch audio track (it's my own dvd)
Mp4 is a small (800MB) mp4 file white a eng audio track.
I search for a tool that van pick the audio track from the DVD and place it in the mp4, how can i do this?
jens.

Handbrake did the job, everything works find now.

Related

How to figure out which audio file has more volume level using ffmpeg?

I am facing an issue and I don't even know how to describe it technically so I am explaining my issue in plain English (Sorry if someone gets offended)
I have many audio files which I play them in the background in a video. But unfortunately the audio files have different level of volume level:- some audio files have low volume level whereas some audio files have very high level of volume.
Is there any way to reduce the volume level in those audio files where volume level is high (leaving low volume audio files as it is) using ffmpeg. Or something like this
Thank You
You could use loudnorm from ffmpeg http://ffmpeg.org/ffmpeg-filters.html#loudnorm. I recommend organizing all the audio files in a folder and apply loudnorm to each audio file.

How to add a 5.1 .flac audio track to a .ts file with already 3 audio tracks?

I want to add a 5.1 .flac audio track to a .ts file that already has three audio tracks. I tried with tsMuxer and ffmpeg with unsuccessful results. In tsMuxeR the .flac track is not recognized and in ffmpeg everything seems to work fine until the very last moment when I check the file and the .flac audio track is not included in the "output.ts". The .flac track is about 3GB and its lenght is around two and a half hours.
Thank you so much.
I don't think you'll find any existing software that maps FLAC into a MPEG-2 Transport Stream.
This gives you an idea what sort of issues you run into: https://xiph.org/flac/ogg_mapping.html
Let's say you came up with a reasonable way of mapping FLAC into a MPEG-2 Transport Stream - there won't be anything reading it.
Unless there is a specified way of mapping FLAC into a MPEG-2 Tranport Stream - you are on your own.
But PCM is supported in a MPEG-2 Transport Stream (for example Blu-Ray).
I'd use ffmpeg to transcode your audio from FLAC to PCM and then mux it into your transport stream.
Your audio transcode (FLAC to PCM) is lossless.

How to detect the audio availability in the SUSE Linux system

I got some audio pieces in flv format. Each of them is about 10 seconds long.
My question is how to detect whether the audio pieces has "sound", in other words, sometimes the audio pieces has no sound even the size of it is not 0 byte, so how to find those broken/silent audio files by some linux tool/command?
Maybe ffplay can do this? any available advice?
If you want to quickly check if the stream is video only, audio only or if it contains both audio and video, try hexdump -C filename | head. The fifth byte contains information about the contents of the file.
0x01 - video only
0x04 - audio only
0x05 - audio + video
You can also try to play the file using VLC media player. There is a menu option that enables informational messages from the media being played back.

Transcoding to webm with ffmpeg audio problems

For the past few days, I have been trying to get my lossless .mov video(that has an audio track) to a .webm format.
Some info on the video & audio is that the fps is 30. Also the audio track has about 3-5 seconds of silence/blank audio before you start hearing some music.
My problem is that is seems during the transcoding to webm, it strips away this blank audio because when I go to play the video, the audio starts right away.I've also notice that it jumps right away to ~4 seconds in the video. When i play it on the browser, it jumps to that moment in the timeline. If I try to scrub to the beginning, the video ends.
I've have figured somethings out.
This is just a webm problem. This does not happen with ogv or mp4
It only happens if they is blank audio in the beginning of the audio track.
I am using ffmpeg with the libvpx and libvorbis librarys and I am doing just the basic command line setup
ffmpeg -i "infile" "outfile.webm"

How to determine the codec of an audio file on Windows?

I need to find the codec of an audio file. How can I do this?
Do I need to write code to do this or is there a simpler way?
Please help me. If possible share helpful links.
The good old file utility will reveal lots of information about audio files, sometimes including the codec:
$ file X.wav
X.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 16000 Hz
#bhebsquines
"It is important to distinguish between a file format and an audio codec. A codec performs the encoding and decoding of the raw audio data while the data itself is stored in a file with a specific audio file format. Although most audio file formats support only one type of audio data (created with an audio coder), a multimedia container format (as Matroska or AVI) may support multiple types of audio and video data." - http://en.wikipedia.org/wiki/Audio_file_format
The application gspot does a good job of pulling codecs from audio and video files.
http://www.headbands.com/gspot/
run it and drag a file into the window. It will pull all of the data from there. Note that some audio files will not display a codec as they are made from "Raw" audio.
You can identify your codec by extenion name itself example file1audio.mp3 or fileaudio.avi, .mp3, .avi will be your file type or codec, you can use k-lite codec pack for your different type audio format. use this link http://www.free-codecs.com/download/k_lite_codec_pack.htm

Resources