Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to segment the frame recodrer output file in javacv #992

Closed
gowridev opened this issue May 11, 2018 · 1 comment
Closed

how to segment the frame recodrer output file in javacv #992

gowridev opened this issue May 11, 2018 · 1 comment
Labels

Comments

@gowridev
Copy link

I would like to break output video file(camera recorder) into segments based on time(like 30 minutes) . We can do this in ffmpeg command line by using the below command.

ffmpeg -i rtsp://:@xxx.xxx.xxx.xxx:xxx/play1.sdp -c copy -map 0 -f segment -strftime 1 -segment_time 1800 -segment_format mp4 out-%d_%m_%Y-%H_%M_%S.mp4

Could you please tell me how to do it in javacv in frame recorder module(FrameRecorder.java ).

@saudet
Copy link
Member

saudet commented May 11, 2018

See https://github.com/bytedeco/javacv/blob/master/samples/PacketRecorderTest.java for an example of that, but there are known issues, see #818.

BTW, @alicanalbayrak any updates on this?

@saudet saudet closed this as completed May 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants