google / sagetv

SageTV is a cross-platform networked DVR and media management system
http://forums.sagetv.com/
Apache License 2.0
267 stars 173 forks source link

Update transcoder progress to fallback to framecount #480

Closed jvl711 closed 2 years ago

jvl711 commented 2 years ago

In certain situations ffmpeg does not output a correct time in the status output. It seems like this happens most often when doing a remux of the file instead of a transcode. When the time is calculated as < 0 I am falling back to calculating the progress based on framecount.

I also made some minor changes in the gradle file to allow this project to build under netbeans.

Narflex commented 2 years ago

Thanks for the update!