Jump to content

ffmpeg-transcode Log Not Rotating


osealion
 Share

Recommended Posts

osealion

It seems that the ffmpeg-transcode-* log files are not being rotated by the "Rotate Log File" scheduled task.

 

No errors reported in the console logs.

 

Other log files in the same directory are deleted as expected.

 

1.8GB of transcode logs built up before I manually cleared.

 

Debug logging is not enabled; should these logs even be generating?

 

Is there an option to turn those off?

 

 

Thanks!

Link to comment
Share on other sites

Happy2Play

Sorry Log file cleanup is a different hidden task then Rotate log files.

{
    "Name": "Log file cleanup",
    "State": "Idle",
    "Id": "1c8ede62c521bea0bf851344f5b8ca40",
    "LastExecutionResult": {
      "StartTimeUtc": "2019-11-03T07:42:10.8540712Z",
      "EndTimeUtc": "2019-11-03T07:42:10.8595133Z",
      "Status": "Completed",
      "Name": "Log file cleanup",
      "Key": "CleanLogFiles",
      "Id": "1c8ede62c521bea0bf851344f5b8ca40"
    },
    "Triggers": [
      {
        "Type": "IntervalTrigger",
        "IntervalTicks": 864000000000
      }
    ],
    "Description": "Deletes log files that are more than 3 days old.",
    "Category": "Maintenance",
    "IsHidden": true,
    "Key": "CleanLogFiles"
  }
Link to comment
Share on other sites

osealion

Is there a way to disable the transcode logging? These files can be multiple megabytes in size and are too noisy/verbose unless debugging.

 

1.8GB in 3 days is too much.

Link to comment
Share on other sites

Happy2Play

Not that I am aware of.  You could lower your log file retention as it is set to 3 days.

<LogFileRetentionDays>3</LogFileRetentionDays>

This is found in your system.xml, every OS is different but it is in your Emby-Server/programdata/config folder.

Link to comment
Share on other sites

There's no option for this but it's not a bad idea. Make sure not to enable server debug logging because that will cause ffmpeg logs to be larger.

Link to comment
Share on other sites

Happy2Play

There's no option for this but it's not a bad idea. Make sure not to enable server debug logging because that will cause ffmpeg logs to be larger.

To me custom log path would be more appropriate.

Link to comment
Share on other sites

osealion

Thanks for the config option Happy.

 

I'm still unconvinced about the existence/necessity of these logs at all. Mine are mostly full of this:

>> ThrottleByStreamBufferSize: PlaybackPosition: 00:00:30 - TranscodingPosition: 00:04:49 - ThrottleBuffer: 259s (Treshold: 112s)
20:27:51.050 frame= 8658 fps=227 q=30.0 size=   21124kB time=00:04:49.62 bitrate= 597.5kbits/s throttle=100 speed=7.59x    
20:27:51.551 frame= 8661 fps=224 q=30.0 size=   21124kB time=00:04:49.69 bitrate= 597.4kbits/s throttle=100 speed=7.49x    
20:27:52.052 frame= 8664 fps=221 q=30.0 size=   21124kB time=00:04:49.76 bitrate= 597.2kbits/s throttle=100 speed= 7.4x    
20:27:52.553 frame= 8666 fps=218 q=30.0 size=   21124kB time=00:04:49.87 bitrate= 597.0kbits/s throttle=100 speed=7.31x    
>> ThrottleByStreamBufferSize: PlaybackPosition: 00:00:30 - TranscodingPosition: 00:04:49 - ThrottleBuffer: 259s (Treshold: 112s)
20:27:53.055 frame= 8669 fps=216 q=30.0 size=   21124kB time=00:04:49.94 bitrate= 596.8kbits/s throttle=100 speed=7.22x    
20:27:53.555 frame= 8671 fps=213 q=30.0 size=   21124kB time=00:04:50.05 bitrate= 596.6kbits/s throttle=100 speed=7.13x    
20:27:54.057 frame= 8674 fps=211 q=30.0 size=   21124kB time=00:04:50.12 bitrate= 596.5kbits/s throttle=100 speed=7.05x    
20:27:54.558 frame= 8677 fps=208 q=30.0 size=   21124kB time=00:04:50.19 bitrate= 596.3kbits/s throttle=100 speed=6.96x    
>> ThrottleByStreamBufferSize: PlaybackPosition: 00:00:30 - TranscodingPosition: 00:04:50 - ThrottleBuffer: 260s (Treshold: 112s)
20:27:55.059 frame= 8679 fps=206 q=30.0 size=   21124kB time=00:04:50.30 bitrate= 596.1kbits/s throttle=100 speed=6.88x    
20:27:55.560 frame= 8682 fps=203 q=30.0 size=   21124kB time=00:04:50.37 bitrate= 596.0kbits/s throttle=100 speed=6.81x    
20:27:56.062 frame= 8684 fps=201 q=30.0 size=   21124kB time=00:04:50.48 bitrate= 595.7kbits/s throttle=100 speed=6.73x    
20:27:56.563 frame= 8687 fps=199 q=30.0 size=   21124kB time=00:04:50.55 bitrate= 595.6kbits/s throttle=100 speed=6.65x    
>> ThrottleByStreamBufferSize: PlaybackPosition: 00:00:40 - TranscodingPosition: 00:04:50 - ThrottleBuffer: 250s (Treshold: 112s)
20:27:57.064 frame= 8690 fps=197 q=30.0 size=   21124kB time=00:04:50.62 bitrate= 595.4kbits/s throttle=100 speed=6.58x    
20:27:57.565 frame= 8692 fps=195 q=30.0 size=   21124kB time=00:04:50.73 bitrate= 595.2kbits/s throttle=100 speed=6.51x    
20:27:58.067 frame= 8695 fps=192 q=30.0 size=   21124kB time=00:04:50.80 bitrate= 595.1kbits/s throttle=100 speed=6.44x    
20:27:58.568 frame= 8697 fps=190 q=30.0 size=   21124kB time=00:04:50.91 bitrate= 594.9kbits/s throttle=100 speed=6.37x    
>> ThrottleByStreamBufferSize: PlaybackPosition: 00:00:40 - TranscodingPosition: 00:04:50 - ThrottleBuffer: 250s (Treshold: 112s)
20:27:59.070 frame= 8700 fps=188 q=30.0 size=   21124kB time=00:04:50.98 bitrate= 594.7kbits/s throttle=100 speed= 6.3x    
20:27:59.571 frame= 8703 fps=186 q=30.0 size=   21124kB time=00:04:51.06 bitrate= 594.6kbits/s throttle=100 speed=6.24x    
20:28:00.072 frame= 8705 fps=185 q=30.0 size=   21124kB time=00:04:51.16 bitrate= 594.3kbits/s throttle=100 speed=6.17x    
20:28:00.574 frame= 8708 fps=183 q=27.0 size=   21124kB time=00:04:51.24 bitrate= 594.2kbits/s throttle=100 speed=6.11x    
>> ThrottleByStreamBufferSize: PlaybackPosition: 00:00:40 - TranscodingPosition: 00:04:51 - ThrottleBuffer: 251s (Treshold: 112s)
20:28:01.075 frame= 8710 fps=181 q=30.0 size=   21124kB time=00:04:51.34 bitrate= 594.0kbits/s throttle=100 speed=6.05x    
20:28:01.577 frame= 8713 fps=179 q=30.0 size=   21645kB time=00:04:51.42 bitrate= 608.4kbits/s throttle=100 speed=5.99x    
20:28:02.079 frame= 8715 fps=177 q=30.0 size=   21645kB time=00:04:51.52 bitrate= 608.2kbits/s throttle=100 speed=5.93x    
20:28:02.580 frame= 8718 fps=175 q=30.0 size=   21665kB time=00:04:51.60 bitrate= 608.6kbits/s throttle=100 speed=5.87x    

What is FFMPEG's loglevel set to that it's generating this much noise? This isn't good for performance or write cycles on my poor SSD.
 

Anything above panic is unnecessary for normal operation.

 

Maybe an option to set the log level in the transcoding panel?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...