mdhiggins / radarr-sma

MIT License
24 stars 13 forks source link

Burn in subtitles from external srt #27

Closed Ruby2sday closed 3 years ago

Ruby2sday commented 3 years ago

Mr. Higgins, Thank you so much for these amazing scripts!

I've recently transitioned to running my setups in docker containers. I've 2 sonarrsma containers and a radarrsma container and these are working fantastic. I'm building another container strictly for manual processing.

I found this thread: https://github.com/mdhiggins/sonarr-sma/issues/14 where you'd mentioned the manual command is: $SMA_PATH/venv/bin/python3 $SMA_PATH/manual.py -i

From there I thought I was gold. I can convert individual files or point to a directory and convert the entire directory. I can ignore the source mkv's embedded subs. I can set the autoProcess.ini to embed an external srt ...but I can't seem to get the external srt to actually "burn" into the video. I feel like I'm missing something simple and just can't place my finger on it (or this is a limitation I'm unaware of). Everything else seems to work as designed.

Bashing into the container I run: $SMA_PATH/venv/bin/python3 $SMA_PATH/manual.py -i /source_location/Test.mkv In my Source Location I have: Test.mkv and Test.forced.eng.srt The subtitle module in the autoProcess.ini I currently have as: [Subtitle] codec = mov_text codec-image-based = languages = eng default-language = eng first-stream-of-language = False encoding = burn-subtitles = True burn-dispositions = forced embed-subs = True embed-image-subs = False embed-only-internal-subs = False filename-dispositions = forced ignore-embedded-subs = True ignored-dispositions = unique-dispositions = False attachment-codec =

The above setting actually embeds my external source.srt *In Plex, this is workable as I just have to set the client to play the external or set it permanently in the Subtitle settings

The ultimate goal is to have the subs burned in so additional client settings are unneeded.

In the above module, if I change to "codec = srt" & change to "embed-subs = False", this log line error is produced (can supply entire log if needed): Scanned for external subtitles and found 1 results in your approved languages. Skipping external subtitle file Test.forced.eng.srt, no appropriate codecs found or embed disabled. No valid subtitle stream candidates found to be burned into video stream [burn-subtitles].

This is where I get stuck and have tried multitude of variations within the Subtitle module. All to no avail. The best I can get is to get the external srt file to be embedded into the converted mp4 file thus forcing the video client to select the subtitle.

I've read a multitude of articles pertaining to mov_text/srt files when it comes to mp4 containers. Admittedly, I still don't have my head completely wrapped around it.

If any other info is needed, I'll certainly do my best to provide what's asked. If you'd be able to provide any assistance in getting me nudged in the right direction, I'd greatly appreciate it.

*Apologies if I've linked or sourced anything in an incorrect format. This is my first time posting anything on github.

mdhiggins commented 3 years ago

I mean the ideal way to do this would be to not burn the subtitles in as this is technically a destructive process, but to instead set the forced and default disposition and use a player that respects that

But if that's what you want to do, in order for the script to look at an external subtitle to be burned, you'll need to have embed-subs enabled, I would think your posted setting should produce what you want though, if you want to post a full debug log session I can take a look

https://github.com/mdhiggins/sickbeard_mp4_automator/wiki/Debug-Level-Logging

mdhiggins commented 3 years ago

Just ran a quick test file and it pulled in the external sub for burning just fine

Processing file C:\Users\tehps\Videos\encoding tests\asdfkjasdlfjasdf.mkv
Process started.
Input Data
{
    "format": "matroska,webm",
    "format-fullname": "Matroska / WebM",
    "video": {
        "index": 0,
        "codec": "h264",
        "pix_fmt": "yuv420p",
        "profile": "high",
        "fps": 29.97002997002997,
        "framedata": {
            "pix_fmt": "yuv420p",
            "color_space": "bt709",
            "color_primaries": "bt709",
            "color_transfer": "bt709",
            "side_data_list": [
                {
                    "side_data_type": "H.26[45] User Data Unregistered SEI message"
                }
            ]
        },
        "dimensions": "1280x720",
        "level": 3.2,
        "field_order": "progressive"
    },
    "audio": [
        {
            "index": 1,
            "codec": "ac3",
            "bitrate": 256000,
            "channels": 2,
            "samplerate": 48000,
            "language": "eng",
            "disposition": "+default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired"
        }
    ],
    "subtitle": [],
    "attachment": []
}
Reading video stream.
Video codec detected: h264.
Pix Fmt: yuv420p.
Profile: high.
Stream is not HDR, color parameter bt709 does not match ['bt2020nc'] [hdr-['bt2020nc']].
Pool of video codecs is ['hevc', 'h264'].
Initiating custom video copy check method.
Total bitrate is 3366959.0.
Total audio bitrate is 256000.
Estimated video bitrate is 3110959.0.
Using video bitrate ratio of 0.600000, which results in 2955.411050 changing to 1773.246630.
VCRF profiles detected [video-crf-profiles].
Video codec: copy.
Video bitrate: 1773.2466299999999.
Video CRF: -1.
Video maxrate: None.
Video bufsize: None.
Video level: 4.2.
Video profile: None.
Video preset: None.
Video pix format: None.
Video field order: progressive.
Video width: None.
Video debug video.
Video codec parameters None.
Creating copy video stream from source stream 0.
Reading audio streams.
Found indexes [] where codec parameters matched combination ['aac', 'ac3', 'dts']
Found indexes [] where codec parameters matched combination ['ac3', 'aac']
Found indexes [] where codec parameters matched combination ['ac3', 'dts']
Found indexes [] where codec parameters matched combination ['truehd', 'ac3']
The following stream indexes have been identified as being copies: [] [stream-codec-combinations].
Reordering streams to be in accordance with approved languages and channels [sort-streams, prefer-more-channels].
Audio detected for stream 1 - ac3 eng 2 channel.
Overriding default channel settings because universal audio is enabled but the source is stereo [universal-audio].
Initiating custom audio copy check method.
Audio codec: aac.
Channels: 2.
Bitrate: 128.
Language: eng.
Filter: None.
Disposition: +default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired.
Debug: universal-audio.
Not creating any additional universal audio streams [universal-audio-first-stream-only].
Creating aac audio stream from source stream 1.
Copying audio stream from source stream 1 format ac3 [audio-copy-original].
Purge the following streams: [].
Found 0 streams that can be removed from the output file since they will dupcliates [stream-codec-combinations].
2 total audio streams with 2 set to default disposition. 0 defaults in your preferred language (jpn), 2 in other languages.
No audio streams in your preferred language, using other languages to determine default stream.
Cleaning up default disposition settings from not preferred languages. 1 streams will have default flag removed.
Default audio stream set to eng copy 2 channel stream [default-more-channels: True].
Reading subtitle streams.
External eng subtitle file detected asdfkjasdlfjasdf.forced.en.srt.
Scanned for external subtitles and found 1 results in your approved languages.
isImageBasedSubtitle FFmpeg command:
C:\ffmpeg\ffmpeg.exe -i C:\Users\tehps\Videos\encoding tests\asdfkjasdlfjasdf.forced.en.srt -c:s:0 srt -map 0:0 -metadata:s:s:0 title= -metadata:s:s:0 handler_name= -metadata:s:s:0 language=und -disposition:s:0 -default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -f srt -t 00:00:01 -f null -

Valid disposition, adding eng.-default-dub-original-comment-lyrics-karaoke+forced-hearing_impaired-visual_impaired-captions to the ignored list.
Creating mov_text subtitle stream by importing Text-based asdfkjasdlfjasdf.forced.en.srt [embed-subs].
Path: C:\Users\tehps\Videos\encoding tests\asdfkjasdlfjasdf.forced.en.srt.
Codec: mov_text.
Langauge: eng.
Disposition: -default-dub-original-comment-lyrics-karaoke+forced-hearing_impaired-visual_impaired-captions.
No valid embedded subtitles for burning, search for external subtitles [embed-subs, burn-subtitle].
isImageBasedSubtitle FFmpeg command:
C:\ffmpeg\ffmpeg.exe -i C:\Users\tehps\Videos\encoding tests\asdfkjasdlfjasdf.forced.en.srt -c:s:0 srt -map 0:0 -metadata:s:s:0 title= -metadata:s:s:0 handler_name= -metadata:s:s:0 language=und -disposition:s:0 -default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -f srt -t 00:00:01 -f null -

Burning external subtitle asdfkjasdlfjasdf.forced.en.srt eng into video steram [burn-subtitles, embed-subs].
Found valid subtitle stream to burn into video, video cannot be copied [burn-subtitles].
Reordering streams to be in accordance with approved languages and channels [sort-streams, prefer-more-channels].
Subtitle streams detected, adding fix_sub_duration option to preopts.
canBypassConvert returned False.
Output Data
{
    "source": [
        "C:\\Users\\tehps\\Videos\\encoding tests\\asdfkjasdlfjasdf.mkv",
        "C:\\Users\\tehps\\Videos\\encoding tests\\asdfkjasdlfjasdf.forced.en.srt"
    ],
    "format": "mp4",
    "video": {
        "codec": "hevc",
        "map": 0,
        "bitrate": 1773.2466299999999,
        "crf": -1,
        "maxrate": null,
        "bufsize": null,
        "level": 4.2,
        "profile": null,
        "preset": null,
        "pix_fmt": null,
        "field_order": "progressive",
        "width": null,
        "filter": "subtitles='C\\:\\\\Users\\\\tehps\\\\Videos\\\\encoding tests\\\\asdfkjasdlfjasdf.forced.en.srt'",
        "params": null,
        "framedata": {
            "pix_fmt": "yuv420p",
            "color_space": "bt709",
            "color_primaries": "bt709",
            "color_transfer": "bt709",
            "side_data_list": [
                {
                    "side_data_type": "H.26[45] User Data Unregistered SEI message"
                }
            ]
        },
        "title": "HD",
        "debug": "video.burn-subtitles"
    },
    "audio": [
        {
            "map": 1,
            "codec": "copy",
            "channels": 2,
            "language": "eng",
            "disposition": "+default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired",
            "title": "Stereo",
            "debug": "audio-copy-original"
        },
        {
            "map": 1,
            "codec": "aac",
            "channels": 2,
            "bitrate": 128,
            "filter": null,
            "samplerate": null,
            "sampleformat": "",
            "language": "eng",
            "disposition": "-default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired",
            "bsf": null,
            "title": "Stereo",
            "debug": "universal-audio"
        }
    ],
    "subtitle": [
        {
            "source": 1,
            "map": 0,
            "codec": "mov_text",
            "disposition": "+default-dub-original-comment-lyrics-karaoke+forced-hearing_impaired-visual_impaired-captions",
            "title": "Forced",
            "language": "eng",
            "debug": "subtitle.embed-subs"
        }
    ],
    "attachment": []
}
Preopts
[
    "-fix_sub_duration"
]
Postopts
[
    "-threads",
    "0",
    "-metadata:g",
    "encoding_tool=SMA",
    "-max_muxing_queue_size",
    "9999"
]
Starting conversion.
Input directory: C:\Users\tehps\Videos\encoding tests.
File name: asdfkjasdlfjasdf.
Input extension: mkv.
Output directory: C:\Users\tehps\Videos\encoding tests.
Output extension: C:\Users\tehps\Videos\encoding tests.
Output file: C:\Users\tehps\Videos\encoding tests\asdfkjasdlfjasdf.mp4.
Input directory: C:\Users\tehps\Videos\encoding tests.
File name: asdfkjasdlfjasdf.
Input extension: mkv.
Output directory: C:\Users\tehps\Videos\encoding tests.
Output extension: C:\Users\tehps\Videos\encoding tests.
Output file: C:\Users\tehps\Videos\encoding tests\asdfkjasdlfjasdf.mp4.
Final output file: C:\Users\tehps\Videos\encoding tests\asdfkjasdlfjasdf.mp4.
FFmpeg command:
======================
C:\ffmpeg\ffmpeg.exe -fix_sub_duration -i "C:\Users\tehps\Videos\encoding tests\asdfkjasdlfjasdf.mkv" -i "C:\Users\tehps\Videos\encoding tests\asdfkjasdlfjasdf.forced.en.srt" -vcodec libx265 -map 0:0 -field_order progressive -vb 1773k -metadata:s:v BPS=1773000 -metadata:s:v BPS-eng=1773000 -vf "subtitles='C\:\\Users\\tehps\\Videos\\encoding tests\\asdfkjasdlfjasdf.forced.en.srt'" -metadata:s:v title=HD -metadata:s:v handler_name=HD -level 4.1 -x265-params colorprim=bt709:transfer=bt709:colormatrix=bt709 -tag:v hvc1 -c:a:0 copy -map 0:1 -metadata:s:a:0 title=Stereo -metadata:s:a:0 handler_name=Stereo -metadata:s:a:0 language=eng -disposition:a:0 +default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -c:a:1 aac -map 0:1 -ac:a:1 2 -b:a:1 128k -metadata:s:a:1 BPS=128000 -metadata:s:a:1 BPS-eng=128000 -metadata:s:a:1 title=Stereo -metadata:s:a:1 handler_name=Stereo -metadata:s:a:1 language=eng -disposition:a:1 -default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -strict experimental -c:s:0 mov_text -map 1:0 -metadata:s:s:0 title=Forced -metadata:s:s:0 handler_name=Forced -metadata:s:s:0 language=eng -disposition:s:0 +default-dub-original-comment-lyrics-karaoke+forced-hearing_impaired-visual_impaired-captions -f mp4 -threads 0 -metadata:g encoding_tool=SMA -max_muxing_queue_size 9999 -y "C:\Users\tehps\Videos\encoding tests\asdfkjasdlfjasdf.mp4"
======================
[####################] 100% frame=  334 fps=120 q=29.9 Lsize=    2987kB time=00:21:48.91 bitrate=  18.7kbits/s speed= 470x
C:\Users\tehps\Videos\encoding tests\asdfkjasdlfjasdf.mp4 created.
C:\Users\tehps\Videos\encoding tests\asdfkjasdlfjasdf.mp4 created from C:\Users\tehps\Videos\encoding tests\asdfkjasdlfjasdf.mkv successfully.
Height: 720
Width: 1280
Default audio language is eng.
Tag language setting is None, using language eng for tagging.
Relocating MOOV atom to start of file.
Final output file: C:\Users\tehps\Videos\encoding tests\asdfkjasdlfjasdf.mp4.
[Subtitle]
default-language = eng
languages = eng, jpn
embed-subs = True
codec = mov_text
encoding = 
embed-only-internal-subs = False
codec-image-based = 
burn-subtitles = True
attachment-codec = 
embed-image-subs = False
first-stream-of-language = False
ignore-embedded-subs = False
burn-dispositions = forced
filename-dispositions = forced, comment
ignored-dispositions = 
unique-dispositions = True
Ruby2sday commented 3 years ago

Mr. Higgins, Thank you so much for the reply and taking the time to test this out. I attempted your settings and received the same results (embedded only/not burned). I started down the path of a full verbose logging but a comment you made was ringing out. You make a very valid point regarding the de-constructiveness of burning compared to embedding. I honestly never really thought about it. A "one and done" setting in the Plex player treats these embeds just as if they were burned anyway. Just seems like a trip down a rabbit hole to achieve what I essentially already have running....plus maintaining the integrity of the file. At this point, I'm going to back away from the burning aspect of this. Thank you very much again!

mdhiggins commented 3 years ago

Out of curiosity could you post logs of the failed burning. Just want to make sure there are no bugs that could be contributing since it's working on my end but not yours.

Ruby2sday commented 3 years ago

Sure thing. Gimme a couple to change the autoconfig to your example and I'll spin one up

Ruby2sday commented 3 years ago

Here ya go sir. In VLC, via the Subtitle menu across the top, it shows the source embedded subs as well as my external named "forced" sub. When I select "Disable" it's at this point I'd expect the burning to be displayed. This is coming from a Windows/Handbrake mindset though.

root@c5b8bc7d68e1:/# $SMA_PATH/venv/bin/python3 $SMA_PATH/manual.py -i /movies/'                                                                                                                                                                                                                                                                                                                                                           To Be Converted/TEST' -a
Manual processor started.
Python 64-bit 3.8.10 (default, Jun  2 2021, 10:49:15)
[GCC 9.4.0].
Guessit version: 3.3.1.
/usr/local/sma/venv/bin/python3
Loading config file /usr/local/sma/config/autoProcess.ini.
Processing file /movies/To Be Converted/TEST/Archer_Test.mkv
Processing file /movies/To Be Converted/TEST/Archer_Test.mkv
Input Data
{
    "format": "matroska,webm",
    "format-fullname": "Matroska / WebM",
    "video": {
        "index": 0,
        "codec": "h264",
        "pix_fmt": "yuv420p",
        "profile": "high",
        "fps": 23.976023976023978,
        "framedata": {
            "pix_fmt": "yuv420p"
        },
        "dimensions": "1920x1080",
        "level": 4.0,
        "field_order": "progressive"
    },
    "audio": [
        {
            "index": 1,
            "codec": "eac3",
            "bitrate": 256000,
            "channels": 6,
            "samplerate": 48000,
            "language": "eng",
            "disposition": "+default-dub+original-comment-lyrics-karaoke-forced-                                                                                                                                                                                                                                                                                                                                                           hearing_impaired-visual_impaired"
        }
    ],
    "subtitle": [
        {
            "index": 2,
            "codec": "subrip",
            "disposition": "-default-dub-original-comment-lyrics-karaoke-forced-                                                                                                                                                                                                                                                                                                                                                           hearing_impaired-visual_impaired",
            "language": "eng"
        },
        {
            "index": 3,
            "codec": "subrip",
            "disposition": "-default-dub-original-comment-lyrics-karaoke-forced+                                                                                                                                                                                                                                                                                                                                                           hearing_impaired-visual_impaired",
            "language": "eng"
        }
    ],
    "attachment": []
}
Reading video stream.
Video codec detected: h264.
Pix Fmt: yuv420p.
Profile: high.
Video codec parameters None.
Creating h265 video stream from source stream 0.
Reading audio streams.
The following stream indexes have been identified as being copies: [] [stream-co                                                                                                                                                                                                                                                                                                                                                           dec-combinations].
Audio detected for stream 1 - eac3 eng 6 channel.
Creating copy audio stream from source stream 1.
Creating aac audio stream from source audio stream 1 [universal-audio].
Found 0 streams that can be removed from the output file since they will dupclia                                                                                                                                                                                                                                                                                                                                                           tes [stream-codec-combinations].
Default audio stream set to eng copy 6 channel stream [default-more-channels: Tr                                                                                                                                                                                                                                                                                                                                                           ue].
Reading subtitle streams.
Text-based subtitle detected for stream 2 - subrip eng.
Creating mov_text subtitle stream from source stream 2.
Text-based subtitle detected for stream 3 - subrip eng.
Creating mov_text subtitle stream from source stream 3.
Scanned for external subtitles and found 1 results in your approved languages.
Creating mov_text subtitle stream by importing Text-based Archer_Test.forced.eng                                                                                                                                                                                                                                                                                                                                                           .srt [embed-subs].
Burning external subtitle Archer_Test.forced.eng.srt eng into video steram [burn                                                                                                                                                                                                                                                                                                                                                           -subtitles, embed-subs].
Output Data
{
    "source": [
        "/movies/To Be Converted/TEST/Archer_Test.mkv",
        "/movies/To Be Converted/TEST/Archer_Test.forced.eng.srt"
    ],
    "format": "mp4",
    "video": {
        "codec": "h265",
        "map": 0,
        "bitrate": 2777.9880999999996,
        "crf": 22,
        "maxrate": null,
        "bufsize": null,
        "level": 4.0,
        "profile": null,
        "preset": "ultrafast",
        "pix_fmt": "yuv420p10le",
        "field_order": "progressive",
        "width": 1280,
        "filter": "subtitles='/movies/To Be Converted/TEST/Archer_Test.forced.en                                                                                                                                                                                                                                                                                                                                                           g.srt'",
        "params": null,
        "framedata": null,
        "title": "HD",
        "debug": "video.max-width.pix_fmt.burn-subtitles"
    },
    "audio": [
        {
            "map": 1,
            "codec": "aac",
            "channels": 2,
            "bitrate": 256,
            "samplerate": null,
            "sampleformat": "",
            "filter": "pan=stereo|FL=0.5*FC+0.707*FL+0.707*BL+0.5*LFE|FR=0.5*FC+                                                                                                                                                                                                                                                                                                                                                           0.707*FR+0.707*BR+0.5*LFE",
            "language": "eng",
            "disposition": "-default-dub+original-comment-lyrics-karaoke-forced-                                                                                                                                                                                                                                                                                                                                                           hearing_impaired-visual_impaired",
            "title": "Stereo",
            "debug": "universal-audio"
        },
        {
            "map": 1,
            "codec": "copy",
            "channels": 6,
            "bitrate": 768,
            "filter": null,
            "samplerate": null,
            "sampleformat": "",
            "language": "eng",
            "disposition": "+default-dub+original-comment-lyrics-karaoke-forced-                                                                                                                                                                                                                                                                                                                                                           hearing_impaired-visual_impaired",
            "bsf": null,
            "title": "5.1 Channel",
            "debug": "audio"
        }
    ],
    "subtitle": [
        {
            "map": 2,
            "codec": "mov_text",
            "language": "eng",
            "disposition": "+default-dub-original-comment-lyrics-karaoke-forced-                                                                                                                                                                                                                                                                                                                                                           hearing_impaired-visual_impaired",
            "title": null,
            "debug": "subtitle.embed-subs"
        },
        {
            "map": 3,
            "codec": "mov_text",
            "language": "eng",
            "disposition": "-default-dub-original-comment-lyrics-karaoke-forced+                                                                                                                                                                                                                                                                                                                                                           hearing_impaired-visual_impaired",
            "title": "Hearing Impaired",
            "debug": "subtitle.embed-subs"
        },
        {
            "source": 1,
            "map": 0,
            "codec": "mov_text",
            "disposition": "-default-dub-original-comment-lyrics-karaoke+forced-                                                                                                                                                                                                                                                                                                                                                           hearing_impaired-visual_impaired-captions",
            "title": "Forced",
            "language": "eng",
            "debug": "subtitle.embed-subs"
        }
    ],
    "attachment": []
}
Preopts
[
    "-fix_sub_duration"
]
Postopts
[
    "-threads",
    "0",
    "-metadata:g",
    "encoding_tool=SMA"
]
Starting conversion.
FFmpeg command:
======================
/usr/local/bin/ffmpeg -fix_sub_duration -i "/movies/To Be Converted/TEST/Archer_                                                                                                                                                                                                                                                                                                                                                           Test.mkv" -i "/movies/To Be Converted/TEST/Archer_Test.forced.eng.srt" -vcodec l                                                                                                                                                                                                                                                                                                                                                           ibx265 -map 0:0 -pix_fmt yuv420p10le -field_order progressive -crf 22 -metadata:                                                                                                                                                                                                                                                                                                                                                           s:v BPS=2777000 -metadata:s:v BPS-eng=2777000 -metadata:s:v title=HD -metadata:s                                                                                                                                                                                                                                                                                                                                                           :v handler_name=HD -preset ultrafast -level 4.0 -tag:v hvc1 -vf "subtitles='/mov                                                                                                                                                                                                                                                                                                                                                           ies/To Be Converted/TEST/Archer_Test.forced.eng.srt',scale=1280:720" -c:a:0 aac                                                                                                                                                                                                                                                                                                                                                            -map 0:1 -ac:a:0 2 -b:a:0 256k -metadata:s:a:0 BPS=256000 -metadata:s:a:0 BPS-en                                                                                                                                                                                                                                                                                                                                                           g=256000 -filter:a:0 pan=stereo|FL=0.5*FC+0.707*FL+0.707*BL+0.5*LFE|FR=0.5*FC+0.                                                                                                                                                                                                                                                                                                                                                           707*FR+0.707*BR+0.5*LFE -metadata:s:a:0 title=Stereo -metadata:s:a:0 handler_nam                                                                                                                                                                                                                                                                                                                                                           e=Stereo -metadata:s:a:0 language=eng -disposition:a:0 -default-dub+original-com                                                                                                                                                                                                                                                                                                                                                           ment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -strict exp                                                                                                                                                                                                                                                                                                                                                           erimental -c:a:1 copy -map 0:1 -metadata:s:a:1 "title=5.1 Channel" -metadata:s:a                                                                                                                                                                                                                                                                                                                                                           :1 "handler_name=5.1 Channel" -metadata:s:a:1 language=eng -disposition:a:1 +def                                                                                                                                                                                                                                                                                                                                                           ault-dub+original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired                                                                                                                                                                                                                                                                                                                                                           -captions -c:s:0 mov_text -map 0:2 -metadata:s:s:0 title= -metadata:s:s:0 handle                                                                                                                                                                                                                                                                                                                                                           r_name= -metadata:s:s:0 language=eng -disposition:s:0 +default-dub-original-comm                                                                                                                                                                                                                                                                                                                                                           ent-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -c:s:1 mov_t                                                                                                                                                                                                                                                                                                                                                           ext -map 0:3 -metadata:s:s:1 "title=Hearing Impaired" -metadata:s:s:1 "handler_n                                                                                                                                                                                                                                                                                                                                                           ame=Hearing Impaired" -metadata:s:s:1 language=eng -disposition:s:1 -default-dub                                                                                                                                                                                                                                                                                                                                                           -original-comment-lyrics-karaoke-forced+hearing_impaired-visual_impaired-caption                                                                                                                                                                                                                                                                                                                                                           s -c:s:2 mov_text -map 1:0 -metadata:s:s:2 title=Forced -metadata:s:s:2 handler_                                                                                                                                                                                                                                                                                                                                                           name=Forced -metadata:s:s:2 language=eng -disposition:s:2 -default-dub-original-                                                                                                                                                                                                                                                                                                                                                           comment-lyrics-karaoke+forced-hearing_impaired-visual_impaired-captions -f mp4 -                                                                                                                                                                                                                                                                                                                                                           threads 0 -metadata:g encoding_tool=SMA -y "/movies/To Be Converted/TEST/Archer_                                                                                                                                                                                                                                                                                                                                                           Test.mp4"
======================
[####################] 100%
/movies/To Be Converted/TEST/Archer_Test.mp4 created.
Relocating MOOV atom to start of file.
/movies/To Be Converted/TEST/Archer_Test.mp4 moved to /movies/Converted/TEST.
Ruby2sday commented 3 years ago

not sure why it pasted like that??

Ruby2sday commented 3 years ago

log.txt

Ruby2sday commented 3 years ago

We'll try the attachment route. Still looks a little wonky near the end. I can redo if needed. Gotta hop on an after hours server maint for work here in a bit. Will most likely be dark till tomorrow. Thanks again sir

mdhiggins commented 3 years ago

Hm it actually looks like the appropriate filter is applied to burn the subs, I'll have to do some tests to see if maybe that filter isn't working or has some limited compatibility but at least from a technical standpoint it recognized the external sub and applied the filter like its supposed to

https://trac.ffmpeg.org/wiki/HowToBurnSubtitlesIntoVideo

"filter": "subtitles='/movies/To Be Converted/TEST/Archer_Test.forced.eng.srt'"
Ruby2sday commented 3 years ago

Good to know I'm not completely inept over here then ;) If you do find anything out, would you mind posting back please? I'm still partial to the process of embedding as mentioned above but wouldn't mind having the knowledge regardless. Appreciate ya sir