Skip to content

Instantly share code, notes, and snippets.

@psxlover
Created December 14, 2015 18:27
Show Gist options
  • Save psxlover/db4339f405086d6a1082 to your computer and use it in GitHub Desktop.
Save psxlover/db4339f405086d6a1082 to your computer and use it in GitHub Desktop.
Media Info
Video
CodecH264
ProfileHigh
Level31
Resolution1280x720
Aspect ratio16:9
AnamorphicNo
InterlacedNo
Framerate29.97003
Bitrate1895 kbps
Bit depth8 bit
Pixel formatyuv420p
Ref frames3
CABACNo
Audio
CodecAAC
ProfileLC
Layoutstereo
Channels2 ch
Sample rate48000 khz
DefaultYes
Subtitle
CodecASS
DefaultYes
ForcedNo
ExternalNo
Containermkv
PathC:\Users\Alex\Downloads\Videos\Anime\Usagi Drop\Usagi Drop - S01E02 - Pinky Promise.mkv
http://192.168.1.2:8096/videos/5c038fdd8e0f7aa877d6d06b8e81b18b/stream.ts?Params=5cd28c870d4ce6ed690db933b96b1509;uuid:7aab7a9c-69e9-3c62-a137-7368998b29c9;5c038fdd8e0f7aa877d6d06b8e81b18b;false;h264;ac3;1;;24872000;128000;6;30;1920;1080;0;30;;8;;;;;;5c038fdd8e0f7aa877d6d06b8e81b18b
{"Protocol":"File","Id":"5c038fdd8e0f7aa877d6d06b8e81b18b","Path":"C:\\Users\\Alex\\Downloads\\Videos\\Anime\\Usagi Drop\\Usagi Drop - S01E02 - Pinky Promise.mkv","Type":"Default","Container":"mkv","Name":"720P/H264/AAC","RunTimeTicks":13760900000,"ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"RequiresOpening":false,"RequiresClosing":false,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","Language":"jpn","IsInterlaced":false,"BitRate":1941384,"BitDepth":8,"RefFrames":3,"IsDefault":true,"IsForced":false,"Height":720,"Width":1280,"AverageFrameRate":29.97003,"RealFrameRate":29.97003,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":31,"IsAnamorphic":false,"IsCabac":false},{"Codec":"aac","IsInterlaced":false,"ChannelLayout":"stereo","Channels":2,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Profile":"LC","Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"ass","IsInterlaced":false,"IsDefault":true,"IsForced":false,"Type":"Subtitle","Index":2,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Level":0}],"PlayableStreamFileNames":[],"Formats":[],"Bitrate":1941384,"RequiredHttpHeaders":{}}
C:\Users\Alex\AppData\Roaming\MediaBrowser-Server\ffmpeg\20151111\ffmpeg.exe -fflags +genpts -i file:"C:\Users\Alex\Downloads\Videos\Anime\Usagi Drop\Usagi Drop - S01E02 - Pinky Promise.mkv" -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -force_key_frames expr:gte(t,n_forced*5) -vf "scale=min(iw\,1280):trunc(ow/dar/2)*2" -pix_fmt yuv420p -preset superfast -crf 23 -b:v 1941384 -vsync vfr -level 30 -map_metadata -1 -threads 0 -codec:a:0 ac3 -ac 2 -ab 128000 -af "aresample=async=1" -y "C:\Users\Alex\AppData\Roaming\MediaBrowser-Server\transcoding-temp\103ca41cf81bd4039ee3a545d1082c11.ts"
ffmpeg version N-76598-g2905c51 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.2.0 (GCC)
configuration: --arch=x86_64 --target-os=mingw32 --cross-prefix=/home/mceuser/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/bin/x86_64-w64-mingw32- --pkg-config=pkg-config --disable-w32threads --enable-gpl --enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvideo --enable-libbluray --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-libcaca --enable-libmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enable-libvidstab --enable-libx265 --enable-decklink --extra-libs=-loleaut32 --enable-libx264 --enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-libilbc --enable-libwavpack --enable-libwebp --enable-libgme --enable-dxva2 --enable-libdcadec --enable-avisynth --enable-gray --enable-libmfx --extra-libs=-lpsapi --extra-cflags= --enable-static --disable-shared --prefix=/home/mceuser/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/x86_64-w64-mingw32 --enable-runtime-cpudetect
libavutil 55. 5.100 / 55. 5.100
libavcodec 57. 15.100 / 57. 15.100
libavformat 57. 14.100 / 57. 14.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 15.100 / 6. 15.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
[matroska,webm @ 0000000000375a40] Could not find codec parameters for stream 3 (Attachment: none): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0000000000375a40] Could not find codec parameters for stream 7 (Attachment: none): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, matroska,webm, from 'file:C:\Users\Alex\Downloads\Videos\Anime\Usagi Drop\Usagi Drop - S01E02 - Pinky Promise.mkv':
Metadata:
encoder : libebml v1.2.0 + libmatroska v1.1.0
creation_time : 2011-07-27 03:40:14
Duration: 00:22:56.09, start: 0.000000, bitrate: 1941 kb/s
Chapter #0:0: start 0.000000, end 50.008000
Metadata:
title : Prologue
Chapter #0:1: start 50.050000, end 144.986000
Metadata:
title : Opening
Chapter #0:2: start 145.019000, end 1236.944000
Metadata:
title : Episode 2
Chapter #0:3: start 1236.985000, end 1325.324000
Metadata:
title : Ending
Chapter #0:4: start 1325.449000, end 1374.956000
Metadata:
title : Next Episode Preview
Stream #0:0(jpn): Video: h264 (High), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 1k tbn, 59.95 tbc (default)
Metadata:
title : 720p
Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp (default)
Stream #0:2: Subtitle: ass (default)
Stream #0:3: Attachment: none
Metadata:
filename : DFKKS9_3.TTC
mimetype : application/octet-stream
Stream #0:4: Attachment: ttf
Metadata:
filename : PURIB10.TTF
mimetype : application/x-truetype-font
Stream #0:5: Attachment: ttf
Metadata:
filename : Snake.ttf
mimetype : application/x-truetype-font
Stream #0:6: Attachment: ttf
Metadata:
filename : Complete in Him.ttf
mimetype : application/x-truetype-font
Stream #0:7: Attachment: none
Metadata:
filename : DFHsg7.ttc
mimetype : application/octet-stream
[libx264 @ 00000000042d1720] using SAR=1/1
[libx264 @ 00000000042d1720] frame MB size (80x45) > level limit (1620)
[libx264 @ 00000000042d1720] DPB size (4 frames, 14400 mbs) > level limit (2 frames, 8100 mbs)
[libx264 @ 00000000042d1720] MB rate (107892) > level limit (40500)
[libx264 @ 00000000042d1720] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 00000000042d1720] profile High, level 3.0
Output #0, mpegts, to 'C:\Users\Alex\AppData\Roaming\MediaBrowser-Server\transcoding-temp\103ca41cf81bd4039ee3a545d1082c11.ts':
Metadata:
encoder : Lavf57.14.100
Chapter #0:0: start 0.000000, end 50.008000
Chapter #0:1: start 50.050000, end 144.986000
Chapter #0:2: start 145.019000, end 1236.944000
Chapter #0:3: start 1236.985000, end 1325.324000
Chapter #0:4: start 1325.449000, end 1374.956000
Stream #0:0: Video: h264 (libx264), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 1941 kb/s, 29.97 fps, 90k tbn, 29.97 tbc (default)
Metadata:
encoder : Lavc57.15.100 libx264
Stream #0:1: Audio: ac3, 48000 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
encoder : Lavc57.15.100 ac3
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> ac3 (native))
Press [q] to stop, [?] for help
frame= 94 fps=0.0 q=24.0 size= 749kB time=00:00:04.34 bitrate=1410.7kbits/s
frame= 189 fps=188 q=24.0 size= 1730kB time=00:00:08.47 bitrate=1672.1kbits/s
frame= 327 fps=217 q=21.0 size= 2893kB time=00:00:14.07 bitrate=1684.1kbits/s
frame= 463 fps=230 q=23.0 size= 3743kB time=00:00:19.70 bitrate=1556.0kbits/s
frame= 594 fps=236 q=20.0 size= 4878kB time=00:00:25.14 bitrate=1589.1kbits/s
frame= 706 fps=233 q=21.0 size= 6053kB time=00:00:29.81 bitrate=1663.0kbits/s
frame= 819 fps=232 q=21.0 size= 7246kB time=00:00:34.49 bitrate=1721.1kbits/s
frame= 943 fps=233 q=23.0 size= 8248kB time=00:00:39.73 bitrate=1700.4kbits/s
frame= 1071 fps=236 q=22.0 size= 9126kB time=00:00:45.08 bitrate=1658.4kbits/s
frame= 1194 fps=237 q=21.0 size= 10097kB time=00:00:50.23 bitrate=1646.6kbits/s
frame= 1319 fps=237 q=20.0 size= 11353kB time=00:00:55.45 bitrate=1677.3kbits/s
frame= 1425 fps=235 q=22.0 size= 12556kB time=00:00:59.83 bitrate=1719.0kbits/s
frame= 1543 fps=235 q=24.0 size= 13556kB time=00:01:04.85 bitrate=1712.2kbits/s
frame= 1658 fps=234 q=21.0 size= 14616kB time=00:01:09.59 bitrate=1720.4kbits/s
frame= 1759 fps=232 q=24.0 size= 16365kB time=00:01:13.75 bitrate=1817.7kbits/s
frame= 1854 fps=229 q=24.0 size= 18322kB time=00:01:17.75 bitrate=1930.3kbits/s
frame= 1954 fps=228 q=23.0 size= 20239kB time=00:01:21.91 bitrate=2024.0kbits/s
frame= 2059 fps=227 q=22.0 size= 22065kB time=00:01:26.33 bitrate=2093.8kbits/s
frame= 2161 fps=225 q=24.0 size= 23825kB time=00:01:30.61 bitrate=2153.8kbits/s
frame= 2253 fps=223 q=24.0 size= 25731kB time=00:01:34.33 bitrate=2234.6kbits/s
frame= 2344 fps=221 q=25.0 size= 27794kB time=00:01:38.10 bitrate=2320.9kbits/s
frame= 2426 fps=217 q=23.0 size= 29624kB time=00:01:41.56 bitrate=2389.4kbits/s
frame= 2522 fps=216 q=25.0 size= 31341kB time=00:01:45.59 bitrate=2431.4kbits/s
frame= 2623 fps=215 q=23.0 size= 32872kB time=00:01:49.81 bitrate=2452.1kbits/s
frame= 2726 fps=215 q=24.0 size= 34461kB time=00:01:54.04 bitrate=2475.4kbits/s
frame= 2818 fps=214 q=24.0 size= 35518kB time=00:01:58.07 bitrate=2464.2kbits/s
frame= 2904 fps=212 q=23.0 size= 36425kB time=00:02:01.56 bitrate=2454.6kbits/s
frame= 3009 fps=212 q=24.0 size= 37672kB time=00:02:05.97 bitrate=2449.7kbits/s
frame= 3111 fps=212 q=23.0 size= 39083kB time=00:02:10.20 bitrate=2459.0kbits/s
frame= 3204 fps=211 q=21.0 size= 40473kB time=00:02:14.01 bitrate=2474.1kbits/s
frame= 3311 fps=211 q=24.0 size= 42071kB time=00:02:18.45 bitrate=2489.1kbits/s
frame= 3432 fps=212 q=17.0 size= 43427kB time=00:02:23.64 bitrate=2476.7kbits/s
frame= 3532 fps=211 q=21.0 size= 44215kB time=00:02:27.77 bitrate=2451.2kbits/s
frame= 3585 fps=208 q=22.0 size= 44698kB time=00:02:29.97 bitrate=2441.4kbits/s
frame= 3700 fps=209 q=21.0 size= 45760kB time=00:02:34.68 bitrate=2423.5kbits/s
frame= 3815 fps=209 q=20.0 size= 46674kB time=00:02:39.48 bitrate=2397.5kbits/s
frame= 3932 fps=210 q=24.0 size= 47732kB time=00:02:44.37 bitrate=2378.8kbits/s
frame= 4021 fps=209 q=23.0 size= 48420kB time=00:02:48.12 bitrate=2359.3kbits/s
frame= 4139 fps=210 q=19.0 size= 49503kB time=00:02:52.98 bitrate=2344.3kbits/s
frame= 4243 fps=210 q=20.0 size= 50657kB time=00:02:57.40 bitrate=2339.2kbits/s
frame= 4369 fps=211 q=20.0 size= 51717kB time=00:03:02.58 bitrate=2320.4kbits/s
frame= 4476 fps=211 q=21.0 size= 52558kB time=00:03:07.13 bitrate=2300.8kbits/s
frame= 4579 fps=211 q=24.0 size= 53389kB time=00:03:11.45 bitrate=2284.5kbits/s
frame= 4697 fps=211 q=23.0 size= 54395kB time=00:03:16.41 bitrate=2268.7kbits/s
frame= 4830 fps=212 q=19.0 size= 55247kB time=00:03:21.85 bitrate=2242.2kbits/s
frame= 4965 fps=213 q=24.0 size= 56285kB time=00:03:27.45 bitrate=2222.6kbits/s
frame= 5093 fps=214 q=24.0 size= 57473kB time=00:03:32.82 bitrate=2212.2kbits/s
frame= 5218 fps=215 q=21.0 size= 58564kB time=00:03:38.10 bitrate=2199.6kbits/s
frame= 5358 fps=216 q=20.0 size= 59595kB time=00:03:43.89 bitrate=2180.4kbits/s
frame= 5485 fps=217 q=23.0 size= 60770kB time=00:03:49.11 bitrate=2172.8kbits/s
frame= 5563 fps=216 q=24.0 size= 62141kB time=00:03:52.44 bitrate=2190.1kbits/s
frame= 5696 fps=217 q=22.0 size= 63124kB time=00:03:57.88 bitrate=2173.8kbits/s
frame= 5832 fps=218 q=22.0 size= 64067kB time=00:04:03.57 bitrate=2154.7kbits/s
frame= 5950 fps=218 q=24.0 size= 64992kB time=00:04:08.50 bitrate=2142.5kbits/s
frame= 6058 fps=218 q=23.0 size= 66102kB time=00:04:12.98 bitrate=2140.5kbits/s
General
Unique ID : 197365444324302683848216183115082785967 (0x947B33B11AB12C5BA5F4BFABD31264AF)
Complete name : C:\Users\Alex\Downloads\Videos\Anime\Usagi Drop\Usagi Drop - S01E02 - Pinky Promise.mkv
Format : Matroska
Format version : Version 2
File size : 318 MiB
Duration : 22mn 56s
Overall bit rate : 1 941 Kbps
Encoded date : UTC 2011-07-27 03:40:14
Writing application : mkvmerge v4.8.0 ('I Got The...') gebaut am May 24 2011 03:12:58
Writing library : libebml v1.2.0 + libmatroska v1.1.0
Attachements : DFKKS9_3.TTC / PURIB10.TTF / Snake.ttf / Complete in Him.ttf / DFHsg7.ttc
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Muxing mode : Header stripping
Codec ID : V_MPEG4/ISO/AVC
Duration : 22mn 56s
Nominal bit rate : 2 114 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Original frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.096
Title : 720p
Writing library : x264 core 115 r1995 c1e60b9
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc=2pass / mbtree=0 / bitrate=2114 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
Language : Japanese
Default : Yes
Forced : No
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 22mn 56s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Default : Yes
Forced : No
Text
ID : 3
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Compression mode : Lossless
Default : Yes
Forced : No
Menu
00:00:00.000 : ja:Prologue
00:00:50.050 : ja:Opening
00:02:25.019 : ja:Episode 2
00:20:36.985 : ja:Ending
00:22:05.449 : ja:Next Episode Preview
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment