hi
sorry for my bad english
0.avi opens in adobe premiere pro cs6 without any problem.
mediainfo result for 0.avi:
but when i import 1.avi it gives error:Code:General Complete name : C:\Users\User\Desktop\****\0.avi Format : AVI Format/Info : Audio Video Interleave File size : 232 MiB Duration : 18mn 52s Overall bit rate : 1 722 Kbps Video ID : 0 Format : MPEG-4 Visual Format profile : Advanced Simple@L5 Format settings, BVOP : 1 Format settings, QPel : No Format settings, GMC : No warppoints Format settings, Matrix : Custom Codec ID : XVID Codec ID/Hint : XviD Duration : 18mn 52s Bit rate : 1 261 Kbps Width : 720 pixels Height : 304 pixels Display aspect ratio : 2.35:1 Frame rate : 23.976 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Compression mode : Lossy Bits/(Pixel*Frame) : 0.240 Stream size : 170 MiB (73%) Writing library : XviD 65 Audio ID : 1 Format : AC-3 Format/Info : Audio Coding 3 Mode extension : CM (complete main) Format settings, Endianness : Big Codec ID : 2000 Duration : 18mn 52s Bit rate mode : Constant Bit rate : 448 Kbps Channel(s) : 6 channels Channel positions : Front: L C R, Side: L R, LFE Sampling rate : 48.0 KHz Bit depth : 16 bits Compression mode : Lossy Stream size : 60.5 MiB (26%) Alignment : Aligned on interleaves Interleave, duration : 32 ms (0.77 video frame)
the file contains an unsupported audio format.
mediainfo result for 1.avi:and when i extract video and ac3 file from 0.avi with avidemux then i can import them separately. but after importing audio and video in timeline audio length not same with video.Code:General Complete name : C:\Users\User\Desktop\****\1.avi Format : AVI Format/Info : Audio Video Interleave File size : 67.2 MiB Duration : 4mn 27s Overall bit rate : 2 106 Kbps Video ID : 0 Format : MPEG-4 Visual Format profile : Advanced Simple@L5 Format settings, BVOP : 1 Format settings, QPel : No Format settings, GMC : No warppoints Format settings, Matrix : Custom Codec ID : XVID Codec ID/Hint : XviD Duration : 4mn 27s Bit rate : 1 500 Kbps Width : 704 pixels Height : 384 pixels Display aspect ratio : 1.85:1 Frame rate : 23.976 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Compression mode : Lossy Bits/(Pixel*Frame) : 0.231 Stream size : 47.9 MiB (71%) Writing library : XviD 64 Audio #1 ID : 1 Format : AC-3 Format/Info : Audio Coding 3 Mode extension : CM (complete main) Format settings, Endianness : Big Codec ID : 2000 Duration : 4mn 27s Bit rate mode : Constant Bit rate : 384 Kbps Channel(s) : 6 channels Channel positions : Front: L C R, Side: L R, LFE Sampling rate : 48.0 KHz Bit depth : 16 bits Compression mode : Lossy Delay relative to video : 32ms Stream size : 12.3 MiB (18%) Alignment : Split accross interleaves Interleave, duration : 32 ms (0.77 video frame) Audio #2 ID : 2 Format : AC-3 Format/Info : Audio Coding 3 Mode extension : CM (complete main) Format settings, Endianness : Big Codec ID : 2000 Duration : 4mn 27s Bit rate mode : Constant Bit rate : 192 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Bit depth : 16 bits Compression mode : Lossy Stream size : 6.13 MiB (9%) Alignment : Aligned on interleaves Interleave, duration : 32 ms (0.77 video frame)
the length difference in the image:
![]()
+ Reply to Thread
Results 1 to 18 of 18
-
Last edited by chazz spacey; 16th Sep 2014 at 11:17.
-
Open 1.avi in avidemux
set Video output to Copy
set Audio output to PCM (wav) or MP3
save AVI
Open saved AVI in adobe premiere pro -
yeah i know this. i know that it can be imported with this way but i want to know what is the problem? why 0.avi with ac3 audio can be imported but 1.avi with ac3 audio cant? and what is interesting that the codecs are the same. and another thing is that i dont want to convert audio because it will loose quality.
-
Probably the problematic software was designed to "think" that AC3 can only mean *5.1 channels at 448kbps*
If I were you, I would stop using Adobe Premiere -
but i can import any ac3 audio without video. and that is the only software that can render video with x264 codec with gpu. i mean it is faster. in sony vegas i can render with x264 but it doesnt use gpu. yeah there is CUDA H.264/AVC from mainconcept in sony vegas but it doesn't give good results as x264vfw codec. you saying it is probably designed to "think" that AC3 can only mean *5.1 channels at 448kbps* but i wish i know it for sure and i would find another way. and cyberlink powerdirector12 is not satisfying me either. i can't set custom resolution and bit rate in cyberlink and cant enable hardware acceleration. it seems my gpu is not supported(nvidia geforce gt 520m). what to do?
Last edited by chazz spacey; 16th Sep 2014 at 13:49.
-
If you want only convert file
Handbrake no good for you? -
actually i need to edit video add watermark for example. but i'll check it. thank you
-
thank you guys for responding. in creativecow and adobe forums no one responded me even after 2 days
-
Your second file has two audio streams. Did you try do remux file and remove one stream?
And a probable reason AC3 audio is shorter when you import it separately is audio delay. Just check if audio is in sync with video. If its not, shift audio until it gets back in sync. -
yes i did it. i removed 1 audio stream and muxed. but didn't work. https://www.youtube.com/watch?v=RQLXN4_ZDko
and how to shift audio like in original file? i think there must be some software that shows where audio begins(how much i must shift).Last edited by chazz spacey; 17th Sep 2014 at 10:54.
-
MediaInfo log you posted show audio delay of 32ms. Try that. But the best way to sync is visual - listen the sound and watch when someone speaks. When you import muxed AV streams program should read delay from container. But, when you import audio and video separately then you need to manually shift audio for correct synchronization.
Strange thing is that AP supports separate AC3 stream but not one muxed into AVI container. So, ether you AP really does not support AC3 into AVI or your AVI is badly muxed. Did you try to remux your AVI with VirtualDub or AviMux GUI?
BTW, from your post#5, x264 does not use GPU for encoding, and certainly not x264VFW version. There is OpencCL accelerated code but it only accelerates lookahead part and that won't save you much of encoding time. -
see what i gothttp://youtu.be/ACpT4SQmQok
yeah gpu rendering is slower than cpu but anyway doesn't that mean x264vfw can use gpu? -
No, x264VFW does not use GPU. Your program probably uses GPU for decoding and difference comes from copying data from RAM to VRAM and vice versa.
I have Intel G3220 with IGPU. I tried VidCoder with DXVA decoding and it came slower compared to pure CPU decoding + CPU encoding due to slow data transfer.
BTW, you can configure x264VFW to use faster settings and get faster encoding speed. -
doesn't fast encoding make quality low?
btw mediainfo shows wrong audio delay. i shifted audio 32 ms but didn't work. and i only changed ac3 from 448 kbps to 384 and now i can import django0.avi to adobe premiere.Last edited by chazz spacey; 18th Sep 2014 at 14:40.
-
It does, but if you use settings that will make your encode finish 2x faster quality won't be 2x lower. And you can compensate that by increasing bitrate a little.
-
why when i mux avc1 and ac3 with avidemux into avi container there is audio delay about 150 ms?
they are not separate files. i cut it from mkv file.
mediainfo:General
Complete name : C:\Users\User\Desktop\8.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 125 MiB
Duration : 3mn 24s
Overall bit rate : 5 097 Kbps
Video
ID : 0
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 8 frames
Codec ID : AVC1
Duration : 3mn 24s
Bit rate : 4 435 Kbps
Width : 1 280 pixels
Height : 534 pixels
Display aspect ratio : 2.40:1
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.271
Stream size : 108 MiB (87%)
Audio
ID : 1
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 2000
Duration : 3mn 24s
Bit rate mode : Constant
Bit rate : 640 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 15.6 MiB (13%)
Alignment : Aligned on interleaves
Interleave, duration : 32 ms (0.77 video frame)
does "Interleave, duration" in mediainfo show audio delay? if it does then it shows that wrong. i don't want to shift audio visually beacuse i want it's original synchronization. is there another tool that shows audio delay?Last edited by chazz spacey; 24th Sep 2014 at 04:43.