PDA

View Full Version : x264 and virtualdub


Jalavera
1st June 2005, 09:21
If you have an AVI file with the x264 codec, why the RESULTING FILE in virtualdub (if you set a start point and a end point and make a 'direct stream copy') IS unusuable or if it is, it's not cut on the edges I have selected?

eb
1st June 2005, 09:31
Starting point must I-frame

Sharktooth
1st June 2005, 13:36
No... starting point must be an IDR frame (that's also an I frame).
Remember AVC in AVI is a bit problematic... so you cant pretend too much from it.

Jalavera
1st June 2005, 13:46
No... starting point must be an IDR frame (that's also an I frame).
Remember AVC in AVI is a bit problematic... so you cant pretend too much from it.

Ok. But, how can I identify and IDR frame? :confused:

bond
1st June 2005, 17:38
Ok. But, how can I identify and IDR frame? :confused:
i think you cant in virtualdub(mod)!?

Jalavera
1st June 2005, 17:49
and with other software different of Vdub(Mod)?

bond
1st June 2005, 18:14
and with other software different of Vdub(Mod)?
the only way i know to find out where the idr frames are is to extract the stream to raw and than run the h264_parse tool from mpeg4ip on it

Sharktooth
1st June 2005, 18:16
Another way is to mux the video stream in a mp4 file, split it with mp4box, extract the splitted video stream and remux it in avi.
In that way you dont need to know whrere the IDR frames are.

bond
1st June 2005, 18:22
are you sure that raw -> avi muxing works with all streams?

Sharktooth
2nd June 2005, 14:09
avc2avi was made for that reason. you can find it in the x264 thread :)

Sirber
2nd June 2005, 14:39
Using avs2avi, I've got no problem so far.

bond
2nd June 2005, 19:53
avc2avi was made for that reason. you can find it in the x264 thread :)
sure, but my question was if it works with all streams for sure?
eg multislice or b-pyramid ones

akupenguin
2nd June 2005, 20:44
avc2avi will work with all main profile streams. It will not work with high or some of the extended profile features.

bond
2nd June 2005, 20:55
thanks!

stephanV
2nd June 2005, 21:38
uhm... IDR frames are just marked as key-frames... no need to do all sorts of crazy extraction. just use SHIFT + arrow keys