bytedeco/javacv

set time stamp not working properly in 1.0

Open

#238 建立於 2015年9月29日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Java (1,583 fork)batch import
bughelp wanted

倉庫指標

Star
 (6,985 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Hi,

I am using javacv 1.0 for creating a video and using setTimestamp method of FFmpegGrabber class. The analysis is as:

  1. When i set timestamp in FFmpegGrabber as duration of video(which should be point to last frame) and again set as start of the video(which should be point to first frame) it returns same frame number in both cases from the method of getFrameNumber.
  2. If i set start time first and then end time the returned frame number is correct.
  3. Grabbing the frame from last by setting the frame number in reverse as n, n-1, n-2.....1st and creating the video, it seems that i am not getting all frames and created video is not smooth(its jumpy).
  4. Also tested MPEG4 codec is not working in 1.0 (it throws error in recorder like image height>0 width >0)and i have to used H264 codec.

I have tried with grab and grabImage method both. Please help.

貢獻者指南