Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About ERROR:error in sched_setscheduler: Operation not permitted #2

Open
EvilSnowTech opened this issue Jul 26, 2024 · 1 comment

Comments

@EvilSnowTech
Copy link

Hello,
I encountered some problems. I used the config in the Readme to pull docker and start it, but found the following error during transcoding:
error in sched_setscheduler: Operation not permitted

If possible, could you give me a way to troubleshoot?

Docker Checkfile in Openwrt

{
  "Path": ".\/jellyfin\/jellyfin",
  "ProcessLabel": "",
  "ResolvConfPath": "\/mnt\/SYS_VOL\/Docker\/containers\/23b2f32c37d44d6840e14762a2bab840bc2e166a1dd4911cf9d64dd65febeeca\/resolv.conf",
  "NetworkSettings": {
    "LinkLocalIPv6Address": "",
    "SandboxID": "5eaca0076ea372cf17e945cc22c66ed4edff46f2acfa5111a8c5b3ed2f8664fa",
    "HairpinMode": false,
    "Networks": {
      "bridge": {
        "NetworkID": "dcc571d4cf64564412006aebf6038d759864ea45b7276263f54f2023908896ba",
        "IPAddress": "172.17.0.2",
        "MacAddress": "02:42:ac:11:00:02",
        "IPPrefixLen": 16,
        "IPv6Gateway": "",
        "Gateway": "172.17.0.1",
        "GlobalIPv6PrefixLen": 0,
        "EndpointID": "378f8d4ed18b26d48b822cfffd7d60917ce6433538dd33f042fefcfe80fb0b5e",
        "GlobalIPv6Address": ""
      }
    },
    "Ports": {
      "8096\/tcp": [
        {
          "HostIp": "0.0.0.0",
          "HostPort": "8096"
        },
        {
          "HostIp": "::",
          "HostPort": "8096"
        }
      ]
    },
    "Bridge": "",
    "MacAddress": "02:42:ac:11:00:02",
    "IPv6Gateway": "",
    "IPPrefixLen": 16,
    "IPAddress": "172.17.0.2",
    "EndpointID": "378f8d4ed18b26d48b822cfffd7d60917ce6433538dd33f042fefcfe80fb0b5e",
    "SandboxKey": "\/var\/run\/docker\/netns\/5eaca0076ea3",
    "Gateway": "172.17.0.1",
    "GlobalIPv6PrefixLen": 0,
    "LinkLocalIPv6PrefixLen": 0,
    "GlobalIPv6Address": ""
  },
  "MountLabel": "",
  "HostsPath": "\/mnt\/SYS_VOL\/Docker\/containers\/23b2f32c37d44d6840e14762a2bab840bc2e166a1dd4911cf9d64dd65febeeca\/hosts",
  "LogPath": "\/mnt\/SYS_VOL\/Docker\/containers\/23b2f32c37d44d6840e14762a2bab840bc2e166a1dd4911cf9d64dd65febeeca\/23b2f32c37d44d6840e14762a2bab840bc2e166a1dd4911cf9d64dd65febeeca-json.log",
  "RestartCount": 0,
  "Config": {
    "AttachStdout": false,
    "AttachStdin": false,
    "AttachStderr": false,
    "Image": "jjm2473\/jellyfin-rtk:4.9-latest",
    "Hostname": "2abe4ebea32d",
    "ExposedPorts": {
      "8096\/tcp": [
      ]
    },
    "Domainname": "",
    "StdinOnce": false,
    "Healthcheck": {
      "StartPeriod": 10000000000,
      "Timeout": 30000000000,
      "Test": [
        "CMD-SHELL",
        "curl -Lk \"${HEALTHCHECK_URL}\" || exit 1"
      ],
      "Retries": 3,
      "Interval": 30000000000
    },
    "Entrypoint": [
      ".\/jellyfin\/jellyfin",
      "--datadir",
      "\/config",
      "--cachedir",
      "\/cache",
      "--ffmpeg",
      "\/usr\/bin\/ffmpeg"
    ],
    "User": "root:root",
    "OpenStdin": false,
    "Volumes": {
      "\/config": [
      ],
      "\/cache": [
      ]
    },
    "Env": [
      "TZ=Asia\/Shanghai",
      "PGID=0",
      "PUID=0",
      "PATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin",
      "NVIDIA_DRIVER_CAPABILITIES=compute,video,utility",
      "LC_ALL=en_US.UTF-8",
      "LANG=en_US.UTF-8",
      "LANGUAGE=en_US:en",
      "HEALTHCHECK_URL=http:\/\/localhost:8096\/health",
      "JELLYFIN_COPY_H264_HIGH10=1",
      "JELLYFIN_SUB_UNBURN=1"
    ],
    "WorkingDir": "",
    "Tty": false,
    "Labels": [
    ]
  },
  "Mounts": [
    {
      "Name": "90506ece4d3f119b427feca2130c63d15cae279188cb5c1a9f6d18ee989892e8",
      "Type": "volume",
      "Source": "\/mnt\/SYS_VOL\/Docker\/volumes\/90506ece4d3f119b427feca2130c63d15cae279188cb5c1a9f6d18ee989892e8\/_data",
      "RW": true,
      "Mode": "z",
      "Destination": "\/cache",
      "Driver": "local",
      "Propagation": ""
    },
    {
      "Type": "bind",
      "Source": "\/mnt\/SYS_VOL\/Docker\/Jellyfin\/Configs",
      "Mode": "",
      "Destination": "\/config",
      "RW": true,
      "Propagation": "rslave"
    },
    {
      "Type": "bind",
      "Source": "\/mnt\/SYS_VOL\/Caches\/Jellyfin",
      "Mode": "",
      "Destination": "\/config\/transcodes",
      "RW": true,
      "Propagation": "rprivate"
    },
    {
      "Type": "bind",
      "Source": "\/tmp\/shm",
      "Mode": "",
      "Destination": "\/dev\/shm",
      "RW": true,
      "Propagation": "rprivate"
    },
    {
      "Type": "bind",
      "Source": "\/mnt",
      "Mode": "rslave",
      "Destination": "\/mnt",
      "RW": true,
      "Propagation": "rslave"
    },
    {
      "Type": "bind",
      "Source": "\/sys\/class\/uio",
      "Mode": "",
      "Destination": "\/sys\/class\/uio",
      "RW": true,
      "Propagation": "rprivate"
    },
    {
      "Type": "bind",
      "Source": "\/var\/tmp\/vowb",
      "Mode": "",
      "Destination": "\/var\/tmp\/vowb",
      "RW": true,
      "Propagation": "rprivate"
    }
  ],
  "Id": "23b2f32c37d44d6840e14762a2bab840bc2e166a1dd4911cf9d64dd65febeeca",
  "Platform": "linux",
  "HostConfig": {
    "PidMode": "host",
    "MemorySwap": 0,
    "ConsoleSize": [
      0,
      0
    ],
    "IOMaximumIOps": 0,
    "DnsOptions": [
    ],
    "CpuPeriod": 0,
    "OomScoreAdj": 0,
    "BlkioWeight": 0,
    "CgroupnsMode": "host",
    "Privileged": true,
    "PortBindings": {
      "8096\/tcp": [
        {
          "HostIp": "",
          "HostPort": "8096"
        }
      ]
    },
    "SecurityOpt": [
      "label=disable"
    ],
    "NetworkMode": "bridge",
    "CpuQuota": 0,
    "DnsSearch": [
    ],
    "NanoCpus": 0,
    "ReadonlyPaths": [
      "\/proc\/bus",
      "\/proc\/fs",
      "\/proc\/irq",
      "\/proc\/sys",
      "\/proc\/sysrq-trigger"
    ],
    "CpuCount": 0,
    "MaskedPaths": [
      "\/proc\/asound",
      "\/proc\/acpi",
      "\/proc\/kcore",
      "\/proc\/keys",
      "\/proc\/latency_stats",
      "\/proc\/timer_list",
      "\/proc\/timer_stats",
      "\/proc\/sched_debug",
      "\/proc\/scsi",
      "\/sys\/firmware"
    ],
    "Isolation": "",
    "Mounts": [
      {
        "Target": "\/cache",
        "Type": "volume",
        "Source": "90506ece4d3f119b427feca2130c63d15cae279188cb5c1a9f6d18ee989892e8"
      }
    ],
    "Cgroup": "",
    "ContainerIDFile": "",
    "IOMaximumBandwidth": 0,
    "AutoRemove": false,
    "IpcMode": "private",
    "CpuPercent": 0,
    "VolumeDriver": "",
    "OomKillDisable": false,
    "CpuRealtimePeriod": 0,
    "UsernsMode": "",
    "KernelMemoryTCP": 0,
    "Binds": [
      "\/var\/tmp\/vowb:\/var\/tmp\/vowb",
      "\/mnt\/SYS_VOL\/Caches\/Jellyfin:\/config\/transcodes",
      "\/mnt:\/mnt:rslave",
      "\/mnt\/SYS_VOL\/Docker\/Jellyfin\/Configs:\/config",
      "\/tmp\/shm:\/dev\/shm",
      "\/sys\/class\/uio:\/sys\/class\/uio"
    ],
    "KernelMemory": 0,
    "MemoryReservation": 0,
    "Devices": [
      {
        "PathInContainer": "\/dev\/rpc0",
        "PathOnHost": "\/dev\/rpc0",
        "CgroupPermissions": "rwm"
      },
      {
        "PathInContainer": "\/dev\/rpc1",
        "PathOnHost": "\/dev\/rpc1",
        "CgroupPermissions": "rwm"
      },
      {
        "PathInContainer": "\/dev\/rpc2",
        "PathOnHost": "\/dev\/rpc2",
        "CgroupPermissions": "rwm"
      },
      {
        "PathInContainer": "\/dev\/rpc3",
        "PathOnHost": "\/dev\/rpc3",
        "CgroupPermissions": "rwm"
      },
      {
        "PathInContainer": "\/dev\/rpc4",
        "PathOnHost": "\/dev\/rpc4",
        "CgroupPermissions": "rwm"
      },
      {
        "PathInContainer": "\/dev\/rpc5",
        "PathOnHost": "\/dev\/rpc5",
        "CgroupPermissions": "rwm"
      },
      {
        "PathInContainer": "\/dev\/rpc6",
        "PathOnHost": "\/dev\/rpc6",
        "CgroupPermissions": "rwm"
      },
      {
        "PathInContainer": "\/dev\/rpc7",
        "PathOnHost": "\/dev\/rpc7",
        "CgroupPermissions": "rwm"
      },
      {
        "PathInContainer": "\/dev\/rpc100",
        "PathOnHost": "\/dev\/rpc100",
        "CgroupPermissions": "rwm"
      },
      {
        "PathInContainer": "\/dev\/uio250",
        "PathOnHost": "\/dev\/uio250",
        "CgroupPermissions": "rwm"
      },
      {
        "PathInContainer": "\/dev\/uio251",
        "PathOnHost": "\/dev\/uio251",
        "CgroupPermissions": "rwm"
      },
      {
        "PathInContainer": "\/dev\/uio252",
        "PathOnHost": "\/dev\/uio252",
        "CgroupPermissions": "rwm"
      },
      {
        "PathInContainer": "\/dev\/uio253",
        "PathOnHost": "\/dev\/uio253",
        "CgroupPermissions": "rwm"
      },
      {
        "PathInContainer": "\/dev\/ion",
        "PathOnHost": "\/dev\/ion",
        "CgroupPermissions": "rwm"
      },
      {
        "PathInContainer": "\/dev\/ve3",
        "PathOnHost": "\/dev\/ve3",
        "CgroupPermissions": "rwm"
      },
      {
        "PathInContainer": "\/dev\/vpu",
        "PathOnHost": "\/dev\/vpu",
        "CgroupPermissions": "rwm"
      },
      {
        "PathInContainer": "\/dev\/memalloc",
        "PathOnHost": "\/dev\/memalloc",
        "CgroupPermissions": "rwm"
      }
    ],
    "RestartPolicy": {
      "Name": "unless-stopped",
      "MaximumRetryCount": 0
    },
    "PublishAllPorts": false,
    "CpusetMems": "",
    "CpusetCpus": "",
    "CpuRealtimeRuntime": 0,
    "CgroupParent": "",
    "ReadonlyRootfs": false,
    "Runtime": "runc",
    "Memory": 0,
    "UTSMode": "",
    "ShmSize": 67108864,
    "Dns": [
      "172.17.0.1"
    ],
    "CpuShares": 0,
    "LogConfig": {
      "Config": {
        "max-size": "50m",
        "max-file": "2"
      },
      "Type": "json-file"
    }
  },
  "GraphDriver": {
    "Data": {
      "MergedDir": "\/mnt\/SYS_VOL\/Docker\/overlay2\/eb727444e7d13aa84892ff87c3cf3150333ec0c5e743e607cdd0318b8bf3411e\/merged",
      "WorkDir": "\/mnt\/SYS_VOL\/Docker\/overlay2\/eb727444e7d13aa84892ff87c3cf3150333ec0c5e743e607cdd0318b8bf3411e\/work",
      "UpperDir": "\/mnt\/SYS_VOL\/Docker\/overlay2\/eb727444e7d13aa84892ff87c3cf3150333ec0c5e743e607cdd0318b8bf3411e\/diff",
      "LowerDir": "\/mnt\/SYS_VOL\/Docker\/overlay2\/eb727444e7d13aa84892ff87c3cf3150333ec0c5e743e607cdd0318b8bf3411e-init\/diff:\/mnt\/SYS_VOL\/Docker\/overlay2\/bfa4dfa0bbc15ca03b33bc346add4ba3de3f11c2e1ef0a471c0c85fe0c1379a4\/diff:\/mnt\/SYS_VOL\/Docker\/overlay2\/c5ab6dfcc8e3b2df521a634ca4d73a2eb2d83f62f8b45341d01253b5e3be9e01\/diff:\/mnt\/SYS_VOL\/Docker\/overlay2\/ab9e0b718f52f6bddfb558807c225652095f031abac4b4597f9bbc8b71a4975c\/diff:\/mnt\/SYS_VOL\/Docker\/overlay2\/66312c4ca742d1e247cc12b9793e9d0a5d9e1ce0209b01908bea69968ba8100c\/diff:\/mnt\/SYS_VOL\/Docker\/overlay2\/cc9273ae509fbdbbda3e428cf9be16d6558c9a8fcb06517b4e858f1e8852c6c2\/diff:\/mnt\/SYS_VOL\/Docker\/overlay2\/655c7c23ad3f76a76539ace1f03012bcea198111689a07342566c3f86a3caec6\/diff:\/mnt\/SYS_VOL\/Docker\/overlay2\/3f2386f9946de8c9b0af78002cc4d1c688a848068130b62cf5024d082fd968e5\/diff:\/mnt\/SYS_VOL\/Docker\/overlay2\/e34157447fd4e4f423512211dc0719de398fc2c5cbb4ad00baf17d5ae1ebd2ba\/diff:\/mnt\/SYS_VOL\/Docker\/overlay2\/a1e242932db6a804e63fab26f306b57b8298d642ec01e1deffdd603f5809c7a4\/diff"
    },
    "Name": "overlay2"
  },
  "State": {
    "Pid": 18102,
    "Health": {
      "Status": "healthy",
      "Log": [
        {
          "Start": "2024-07-26T17:31:07.739124053+08:00",
          "Output": "  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100     7    0     7    0     0   1750      0 --:--:-- --:--:-- --:--:--  1750\nHealthy",
          "ExitCode": 0,
          "End": "2024-07-26T17:31:08.088408816+08:00"
        },
        {
          "Start": "2024-07-26T17:31:38.10398265+08:00",
          "Output": "  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100     7    0     7    0     0   1750      0 --:--:-- --:--:-- --:--:--  1750\nHealthy",
          "ExitCode": 0,
          "End": "2024-07-26T17:31:38.351681928+08:00"
        },
        {
          "Start": "2024-07-26T17:32:08.36972205+08:00",
          "Output": "  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100     7    0     7    0     0   1750      0 --:--:-- --:--:-- --:--:--  1750\nHealthy",
          "ExitCode": 0,
          "End": "2024-07-26T17:32:08.67212513+08:00"
        },
        {
          "Start": "2024-07-26T17:32:38.69580425+08:00",
          "Output": "  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100     7    0     7    0     0   1400      0 --:--:-- --:--:-- --:--:--  1400\nHealthy",
          "ExitCode": 0,
          "End": "2024-07-26T17:32:38.96901158+08:00"
        },
        {
          "Start": "2024-07-26T17:33:08.983446754+08:00",
          "Output": "  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100     7    0     7    0     0   1400      0 --:--:-- --:--:-- --:--:--  1400\nHealthy",
          "ExitCode": 0,
          "End": "2024-07-26T17:33:09.292326778+08:00"
        }
      ],
      "FailingStreak": 0
    },
    "FinishedAt": "2024-07-24T15:33:36.364620245Z",
    "StartedAt": "2024-07-24T15:37:19.615950925Z",
    "Error": "",
    "Running": true,
    "Paused": false,
    "OOMKilled": false,
    "Status": "running",
    "ExitCode": 0,
    "Restarting": false,
    "Dead": false
  },
  "Driver": "overlay2",
  "Name": "\/luci_20240719224259",
  "Args": [
    "--datadir",
    "\/config",
    "--cachedir",
    "\/cache",
    "--ffmpeg",
    "\/usr\/bin\/ffmpeg"
  ],
  "HostnamePath": "\/mnt\/SYS_VOL\/Docker\/containers\/23b2f32c37d44d6840e14762a2bab840bc2e166a1dd4911cf9d64dd65febeeca\/hostname",
  "Created": "2024-07-19T14:42:59.651430656Z",
  "AppArmorProfile": "",
  "Image": "sha256:d351176e09a28e6fc442a33e0576f3d0fd64c029542a12d48a2192fae9373ebf"
}

This is the log information of FFmpeg of Jellyfin.

/videos/a76d31e6-b313-c28c-4c47-db51d3b2fa4f/hls1/main/0.ts

{"Protocol":0,"Id":"a76d31e6b313c28c4c47db51d3b2fa4f","Path":"/mnt/B_VOL/PT_VOL/Movies/\u540D\u4FA6\u63A2\u67EF\u5357\uFF1A\u4E07\u5723\u8282\u7684\u65B0\u5A18.Detective.Conan.The.Bride.of.Halloween.2022.WEB-DL.2160p.HEVC.AAC-ZmWeb/\u540D\u4FA6\u63A2\u67EF\u5357\uFF1A\u4E07\u5723\u8282\u7684\u65B0\u5A18.Detective.Conan.The.Bride.of.Halloween.2022.WEB-DL.2160p.HEVC.AAC-ZmWeb.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv,webm","Size":15999690752,"Name":"\u540D\u4FA6\u63A2\u67EF\u5357\uFF1A\u4E07\u5723\u8282\u7684\u65B0\u5A18.Detective.Conan.The.Bride.of.Halloween.2022.WEB-DL.2160p.HEVC.AAC-ZmWeb","IsRemote":false,"ETag":"8fcb4861fbd24a744528e52414c69647","RunTimeTicks":63464779776,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"hevc","CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":"bt709","ColorTransfer":"bt709","ColorPrimaries":"bt709","DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":"SDR","VideoRangeType":"SDR","VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"4K HEVC SDR","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":20168276,"BitDepth":10,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":2160,"Width":3840,"AverageFrameRate":25,"RealFrameRate":25,"Profile":"Main 10","Type":1,"AspectRatio":"16:9","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p10le","Level":153,"IsAnamorphic":null},{"Codec":"aac","CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"Ja","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"Ja - AAC - Stereo - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"stereo","BitRate":192000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":44100,"IsDefault":true,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":"LC","Type":0,"AspectRatio":null,"Index":1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"aac","CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"\u56FD\u8BED","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"\u56FD\u8BED - AAC - Stereo","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"stereo","BitRate":192000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":44100,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":"LC","Type":0,"AspectRatio":null,"Index":2,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":20552276,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

/usr/bin/ffmpeg -analyzeduration 200M -f matroska,webm -autorotate 0 -i file:"/mnt/B_VOL/PT_VOL/Movies/名侦探柯南:万圣节的新娘.Detective.Conan.The.Bride.of.Halloween.2022.WEB-DL.2160p.HEVC.AAC-ZmWeb/名侦探柯南:万圣节的新娘.Detective.Conan.The.Bride.of.Halloween.2022.WEB-DL.2160p.HEVC.AAC-ZmWeb.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -preset veryfast -crf 23 -maxrate 33613793 -bufsize 67227586 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames:0 "expr:gte(t,0+n_forced*3)" -sc_threshold:v:0 0 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(3840\,2160*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(3840/a\,2160))/2)*2,format=yuv420p" -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/config/transcodes/b52c8be5ce978c2f89886f7d54bb6358%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/b52c8be5ce978c2f89886f7d54bb6358.m3u8"



ffmpeg "-dec_o_width" "1920" "-dec_o_height" "1080" "-auto_resize" "1" "-analyzeduration" "10000000" "-probesize" "10000000" "-f" "matroska,webm" "-autorotate" "0" "-i" "file:/mnt/B_VOL/PT_VOL/Movies/名侦探柯南:万圣节的新娘.Detective.Conan.The.Bride.of.Halloween.2022.WEB-DL.2160p.HEVC.AAC-ZmWeb/名侦探柯南:万圣节的新娘.Detective.Conan.The.Bride.of.Halloween.2022.WEB-DL.2160p.HEVC.AAC-ZmWeb.mkv" "-map_metadata" "-1" "-map_chapters" "-1" "-threads" "0" "-map" "0:0" "-map" "0:1" "-map" "-0:s" "-codec:v:0" "h264_omx" "-flags:v" "-global_header" "-b:v" "33613793" "-maxrate" "33613793" "-bufsize" "67227586" "-force_key_frames:0" "expr:gte(t,0+n_forced*3)" "-sc_threshold:v:0" "0" "-codec:a:0" "copy" "-copyts" "-avoid_negative_ts" "disabled" "-max_muxing_queue_size" "2048" "-f" "hls" "-max_delay" "5000000" "-hls_time" "3" "-hls_segment_type" "mpegts" "-start_number" "0" "-hls_segment_filename" "/config/transcodes/b52c8be5ce978c2f89886f7d54bb6358%d.ts" "-hls_playlist_type" "vod" "-hls_list_size" "0" "-y" "/config/transcodes/b52c8be5ce978c2f89886f7d54bb6358.m3u8"
ffmpeg version 4.0.3 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)
  configuration: --pkg-config=pkg-config --disable-avdevice --disable-bzlib --disable-debug --enable-asm --enable-stripping --enable-optimizations --disable-devices --disable-doc --disable-encoders --enable-ffprobe --disable-ffplay --enable-pic --enable-libmp3lame --disable-hwaccels --disable-vaapi --disable-iconv --disable-lzma --disable-protocol=concat --disable-schannel --enable-shared --disable-static --enable-gpl --enable-libvorbis --enable-muxers --enable-version3 --enable-omx --enable-libass --enable-rma --enable-decoder=alac --enable-decoder=ansi --enable-decoder=apng --enable-decoder=ass --enable-decoder=ayuv --enable-decoder=bmp --enable-decoder=ccaption --enable-decoder=dirac --enable-decoder=dvbsub --enable-decoder=dvdsub --enable-decoder=ffv1 --enable-decoder=ffvhuff --enable-decoder=flac --enable-decoder=gif --enable-decoder=huffyuv --enable-decoder=jacosub --enable-decoder=libzvbi_teletext --enable-decoder=microdvd --enable-decoder=h264_rma --enable-decoder=mpeg4_rma --enable-decoder=hevc_rma --enable-decoder=mpeg1_rma --enable-decoder=mpeg2_rma --enable-decoder=vp8_rma --enable-decoder=vp9_rma --enable-decoder=vc1_rma --enable-decoder=wmv3_rma --enable-decoder=mjpeg_rma --enable-decoder=h263_rma --enable-decoder=avs_rma --enable-decoder=cavs_rma --enable-decoder=flv_rma --enable-decoder=mjpeg --enable-decoder=movtext --enable-decoder=mpl2 --enable-decoder=opus --enable-decoder=cook --enable-decoder=wmapro --enable-decoder=pcm_alaw --enable-decoder=pcm_f32be --enable-decoder=pcm_f32le --enable-decoder=pcm_f64be --enable-decoder=pcm_f64le --enable-decoder=pcm_lxf --enable-decoder=pcm_mulaw --enable-decoder=pcm_s16be --enable-decoder=pcm_s16be_planar --enable-decoder=pcm_s16le --enable-decoder=pcm_s16le_planar --enable-decoder=pcm_s24be --enable-decoder=pcm_s24le --enable-decoder=pcm_s24le_planar --enable-decoder=pcm_s32be --enable-decoder=pcm_s32le --enable-decoder=pcm_s32le_planar --enable-decoder=pcm_s8 --enable-decoder=pcm_s8_planar --enable-decoder=pcm_u16be --enable-decoder=pcm_u16le --enable-decoder=pcm_u24be --enable-decoder=pcm_u24le --enable-decoder=pcm_u32be --enable-decoder=pcm_u32le --enable-decoder=pcm_u8 --enable-decoder=pgssub --enable-decoder=pjs --enable-decoder=png --enable-decoder=r210 --enable-decoder=rawvideo --enable-decoder=realtext --enable-decoder=sami --enable-decoder=ssa --enable-decoder=stl --enable-decoder=subrip --enable-decoder=subviewer --enable-decoder=text --enable-decoder=thp --enable-decoder=v210 --enable-decoder=v210x --enable-decoder=v308 --enable-decoder=v408 --enable-decoder=v410 --enable-decoder=vorbis --enable-decoder=vplayer --enable-decoder=webvtt --enable-decoder=xsub --enable-decoder=y41p --enable-decoder=yuv4 --enable-decoder=zero12v --enable-encoder=rawvideo --enable-encoder=alac --enable-encoder=ass --enable-encoder=dvbsub --enable-encoder=dvdsub --enable-encoder=flac --enable-encoder=h264_omx --enable-encoder=libopus --enable-encoder=libvorbis --enable-encoder=mjpeg --enable-encoder=movtext --enable-encoder=pcm_f32be --enable-encoder=pcm_f32le --enable-encoder=pcm_f64be --enable-encoder=pcm_f64le --enable-encoder=pcm_s16be --enable-encoder=pcm_s16be_planar --enable-encoder=pcm_s16le --enable-encoder=pcm_s16le_planar --enable-encoder=pcm_s24be --enable-encoder=pcm_s24le --enable-encoder=pcm_s24le_planar --enable-encoder=pcm_s32be --enable-encoder=pcm_s32le --enable-encoder=pcm_s32le_planar --enable-encoder=pcm_s8 --enable-encoder=pcm_s8_planar --enable-encoder=pcm_u16be --enable-encoder=pcm_u16le --enable-encoder=pcm_u24be --enable-encoder=pcm_u24le --enable-encoder=pcm_u32be --enable-encoder=pcm_u32le --enable-encoder=pcm_u8 --enable-encoder=ssa --enable-encoder=subrip --enable-encoder=text --enable-encoder=webvtt --enable-encoder=wrapped_avframe --enable-encoder=xsub --enable-decoder=pcm_dvd --enable-decoder=eac3 --enable-decoder=ac3 --enable-encoder=mp2 --enable-encoder=eac3 --enable-encoder=aac --enable-encoder=ac3 --enable-decoder=aac_latm --enable-nonfree --enable-libfdk-aac --enable-encoder=libfdk_aac --enable-libmp3lame --enable-encoder=libmp3lame --enable-libopus --enable-decoder=libopus --enable-encoder=libopus
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavfilter     7. 16.100 /  7. 16.100
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
Input #0, matroska,webm, from 'file:/mnt/B_VOL/PT_VOL/Movies/名侦探柯南:万圣节的新娘.Detective.Conan.The.Bride.of.Halloween.2022.WEB-DL.2160p.HEVC.AAC-ZmWeb/名侦探柯南:万圣节的新娘.Detective.Conan.The.Bride.of.Halloween.2022.WEB-DL.2160p.HEVC.AAC-ZmWeb.mkv':
  Metadata:
    encoder         : libebml v1.4.4 + libmatroska v1.7.1
    creation_time   : 2023-12-30T12:26:14.000000Z
    MOVIE/ENCODER   : Lavf58.32.104
  Duration: 01:45:46.48, start: 0.000000, bitrate: 20168 kb/s
    Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 25 tbc (default)
    Metadata:
      BPS             : 19781075
      DURATION        : 01:45:46.440000000
      NUMBER_OF_FRAMES: 158661
      NUMBER_OF_BYTES : 15692425830
      _STATISTICS_WRITING_APP: mkvmerge v81.0 ('Milliontown') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2023-12-30 12:26:14
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp (default)
    Metadata:
      title           : Ja
      BPS             : 192000
      DURATION        : 01:45:46.478000000
      NUMBER_OF_FRAMES: 273320
      NUMBER_OF_BYTES : 152315473
      _STATISTICS_WRITING_APP: mkvmerge v81.0 ('Milliontown') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2023-12-30 12:26:14
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:2: Audio: aac (LC), 44100 Hz, stereo, fltp
    Metadata:
      title           : 国语
      BPS             : 192000
      DURATION        : 01:45:46.478000000
      NUMBER_OF_FRAMES: 273320
      NUMBER_OF_BYTES : 152315473
      _STATISTICS_WRITING_APP: mkvmerge v81.0 ('Milliontown') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2023-12-30 12:26:14
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
error in sched_setscheduler: Operation not permitted
error in sched_setscheduler: Operation not permitted
error in sched_setscheduler: Operation not permitted
[hevc_rma @ 0x556bd51710] Using rtk video_decoder.hevc
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (hevc_rma) -> h264 (h264_omx))
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
@jjm2473
Copy link
Owner

jjm2473 commented Jul 29, 2024

What's your device?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants