diff --git a/Live/FFmpeg/ffmpeg_commands.md b/Live/FFmpeg/ffmpeg_commands.md index 88d095b..4126f6f 100644 --- a/Live/FFmpeg/ffmpeg_commands.md +++ b/Live/FFmpeg/ffmpeg_commands.md @@ -60,7 +60,7 @@ A basic live stream using the front camera and built in microphone on a laptop. Note that for RTMP streaming you have to add a unique "Stream Key" to the end of the RTMP ingest URL provided by Azure Media Services. This can be any custom value, or match the access token value provided to the API on creation of the live event. ```bash -fmpeg -f dshow -fflags nobuffer -rtbufsize 2000M -i video="Microsoft Camera Front":audio="Microphone Array (Realtek High Definition Audio(SST))" -f flv "rtmp://<>.channel.media.azure.net:1935/live/<>/<>"` +ffmpeg -f dshow -fflags nobuffer -rtbufsize 2000M -i video="Microsoft Camera Front":audio="Microphone Array (Realtek High Definition Audio(SST))" -f flv "rtmp://<>.channel.media.azure.net:1935/live/<>/<>"` ``` ### Multiple Bitrate RTMP broadcast to a pass-through live event @@ -173,4 +173,4 @@ This shows how to use the "gdigrab" device on Windows desktops to capture a sect ```bash ffmpeg -y -hide_banner -f dshow -fflags nobuffer -i audio="Headset Microphone (Logitech Stereo H650e)" -itsoffset 1.00 -f gdigrab -framerate 10 -offset_x 0 -offset_y 0 -video_size 1920x1080 -show_region 1 -i desktop -map 0:0 -map 1:0 -c:a:0 aac -b:a:0 128k -c:v:1 libx264 -preset ultrafast -tune zerolatency -s:v:0 1280x720 -r 30 -g 48 -keyint_min 48 -sc_threshold 0 -minrate:v:0 3000k -maxrate:v:0 3000k -b:v:0 3000k -avoid_negative_ts 1 -f ismv -movflags isml+frag_keyframe -frag_duration 1600000 "http://<>.channel.mediaservices.windows.net/<>/ingest.isml/Streams(video)" -``` \ No newline at end of file +```