Code: Select all
:sout=#transcode{vcodec=h264,scale=Auto,soverlay}:file{dst=D:\\Downloads\\transcripts\\EJsub2.mp4,no-overwrite} :no-sout-all :sout-keep
noticed in Mac, that to record mkv play of video audio subtitle on vlc and get mp4 hard coded video, it is enough to select through vlc top menu Play Back, in the drop down menu Record. The recorded mp4 is stored in movies folder of Mac. No need to use Quick Time - Sound flower screen recording, get mov and then mp4Some 3 years back , thanks to postings in VideoLan forum, could succeed in windows, through 1) In addition in vlc setting preferences, after resetting to original setting, display subtitle, subtitle utf-8 video codec ffmpeg strict standard compliance minus 2, 2) convert/save , input mkv with audio file then add on file subtitle .ass , settings for video- to display stream, configuration h264+ mp3, Video codec- NOT selecting original, no entry for bit rate and frame rate, quality 25, 640px 360px , Audio- original audio, Subttile- yes, overlay subtitle dvb, for output mp4, browse and give file name and location - this worked.
in Mac trying for the last 2 years 1) through advance open where mkv with audio and additional file for subtitle .ass file can b e input OR 2) through convert/ stream having no provision to input two files. placing subtitle file included in mkv and /or lacing subtitle file in preferences -add subtitle, so far nothing worked. video codec has no setting to avoid frame rate and bit rate and to input quality. Quality put in preferences changing from reset setting Q 23 to 25. No success so far.
As solution using handbrake with mkv having audio and srt subtitle to make mp4 OR using Mac screen record to record playing mkv audio plus ass or srt on VLC . Screen record comes as .MOV which gets easily converted to mp4 in iMovie.
Code: Select all
/Applications/VLC.app/Contents/MacOS/VLC --verbose=2
which is why the subtitles don't get hardcoded.[00007faf7638e320] main stream output debug: adding a new sout input for `subt` (sout_input: 0x7faf72bc0eb0)
[00007faf77393460] stream_out_transcode stream out debug: not transcoding a stream (fcc=`subt')
[00007faf773ab720] main mux error: cannot add a new stream (unsupported while muxing to this format). You can try increasing sout-mux-caching value
[00007faf7638e320] main stream output warning: new sout input failed (sout_input: 0x7faf72bc0eb0)
[00007faf763a4ee0] main decoder error: cannot create packetizer output (subt)
Thank you so much! I tried everything, and nothing worked until I used the container format of MPEG TS.I've tried to do some debugging by running the VLC binary in verbose mode:This opens up the VLC UI interface and allows me to see what's going on in the background since all the output is shown in the terminal.Code: Select all
/Applications/VLC.app/Contents/MacOS/VLC --verbose=2
The bug that prevents hardcoding subtitles on Mac is related to the container format (MPEG 1, MPEG 4, MPEG TS, etc.). Out of all the available container formats, only MPEG TS hardcodes the subtitles. For some reason, all other formats result in an error like the following: ~snip~
Return to “VLC media player for macOS Troubleshooting”
Users browsing this forum: No registered users and 20 guests