you-apps / RecordYou

Privacy focused recorder app built with MD3
https://you-apps.net
GNU General Public License v3.0
753 stars 34 forks source link

Video Recording Halted #277

Open Tellik opened 7 months ago

Tellik commented 7 months ago

Steps to reproduce

  1. Start recording video

Expected behavior

Expected video recording of full 9 hour length of video.

Actual behavior

Video recording halted at 90 minutes, while audio recording continued

Record You version

v7.1

Android version

Android 14

Other details

Ending output of ffmpeg -v debug:

frame=49982 fps=2115 q=-0.0 size=N/A time=02:01:53.79 bitrate=N/A speed= 309x ^Mframe=49982 fps=2071 q=-0.0 size=N/A time=02:34:27.20 bitrate=N/A speed= 384x ^Mframe=49982 fps=2029 q=-0.0 size=N/A time=03:06:04.67 bitrate=N/A speed= 453x ^Mfram> [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x55aab40bd040] Terminating demuxer thread [vist#0:0/h264 @ 0x55aab40c4980] Decoder thread received EOF packet [vist#0:0/h264 @ 0x55aab40c4980] Decoder returned EOF, finishing [vist#0:0/h264 @ 0x55aab40c4980] Terminating decoder thread [aist#0:1/aac @ 0x55aab40c4d40] Decoder thread received EOF packet [aist#0:1/aac @ 0x55aab40c4d40] Decoder returned EOF, finishing [aist#0:1/aac @ 0x55aab40c4d40] Terminating decoder thread [null @ 0x55aab42578c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 325689 >= 325689 [out_0_0 @ 0x55aab43a0880] EOF on sink link out_0_0:default. [out_0_1 @ 0x55aab426d9c0] EOF on sink link out_0_1:default. No more output streams to write to, finishing. [out#0/null @ 0x55aab40c4c40] All streams finished [out#0/null @ 0x55aab40c4c40] Terminating muxer thread [out#0/null @ 0x55aab40c4c40] Output file #0 (pipe:): [out#0/null @ 0x55aab40c4c40] Output stream #0:0 (video): 49997 frames encoded; 49997 packets muxed (23998560 bytes); [out#0/null @ 0x55aab40c4c40] Output stream #0:1 (audio): 261844 frames encoded (268128256 samples); 261844 packets muxed (536256512 bytes); [out#0/null @ 0x55aab40c4c40] Total: 311841 packets (560255072 bytes) muxed [out#0/null @ 0x55aab40c4c40] video:23436kB audio:523688kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown frame=49997 fps=1638 q=-0.0 Lsize=N/A time=09:18:35.90 bitrate=N/A speed=1.1e+03x [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x55aab40bd040] Input file #0 (./Downloads/2024-03-18_10-46-02.mp4): [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x55aab40bd040] Input stream #0:0 (video): 49997 packets read (400593484 bytes); 49997 frames decoded; 0 decode errors; [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x55aab40bd040] Input stream #0:1 (audio): 261844 packets read (51112020 bytes); 261844 frames decoded; 0 decode errors (268128256 samples); [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x55aab40bd040] Total: 311841 packets (451705504 bytes) demuxed [AVIOContext @ 0x55aab40c5940] Statistics: 478196459 bytes read, 695 seeks

Shows that video recording frames only encoded 49997 frames, while the audio frames were fully encoded. Not sure if this is only specifically on this one file or if more will exhibit the same behavior. As far as I know, this happened after updating to Android 14.

Acknowledgements

SuhasDissa commented 7 months ago

What's the size of the output file?

Tellik commented 7 months ago

Output file size is 432.6MB.