-
Notifications
You must be signed in to change notification settings - Fork 290
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
Recording in square shape #8
Comments
Now you're using GLSurfaceView and the output video is always full screen rectangle. Is there a way to get truly square video? |
Hi, |
Oh, wow, it's working for me, thanks! |
I have an extra question, the MP4 file seems not streamable? How can I make it streamable? ;) |
Hi, in general, usual MP4(except very short one) is not streamable by it's internal structure. If you want to stream, I assume you should use fragmented MP4. |
Thank you very much! @saki4510t |
@saki4510t Thank you for this awesome lib, it solves a big problem of mine. Thanks for your time! The error log is below. |
Hi, |
@saki4510t You are right!! "onSurfaceChanged" appears three times in the log(actually it restart three times ). This phenomenon appears randomly, cannot be regained with the same operation. Recording result mp4: 480 * 480 Thanks for your time! |
Hi,
Second one is;
|
@saki4510t Thanks a lot! I'll give it try! |
Hi @RockyLin , |
@hexmonad Thanks a lot! |
@hexmonad |
@RockyLin , hmm, it's very strange. |
Hey, I have the same lag sometimes @RockyLin posted. In logs i can see that fragments was paused. |
Thank you! The size you set is 1280 * 720, What about small screens? e.g. 782 * 480 CameraFragment.java |
@RockyLin , |
Hi, thank for providing this awesome lib. I have done square recording using the lib, but I am facing the issue of final video bitrate problem, please have a look at this following data.
the pts_delta should be the same for all frames but I am not able to understand why this is happening. I was looking on the internet about this problem so found out this might be the issue of passing wrong pts to the muxer. Please help it's very critical. |
Is there a way to record a video in square shape using openGL, without distorting the image? Please help! Thank you!
The text was updated successfully, but these errors were encountered: