mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-13 09:20:27 -07:00
Add Tdarr_Plugin_Greg_MP3_FFMPEG_CPU test
This commit is contained in:
parent
7eaec0beb8
commit
9215d34bca
4 changed files with 707 additions and 1 deletions
314
tests/sampleData/media/sampleMP3_1.json
Normal file
314
tests/sampleData/media/sampleMP3_1.json
Normal file
|
|
@ -0,0 +1,314 @@
|
|||
{
|
||||
"_id": "C:/Transcode/Source Folder/sample__-__-__libmp3lame__30s__audio.mkv",
|
||||
"file": "C:/Transcode/Source Folder/sample__-__-__libmp3lame__30s__audio.mkv",
|
||||
"DB": "2MY5YD7P8",
|
||||
"footprintId": "xpsr-dmmd",
|
||||
"hasClosedCaptions": false,
|
||||
"container": "mkv",
|
||||
"scannerReads": {
|
||||
"ffProbeRead": "success",
|
||||
"exiftoolRead": "success",
|
||||
"mediaInfoRead": "success",
|
||||
"closedCaptionRead": "\"Unable to run CCExtractor\""
|
||||
},
|
||||
"ffProbeData": {
|
||||
"streams": [
|
||||
{
|
||||
"index": 0,
|
||||
"codec_name": "mp3",
|
||||
"codec_long_name": "MP3 (MPEG audio layer 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": "128000",
|
||||
"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": {
|
||||
"HANDLER_NAME": "GPAC ISO Audio Handler",
|
||||
"ENCODER": "Lavc57.107.100 libmp3lame",
|
||||
"DURATION": "00:00:30.023000000"
|
||||
}
|
||||
},
|
||||
{
|
||||
"index": 1,
|
||||
"codec_name": "mp3",
|
||||
"codec_long_name": "MP3 (MPEG audio layer 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": "128000",
|
||||
"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": {
|
||||
"HANDLER_NAME": "GPAC ISO Audio Handler",
|
||||
"ENCODER": "Lavc57.107.100 libmp3lame",
|
||||
"DURATION": "00:00:30.023000000"
|
||||
}
|
||||
}
|
||||
],
|
||||
"format": {
|
||||
"filename": "C:/Transcode/Source Folder/sample__-__-__libmp3lame__30s__audio.mkv",
|
||||
"nb_streams": 2,
|
||||
"nb_programs": 0,
|
||||
"format_name": "matroska,webm",
|
||||
"format_long_name": "Matroska / WebM",
|
||||
"start_time": "0.000000",
|
||||
"duration": "30.023000",
|
||||
"size": "979815",
|
||||
"bit_rate": "261083",
|
||||
"probe_score": 100,
|
||||
"tags": {
|
||||
"title": "Big Buck Bunny, Sunflower version",
|
||||
"GENRE": "Animation",
|
||||
"MAJOR_BRAND": "isom",
|
||||
"MINOR_VERSION": "1",
|
||||
"COMPATIBLE_BRANDS": "isomavc1",
|
||||
"COMPOSER": "Sacha Goedegebure",
|
||||
"ARTIST": "Blender Foundation 2008, Janus Bager Kristensen 2013",
|
||||
"COMMENT": "Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net",
|
||||
"ENCODER": "Lavf57.83.100"
|
||||
}
|
||||
}
|
||||
},
|
||||
"file_size": 0.9344244003295898,
|
||||
"video_resolution": "",
|
||||
"fileMedium": "audio",
|
||||
"video_codec_name": "",
|
||||
"audio_codec_name": "mp3",
|
||||
"lastPluginDetails": "none",
|
||||
"createdAt": 1653224430511,
|
||||
"bit_rate": 261083,
|
||||
"duration": 30,
|
||||
"statSync": {
|
||||
"dev": 3832468976,
|
||||
"mode": 33206,
|
||||
"nlink": 1,
|
||||
"uid": 0,
|
||||
"gid": 0,
|
||||
"rdev": 0,
|
||||
"blksize": 4096,
|
||||
"ino": 10133099162447292,
|
||||
"size": 979815,
|
||||
"blocks": 1920,
|
||||
"atimeMs": 1653224430487.7,
|
||||
"mtimeMs": 1653224386734.2915,
|
||||
"ctimeMs": 1653224395573.211,
|
||||
"birthtimeMs": 1653224386247.453,
|
||||
"atime": "2022-05-22T13:00:30.488Z",
|
||||
"mtime": "2022-05-22T12:59:46.734Z",
|
||||
"ctime": "2022-05-22T12:59:55.573Z",
|
||||
"birthtime": "2022-05-22T12:59:46.247Z"
|
||||
},
|
||||
"HealthCheck": "",
|
||||
"TranscodeDecisionMaker": "",
|
||||
"lastHealthCheckDate": 0,
|
||||
"holdUntil": 0,
|
||||
"lastTranscodeDate": 0,
|
||||
"bumped": false,
|
||||
"history": "",
|
||||
"oldSize": 0,
|
||||
"newSize": 0,
|
||||
"videoStreamIndex": -1,
|
||||
"meta": {
|
||||
"SourceFile": "C:/Transcode/Source Folder/sample__-__-__libmp3lame__30s__audio.mkv",
|
||||
"errors": [],
|
||||
"Duration": 30.023,
|
||||
"ExifToolVersion": 12.4,
|
||||
"FileName": "sample__-__-__libmp3lame__30s__audio.mkv",
|
||||
"Directory": "C:/Transcode/Source Folder",
|
||||
"FileSize": "957 KiB",
|
||||
"ZoneIdentifier": "Exists",
|
||||
"FileModifyDate": {
|
||||
"year": 2022,
|
||||
"month": 5,
|
||||
"day": 22,
|
||||
"hour": 13,
|
||||
"minute": 59,
|
||||
"second": 46,
|
||||
"millisecond": 0,
|
||||
"tzoffsetMinutes": 60,
|
||||
"rawValue": "2022:05:22 13:59:46+01:00"
|
||||
},
|
||||
"FileAccessDate": {
|
||||
"year": 2022,
|
||||
"month": 5,
|
||||
"day": 22,
|
||||
"hour": 14,
|
||||
"minute": 0,
|
||||
"second": 29,
|
||||
"millisecond": 0,
|
||||
"tzoffsetMinutes": 60,
|
||||
"rawValue": "2022:05:22 14:00:29+01:00"
|
||||
},
|
||||
"FileCreateDate": {
|
||||
"year": 2022,
|
||||
"month": 5,
|
||||
"day": 22,
|
||||
"hour": 13,
|
||||
"minute": 59,
|
||||
"second": 46,
|
||||
"millisecond": 0,
|
||||
"tzoffsetMinutes": 60,
|
||||
"rawValue": "2022:05:22 13:59:46+01:00"
|
||||
},
|
||||
"FilePermissions": "-rw-rw-rw-",
|
||||
"FileType": "MKA",
|
||||
"FileTypeExtension": "mka",
|
||||
"MIMEType": "audio/x-matroska",
|
||||
"EBMLVersion": 1,
|
||||
"EBMLReadVersion": 1,
|
||||
"DocType": "matroska",
|
||||
"DocTypeVersion": 4,
|
||||
"DocTypeReadVersion": 2,
|
||||
"TimecodeScale": "1 ms",
|
||||
"Title": "Big Buck Bunny, Sunflower version",
|
||||
"MuxingApp": "Lavf57.83.100",
|
||||
"WritingApp": "Lavf57.83.100",
|
||||
"TrackNumber": 2,
|
||||
"TrackLanguage": "und",
|
||||
"CodecID": "A_MPEG/L3",
|
||||
"TrackType": "Audio",
|
||||
"AudioChannels": 2,
|
||||
"AudioSampleRate": 48000,
|
||||
"AudioBitsPerSample": 32,
|
||||
"TagName": "DURATION",
|
||||
"TagString": "00:00:30.023000000"
|
||||
},
|
||||
"mediaInfo": {
|
||||
"@ref": "",
|
||||
"track": [
|
||||
{
|
||||
"@type": "General",
|
||||
"UniqueID": "301354878049300200919944107613778820882",
|
||||
"AudioCount": "2",
|
||||
"Format": "Matroska",
|
||||
"Format_Version": "4",
|
||||
"FileSize": "979815",
|
||||
"Duration": "30.023",
|
||||
"OverallBitRate_Mode": "CBR",
|
||||
"OverallBitRate": "261084",
|
||||
"StreamSize": "19079",
|
||||
"IsStreamable": "Yes",
|
||||
"Title": "Big Buck Bunny, Sunflower version",
|
||||
"Track": "Big Buck Bunny, Sunflower version",
|
||||
"Encoded_Application": "Lavf57.83.100",
|
||||
"Encoded_Library": "Lavf57.83.100",
|
||||
"Comment": "Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net",
|
||||
"extra": {
|
||||
"ErrorDetectionType": "Per level 1",
|
||||
"ARTIST": "Blender Foundation 2008, Janus Bager Kristensen 2013",
|
||||
"COMPOSER": "Sacha Goedegebure",
|
||||
"GENRE": "Animation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"@type": "Audio",
|
||||
"@typeorder": "1",
|
||||
"StreamOrder": "0",
|
||||
"ID": "1",
|
||||
"UniqueID": "1",
|
||||
"Format": "MPEG Audio",
|
||||
"Format_Version": "1",
|
||||
"Format_Profile": "Layer 3",
|
||||
"Format_Settings_Mode": "Joint stereo",
|
||||
"Format_Settings_ModeExtension": "MS Stereo",
|
||||
"CodecID": "A_MPEG/L3",
|
||||
"Duration": "30.023000000",
|
||||
"BitRate_Mode": "CBR",
|
||||
"BitRate": "128000",
|
||||
"Channels": "2",
|
||||
"SamplingRate": "48000",
|
||||
"SamplingCount": "1441104",
|
||||
"Compression_Mode": "Lossy",
|
||||
"Delay": "0.000",
|
||||
"Delay_Source": "Container",
|
||||
"StreamSize": "480368",
|
||||
"StreamSize_Proportion": "0.49026",
|
||||
"Encoded_Library": "Lavc57.107.100 libmp3lame",
|
||||
"Default": "Yes",
|
||||
"Forced": "No"
|
||||
},
|
||||
{
|
||||
"@type": "Audio",
|
||||
"@typeorder": "2",
|
||||
"StreamOrder": "1",
|
||||
"ID": "2",
|
||||
"UniqueID": "2",
|
||||
"Format": "MPEG Audio",
|
||||
"Format_Version": "1",
|
||||
"Format_Profile": "Layer 3",
|
||||
"Format_Settings_Mode": "Joint stereo",
|
||||
"Format_Settings_ModeExtension": "MS Stereo",
|
||||
"CodecID": "A_MPEG/L3",
|
||||
"Duration": "30.023000000",
|
||||
"BitRate_Mode": "CBR",
|
||||
"BitRate": "128000",
|
||||
"Channels": "2",
|
||||
"SamplingRate": "48000",
|
||||
"SamplingCount": "1441104",
|
||||
"Compression_Mode": "Lossy",
|
||||
"Delay": "0.000",
|
||||
"Delay_Source": "Container",
|
||||
"StreamSize": "480368",
|
||||
"StreamSize_Proportion": "0.49026",
|
||||
"Encoded_Library": "Lavc57.107.100 libmp3lame",
|
||||
"Default": "Yes",
|
||||
"Forced": "No"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue