Question / Help Debugging full rtmp string (like ffmpeg 2 dlive)

OBSBear

New Member
Hi,

Is there a way by verbose or what to show me the exact rtmp string OBS is using when streaming to let's say dlive. I want to use this string to match as much s possible to my ffmepg settings. Background: With OBS I am creating a live RECORDING, then this is to be uploaded or streamed to dlive on its own later, so I need not to actually be running OBS any longer at this point. ffmpeg is good enough...
 

OBSBear

New Member
by the help of: https://help.tidylabs.stream/2019/01/guide-multi-stream-with-obs.html

this works on Debian 10: ffmpeg -re -i 'Who Jesus Is To Me (2019-12-25)-mCXhAXaYXx8.mkv' -c:v libx264 -g 120 -codec:a aac -b:a 180k -f flv rtmp://stream.dlive.tv/live/yourSTREAMKey_here Now you can "replay" videos headless. ffmpeg offers -i concat -i playlist

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



Extra: plus http://www.aegisub.org/ (seems text and little images) Aegisub is a free, cross-platform open source tool for creating and modifying subtitles. Aegisub makes it quick and easy to time subtitles to audio, and features many powerful tools for styling them, including a built-in real-time video preview.
 

OBSBear

New Member
update #

This here works fine as headless solution:



#!/bin/bash

# https://video.stackexchange.com/que...reaming-to-periscope-bitrate-appears-too-high

ffmpeg \
-re \
-f lavfi \
-i testsrc=rate=30:size=960x540,format=yuv420p \
-re \
-f lavfi \
-i "sine=frequency=440:sample_rate=44100:beep_factor=4" \
-vf "
drawtext
=fontfile='/Library/Fonts/MyriadPro-Regular.otf'
:fontcolor='#ff6600'
:fontsize=64
:text='%{pts}'
:x='w/2 - text_w/2'
:y='h/2 - text_h/2'
" \
-c:v libx264 \
-crf:v 22 \
-preset:v fast \
-pix_fmt yuv420p \
-x264opts keyint=60:no-scenecut=1 \
-maxrate:v 600k \
-bufsize:v 2400k \
-g 60 \
-c:a aac \
-ac 2 \
-b:a 96k \
-maxrate:a 96k \
-bufsize:a 192k \
-f flv \
-flvflags no_duration_filesize \
-y -hide_banner \
here my rtmp+key


simply replace the -i with your input..
 
Top