hello.. i try to join files with Avidemux but the final video is broken the first clip is ok but the second(2 video in one) is just broken black white scenes no sound why is what?? ( i testes different files and is the same)
+ Reply to Thread
Results 1 to 12 of 12
-
-
what type of video, what container, what specs ?
use mediainfo (view=>text) or mediainfoxp post the results -
http://prntscr.com/68893u (i tried others program like this to mix 2 files in 10-20 sec and the same result)
-
General
Complete name : C:\Users\vl4d\Desktop\op.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 381 MiB
Duration : 24mn 1s
Overall bit rate mode : Variable
Overall bit rate : 2 219 Kbps
Encoded date : UTC 2015-02-22 01:25:40
Tagged date : UTC 2015-02-22 01:25:47
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 1 frame
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 24mn 1s
Bit rate : 2 100 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 29.970 fps
Minimum frame rate : 29.970 fps
Maximum frame rate : 30.010 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.076
Stream size : 359 MiB (94%)
Writing library : x264 core 125 r2200 999b753
Encoding settings : cabac=1 / ref=6 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=5 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=300 / keyint_min=29 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=abr / mbtree=1 / bitrate=2100 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2015-02-22 01:25:40
Tagged date : UTC 2015-02-22 01:25:47
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 24mn 1s
Bit rate mode : Variable
Bit rate : 128 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 22.0 MiB (6%)
Title : Stereo
Encoded date : UTC 2015-02-22 01:25:41
Tagged date : UTC 2015-02-22 01:25:47
i try with idoo video editor and avidemux -
from first video
General
Complete name : C:\Users\vl4d\Desktop\clip.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 645 KiB
Duration : 6s 711ms
Overall bit rate mode : Variable
Overall bit rate : 788 Kbps
Encoded date : UTC 1970-01-01 00:00:00
Tagged date : UTC 2015-02-10 13:31:43
Writing application : Lavf53.24.2
Xtra : WM/MediaClassPrimaryID
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 1 frame
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 6s 700ms
Bit rate : 588 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 30.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.021
Stream size : 481 KiB (75%)
Encoded date : UTC 1970-01-01 00:00:00
Tagged date : UTC 1970-01-01 00:00:00
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 6s 711ms
Bit rate mode : Variable
Bit rate : 192 Kbps
Maximum bit rate : 200 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 157 KiB (24%)
Encoded date : UTC 1970-01-01 00:00:00
Tagged date : UTC 1970-01-01 00:00:00
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 381 MiB
Duration : 23mn 55s
Overall bit rate mode : Variable
Overall bit rate : 2 225 Kbps
Encoded date : UTC 2015-02-15 08:21:28
Tagged date : UTC 2015-02-15 08:21:28
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 6 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 23mn 54s
Bit rate : 2 100 Kbps
Maximum bit rate : 20.7 Mbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.076
Stream size : 358 MiB (94%)
Writing library : x264 core 125 r2200 999b753
Encoding settings : cabac=1 / ref=6 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=5 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=300 / keyint_min=29 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=abr / mbtree=1 / bitrate=2100 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2015-02-15 08:10:17
Tagged date : UTC 2015-02-15 08:21:34
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 23mn 55s
Bit rate mode : Variable
Bit rate : 128 Kbps
Maximum bit rate : 139 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 21.9 MiB (6%)
Encoded date : UTC 2015-02-15 08:21:33
Tagged date : UTC 2015-02-15 08:21:34
-
The specs are different (different profile, different number reference frames), and most importantly the frame rate is different . You cannot join 30.0 fps constant frame rate, to 29.97 constant frame rate
You can probably adjust the frame rate and re-encode part 1 to match (it's short, only 6-7 sec) to enable it to join part 2
Those are different from the 1st mediainfo report "op.mp4" in post #5 -
so how to make the 2 videos to have same specs?? is any converter to copy info or something like this..
Last edited by vl4d; 21st Feb 2015 at 20:10.
-
There is a program called mis2x264 by selur that can read the mediainfo x264 string of part 2 and generate a commandline that matches. You need to adjust the framerate of part 1 to match as well . But even if you match the settings , and the x264 version sometimes it doesn't join properly
If you re-encode the 1st part, it's actually not necessary to match encoding settings completely . You have to set a different --sps-id number like 2 or 3, and do a binary DOS join on the elementary video stream, and join the audio separately, the mux into a container. This works even when method 1 above fails - but it's not as easy to do
Or join them through a script like avisynth and re-encode the whole thing
Unfortunately none of these methods are "easy" , or for beginners because there are no GUI's - they are all commandline or text driven
Or you can try commercial programs like videoredo, solveigmm video splitter, tmpgenc smart renderer - those have GUI's, easier to use, but aren't free