FFmeg Subtitle SRT Live Streaming

Questions that occur when trying to compile FFmpeg.
Post Reply
azadiyame
Posts: 1
Joined: Sun Mar 22, 2020 1:47 pm

FFmeg Subtitle SRT Live Streaming

Post by azadiyame »

Hello

I want to integrate and publish subtitle

ffmpeg.exe -re -thread_queue_size 512 -i C:\Users\Administrator\Desktop\simpletv1\Film\5\honeyboy.mkv -i C:\Users\Administrator\Desktop\simpletv1\Film\4\litlewoman.srt -map 0:0 -map 0:1 -map 1:0 -c:a copy -c:v libx265 -f flv rtmp://xxx.xxx.xx.xxx:1935/live/streaming

Eror Wowza


configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 59.100 / 56. 59.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.100 / 5. 40.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Input #0, matroska,webm, from 'C:\Users\Administrator\Desktop\simpletv1\Film\5\honeyboy.mkv':
Metadata:
CREATION_TIME : 2020-02-07T05:32:00Z
ENCODER : Lavf55.12.0
Duration: 01:34:11.39, start: 0.078000, bitrate: 2079 kb/s
Chapter #0:0: start 0.000000, end 44.002000
Metadata:
title : Studio Logos
Chapter #0:1: start 44.085000, end 266.099000
Metadata:
title : A day in the life of a stunt man
Chapter #0:2: start 266.182000, end 364.155000
Metadata:
title : Entering rehab
Chapter #0:3: start 364.238000, end 367.033000
Metadata:
title : Title Sequence
Chapter #0:4: start 367.116000, end 622.038000
Metadata:
title : Growing up in LA
Chapter #0:5: start 622.121000, end 1223.139000
Metadata:
title : Father son bonding
Chapter #0:6: start 1223.222000, end 1447.112000
Metadata:
title : Adjusting to rehab
Chapter #0:7: start 1447.195000, end 1829.202000
Metadata:
title : Otis takes care of himself
Chapter #0:8: start 1829.285000, end 2185.016000
Metadata:
title : James meets Tom
Chapter #0:9: start 2185.099000, end 2388.177000
Metadata:
title : Pool therapy
Chapter #0:10: start 2388.260000, end 3030.027000
Metadata:
title : Life in recovery
Chapter #0:11: start 3030.110000, end 3523.061000
Metadata:
title : Different therapy techniques
Chapter #0:12: start 3523.144000, end 4156.110000
Metadata:
title : A dynamic power struggle
Chapter #0:13: start 4156.193000, end 4520.182000
Metadata:
title : Confronting trauma
Chapter #0:14: start 4520.265000, end 5244.072000
Metadata:
title : A fresh start
Chapter #0:15: start 5244.155000, end 5651.354000
Metadata:
title : End Credits
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709), 720x300, SAR 1:1 DAR 12:5, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Metadata:
BPS : 1693406
BPS-eng : 1693406
DURATION : 01:34:11.354000000
DURATION-eng : 01:34:11.354000000
NUMBER_OF_FRAMES: 135497
NUMBER_OF_FRAMES-eng: 135497
NUMBER_OF_BYTES : 1196255269
NUMBER_OF_BYTES-eng: 1196255269
_STATISTICS_WRITING_APP: mkvmerge v9.3.1 ('Mask Machine') 64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v9.3.1 ('Mask Machine') 64bit
_STATISTICS_WRITING_DATE_UTC: 2020-03-10 07:53:30
_STATISTICS_WRITING_DATE_UTC-eng: 2020-03-10 07:53:30
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
Metadata:
title : Surround
BPS : 384000
BPS-eng : 384000
DURATION : 01:34:11.392000000
DURATION-eng : 01:34:11.392000000
NUMBER_OF_FRAMES: 176606
NUMBER_OF_FRAMES-eng: 176606
NUMBER_OF_BYTES : 271266816
NUMBER_OF_BYTES-eng: 271266816
_STATISTICS_WRITING_APP: mkvmerge v9.3.1 ('Mask Machine') 64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v9.3.1 ('Mask Machine') 64bit
_STATISTICS_WRITING_DATE_UTC: 2020-03-10 07:53:30
_STATISTICS_WRITING_DATE_UTC-eng: 2020-03-10 07:53:30
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:2: Subtitle: subrip (default)
Metadata:
BPS : 47
BPS-eng : 47
DURATION : 01:32:54.157000000
DURATION-eng : 01:32:54.157000000
NUMBER_OF_FRAMES: 953
NUMBER_OF_FRAMES-eng: 953
NUMBER_OF_BYTES : 33419
NUMBER_OF_BYTES-eng: 33419
_STATISTICS_WRITING_APP: mkvmerge v9.3.1 ('Mask Machine') 64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v9.3.1 ('Mask Machine') 64bit
_STATISTICS_WRITING_DATE_UTC: 2020-03-10 07:53:30
_STATISTICS_WRITING_DATE_UTC-eng: 2020-03-10 07:53:30
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Input #1, srt, from 'C:\Users\Administrator\Desktop\simpletv1\Film\4\litlewoman.srt':
Duration: N/A, bitrate: N/A
Stream #1:0: Subtitle: subrip
Output #0, flv, to 'rtmp://xxx.xxx.xx.xxx:1935/live/altyazi33':
Metadata:
ENCODER : Lavf55.12.0
Chapter #0:0: start 0.000000, end 43.924000
Metadata:
title : Studio Logos
Chapter #0:1: start 44.007000, end 266.021000
Metadata:
title : A day in the life of a stunt man
Chapter #0:2: start 266.104000, end 364.077000
Metadata:
title : Entering rehab
Chapter #0:3: start 364.160000, end 366.955000
Metadata:
title : Title Sequence
Chapter #0:4: start 367.038000, end 621.960000
Metadata:
title : Growing up in LA
Chapter #0:5: start 622.043000, end 1223.061000
Metadata:
title : Father son bonding
Chapter #0:6: start 1223.144000, end 1447.034000
Metadata:
title : Adjusting to rehab
Chapter #0:7: start 1447.117000, end 1829.124000
Metadata:
title : Otis takes care of himself
Chapter #0:8: start 1829.207000, end 2184.938000
Metadata:
title : James meets Tom
Chapter #0:9: start 2185.021000, end 2388.099000
Metadata:
title : Pool therapy
Chapter #0:10: start 2388.182000, end 3029.949000
Metadata:
title : Life in recovery
Chapter #0:11: start 3030.032000, end 3522.983000
Metadata:
title : Different therapy techniques
Chapter #0:12: start 3523.066000, end 4156.032000
Metadata:
title : A dynamic power struggle
Chapter #0:13: start 4156.115000, end 4520.104000
Metadata:
title : Confronting trauma
Chapter #0:14: start 4520.187000, end 5243.994000
Metadata:
title : A fresh start
Chapter #0:15: start 5244.077000, end 5651.276000
Metadata:
title : End Credits
Stream #0:0: Video: hevc, none, q=2-31, 128 kb/s, SAR 1:1 DAR 0:0, 23.98 fps (default)
Metadata:
BPS : 1693406
BPS-eng : 1693406
DURATION : 01:34:11.354000000
DURATION-eng : 01:34:11.354000000
NUMBER_OF_FRAMES: 135497
NUMBER_OF_FRAMES-eng: 135497
NUMBER_OF_BYTES : 1196255269
NUMBER_OF_BYTES-eng: 1196255269
_STATISTICS_WRITING_APP: mkvmerge v9.3.1 ('Mask Machine') 64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v9.3.1 ('Mask Machine') 64bit
_STATISTICS_WRITING_DATE_UTC: 2020-03-10 07:53:30
_STATISTICS_WRITING_DATE_UTC-eng: 2020-03-10 07:53:30
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
encoder : Lavc56.59.100 libx265
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), 384 kb/s (default)
Metadata:
title : Surround
BPS : 384000
BPS-eng : 384000
DURATION : 01:34:11.392000000
DURATION-eng : 01:34:11.392000000
NUMBER_OF_FRAMES: 176606
NUMBER_OF_FRAMES-eng: 176606
NUMBER_OF_BYTES : 271266816
NUMBER_OF_BYTES-eng: 271266816
_STATISTICS_WRITING_APP: mkvmerge v9.3.1 ('Mask Machine') 64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v9.3.1 ('Mask Machine') 64bit
_STATISTICS_WRITING_DATE_UTC: 2020-03-10 07:53:30
_STATISTICS_WRITING_DATE_UTC-eng: 2020-03-10 07:53:30
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:2: Subtitle: none, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265))
Stream #0:1 -> #0:1 (copy)
Stream #1:0 -> #0:2 (subrip (srt) -> ? (?))
Encoder (codec none) not found for output stream #0:2

Pinging 127.0.0.1 with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Post Reply