Created
May 13, 2023 22:18
-
-
Save Cytomax55/f0d1d3734d02ddad50b6bba4458cff9a to your computer and use it in GitHub Desktop.
ffmpeg.transcode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/videos/bfb6608a-803b-38db-4b51-2cee27de7028/hls1/main/0.ts | |
{"Protocol":0,"Id":"bfb6608a803b38db4b512cee27de7028","Path":"/media/username/smbshare/Pictures/Osmo Action/2023/DJI_0256.MP4","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mov,mp4,m4a,3gp,3g2,mj2","Size":304930656,"Name":"DJI_0256","IsRemote":false,"ETag":"5611340927f7c3d6d505ad6b3f512ec6","RunTimeTicks":303636672,"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":"h264","CodecTag":"avc1","Language":"eng","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/30000","CodecTimeBase":null,"Title":null,"VideoRange":"SDR","VideoRangeType":"SDR","VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"4K H264 SDR","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"ChannelLayout":null,"BitRate":80033794,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":1530,"Width":2720,"AverageFrameRate":29.97003,"RealFrameRate":29.97003,"Profile":"High","Type":1,"AspectRatio":"16:9","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":50,"IsAnamorphic":null},{"Codec":"aac","CodecTag":"mp4a","Language":"eng","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/48000","CodecTimeBase":null,"Title":"\u0010DJI.AAC","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"\u0010DJI.AAC - English - Stereo - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"stereo","BitRate":189464,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":48000,"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":null,"CodecTag":"priv","Language":"eng","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/30000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":null,"NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":101701440,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":4,"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":80340928,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null} | |
/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -init_hw_device vaapi=va:,driver=iHD,kernel_driver=i915 -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -autorotate 0 -i file:"/media/username/smbshare/Pictures/Osmo Action/2023/DJI_0256.MP4" -autoscale 0 -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_qsv -preset 7 -look_ahead 0 -b:v 80033794 -maxrate 80033794 -bufsize 160067588 -profile:v:0 high -level 41 -g:v:0 90 -keyint_min:v:0 90 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12:extra_hw_frames=24,hwmap=derive_device=qsv,format=qsv" -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/data/transcodes/bba431c393960099cb6ce340abf87abc%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/data/transcodes/bba431c393960099cb6ce340abf87abc.m3u8" | |
ffmpeg version 5.1.3-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers | |
built with gcc 11 (Ubuntu 11.3.0-1ubuntu1~22.04) | |
configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libsvtav1 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc | |
libavutil 57. 28.100 / 57. 28.100 | |
libavcodec 59. 37.100 / 59. 37.100 | |
libavformat 59. 27.100 / 59. 27.100 | |
libavdevice 59. 7.100 / 59. 7.100 | |
libavfilter 8. 44.100 / 8. 44.100 | |
libswscale 6. 7.100 / 6. 7.100 | |
libswresample 4. 7.100 / 4. 7.100 | |
libpostproc 56. 6.100 / 56. 6.100 | |
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:/media/username/smbshare/Pictures/Osmo Action/2023/DJI_0256.MP4': | |
Metadata: | |
major_brand : avc1 | |
minor_version : 538182144 | |
compatible_brands: avc1isom | |
creation_time : 2023-04-08T19:12:16.000000Z | |
comment : DE=None, Type=Normal, HQ=Normal, RS=On, Mode=P | |
Duration: 00:00:30.36, start: 0.000000, bitrate: 80340 kb/s | |
Stream #0:0[0x1](eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 2720x1530 [SAR 1:1 DAR 16:9], 80033 kb/s, 29.97 fps, 29.97 tbr, 30k tbn (default) | |
Metadata: | |
creation_time : 2023-04-08T19:12:16.000000Z | |
handler_name : ?DJI.AVC | |
vendor_id : [0][0][0][0] | |
encoder : AVC encoder | |
Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default) | |
Metadata: | |
creation_time : 2023-04-08T19:12:16.000000Z | |
handler_name : ?DJI.AAC | |
vendor_id : [0][0][0][0] | |
Stream #0:2[0x3](eng): Data: none (priv / 0x76697270), 101701 kb/s | |
Metadata: | |
creation_time : 2023-04-08T19:12:16.000000Z | |
handler_name : ?DJI.Meta | |
Stream mapping: | |
Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_qsv)) | |
Stream #0:1 -> #0:1 (copy) | |
Press [q] to stop, [?] for help | |
Output #0, hls, to '/config/data/transcodes/bba431c393960099cb6ce340abf87abc.m3u8': | |
Metadata: | |
encoder : Lavf59.27.100 | |
Stream #0:0: Video: h264, qsv(tv, bt709, progressive), 2720x1530 [SAR 1:1 DAR 16:9], q=2-31, 80033 kb/s, 29.97 fps, 90k tbn (default) | |
Metadata: | |
encoder : Lavc59.37.100 h264_qsv | |
Side data: | |
cpb: bitrate max/min/avg: 80033794/0/80033794 buffer size: 160067588 vbv_delay: N/A | |
Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default) | |
frame= 1 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A speed= 0x | |
frame= 67 fps=0.0 q=18.0 size=N/A time=00:00:02.21 bitrate=N/A speed=4.24x | |
[hls @ 0x559a7a453c00] Opening '/config/data/transcodes/bba431c393960099cb6ce340abf87abc0.ts' for writing | |
frame= 98 fps= 88 q=11.0 size=N/A time=00:00:03.30 bitrate=N/A speed=2.97x | |
frame= 171 fps=106 q=16.0 size=N/A time=00:00:05.80 bitrate=N/A speed=3.59x | |
[hls @ 0x559a7a453c00] Opening '/config/data/transcodes/bba431c393960099cb6ce340abf87abc1.ts' for writing | |
frame= 195 fps= 92 q=19.0 size=N/A time=00:00:06.48 bitrate=N/A speed=3.06x | |
frame= 265 fps=101 q=16.0 size=N/A time=00:00:08.87 bitrate=N/A speed=3.38x | |
[hls @ 0x559a7a453c00] Opening '/config/data/transcodes/bba431c393960099cb6ce340abf87abc2.ts' for writing | |
frame= 305 fps= 97 q=18.0 size=N/A time=00:00:10.24 bitrate=N/A speed=3.27x | |
[hls @ 0x559a7a453c00] Opening '/config/data/transcodes/bba431c393960099cb6ce340abf87abc3.ts' for writing | |
frame= 369 fps= 93 q=18.0 size=N/A time=00:00:12.28 bitrate=N/A speed=3.11x | |
frame= 430 fps= 96 q=18.0 size=N/A time=00:00:14.33 bitrate=N/A speed=3.21x | |
[hls @ 0x559a7a453c00] Opening '/config/data/transcodes/bba431c393960099cb6ce340abf87abc4.ts' for writing | |
frame= 462 fps= 93 q=19.0 size=N/A time=00:00:15.36 bitrate=N/A speed= 3.1x | |
frame= 525 fps= 96 q=18.0 size=N/A time=00:00:17.40 bitrate=N/A speed=3.19x | |
[hls @ 0x559a7a453c00] Opening '/config/data/transcodes/bba431c393960099cb6ce340abf87abc5.ts' for writing | |
frame= 554 fps= 93 q=18.0 size=N/A time=00:00:18.43 bitrate=N/A speed=3.09x | |
frame= 618 fps= 96 q=18.0 size=N/A time=00:00:20.48 bitrate=N/A speed=3.17x | |
[hls @ 0x559a7a453c00] Opening '/config/data/transcodes/bba431c393960099cb6ce340abf87abc6.ts' for writing | |
frame= 639 fps= 91 q=16.0 size=N/A time=00:00:21.16 bitrate=N/A speed=3.03x | |
frame= 711 fps= 95 q=16.0 size=N/A time=00:00:23.57 bitrate=N/A speed=3.14x | |
[hls @ 0x559a7a453c00] Opening '/config/data/transcodes/bba431c393960099cb6ce340abf87abc7.ts' for writing | |
frame= 737 fps= 92 q=16.0 size=N/A time=00:00:24.57 bitrate=N/A speed=3.07x | |
frame= 800 fps= 94 q=18.0 size=N/A time=00:00:26.62 bitrate=N/A speed=3.13x | |
[hls @ 0x559a7a453c00] Opening '/config/data/transcodes/bba431c393960099cb6ce340abf87abc8.ts' for writing | |
frame= 826 fps= 92 q=19.0 size=N/A time=00:00:27.64 bitrate=N/A speed=3.07x | |
frame= 889 fps= 93 q=18.0 size=N/A time=00:00:29.69 bitrate=N/A speed=3.12x | |
[hls @ 0x559a7a453c00] Opening '/config/data/transcodes/bba431c393960099cb6ce340abf87abc9.ts' for writing | |
frame= 909 fps= 90 q=16.0 size=N/A time=00:00:29.78 bitrate=N/A speed=2.94x | |
[hls @ 0x559a7a453c00] Opening '/config/data/transcodes/bba431c393960099cb6ce340abf87abc10.ts' for writing | |
frame= 910 fps= 89 q=15.0 Lsize=N/A time=00:00:29.78 bitrate=N/A speed= 2.9x | |
video:308001kB audio:703kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment