Repository navigation
[BUG] Compression Fail on Long Videos #108
Copy link
Copy link
Closed
Labels
BugSomething isn't workingSomething isn't workingMedia3This issue is related to Android's Media3 frameworkThis issue is related to Android's Media3 frameworkMedium PriorityThis issue is of medium priorityThis issue is of medium priority
Description
Issue Description
I have been trying to compress a 45min video around 820MB. The compression gets to 90-98% then fails saying the file is lost. Sometimes it will say Muxer error
Device: Google Pixel 5a
Android Version: 15 (SDK 35)
App Version: 1.6.3
Original: 2400x1080 @ 60.0fps
Target: 720p @ 30fps
Codec: video/hevc
Error: Muxer error
Stack Trace:
androidx.media3.transformer.ExportException: Muxer error
at androidx.media3.transformer.Transformer.lambda$maybeInitializeExportWatchdogTimer$0$androidx-media3-transformer-Transformer(Transformer.java:1301)
at androidx.media3.transformer.Transformer$$ExternalSyntheticLambda1.onTimeout(D8$$SyntheticClass:0)
at androidx.media3.transformer.WatchdogTimer$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:524)
at java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:348)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651)
at java.lang.Thread.run(Thread.java:1119)
Caused by: java.lang.IllegalStateException: Abort: no output sample written in the last 10000 milliseconds. DebugTrace: "Tracing disabled"
at androidx.media3.transformer.Transformer.lambda$maybeInitializeExportWatchdogTimer$0$androidx-media3-transformer-Transformer(Transformer.java:1303)
... 8 more
I've tried also to compress this video on 1.6.1 & 1.6.2 which failed multiple times about 10 times. There was only 1 successful compress on 1.6.2 which was done at the lowest preset which unfortunately makes it way too blurry.
Expected Behaviour
File should compress.
Device Info
App: Compressor v1.6.3
Device: Google Pixel 5a (Android 15)
Chipset: Qualcomm SM7250
RAM: 5.3 GB
GPU: Adreno (TM) 620
Device-specific Workaround: None
Supported Encoders: video/avc, video/hevc
Screenshots
No response
Logcat
No response
Prerequisites
- I have checked that there are no open issues that are the same or very similar to mine, and I understand that my issue will be closed if it is a duplicate
- I have filled in all required fields to the best of my ability, and I understand that my issue will be closed if they are not
- I have copied the device & app info to my clipboard and pasted it into the device info section where indicated, and I understand that my issue will be closed if it is not
- I have uploaded appropriate screenshots and log files, and I understand that my issue may be closed or remain unresolved if not
- My issue is written in English, and I understand that my issue will be closed if it is not
- My issue is not listed in [READ FIRST] Features/bugfixes that will NOT be implemented #3
- I have added a title to my issue
- I understand that my issue will be closed if all of these checkboxes are not checked
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't workingMedia3This issue is related to Android's Media3 frameworkThis issue is related to Android's Media3 frameworkMedium PriorityThis issue is of medium priorityThis issue is of medium priority
Projects
- StatusShow more project fieldsReleased
Activity
github-actions commentedon Aug 30, 2026
DeMoN100 commentedon Aug 30, 2026
This is a good example of why to not rely on a bot & actually look at the issue.
JoshAtticus commentedon Aug 30, 2026
sigh I don't even know what specific words are causing it to do this I think I set it up wrong
4 remaining items
DeMoN100 commentedon Aug 30, 2026
Thanks for getting back so fast I appreciate that & correcting the bot. That pixel is using CalyxOS I am trying 1.6.4 now I will comment back in a few minutes & let you know what happened.
DeMoN100 commentedon Aug 30, 2026
1.6.4 Successful compression on medium preset but the high preset caused the app to crash when the compression got to 95%.
JoshAtticus commentedon Aug 30, 2026
Weird, I'll look into it, given this is a watchdog issue it very much could be a weird issue with your custom rom.
JoshAtticus commentedon Aug 30, 2026
Okay YAY I figured out that I actually CAN increase the watchdog timeout, so I've done that and it'll be fixed for the next release!
JoshAtticus commentedon Aug 30, 2026
I'm going to kill github if it does that again
DeMoN100 commentedon Aug 30, 2026
Second attempt on the high preset was successful. A third one was also so I decided to post some logcats just incase it might help.
increase watchdog timeout from 10s to 30s (to fix JoshAtticus#108)
JoshAtticus commentedon Oct 5, 2026
Hopefully solved in 1.6.5! Please let me know if this is not the case!