Quantcast
Channel: VideoHelp Forum
Viewing all articles
Browse latest Browse all 45612

Combine and sync audio from other video

$
0
0
So, I have 2 videos:

test.avi (bad quality, 1 english audio track)
Quote:

Format : AVI
Format/Info : Audio Video Interleave
File size : 76.2 MiB
Duration : 8mn 0s
Overall bit rate : 1 331 Kbps

Video
ID : 0
Format : MPEG-4 Visual
Format profile : Simple@L3
Format settings, BVOP : No
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 8mn 0s
Source duration : 8mn 0s
Bit rate : 1 189 Kbps
Width : 512 pixels
Height : 384 pixels
Display aspect ratio : 4:3
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.202
Stream size : 68.1 MiB (89%)
Writing library : XviD 1.1.2 (UTC 2006-11-01)

Audio
ID : 1
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Mode extension : MS Stereo
Codec ID : 55
Codec ID/Hint : MP3
Duration : 8mn 0s
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 7.33 MiB (10%)
Alignment : Split accross interleaves
Interleave, duration : 24 ms (0.72 video frame)
Interleave, preload duration : 185 ms
test2.mpg (good quality, 2 german audio tracks)
Quote:

Format : MPEG-PS
File size : 153 MiB
Duration : 7mn 41s
Overall bit rate mode : Variable
Overall bit rate : 2 791 Kbps

Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format settings, GOP : M=3, N=12
Duration : 7mn 41s
Bit rate mode : Variable
Bit rate : 2 352 Kbps
Maximum bit rate : 15.0 Mbps
Width : 480 pixels
Height : 576 pixels
Display aspect ratio : 4:3
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.340
Stream size : 129 MiB (84%)

Audio #1
ID : 192 (0xC0)
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Duration : 7mn 41s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Delay relative to video : -430ms
Stream size : 10.6 MiB (7%)

Audio #2
ID : 193 (0xC1)
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Duration : 7mn 41s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Delay relative to video : -424ms
Stream size : 10.6 MiB (7%)
Now, what I want to do:
1. Remove the audio tracks from the mpg video;
2. Remove the audio track and extract it to a losskess audio file from the avi video;
3. Add the extracted audio track to the mpg video;
4. Sync the video with the new audio track.
NOTE: the both videos (avi and mpg) have the same scene action, the only difference is the quality and the audio (english versus german).

How can I do this or is possible?

Thanks!

Viewing all articles
Browse latest Browse all 45612

Trending Articles