Skip to content

[BUG] Compression Fail on Long Videos #108

Closed

Description

@DeMoN100

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

Activity

  1. added
    BugSomething isn't working
    TriageThis issue has not been reviewed yet
    on Aug 30, 2026
  2. github-actions commented on Aug 30, 2026

    @github-actions
  3. added
    InvalidThis doesn't seem right
    Won't FixThis will not be worked on
    This Person Can't ReadThe author of this issue can't read the pinned READ ME FIRST issue
    on Aug 30, 2026
  4. DeMoN100 commented on Aug 30, 2026

    @DeMoN100
    Author

    This is a good example of why to not rely on a bot & actually look at the issue.

  5. JoshAtticus commented on Aug 30, 2026

    @JoshAtticus
    Owner

    sigh I don't even know what specific words are causing it to do this I think I set it up wrong

  6. 4 remaining items

  7. DeMoN100 commented on Aug 30, 2026

    @DeMoN100
    Author

    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.

  8. DeMoN100 commented on Aug 30, 2026

    @DeMoN100
    Author

    1.6.4 Successful compression on medium preset but the high preset caused the app to crash when the compression got to 95%.

  9. JoshAtticus commented on Aug 30, 2026

    @JoshAtticus
    Owner

    1.6.4 Successful compression on medium preset but the high preset caused the app to crash when the compression got to 95%.

    Weird, I'll look into it, given this is a watchdog issue it very much could be a weird issue with your custom rom.

  10. added
    Media3This issue is related to Android's Media3 framework
    Medium PriorityThis issue is of medium priority
    and removed
    TriageThis issue has not been reviewed yet
    on Aug 30, 2026
  11. JoshAtticus commented on Aug 30, 2026

    @JoshAtticus
    Owner

    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!

  12. moved this from Ready to Done in Compressor Roadmapon Aug 30, 2026
  13. JoshAtticus commented on Aug 30, 2026

    @JoshAtticus
    Owner

    I'm going to kill github if it does that again

  14. DeMoN100 commented on Aug 30, 2026

    @DeMoN100
    Author

    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.

    [2026-08-29 23:59:32.896 Uid(value=1000):2056:2237 I/ActivityManager]
    Force stopping compress.joshattic.us appid=10357 user=-1: installPackageLI
    
    [2026-08-29 23:59:32.898 Uid(value=1000):2056:2279 I/PackageManager]
    Update package compress.joshattic.us code path from /data/app/~~_kt5ZpOqSjqm6qjDvhvuaw==/compress.joshattic.us-OVHakemmsZRMTrlt-ghMzA== to /data/app/vmdl1695009297.tmp; Retain data and using new
    
    [2026-08-29 23:59:32.917 Uid(value=1000):2056:2237 E/ActivityManager]
    Unable to freeze binder for 19740: -11
    
    [2026-08-29 23:59:32.918 Uid(value=1000):2056:2237 I/ActivityManager]
    Killing 19740:compress.joshattic.us/u0a357 (adj 930): stop compress.joshattic.us due to installPackageLI
    
    [2026-08-29 23:59:32.919 Uid(value=1000):2056:2213 D/DisplayManagerService]
    Drop pending events for gone uid 10357
    
    [2026-08-29 23:59:32.922 Uid(value=1000):2056:2237 W/ActivityTaskManager]
    Force removing ActivityRecord{171520228 u0 compress.joshattic.us/.MainActivity t1556 f}}: app died, no saved state
    
    [2026-08-29 23:59:32.924 Uid(value=1000):2056:2353 W/UsageStatsService]
    Unexpected activity event reported! (compress.joshattic.us/compress.joshattic.us.MainActivity event : 23 instanceId : 84036610)
    
    [2026-08-29 23:59:32.973 Uid(value=1000):2056:2338 V/ActivityManager]
    Got obituary of 19740:compress.joshattic.us
    
    [2026-08-29 23:59:35.723 Uid(value=1000):2056:2279 I/ActivityManager]
    Force stopping compress.joshattic.us appid=10357 user=0: pkg removed
    
    
    This one appeared a lot.
    [2026-08-29 23:59:35.868 Uid(value=nfc):4119:4119 D/ActivityThread]
    Package [compress.joshattic.us] reported as REPLACED, but missing application info. Assuming REMOVED.
    
  15. closed this as completedby moving to Released in Compressor Roadmapon Oct 5, 2026
  16. JoshAtticus commented on Oct 5, 2026

    @JoshAtticus
    Owner

    Hopefully solved in 1.6.5! Please let me know if this is not the case!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingMedia3This issue is related to Android's Media3 frameworkMedium PriorityThis issue is of medium priority

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions