Questions tagged [streaming]
Streaming is the process of continuously sending data from a server to a client host. Often used in video or audio transmission, live streaming is a time-critical process that makes high demands on the underlying network used to deliver the data.
1,188
questions
0
votes
1
answer
3k
views
Create an image every X seconds from live stream
I want to grab a static image every X seconds (say 2) from a CCTV live-stream.
I tried ffmpeg -rtsp_transport udp -i rtsp://user:[email protected]:554/front -r 1 -vf scale="-1:720" -vframes ...
0
votes
0
answers
2k
views
Raspberry Pi to website stream
there are countless howtos describing how to stream from Raspberry Pi to somewhere, I'm somehow lost and tired of trying different configurations.
My resources:
Raspberry pi camera v2
Raspberry Pi v3
...
1
vote
1
answer
1k
views
FFMPEG - mute or unmute audio from incoming stream while ffmpeg is running
I got the following issue:
I want to be able to mute and unmute the audio from a ffmpeg stream whilst the ffmpeg is running. I was searching for a while now and wondered how you would do it. I read a ...
0
votes
0
answers
5k
views
How can .m3u8 and .ts streams or videos properly be saved, without any pixelated or corrupted frames? VLC or FFMPEG, or anything else
I was wondering how to save contents of .m3u8, generally any that works, using VLC at "Open Network Stream".
I saw that these files often contain .ts files, that are named "playlist&...
1
vote
1
answer
2k
views
How to stream computer audio AND microphone to an Icecast/Shoutcast server?
I need to stream contents of a Microsoft Teams video-call to an Icecast server. For this to work correctly I need to stream both the computer audio AND my own local microphone, so that people ...
0
votes
0
answers
571
views
FFMPEG desktop capture randomly stops streaming to RTMP endpoint. Why?
I am using the following FFMPEG command for desktop streaming to an RTMP endpoint:
ffmpeg.exe -report -fflags nobuffer -framerate 30 -use_wallclock_as_timestamps 1 -f gdigrab -thread_queue_size 256 -...
0
votes
0
answers
64
views
How can I cast media TO an android device?
My setup consists of a windows PC and a few nearby android tablets. They are all connected to the same LAN via Wi-Fi, and I have full control over these devices.
Here's the situation:
Sometimes I'll ...
0
votes
0
answers
1k
views
Streaming HEVC SRT from ffmpeg to ffplay through ethernet, how can I determine latency and cpu usage of each step?
I'm streaming desktop capture from a Windows 10 computer indirect display on two monitors to a Raspberry Pi 4's two hdmi output ports.
Now the RPi 4 is getting maxed out on the cpu when running two ...
0
votes
0
answers
336
views
What is the difference between download, progressive-download, streaming and pseudo-streaming
Let me put my understanding first, lets say we are referring to a video file.
download => In general download, file cannot be played unless it completely downloaded.
progressive-download => Here,...
2
votes
0
answers
588
views
Possible to do Real-Time Closed Captioning using ffmpeg?
GOAL:
Real-Time Closed Captioning via ffmpeg 🤞
My setup:
Real-Time video from "touchdesigner" shared via "spout" to "ffmpeg" ffmpeg -f dshow -i video="SpoutCam&...
0
votes
0
answers
5k
views
Save a local file URL .m3u8 stream using youtube-dl
I have a local .m3u8 file containing stream information. I would like to use youtube-dl or a fork to download the stream.
When I pass the local file to youtube-dl it gives the error that it is ...
0
votes
1
answer
423
views
why in linux "ffmpeg" command from nodejs ends after a few seconds
I am using fluent-ffmpeg to push a file to RTMP server, it is ok but when I run program in Linux OS, ffmpeg stops after a few seconds
ffmpeg(flv)
// .inputOptions(['-readrate', '1']) //is unknown ...
1
vote
0
answers
2k
views
what's the current way to stream a /dev/video to internet by ffmpeg after the ffserver is deprecated?
I'm studying how to live stream my webcam which would be recognized as /dev/video0 in linux to the internet. I'm trying ffmpeg, now get the following method works:
1.create a ffserver.conf file
...
0
votes
1
answer
555
views
Extracting elementary stream type using ffprobe
I'm trying to extract the elementary stream type using ffprobe (as in the PES header).
ffprobe gives info about the codec in the form of codec_tag, but that isn't necessary the elementary stream type. ...
0
votes
1
answer
426
views
FFmpeg transcode piped mp4 with MOOV at end - but I can read it twice
I need to transcoding an MP4 file using that I can only access via a stream. The MOOV atom is at the end of the file. I do not have the ability to seek to a specific part of the file, only read a pipe ...
0
votes
1
answer
507
views
Cannot receive multicast RIST stream using RIST protocol, but RTP works
I'm using gstreamer to multicast a RIST stream:
gst-launch-1.0 filesrc location=test.mts ! tee name=t ! queue ! typefind ! rtpmp2tpay ! ristsink address=239.255.0.1 port=5004 t. ! queue ! tsdemux ! ...
0
votes
2
answers
162
views
Bash terminal command to be repeated after an activity no longer foreground
so the context:
I want to make a bash terminal command that will launch VLC to stream a video, and then when VLC is no longer in the foreground (VLC automatically goes to the background when the ...
1
vote
0
answers
1k
views
How to stream to Facebook live using FFmpeg?
I have ffmpeg on Windows and I would like to stream an MP4 file to Facebook live. The video has an audio track.
I running the following command :
ffmpeg
-re -i video.mp4
-acodec libmp3lame
-b:a ...
1
vote
0
answers
400
views
Error starting Facebook Live with ffmpeg
I need some help trying to stream an IPCAM to Facebook using ffmpeg.
I am using this command:
ffmpeg -rtsp_transport tcp -thread_queue_size 1024 -i rtsp://admin:[email protected]:24300/cam/...
0
votes
0
answers
400
views
Record webcam like a dashcam [duplicate]
I would like to use FFmpeg to record the last 5 hours from the webcam to file like a dashcam.
Creating a new file every 5 hour is acceptable, overwriting the current file is too.
1
vote
0
answers
542
views
FFMPEG: SDP to HLS cur_dts is invalid
I am trying to convert an RTP stream (opus, vp8) to HLS (aac,libx264) but it fails. I can easily save the stream as WebM but I can not save it as HLS and the only noticeable error is cur_dts is ...
1
vote
0
answers
4k
views
Using FFPMEG, create a MJPEG stream from a file to simulate a webcam
I'd like to use ffmpeg to simulate a network webcam.
These usually give out an MJPEG feed that plays in a browser.
I want to create a stream like this locally as a test case
for a software I plan to ...
1
vote
1
answer
4k
views
Could not find tag for codec none in stream #1, codec not currently supported in container vs Non-monotonous DTS in output stream
I'm trying to record video from my ip camera stream with ffmpeg in command line.
fmpeg -rtsp_transport tcp \
> -i rtsp://192.168.0.250/stream1 \
> -c copy \
> -map 0 \
> -f segment \
&...
1
vote
1
answer
123
views
Why is my computer creating a D drive when I run multiplayer pixel streaming?
I tried multiplayer pixel streaming with Unreal Engine but it failed. When I open a different port and connect to the local host, the following message appears. As a result of checking this problem, ...
0
votes
1
answer
22
views
What should I be aiming for in terms of 'decode'/'encode' times in a remote session
For various reasons I run a small windows PC purely for remote access. Parsec is my 'favoured' remote access tool, and I might be experimenting with running games remotely on a more powerful box than ...
2
votes
5
answers
759
views
Can we transmit more data through two ports instead of just one?
I send a video and an audio stream between 2 devices with the UDP protocol.
The 2 streams are sent through a single port.
My question is: Is there any advantage (speed, throughput, risk of congestion, ...
0
votes
1
answer
163
views
Thermal Monocular live streaming
I have a AGM TM160 thermal monocular that creates its own ad hoc WiFi network. iOS and Android phones can use the T-Vision app to connect to this device and control all settings and view a live stream ...
0
votes
1
answer
52
views
Chromebook to Linux Beta to using it for live streaming on twitch?
I have a Acer N17Q8 Chromebook Spin 11 and i turned on Linux Beta but doesn't seem to have access to sudo nor shell due to error messages in crosh. Any guidelines i should follow on? And i'm actually ...
1
vote
1
answer
126
views
Desktop shortcuts for quick access to streaming specific shows on specific services
Short version:
I would like to create a way to double-click Windows desktop shortcuts which open up a browser window and immediately start streaming a particular show on a particular service (Disney, ...
0
votes
1
answer
1k
views
streaming of two cameras to two outputs
How can I send two separate camera streams with one command? (The image from two cameras is sent to the same address but with different ports)
ffmpeg -stimeout 5000000 -rtsp_transport tcp -i
"...
1
vote
1
answer
345
views
Add new stream to Gstreamer recording
I currently have a set of streams that I record using GStreamer and an SDP with a similar command as follows
gst-launch-1.0 --eos-on-shutdown filesrc location=test.sdp ! sdpdemux timeout=0 name=demux ...
0
votes
0
answers
933
views
Show stream of IP camera in modern browsers
My camera has RTSP and i know that RTSP cannot be played in modern browsers. What is the best way to show live stream from IP camera in my web application. I need open source solution and if it ...
0
votes
1
answer
496
views
Adding ffmpeg filter to motion image-output
I want to be able to apply keystone correction to a webcam stream. The raw image-stream contains a rectangular background and I am using a rectangular overlay, which the user drags the corners to ...
2
votes
1
answer
12k
views
Simple port forwarding for UDP stream on Windows
I'm trying to use ncat (form the nmap distro for Windows) to simply forward a UDP stream.
Example: A video stream can be received on port 5444. I want to forward that stream to another machine (say ...
1
vote
1
answer
771
views
FFMpeg switch between live stream and a text video when streaming to YouTube
I have been running a Youtube livestream for a while and I am developing a solution so that I can run the stream remotely through a browser. My plan is to have an ASP.net core web api project running ...
0
votes
0
answers
314
views
Audio stream to file with ffmpeg but trim the audio after a specific time
Is there a way to save an audio stream to a file with ffmpeg but trim it automatically after it reaches a certain time?
I'm saving a stream from fmstream.org to a raw file then I stream it from there ...
1
vote
1
answer
142
views
How to have a side-channel stream while writing video recording to a file
I'm trying to come up with a way to use ffmpeg to write a webcam recording to a file, while sending some frames to a python process for online processing. The important parts are -
The write of the ...
1
vote
1
answer
1k
views
Write cache on local Windows 10 machine for asynchronous transfer to NAS?
I have an application that generates a stream of data as a single file. The amount of generated data is variable, but in average wouldn't nearly saturate my network or NAS speeds. However, there can ...
1
vote
1
answer
1k
views
Streaming video via ffmpeg and NGINX works approximately 80% of the time
On Server 1 I am running this (and it's looping):
ffmpeg -re -stream_loop -1 -i game.webm -c:v libx264 -preset veryfast -b:v 6000k -maxrate 6000k -bufsize 6000k -pix_fmt yuv420p -f flv rtmp://1.1.1.1/...
0
votes
0
answers
328
views
How to show a HTTP stream from VLC Player in Wireshark?
I just set up a HTTP stream of a video between my Server and Client system using the VLC media player (using the command line). Both the systems run Ubuntu 20.04
vlc -vvv <path to video file> --...
0
votes
1
answer
8k
views
ffmpeg : Could not find codec parameters for stream 1 (Video: vp8, yuv420p): unspecified size?
I have an RTP stream coming from Kurento Media Server.
I would like to record this stream to a file using ffmpeg. I'm running the command
ffmpeg -protocol_whitelist file,crypto,udp,rtp -i a.sdp -c:v ...
1
vote
3
answers
1k
views
ffmpeg several streams with different video and audio setting using --filter_complex and tee pseudo muxer from same source
I'm capturing video with embeded audio from decklink mini recorder and need to create 6 different streams. I've created the filter for the video and it works, but cannot figure it out how to set ...
0
votes
1
answer
43
views
How to enable people to remotely view and interact with a program
I have a piece of software (a .exe) that I run locally, and I want multiple people to be able to remotely view and interact with it in particular.
The usual approach would be to start it up on my ...
0
votes
0
answers
230
views
Increase buffer duration of video of my local Chrome installation
In my region, youtube is fast, so seeking is rarely an issue there. But some sites are a bit slow so seeking can be annoying.
In that case, I would prefer to buffer at least the next 2-5 minutes in ...
0
votes
2
answers
258
views
Why does streaming an MP4 video file from a WordPress site work fine in the browser yet fail when I'm trying to save it to a file?
I am trying to learn more about streaming and why a video that plays fine in the browser is so tricky to download to a local hard drive for offline playing.
It's hosted on WordPress and the full URL ...
0
votes
0
answers
1k
views
Unable to stream video over VLC in the local network
I am attempting to get VLC streaming working, I want to do movie nights with a friend of mine living in another country, but before I stream to the internet, I ought to be able to stream locally - ...
0
votes
0
answers
123
views
How can I simulate multiple monitors with only one screen and alternate between them?
I've searched thoroughly through superuser and I found people with similar problems, but not quite the one I have and the solutions I found don't apply to me.
Here's the scenario: I have one monitor ...
0
votes
1
answer
2k
views
FFmpeg: Loop stream of several audio files and a short video
I saw a code to stream several audio files in another topic of questions here on the site. However, I have some doubts regarding this, because in my case, there is no sound and I really wanted your ...
0
votes
0
answers
230
views
FFMPEG IP Camera streaming on Youtube
Here's the command I'm using:
ffmpeg -fflags genpts+igndts+discardcorrupt+ignidx+nobuffer -rtsp_transport tcp -i rtsp://*************** -c:v copy -af aresample=async=1:min_hard_comp=0.100000:first_pts=...
0
votes
0
answers
218
views
Ffmpeg with HLS stream bug (maybe)
I'm trying to capture a stream and save it as a VOD content using FFmpeg but noticed some wrong behaviours with the application if the stream fails for some time and then restarts (the stream server ...