From a5109ac92126f06ab907194c86ccc2029200c5e8 Mon Sep 17 00:00:00 2001 From: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com> Date: Sat, 21 May 2022 15:08:49 +0100 Subject: [PATCH] Add Tdarr_Plugin_00td_action_re_order_all_streams_v2 test --- ...gin_00td_action_re_order_all_streams_v2.js | 72 ++ tests/sampleData/media/sampleH264_2.json | 775 ++++++++++++++++++ 2 files changed, 847 insertions(+) create mode 100644 tests/Community/Tdarr_Plugin_00td_action_re_order_all_streams_v2.js create mode 100644 tests/sampleData/media/sampleH264_2.json diff --git a/tests/Community/Tdarr_Plugin_00td_action_re_order_all_streams_v2.js b/tests/Community/Tdarr_Plugin_00td_action_re_order_all_streams_v2.js new file mode 100644 index 0000000..2567bac --- /dev/null +++ b/tests/Community/Tdarr_Plugin_00td_action_re_order_all_streams_v2.js @@ -0,0 +1,72 @@ +/* eslint max-len: 0 */ +const run = require('../helpers/run'); + +const tests = [ + { + input: { + file: require('../sampleData/media/sampleH264_1.json'), + librarySettings: {}, + inputs: {}, + otherArguments: {}, + }, + output: { + processFile: false, + preset: '', + container: '.mp4', + handBrakeMode: false, + FFmpegMode: true, + infoLog: 'Streams are in the correct order!', + }, + }, + { + // orig + // 0 vid h264 + // 1 flac eng + // 2 ac3 eng + // 3 eac3 eng + // 4 aac fre + // 5 aac eng + // 6 sub fre + + // expect + // 4 aac fre + // 2 ac3 eng + // 1 flac eng + // 3 eac3 eng + // 5 aac eng + // 6 sub fre + // 0 vid h264 + + // console.log(streams.map(stream => { + // return { + // "index": stream.index, + // codec_name: stream.codec_name, + // codec_type: stream.codec_type, + // language: stream.tags.language, + // } + // })) + + input: { + file: require('../sampleData/media/sampleH264_2.json'), + librarySettings: {}, + inputs: { + processOrder: 'codecs,channels,languages,streamTypes', + languages: 'fre,eng', + streamTypes: 'audio,subtitle,video', + codecs: 'ac3,flac,eac3,aac', + channels: '7.1,5.1,2,1', + }, + otherArguments: {}, + }, + output: { + processFile: true, + preset: ' -c copy -map 0:4 -map 0:2 -map 0:1 -map 0:3 -map 0:5 -map 0:6 -map 0:0', + container: '.mkv', + handBrakeMode: false, + FFmpegMode: true, + infoLog: 'Streams are not in the correct order!', + }, + }, +]; + +run(tests); diff --git a/tests/sampleData/media/sampleH264_2.json b/tests/sampleData/media/sampleH264_2.json new file mode 100644 index 0000000..7ad301b --- /dev/null +++ b/tests/sampleData/media/sampleH264_2.json @@ -0,0 +1,775 @@ +{ + "_id": "C:/Transcode/Source Folder/h264.mkv", + "file": "C:/Transcode/Source Folder/h264.mkv", + "DB": "2MY5YD7P8", + "footprintId": "asxmr-5Iij", + "hasClosedCaptions": false, + "container": "mkv", + "scannerReads": { + "ffProbeRead": "success", + "exiftoolRead": "success", + "mediaInfoRead": "success", + "closedCaptionRead": "success" + }, + "ffProbeData": { + "streams": [ + { + "index": 0, + "codec_name": "h264", + "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10", + "profile": "High", + "codec_type": "video", + "codec_tag_string": "[0][0][0][0]", + "codec_tag": "0x0000", + "width": 1918, + "height": 1080, + "coded_width": 1918, + "coded_height": 1080, + "closed_captions": 0, + "has_b_frames": 2, + "sample_aspect_ratio": "1:1", + "display_aspect_ratio": "959:540", + "pix_fmt": "yuv420p", + "level": 41, + "color_range": "tv", + "color_space": "bt709", + "chroma_location": "left", + "field_order": "progressive", + "refs": 1, + "is_avc": "true", + "nal_length_size": "4", + "r_frame_rate": "25/1", + "avg_frame_rate": "25/1", + "time_base": "1/1000", + "start_pts": 0, + "start_time": "0.000000", + "bits_per_raw_sample": "8", + "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, + "captions": 0, + "descriptions": 0, + "metadata": 0, + "dependent": 0, + "still_image": 0 + }, + "tags": { + "language": "fre", + "title": "title video", + "BPS-eng": "6453995", + "DURATION-eng": "00:01:03.960000000", + "NUMBER_OF_FRAMES-eng": "1599", + "NUMBER_OF_BYTES-eng": "51599695", + "_STATISTICS_WRITING_APP-eng": "mkvmerge v23.0.0 ('title') 64-bit", + "_STATISTICS_WRITING_DATE_UTC-eng": "2018-06-14 17:49:29", + "_STATISTICS_TAGS-eng": "BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES", + "DURATION": "00:01:03.986000000" + } + }, + { + "index": 1, + "codec_name": "flac", + "codec_long_name": "FLAC (Free Lossless Audio Codec)", + "codec_type": "audio", + "codec_tag_string": "[0][0][0][0]", + "codec_tag": "0x0000", + "sample_fmt": "s32", + "sample_rate": "48000", + "channels": 2, + "channel_layout": "stereo", + "bits_per_sample": 0, + "r_frame_rate": "0/0", + "avg_frame_rate": "0/0", + "time_base": "1/1000", + "start_pts": 5, + "start_time": "0.005000", + "bits_per_raw_sample": "24", + "disposition": { + "default": 0, + "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, + "captions": 0, + "descriptions": 0, + "metadata": 0, + "dependent": 0, + "still_image": 0 + }, + "tags": { + "language": "eng", + "title": "Anglais E-AC3 2.0", + "BPS-eng": "96000", + "DURATION-eng": "00:01:03.968000000", + "NUMBER_OF_FRAMES-eng": "1999", + "NUMBER_OF_BYTES-eng": "767616", + "_STATISTICS_WRITING_APP-eng": "mkvmerge v23.0.0 ('title') 64-bit", + "_STATISTICS_WRITING_DATE_UTC-eng": "2018-06-14 17:49:29", + "_STATISTICS_TAGS-eng": "BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES", + "ENCODER": "Lavc58.42.102 flac", + "DURATION": "00:01:04.005000000" + } + }, + { + "index": 2, + "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": "48000", + "channels": 2, + "channel_layout": "stereo", + "bits_per_sample": 0, + "r_frame_rate": "0/0", + "avg_frame_rate": "0/0", + "time_base": "1/1000", + "start_pts": 0, + "start_time": "0.000000", + "bit_rate": "192000", + "disposition": { + "default": 0, + "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, + "captions": 0, + "descriptions": 0, + "metadata": 0, + "dependent": 0, + "still_image": 0 + }, + "tags": { + "language": "eng", + "title": "Anglais E-AC3 2.0", + "BPS-eng": "96000", + "DURATION-eng": "00:01:03.968000000", + "NUMBER_OF_FRAMES-eng": "1999", + "NUMBER_OF_BYTES-eng": "767616", + "_STATISTICS_WRITING_APP-eng": "mkvmerge v23.0.0 ('title') 64-bit", + "_STATISTICS_WRITING_DATE_UTC-eng": "2018-06-14 17:49:29", + "_STATISTICS_TAGS-eng": "BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES", + "ENCODER": "Lavc58.42.102 ac3", + "DURATION": "00:01:04.000000000" + } + }, + { + "index": 3, + "codec_name": "eac3", + "codec_long_name": "ATSC A/52B (AC-3, E-AC-3)", + "codec_type": "audio", + "codec_tag_string": "[0][0][0][0]", + "codec_tag": "0x0000", + "sample_fmt": "fltp", + "sample_rate": "48000", + "channels": 2, + "channel_layout": "stereo", + "bits_per_sample": 0, + "r_frame_rate": "0/0", + "avg_frame_rate": "0/0", + "time_base": "1/1000", + "start_pts": 0, + "start_time": "0.000000", + "bit_rate": "192000", + "disposition": { + "default": 0, + "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, + "captions": 0, + "descriptions": 0, + "metadata": 0, + "dependent": 0, + "still_image": 0 + }, + "tags": { + "language": "eng", + "title": "Anglais E-AC3 2.0", + "BPS-eng": "96000", + "DURATION-eng": "00:01:03.968000000", + "NUMBER_OF_FRAMES-eng": "1999", + "NUMBER_OF_BYTES-eng": "767616", + "_STATISTICS_WRITING_APP-eng": "mkvmerge v23.0.0 ('title') 64-bit", + "_STATISTICS_WRITING_DATE_UTC-eng": "2018-06-14 17:49:29", + "_STATISTICS_TAGS-eng": "BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES", + "ENCODER": "Lavc58.42.102 eac3", + "DURATION": "00:01:04.000000000" + } + }, + { + "index": 4, + "codec_name": "aac", + "codec_long_name": "AAC (Advanced Audio Coding)", + "profile": "LC", + "codec_type": "audio", + "codec_tag_string": "[0][0][0][0]", + "codec_tag": "0x0000", + "sample_fmt": "fltp", + "sample_rate": "48000", + "channels": 2, + "channel_layout": "stereo", + "bits_per_sample": 0, + "r_frame_rate": "0/0", + "avg_frame_rate": "0/0", + "time_base": "1/1000", + "start_pts": 5, + "start_time": "0.005000", + "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, + "captions": 0, + "descriptions": 0, + "metadata": 0, + "dependent": 0, + "still_image": 0 + }, + "tags": { + "language": "fre", + "title": "Français E-AC3 2.0", + "BPS-eng": "96000", + "DURATION-eng": "00:01:03.968000000", + "NUMBER_OF_FRAMES-eng": "1999", + "NUMBER_OF_BYTES-eng": "767616", + "_STATISTICS_WRITING_APP-eng": "mkvmerge v23.0.0 ('title') 64-bit", + "_STATISTICS_WRITING_DATE_UTC-eng": "2018-06-14 17:49:29", + "_STATISTICS_TAGS-eng": "BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES", + "ENCODER": "Lavc58.42.102 aac", + "DURATION": "00:01:04.004000000" + } + }, + { + "index": 5, + "codec_name": "aac", + "codec_long_name": "AAC (Advanced Audio Coding)", + "profile": "LC", + "codec_type": "audio", + "codec_tag_string": "[0][0][0][0]", + "codec_tag": "0x0000", + "sample_fmt": "fltp", + "sample_rate": "48000", + "channels": 2, + "channel_layout": "stereo", + "bits_per_sample": 0, + "r_frame_rate": "0/0", + "avg_frame_rate": "0/0", + "time_base": "1/1000", + "start_pts": 5, + "start_time": "0.005000", + "disposition": { + "default": 0, + "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, + "captions": 0, + "descriptions": 0, + "metadata": 0, + "dependent": 0, + "still_image": 0 + }, + "tags": { + "language": "eng", + "title": "Anglais E-AC3 2.0", + "BPS-eng": "96000", + "DURATION-eng": "00:01:03.968000000", + "NUMBER_OF_FRAMES-eng": "1999", + "NUMBER_OF_BYTES-eng": "767616", + "_STATISTICS_WRITING_APP-eng": "mkvmerge v23.0.0 ('title') 64-bit", + "_STATISTICS_WRITING_DATE_UTC-eng": "2018-06-14 17:49:29", + "_STATISTICS_TAGS-eng": "BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES", + "ENCODER": "Lavc58.42.102 aac", + "DURATION": "00:01:04.004000000" + } + }, + { + "index": 6, + "codec_name": "subrip", + "codec_long_name": "SubRip subtitle", + "codec_type": "subtitle", + "codec_tag_string": "[0][0][0][0]", + "codec_tag": "0x0000", + "r_frame_rate": "0/0", + "avg_frame_rate": "0/0", + "time_base": "1/1000", + "start_pts": 0, + "start_time": "0.000000", + "duration_ts": 66031, + "duration": "66.031000", + "disposition": { + "default": 0, + "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, + "captions": 0, + "descriptions": 0, + "metadata": 0, + "dependent": 0, + "still_image": 0 + }, + "tags": { + "language": "fre", + "title": "Français", + "BPS-eng": "46", + "DURATION-eng": "00:01:05.840000000", + "NUMBER_OF_FRAMES-eng": "12", + "NUMBER_OF_BYTES-eng": "381", + "_STATISTICS_WRITING_APP-eng": "mkvmerge v23.0.0 ('title') 64-bit", + "_STATISTICS_WRITING_DATE_UTC-eng": "2018-06-14 17:49:29", + "_STATISTICS_TAGS-eng": "BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES", + "DURATION": "00:01:06.031000000" + } + } + ], + "format": { + "filename": "C:/Transcode/Source Folder/h264.mkv", + "nb_streams": 7, + "nb_programs": 0, + "format_name": "matroska,webm", + "format_long_name": "Matroska / WebM", + "start_time": "0.000000", + "duration": "66.031000", + "size": "68084120", + "bit_rate": "8248746", + "probe_score": 100, + "tags": { + "ENCODER": "Lavf58.24.101" + } + } + }, + "file_size": 64.9300765991211, + "video_resolution": "1080p", + "fileMedium": "video", + "video_codec_name": "h264", + "audio_codec_name": "", + "lastPluginDetails": "none", + "createdAt": 1653139154025, + "bit_rate": 8248746, + "duration": 66, + "statSync": { + "dev": 3832468976, + "mode": 33206, + "nlink": 1, + "uid": 0, + "gid": 0, + "rdev": 0, + "blksize": 4096, + "ino": 64176294690080990, + "size": 68084120, + "blocks": 132984, + "atimeMs": 1653139154001.7666, + "mtimeMs": 1594420078270.8928, + "ctimeMs": 1653139134390.225, + "birthtimeMs": 1653139123219.1018, + "atime": "2022-05-21T13:19:14.002Z", + "mtime": "2020-07-10T22:27:58.271Z", + "ctime": "2022-05-21T13:18:54.390Z", + "birthtime": "2022-05-21T13:18:43.219Z" + }, + "HealthCheck": "", + "TranscodeDecisionMaker": "", + "lastHealthCheckDate": 0, + "holdUntil": 0, + "lastTranscodeDate": 0, + "bumped": false, + "history": "", + "oldSize": 0, + "newSize": 0, + "videoStreamIndex": 0, + "meta": { + "SourceFile": "C:/Transcode/Source Folder/h264.mkv", + "errors": [], + "Duration": 66.031, + "ExifToolVersion": 12.4, + "FileName": "h264.mkv", + "Directory": "C:/Transcode/Source Folder", + "FileSize": "65 MiB", + "FileModifyDate": { + "year": 2020, + "month": 7, + "day": 10, + "hour": 23, + "minute": 27, + "second": 58, + "millisecond": 0, + "tzoffsetMinutes": 60, + "rawValue": "2020:07:10 23:27:58+01:00" + }, + "FileAccessDate": { + "year": 2022, + "month": 5, + "day": 21, + "hour": 14, + "minute": 19, + "second": 11, + "millisecond": 0, + "tzoffsetMinutes": 60, + "rawValue": "2022:05:21 14:19:11+01:00" + }, + "FileCreateDate": { + "year": 2022, + "month": 5, + "day": 21, + "hour": 14, + "minute": 18, + "second": 43, + "millisecond": 0, + "tzoffsetMinutes": 60, + "rawValue": "2022:05:21 14:18:43+01:00" + }, + "FilePermissions": "-rw-rw-rw-", + "FileType": "MKV", + "FileTypeExtension": "mkv", + "MIMEType": "video/x-matroska", + "EBMLVersion": 1, + "EBMLReadVersion": 1, + "DocType": "matroska", + "DocTypeVersion": 4, + "DocTypeReadVersion": 2, + "TimecodeScale": "1 ms", + "MuxingApp": "Lavf58.24.101", + "WritingApp": "Lavf58.24.101", + "VideoFrameRate": 25, + "ImageWidth": 1918, + "ImageHeight": 1080, + "VideoScanType": "Unknown (2)", + "AudioChannels": 2, + "AudioSampleRate": 48000, + "AudioBitsPerSample": 32, + "TrackNumber": 7, + "TrackName": "Français", + "TrackLanguage": "fre", + "TrackDefault": "No", + "CodecID": "S_TEXT/UTF8", + "TrackType": "Subtitle", + "TagLanguage": "eng", + "TagName": "DURATION", + "TagString": "00:01:06.031000000", + "ImageSize": "1918x1080", + "Megapixels": 2.1 + }, + "mediaInfo": { + "@ref": "", + "track": [ + { + "@type": "General", + "UniqueID": "191657682055212276795239999260924509108", + "VideoCount": "1", + "AudioCount": "5", + "TextCount": "1", + "Format": "Matroska", + "Format_Version": "4", + "FileSize": "68084120", + "Duration": "66.031", + "OverallBitRate_Mode": "VBR", + "OverallBitRate": "8248746", + "FrameRate": "25.000", + "FrameCount": "1599", + "StreamSize": "12645964", + "IsStreamable": "Yes", + "Encoded_Application": "Lavf58.24.101", + "Encoded_Library": "Lavf58.24.101", + "extra": { + "ErrorDetectionType": "Per level 1" + } + }, + { + "@type": "Video", + "StreamOrder": "0", + "ID": "1", + "UniqueID": "1", + "Format": "AVC", + "Format_Profile": "High", + "Format_Level": "4.1", + "Format_Settings_CABAC": "Yes", + "Format_Settings_RefFrames": "4", + "CodecID": "V_MPEG4/ISO/AVC", + "Duration": "63.986000000", + "BitRate": "6453995", + "Width": "1918", + "Height": "1080", + "Stored_Width": "1920", + "Stored_Height": "1088", + "Sampled_Width": "1918", + "Sampled_Height": "1080", + "PixelAspectRatio": "1.000", + "DisplayAspectRatio": "1.776", + "FrameRate_Mode": "VFR", + "FrameRate": "25.000", + "FrameCount": "1599", + "ColorSpace": "YUV", + "ChromaSubsampling": "4:2:0", + "BitDepth": "8", + "ScanType": "Progressive", + "Delay": "0.000", + "StreamSize": "51599695", + "Title": "title video", + "Language": "fr", + "Default": "Yes", + "Forced": "No", + "colour_description_present": "Yes", + "colour_description_present_Source": "Container / Stream", + "colour_range": "Limited", + "colour_range_Source": "Container / Stream", + "colour_primaries_Source": "Stream", + "transfer_characteristics_Source": "Stream", + "matrix_coefficients": "BT.709", + "matrix_coefficients_Source": "Container / Stream" + }, + { + "@type": "Audio", + "@typeorder": "1", + "StreamOrder": "1", + "ID": "2", + "UniqueID": "2", + "Format": "FLAC", + "CodecID": "A_FLAC", + "Duration": "64.005000000", + "BitRate_Mode": "VBR", + "BitRate": "96000", + "Channels": "2", + "ChannelPositions": "Front: L R", + "ChannelLayout": "L R", + "SamplesPerFrame": "1537", + "SamplingRate": "48000", + "SamplingCount": "3072240", + "FrameRate": "31.232", + "FrameCount": "1999", + "BitDepth": "24", + "Compression_Mode": "Lossless", + "Delay": "0.005", + "Delay_Source": "Container", + "StreamSize": "767616", + "StreamSize_Proportion": "0.01127", + "Title": "Anglais E-AC3 2.0", + "Encoded_Library": "Lavc58.42.102 flac", + "Language": "en", + "Default": "No", + "Forced": "No" + }, + { + "@type": "Audio", + "@typeorder": "2", + "StreamOrder": "2", + "ID": "3", + "UniqueID": "3", + "Format": "AC-3", + "Format_Commercial_IfAny": "Dolby Digital", + "Format_Settings_Endianness": "Big", + "CodecID": "A_AC3", + "Duration": "64.000000000", + "BitRate_Mode": "CBR", + "BitRate": "192000", + "Channels": "2", + "ChannelPositions": "Front: L R", + "ChannelLayout": "L R", + "SamplesPerFrame": "1536", + "SamplingRate": "48000", + "SamplingCount": "3072000", + "FrameRate": "31.250", + "FrameCount": "1999", + "BitDepth": "32", + "Compression_Mode": "Lossy", + "Delay": "0.000", + "Delay_Source": "Container", + "StreamSize": "767616", + "StreamSize_Proportion": "0.01127", + "Title": "Anglais E-AC3 2.0", + "Encoded_Library": "Lavc58.42.102 ac3", + "Language": "en", + "ServiceKind": "CM", + "Default": "No", + "Forced": "No", + "extra": { + "bsid": "8", + "dialnorm": "-31", + "dsurmod": "0", + "acmod": "2", + "lfeon": "0", + "dialnorm_Average": "-31", + "dialnorm_Minimum": "-31" + } + }, + { + "@type": "Audio", + "@typeorder": "3", + "StreamOrder": "3", + "ID": "4", + "UniqueID": "4", + "Format": "E-AC-3", + "Format_Commercial_IfAny": "Dolby Digital Plus", + "Format_Settings_Endianness": "Big", + "CodecID": "A_EAC3", + "Duration": "64.000000000", + "BitRate_Mode": "CBR", + "BitRate": "192000", + "Channels": "2", + "ChannelPositions": "Front: L R", + "ChannelLayout": "L R", + "SamplesPerFrame": "1536", + "SamplingRate": "48000", + "SamplingCount": "3072000", + "FrameRate": "31.250", + "FrameCount": "1999", + "BitDepth": "32", + "Compression_Mode": "Lossy", + "Delay": "0.000", + "Delay_Source": "Container", + "StreamSize": "767616", + "StreamSize_Proportion": "0.01127", + "Title": "Anglais E-AC3 2.0", + "Encoded_Library": "Lavc58.42.102 eac3", + "Language": "en", + "ServiceKind": "CM", + "Default": "No", + "Forced": "No", + "extra": { + "bsid": "16", + "dialnorm": "-31", + "dsurmod": "0", + "acmod": "2", + "lfeon": "0", + "dialnorm_Average": "-31", + "dialnorm_Minimum": "-31" + } + }, + { + "@type": "Audio", + "@typeorder": "4", + "StreamOrder": "4", + "ID": "5", + "UniqueID": "5", + "Format": "AAC", + "Format_Settings_SBR": "No (Explicit)", + "Format_AdditionalFeatures": "LC", + "CodecID": "A_AAC-2", + "Duration": "64.004000000", + "BitRate": "96000", + "Channels": "2", + "ChannelPositions": "Front: L R", + "ChannelLayout": "L R", + "SamplesPerFrame": "1024", + "SamplingRate": "48000", + "SamplingCount": "3072192", + "FrameRate": "46.875", + "FrameCount": "1999", + "Compression_Mode": "Lossy", + "Delay": "0.005", + "Delay_Source": "Container", + "StreamSize": "767616", + "StreamSize_Proportion": "0.01127", + "Title": "Français E-AC3 2.0", + "Encoded_Library": "Lavc58.42.102 aac", + "Language": "fr", + "Default": "Yes", + "Forced": "No" + }, + { + "@type": "Audio", + "@typeorder": "5", + "StreamOrder": "5", + "ID": "6", + "UniqueID": "6", + "Format": "AAC", + "Format_Settings_SBR": "No (Explicit)", + "Format_AdditionalFeatures": "LC", + "CodecID": "A_AAC-2", + "Duration": "64.004000000", + "BitRate": "96000", + "Channels": "2", + "ChannelPositions": "Front: L R", + "ChannelLayout": "L R", + "SamplesPerFrame": "1024", + "SamplingRate": "48000", + "SamplingCount": "3072192", + "FrameRate": "46.875", + "FrameCount": "1999", + "Compression_Mode": "Lossy", + "Delay": "0.005", + "Delay_Source": "Container", + "StreamSize": "767616", + "StreamSize_Proportion": "0.01127", + "Title": "Anglais E-AC3 2.0", + "Encoded_Library": "Lavc58.42.102 aac", + "Language": "en", + "Default": "No", + "Forced": "No" + }, + { + "@type": "Text", + "StreamOrder": "6", + "ID": "7", + "UniqueID": "7", + "Format": "UTF-8", + "CodecID": "S_TEXT/UTF8", + "Duration": "66.031000000", + "BitRate": "46", + "FrameRate": "0.182", + "FrameCount": "12", + "ElementCount": "12", + "StreamSize": "381", + "Title": "Français", + "Language": "fr", + "Default": "No", + "Forced": "No" + } + ] + } +} \ No newline at end of file