Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with merging subtitles #109

Open
pestikoko11 opened this issue Feb 1, 2024 · 1 comment
Open

Issue with merging subtitles #109

pestikoko11 opened this issue Feb 1, 2024 · 1 comment

Comments

@pestikoko11
Copy link

Hi guys. My terminal outputs an error almost every time I click anywhere:
Warning: temperature does not have a supported UI
Warning: temperature does not have a supported UI

I think this may be the problem why the subtitles don't get merged with the video. After I click merge, it exports the file well, but it fails to burn the subtitles onto the video. The terminal does this when I click on merge:

ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
built with Apple clang version 15.0.0 (clang-1500.1.0.2.5)
configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/6.1.1_3 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags='-Wl,-ld_classic' --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libharfbuzz --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopenvino --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox --enable-neon
libavutil 58. 29.100 / 58. 29.100
libavcodec 60. 31.102 / 60. 31.102
libavformat 60. 16.100 / 60. 16.100
libavdevice 60. 3.100 / 60. 3.100
libavfilter 9. 12.100 / 9. 12.100
libswscale 7. 5.100 / 7. 5.100
libswresample 4. 12.100 / 4. 12.100
libpostproc 57. 3.100 / 57. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/private/var/folders/v1/t9h37b35191dtmtj5gg4b7c80000gn/T/tmph9d1v0ml/peldavideo.MP4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: isommp41mp42
creation_time : 2024-01-24T08:53:42.000000Z
Duration: 00:00:24.05, start: 0.000000, bitrate: 13453 kb/s
Stream #0:00x1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 111 kb/s (default)
Metadata:
creation_time : 2024-01-24T08:53:42.000000Z
handler_name : Core Media Audio
vendor_id : [0][0][0][0]
Stream #0:10x2: Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709/bt709/iec61966-2-1, progressive), 886x1920, 13306 kb/s, 59.62 fps, 59.94 tbr, 600 tbn (default)
Metadata:
creation_time : 2024-01-24T08:53:42.000000Z
handler_name : Core Media Video
vendor_id : [0][0][0][0]
Side data:
displaymatrix: rotation of 90.00 degrees
Input #1, srt, from '/var/folders/v1/t9h37b35191dtmtj5gg4b7c80000gn/T/tmpvf9mjwpt.srt':
Duration: N/A, bitrate: N/A
Stream #1:0: Subtitle: subrip
Output #0, mp4, to '/private/var/folders/v1/t9h37b35191dtmtj5gg4b7c80000gn/T/tmph9d1v0ml/peldavideo-subs-merged2.MP4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: isommp41mp42
encoder : Lavf60.16.100
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709/bt709/iec61966-2-1, progressive), 886x1920, q=2-31, 13306 kb/s, 59.62 fps, 59.94 tbr, 19200 tbn (default)
Metadata:
creation_time : 2024-01-24T08:53:42.000000Z
handler_name : Core Media Video
vendor_id : [0][0][0][0]
Side data:
displaymatrix: rotation of 90.00 degrees
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 111 kb/s (default)
Metadata:
creation_time : 2024-01-24T08:53:42.000000Z
handler_name : Core Media Audio
vendor_id : [0][0][0][0]
Stream #0:2: Subtitle: mov_text (tx3g / 0x67337874)
Metadata:
title : Hungarian
encoder : Lavc60.31.102 mov_text
Stream mapping:
Stream #0:1 -> #0:0 (copy)
Stream #0:0 -> #0:1 (copy)
Stream #1:0 -> #0:2 (subrip (srt) -> mov_text (native))
Press [q] to stop, [?] for help
[mp4 @ 0x12e60fab0] Non-monotonic DTS in output stream 0:2; previous: 2, current: 0; changing to 3. This may result in incorrect timestamps in the output file.
[mp4 @ 0x12e60fab0] Non-monotonic DTS in output stream 0:2; previous: 3, current: 0; changing to 4. This may result in incorrect timestamps in the output file.
[out#0/mp4 @ 0x12e60f9e0] video:39148kB audio:329kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.103352%
size= 39518kB time=00:00:24.01 bitrate=13477.9kbits/s speed= 760x

@abdeladim-s
Copy link
Owner

Hi @pestikoko11,

I don't see any errors in the terminal!
If the file is exported successfully then the subtitles are merged with the video.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants