Log in

View Full Version : possible to stream copy AVC ?


survivant001
28th December 2008, 19:42
I have little clips that I reencode AVC/AAC in mp4.

I want to trim the clips. I try AviDemux, but the sound is never sync, so I use a avs script. That work perfectly but I need to reencode the video + audio.

there is a way to do a plain streamcopy from the .avs script ?


I try avsproxy with avidemux.. but avidemus always tell me that I need a keyframe.. with the avsproxy, avidemux detect all frame to be keyframe and it still ask me for one.. thats' wierd.

Guest
28th December 2008, 19:46
there is a way to do a plain streamcopy from the .avs script ? No, because Avisynth delivers decompressed frames.

survivant001
29th December 2008, 01:47
thanks, I'll have to trim the frames at the source. Hope that won't cause sync problem..

Atak_Snajpera
29th December 2008, 20:25
thanks, I'll have to trim the frames at the source. Hope that won't cause sync problem..
As long as you cut at key-frames sync will be always correct.

survivant001
30th December 2008, 14:06
thanks Atak.

there is a way in megui to find the keyframe or others avs script generator ? I could use AviDemux too to find the keyframe manually..

LoRd_MuldeR
30th December 2008, 14:58
there is a way in megui to find the keyframe or others avs script generator ? I could use AviDemux too to find the keyframe manually..

MeGUI uses Avisynth input, it only sees the "decoded" frames. Hence it can't decide between frame types.

The same applies to any other Avisynth-based tool!


With Avidemux this should work, but it doesn't work right now. Frame-accurate access to H.264 streams is not implemented yet.

BTW: VirtualDub has got the very same problem ;)

Atak_Snajpera
30th December 2008, 18:17
there is a way in megui to find the keyframe or others avs script generator ? I could use AviDemux too to find the keyframe manually..
remux mp4 to ts and then use TSPE (http://forum.doom9.org/showthread.php?t=143249)

survivant001
31st December 2008, 01:49
@LoRd_MuldeR and @Atak_Snajpera

thanks. I'll try TSPE. what I don't understand is when I play the movie within Asvidemux is sync.. but when I look at the outputed movie.. it's not. I'll try with other tools for now.