Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #### Steps ####
- mkvmerge.exe --disable-track-statistics-tags --no-global-tags --no-track-tags --flush-on-close --output "D:\Test\AVI Trouble.tmp" "D:\Test\AVI Trouble.avi"
- mediainfo.exe --Output=XML "D:\Test\AVI Trouble.mkv"
- mkvmerge.exe --identify "D:\Test\AVI Trouble.mkv" --identification-format json
- ffprobe.exe -loglevel quiet -show_streams -print_format json "D:\Test\AVI Trouble.mkv"
- ffmpeg.exe -analyzeduration 2147483647 -probesize 2147483647 -i "D:\Test\AVI Trouble.mkv" -xerror -abort_on empty_output -map 0:0 -map 0:1 -c:v:0 libx265 -crf 20 -preset medium -c:a:0 ac3 -f matroska "D:\Test\AVI Trouble.tmp"
- mediainfo.exe --Output=XML "D:\Test\AVI Trouble.mkv"
- mkvmerge.exe --identify "D:\Test\AVI Trouble.mkv" --identification-format json
- ffprobe.exe -loglevel quiet -show_streams -print_format json "D:\Test\AVI Trouble.mkv"
- #### Remuxed from AVI to MKV using mkvmerge ####
- PS C:\Users\piete\source\repos\ptr727\PlexCleaner\PlexCleaner\bin\Debug\net6.0\Tools\MKVToolNix> ./mkvmerge.exe --identify "D:\Test\AVI Trouble.mkv" --identification-format json
- {
- "attachments": [],
- "chapters": [],
- "container": {
- "properties": {
- "container_type": 17,
- "date_local": "2022-01-09T15:48:11-08:00",
- "date_utc": "2022-01-09T23:48:11Z",
- "duration": 30000000000,
- "is_providing_timestamps": true,
- "muxing_application": "libebml v1.4.2 + libmatroska v1.6.4",
- "segment_uid": "c6200a89fa7b50cecab66205412756d9",
- "writing_application": "mkvmerge v64.0.0 ('Willows') 64-bit"
- },
- "recognized": true,
- "supported": true,
- "type": "Matroska"
- },
- "errors": [],
- "file_name": "D:\\Test\\AVI Trouble.mkv",
- "global_tags": [],
- "identification_format_version": 14,
- "track_tags": [],
- "tracks": [
- {
- "codec": "0x4d4a5047 \"MJPG\"",
- "id": 0,
- "properties": {
- "codec_id": "V_MS/VFW/FOURCC",
- "codec_private_data": "2800000040010000f0000000010018004d4a50470084000000000000000000000000000000000000",
- "codec_private_length": 40,
- "default_duration": 90909000,
- "default_track": true,
- "display_dimensions": "320x240",
- "display_unit": 0,
- "enabled_track": true,
- "forced_track": false,
- "language": "eng",
- "language_ietf": "en",
- "minimum_timestamp": 0,
- "number": 1,
- "pixel_dimensions": "320x240",
- "uid": 11013166198120238917
- },
- "type": "video"
- },
- {
- "codec": "PCM",
- "id": 1,
- "properties": {
- "audio_bits_per_sample": 8,
- "audio_channels": 1,
- "audio_sampling_frequency": 8000,
- "codec_id": "A_PCM/INT/LIT",
- "codec_private_length": 0,
- "default_duration": 40000000,
- "default_track": true,
- "enabled_track": true,
- "forced_track": false,
- "language": "eng",
- "language_ietf": "en",
- "minimum_timestamp": 0,
- "number": 2,
- "uid": 18245853339182613567
- },
- "type": "audio"
- }
- ],
- "warnings": []
- }
- #### Reencoded using FFmpeg ####
- PS C:\Users\piete\source\repos\ptr727\PlexCleaner\PlexCleaner\bin\Debug\net6.0\Tools\MKVToolNix> ./mkvmerge.exe --identify "D:\Test\AVI Trouble.mkv" --identification-format json
- {
- "attachments": [],
- "chapters": [],
- "container": {
- "properties": {
- "container_type": 17,
- "duration": 30000000000,
- "is_providing_timestamps": true,
- "muxing_application": "Lavf58.76.100",
- "segment_uid": "4b84247d932d3e7e976ef3369ad1ef71",
- "writing_application": "Lavf58.76.100"
- },
- "recognized": true,
- "supported": true,
- "type": "Matroska"
- },
- "errors": [],
- "file_name": "D:\\Test\\AVI Trouble.mkv",
- "global_tags": [
- {
- "num_entries": 1
- }
- ],
- "identification_format_version": 14,
- "track_tags": [
- {
- "num_entries": 2,
- "track_id": 0
- }
- ],
- "tracks": [
- {
- "codec": "HEVC/H.265/MPEG-H",
- "id": 0,
- "properties": {
- "codec_id": "V_MPEGH/ISO/HEVC",
- "codec_private_data": "0101600000009000000000003cf000fcfdf8f800000f04200001001840010c01ffff01600000030090000003000003003c959809210001002d42010101600000030090000003000003003ca00a080f165959a4932bc05b81010282000003000200000300161022000100074401c172b4624027000109154e0105ffffffffffffffffff102ca2de09b51747dbbb55a4fe7fc2fc4e7832363520286275696c642032303329202d20332e352b31392d3830303365343338323a5b57696e646f77735d5b4743432031312e322e305d5b3634206269745d20386269742b31306269742b3132626974202d20482e3236352f4845564320636f646563202d20436f7079726967687420323031332d3230313820286329204d756c7469636f7265776172652c20496e63202d20687474703a2f2f783236352e6f7267202d206f7074696f6e733a2063707569643d31313131303339206672616d652d746872656164733d33206e756d612d706f6f6c733d3820777070206e6f2d706d6f6465206e6f2d706d65206e6f2d70736e72206e6f2d7373696d206c6f672d6c6576656c3d322062697464657074683d3820696e7075742d6373703d31206670733d31312f3120696e7075742d7265733d3332307832343020696e7465726c6163653d3020746f74616c2d6672616d65733d30206c6576656c2d6964633d3020686967682d746965723d31207568642d62643d30207265663d33206e6f2d616c6c6f772d6e6f6e2d636f6e666f726d616e6365206e6f2d7265706561742d6865616465727320616e6e657862206e6f2d617564206e6f2d656f62206e6f2d656f73206e6f2d68726420696e666f20686173683d30206e6f2d74656d706f72616c2d6c6179657273206f70656e2d676f70206d696e2d6b6579696e743d3131206b6579696e743d32353020676f702d6c6f6f6b61686561643d3020626672616d65733d3420622d61646170743d3220622d707972616d696420626672616d652d626961733d302072632d6c6f6f6b61686561643d3230206c6f6f6b61686561642d736c696365733d30207363656e656375743d3430206e6f2d686973742d7363656e65637574207261646c3d30206e6f2d73706c696365206e6f2d696e7472612d72656672657368206374753d3634206d696e2d63752d73697a653d38206e6f2d72656374206e6f2d616d70206d61782d74752d73697a653d33322074752d696e7465722d64657074683d312074752d696e7472612d64657074683d31206c696d69742d74753d302072646f712d6c6576656c3d302064796e616d69632d72643d302e3030206e6f2d7373696d2d7264207369676e68696465206e6f2d74736b6970206e722d696e7472613d30206e722d696e7465723d30206e6f2d636f6e73747261696e65642d696e747261207374726f6e672d696e7472612d736d6f6f7468696e67206d61782d6d657267653d33206c696d69742d726566733d31206e6f2d6c696d69742d6d6f646573206d653d31207375626d653d32206d6572616e67653d35372074656d706f72616c2d6d7670206e6f2d6672616d652d647570206e6f2d686d652077656967687470206e6f2d77656967687462206e6f2d616e616c797a652d7372632d70696373206465626c6f636b3d303a302073616f206e6f2d73616f2d6e6f6e2d6465626c6f636b2072643d332073656c6563746976652d73616f3d34206561726c792d736b69702072736b6970206e6f2d666173742d696e747261206e6f2d74736b69702d66617374206e6f2d63752d6c6f73736c65737320622d696e747261206e6f2d73706c697472642d736b697020726470656e616c74793d30207073792d72643d322e3030207073792d72646f713d302e3030206e6f2d72642d726566696e65206e6f2d6c6f73736c65737320636271706f6666733d3020637271706f6666733d302072633d637266206372663d32302e302071636f6d703d302e3630207170737465703d342073746174732d77726974653d302073746174732d726561643d30206970726174696f3d312e3430207062726174696f3d312e33302061712d6d6f64653d322061712d737472656e6774683d312e303020637574726565207a6f6e652d636f756e743d30206e6f2d7374726963742d6362722071672d73697a653d3332206e6f2d72632d677261696e2071706d61783d36392071706d696e3d30206e6f2d636f6e73742d766276207361723d31206f7665727363616e3d3020766964656f666f726d61743d352072616e67653d3120636f6c6f727072696d3d32207472616e736665723d3220636f6c6f726d61747269783d35206368726f6d616c6f633d3020646973706c61792d77696e646f773d3020636c6c3d302c30206d696e2d6c756d613d30206d61782d6c756d613d323535206c6f67322d6d61782d706f632d6c73623d38207675692d74696d696e672d696e666f207675692d6872642d696e666f20736c696365733d31206e6f2d6f70742d71702d707073206e6f2d6f70742d7265662d6c6973742d6c656e6774682d707073206e6f2d6d756c74692d706173732d6f70742d727073207363656e656375742d626961733d302e303520686973742d7468726573686f6c643d302e3033206e6f2d6f70742d63752d64656c74612d7170206e6f2d61712d6d6f74696f6e206e6f2d6864723130206e6f2d68647231302d6f7074206e6f2d6468647231302d6f7074206e6f2d6964722d7265636f766572792d73656920616e616c797369732d72657573652d6c6576656c3d3020616e616c797369732d736176652d72657573652d6c6576656c3d3020616e616c797369732d6c6f61642d72657573652d6c6576656c3d30207363616c652d666163746f723d3020726566696e652d696e7472613d3020726566696e652d696e7465723d3020726566696e652d6d763d3120726566696e652d6374752d646973746f7274696f6e3d30206e6f2d6c696d69742d73616f206374752d696e666f3d30206e6f2d6c6f77706173732d64637420726566696e652d616e616c797369732d747970653d3020636f70792d7069633d31206d61782d617573697a652d666163746f723d312e30206e6f2d64796e616d69632d726566696e65206e6f2d73696e676c652d736569206e6f2d686576632d6171206e6f2d737674206e6f2d6669656c642071702d61646170746174696f6e2d72616e67653d312e3030207363656e656375742d61776172652d71703d30636f6e666f726d616e63652d77696e646f772d6f6666736574732072696768743d3020626f74746f6d3d30206465636f6465722d6d61782d726174653d30206e6f2d7662762d6c6976652d6d756c74692d7061737380",
- "codec_private_length": 2444,
- "default_duration": 90909090,
- "default_track": true,
- "display_dimensions": "320x240",
- "display_unit": 0,
- "enabled_track": true,
- "forced_track": false,
- "language": "eng",
- "minimum_timestamp": 0,
- "number": 1,
- "packetizer": "mpegh_p2_video",
- "pixel_dimensions": "320x240",
- "tag_duration": "00:00:30.000000000",
- "tag_encoder": "Lavc58.134.100 libx265",
- "uid": 18143615255235293069
- },
- "type": "video"
- }
- ],
- "warnings": []
- }
- PS C:\Users\piete\source\repos\ptr727\PlexCleaner\PlexCleaner\bin\Debug\net6.0\Tools\FfMpeg\bin> ./ffprobe.exe -loglevel quiet -show_streams -print_format json "D:\Test\AVI Trouble.mkv"
- {
- "streams": [
- {
- "index": 0,
- "codec_name": "hevc",
- "codec_long_name": "H.265 / HEVC (High Efficiency Video Coding)",
- "profile": "Main",
- "codec_type": "video",
- "codec_tag_string": "[0][0][0][0]",
- "codec_tag": "0x0000",
- "width": 320,
- "height": 240,
- "coded_width": 320,
- "coded_height": 240,
- "closed_captions": 0,
- "has_b_frames": 2,
- "sample_aspect_ratio": "1:1",
- "display_aspect_ratio": "4:3",
- "pix_fmt": "yuvj420p",
- "level": 60,
- "color_range": "pc",
- "color_space": "bt470bg",
- "chroma_location": "left",
- "field_order": "progressive",
- "refs": 1,
- "r_frame_rate": "11/1",
- "avg_frame_rate": "11/1",
- "time_base": "1/1000",
- "start_pts": 0,
- "start_time": "0.000000",
- "disposition": {
- "default": 1,
- "dub": 0,
- "original": 0,
- "comment": 0,
- "lyrics": 0,
- "karaoke": 0,
- "forced": 0,
- "hearing_impaired": 0,
- "visual_impaired": 0,
- "clean_effects": 0,
- "attached_pic": 0,
- "timed_thumbnails": 0
- },
- "tags": {
- "language": "eng",
- "ENCODER": "Lavc58.134.100 libx265",
- "DURATION": "00:00:30.000000000"
- }
- },
- {
- "index": 1,
- "codec_name": "ac3",
- "codec_long_name": "ATSC A/52A (AC-3)",
- "codec_type": "audio",
- "codec_tag_string": "[0][0][0][0]",
- "codec_tag": "0x0000",
- "sample_fmt": "fltp",
- "sample_rate": "32000",
- "channels": 1,
- "bits_per_sample": 0,
- "dmix_mode": "-1",
- "ltrt_cmixlev": "-1.000000",
- "ltrt_surmixlev": "-1.000000",
- "loro_cmixlev": "-1.000000",
- "loro_surmixlev": "-1.000000",
- "r_frame_rate": "0/0",
- "avg_frame_rate": "0/0",
- "time_base": "1/1000",
- "start_pts": 0,
- "start_time": "0.000000",
- "duration_ts": 30000,
- "duration": "30.000000",
- "disposition": {
- "default": 1,
- "dub": 0,
- "original": 0,
- "comment": 0,
- "lyrics": 0,
- "karaoke": 0,
- "forced": 0,
- "hearing_impaired": 0,
- "visual_impaired": 0,
- "clean_effects": 0,
- "attached_pic": 0,
- "timed_thumbnails": 0
- },
- "tags": {
- "language": "eng",
- "ENCODER": "Lavc58.134.100 ac3",
- "DURATION": "00:00:00.000000000"
- }
- }
- ]
- }
- PS C:\Users\piete\source\repos\ptr727\PlexCleaner\PlexCleaner\bin\Debug\net6.0\Tools\MediaInfo> ./mediainfo.exe --Output=XML "D:\Test\AVI Trouble.mkv"
- <?xml version="1.0" encoding="UTF-8"?>
- <MediaInfo
- xmlns="https://mediaarea.net/mediainfo"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="https://mediaarea.net/mediainfo https://mediaarea.net/mediainfo/mediainfo_2_0.xsd"
- version="2.0">
- <creatingLibrary version="21.09" url="https://mediaarea.net/MediaInfo">MediaInfoLib</creatingLibrary>
- <media ref="D:\Test\AVI Trouble.mkv">
- <track type="General">
- <UniqueID>100378222985010326685473017314350854001</UniqueID>
- <VideoCount>1</VideoCount>
- <AudioCount>1</AudioCount>
- <FileExtension>mkv</FileExtension>
- <Format>Matroska</Format>
- <Format_Version>4</Format_Version>
- <FileSize>2918371</FileSize>
- <Duration>30.000</Duration>
- <OverallBitRate>778232</OverallBitRate>
- <FrameRate>11.000</FrameRate>
- <FrameCount>330</FrameCount>
- <IsStreamable>Yes</IsStreamable>
- <File_Created_Date>UTC 2022-01-09 23:54:50.978</File_Created_Date>
- <File_Created_Date_Local>2022-01-09 15:54:50.978</File_Created_Date_Local>
- <File_Modified_Date>UTC 2022-01-09 23:54:53.424</File_Modified_Date>
- <File_Modified_Date_Local>2022-01-09 15:54:53.424</File_Modified_Date_Local>
- <Encoded_Application>Lavf58.76.100</Encoded_Application>
- <Encoded_Library>Lavf58.76.100</Encoded_Library>
- <extra>
- <ErrorDetectionType>Per level 1</ErrorDetectionType>
- </extra>
- </track>
- <track type="Video">
- <StreamOrder>0</StreamOrder>
- <ID>1</ID>
- <UniqueID>18143615255235293069</UniqueID>
- <Format>HEVC</Format>
- <Format_Profile>Main</Format_Profile>
- <Format_Level>2</Format_Level>
- <Format_Tier>Main</Format_Tier>
- <CodecID>V_MPEGH/ISO/HEVC</CodecID>
- <Duration>30.000000000</Duration>
- <Width>320</Width>
- <Height>240</Height>
- <Sampled_Width>320</Sampled_Width>
- <Sampled_Height>240</Sampled_Height>
- <PixelAspectRatio>1.000</PixelAspectRatio>
- <DisplayAspectRatio>1.333</DisplayAspectRatio>
- <FrameRate_Mode>CFR</FrameRate_Mode>
- <FrameRate>11.000</FrameRate>
- <FrameCount>330</FrameCount>
- <ColorSpace>YUV</ColorSpace>
- <ChromaSubsampling>4:2:0</ChromaSubsampling>
- <BitDepth>8</BitDepth>
- <Delay>0.000</Delay>
- <Encoded_Library>x265 - 3.5+19-8003e4382:[Windows][GCC 11.2.0][64 bit] 8bit+10bit+12bit</Encoded_Library>
- <Encoded_Library_Name>x265</Encoded_Library_Name>
- <Encoded_Library_Version>3.5+19-8003e4382:[Windows][GCC 11.2.0][64 bit] 8bit+10bit+12bit</Encoded_Library_Version>
- <Encoded_Library_Settings>cpuid=1111039 / frame-threads=3 / numa-pools=8 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=320x240 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-eob / no-eos / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=11 / keyint=250 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=20 / lookahead-slices=0 / scenecut=40 / no-hist-scenecut / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=3 / limit-refs=1 / no-limit-modes / me=1 / subme=2 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=3 / selective-sao=4 / early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=20.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=1 / colorprim=2 / transfer=2 / colormatrix=5 / chromaloc=0 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=255 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / hist-threshold=0.03 / no-opt-cu-delta-qp / no-aq-motion / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0conformance-window-offsets / right=0 / bottom=0 / decoder-max-rate=0 / no-vbv-live-multi-pass</Encoded_Library_Settings>
- <Language>en</Language>
- <Default>Yes</Default>
- <Forced>No</Forced>
- <colour_description_present>Yes</colour_description_present>
- <colour_description_present_Source>Container / Stream</colour_description_present_Source>
- <colour_range>Full</colour_range>
- <colour_range_Source>Container / Stream</colour_range_Source>
- <colour_primaries_Source>Stream</colour_primaries_Source>
- <transfer_characteristics_Source>Stream</transfer_characteristics_Source>
- <matrix_coefficients>BT.470 System B/G</matrix_coefficients>
- <matrix_coefficients_Source>Container / Stream</matrix_coefficients_Source>
- </track>
- <track type="Audio">
- <StreamOrder>1</StreamOrder>
- <ID>2</ID>
- <UniqueID>8567037298377329942</UniqueID>
- <Format>AC-3</Format>
- <CodecID>A_AC3</CodecID>
- <Duration>0.000000000</Duration>
- <Channels>1</Channels>
- <SamplingRate>32000</SamplingRate>
- <SamplingCount>960000</SamplingCount>
- <BitDepth>32</BitDepth>
- <Compression_Mode>Lossy</Compression_Mode>
- <Encoded_Library>Lavc58.134.100 ac3</Encoded_Library>
- <Language>en</Language>
- <Default>Yes</Default>
- <Forced>No</Forced>
- </track>
- </media>
- </MediaInfo>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement