Fileburner
27th September 2008, 23:12
Hello Everyone,
I have a strenge problem with avisynth that I have never encountred before! Well I was trying to encode a video file (without audio) using megui/x264, the video is 34min (61188 Frames) Xvid, the encoding went fine but the result video is somehow fast, the content of the video ends at about 28min and repeat itself to complete the remaining 6min. what is strenge is that I encoded the same video with vdub using avisynth and I got the same problem but using MediaCoder(MEncoder) I didn't, that's why I think it's avisynth's fault
I also tried 2 encoding methods (CRF & 2pass) but same problem.
the resulted video have the same frames (61188frame)
the video is originaly encoded from a camcorder, the xvid source is fine, the fps = 29.97
I am going to explain exactly what happened in the little scheme below :
[----------------------------------------------------------------|++++++++++++++++++++++] Original Video (34min 61188 f 29.97 fps CFR)
[------------------------------------------------------++++++++++++++]++++++++++++++++] Encoded Video (34min 61188 f 29.97 fps)
the first line is for the original video
the 2nd line is for the encoded Video
the green pluses are the end of the video (Original)
since the encoded video ran fast (I don't know why) the end of the video came 6 min earlier (marked with "]") (the blue pluses in the 2nd line) but since the time is not completed yet (still 6min to go), the end of the original video (green pluses) were repeated in the encoded video (Red pluses)
I use avisynth 2.5.7 + megui with last updates, FFDshow as video decoder
the avs script was DirectShowSource("wed.mkv",fps=29.9779,audio=false)
I believe that avisynth is skipping frames here but I am not sure
btw when I add "convertFPS=true" to the script everything seem to be ok, but sincerly WHY do I have to add it ??!!
I hope this was not posted before because I searched but couldn't find any similar problem or maybe I couldn't find the right terms for it.
thank you for your support
I have a strenge problem with avisynth that I have never encountred before! Well I was trying to encode a video file (without audio) using megui/x264, the video is 34min (61188 Frames) Xvid, the encoding went fine but the result video is somehow fast, the content of the video ends at about 28min and repeat itself to complete the remaining 6min. what is strenge is that I encoded the same video with vdub using avisynth and I got the same problem but using MediaCoder(MEncoder) I didn't, that's why I think it's avisynth's fault
I also tried 2 encoding methods (CRF & 2pass) but same problem.
the resulted video have the same frames (61188frame)
the video is originaly encoded from a camcorder, the xvid source is fine, the fps = 29.97
I am going to explain exactly what happened in the little scheme below :
[----------------------------------------------------------------|++++++++++++++++++++++] Original Video (34min 61188 f 29.97 fps CFR)
[------------------------------------------------------++++++++++++++]++++++++++++++++] Encoded Video (34min 61188 f 29.97 fps)
the first line is for the original video
the 2nd line is for the encoded Video
the green pluses are the end of the video (Original)
since the encoded video ran fast (I don't know why) the end of the video came 6 min earlier (marked with "]") (the blue pluses in the 2nd line) but since the time is not completed yet (still 6min to go), the end of the original video (green pluses) were repeated in the encoded video (Red pluses)
I use avisynth 2.5.7 + megui with last updates, FFDshow as video decoder
the avs script was DirectShowSource("wed.mkv",fps=29.9779,audio=false)
I believe that avisynth is skipping frames here but I am not sure
btw when I add "convertFPS=true" to the script everything seem to be ok, but sincerly WHY do I have to add it ??!!
I hope this was not posted before because I searched but couldn't find any similar problem or maybe I couldn't find the right terms for it.
thank you for your support