Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

FFmpeg fps detection bug?

I have ffmpeg setup which produces rtmp stream from remote rtsp stream. The rtsp stream comes from ip camera which support multiple profiles. Each profile has 1080p 30 fps, 1080p 15 fps. The weird ...
I have 10 fingers's user avatar
0 votes
0 answers
47 views

How to stream integrated camera to Facebook using FFMpeg

I'm currently using this command to stream to Facebook: ffmpeg -f dshow -i video="HD User Facing":audio="Varios micrófonos (Realtek(R) Audio)" -c:v h264 -pix_fmt yuv420p -r 30 -g ...
Cesar LI's user avatar
0 votes
1 answer
153 views

ffmpeg fetching PTS/DTS for data packets incorrectly

I have captured a transport stream through TSP command Command: tsp -I ip port --source ip -O file stream_capture1.ts then using ffprobe, below is the output which is capturing correct stream Input #0,...
Parmesh Kumawat's user avatar
0 votes
0 answers
89 views

Streaming Dynamically Created .ts Files to RTMP Without Concatenation Corruption using ffmpeg

I'm working on a project where .ts video files are generated in real-time, and I need to stream these to an RTMP server without pre-concatenating them. Initially, I attempted using a named pipe and ...
Dhairya Verma's user avatar
0 votes
0 answers
17 views

How to add my own Custom Resolution in Adaptive bitrate in Ant Media

When I check the Adaptive bit-rate settings I see that there are predefined resolution in Ant Media which is good, but I want to add one more Custom resolution in the settings , but I do not see any ...
Usama's user avatar
  • 1
0 votes
1 answer
148 views

Complex ffmpeg multi-encode/streamcopy/muxing scenario: is this actually doable?

I'm trying to do multiple muxing/re-encode/copy operations on an input video with ffmpeg and have run into roadblocks with the methods I've tried; before I continue testing, I want to confirm whether ...
rudds's user avatar
  • 3
0 votes
0 answers
50 views

Trying to invoke play on DLNA-device with streaming from Synology NAS

I am trying out the DLNA protocol for the purpose of invoking media on my LG TV, where the media is stored on a Synology NAS (hosted with Media Server) on the same network. I have successfully found ...
Andreas Zita's user avatar
0 votes
0 answers
42 views

Physical camera as virtual camera to stream a prerecorded video

I have a cam with a SD card (AKASO EK7000) and my goal is to stream a prerecorded video, stored in the SD card, so that, when I select the cam, I can see that video. So it's like the physical cam ...
Federica Guidotti's user avatar
0 votes
0 answers
58 views

How do create a dynamic delay fix with MPEG-TS?

My media player can display a couple of videos (origin video - Multicast address, video stream is in MPEG-TS) Whenever I play both video streams I see a delay in one of the streams. I would like to ...
david blacheow's user avatar
0 votes
0 answers
376 views

When I attempt to live a video in an infinite loop using the ffmpeg command, it automatically terminates after a few hours

When attempting to continuously loop a video using the ffmpeg command with the following syntax: ffmpeg -re -stream_loop -1 -i abc.mp4 -c copy -f flv rtmps://abc.xyz/..... I encounter an issue where ...
Isteyak Ali's user avatar
1 vote
0 answers
158 views

Sending and receiving ffmpeg video stream through USB to TTL converter

I need to transfer video signal through USB to TTL converter from one VM and receive it on other USB to TTL converter then display the received stream on second VM (the bitrate on converters are ...
Tomas Jepimachov's user avatar
1 vote
1 answer
438 views

Streaming to Facebook Live with ffmpeg

I've set up an RTMP/RTSP streaming-service with MediaMTX on my desktop. From OBS Studio, I'm then streaming to: Server: rtmp://localhost/ Stream Key: stream This leaves me with 2 streams: RTMP: rtmp:/...
Daniel Frank's user avatar
0 votes
0 answers
81 views

How to fix broken mp4 and retain all streams including gyrodata?

I think I have tried just about all open source projects on github but I can not get anyone to do exactly what I want. I have a SMO 4k which is based on Insta360 R camera that suffered batteryloss, ...
Tor Suneson's user avatar
0 votes
0 answers
163 views

h264_qsv is choppy when live streaming

I am trying to do live streaming of video games using h264_qvs, but is choppy when compared to libx264. Here are some variations of the ffmpeg command I am running: Variation 1 ffmpeg.exe -y -hwaccel ...
Devin Dixon's user avatar
1 vote
0 answers
295 views

ffmpeg with libopenh264 Is blurry

I am trying get live streaming using libopenh264 near the quality of libx264, but I am running into the quality issues. Here is a live stream standing still: And here is image when there is fast ...
Devin Dixon's user avatar
0 votes
0 answers
996 views

Poor Quality from USB Video Device on VLC

I am having trouble using VLC to use my USB Capture Card as it is outputting porr quality. The quality is blurry or pixilated. I have looked around on many forums and videos to see if they can help ...
LittleDudeIOK's user avatar
0 votes
0 answers
2k views

How to detect with ffmpeg if the stream has video or audio or both?

I am listening on rtsp stream. The stream may potentially have only audio, only video, or have both, depending on how the remote side ffmpeg was configured. I want to dump the stream into hls. This is ...
KamilCuk's user avatar
  • 220
0 votes
0 answers
69 views

There is mosaic phenomenon when muxing h264 raw stream to mp4 or flv by using ffmpeg6.0

I am currently using ffmpeg 6.0 to encapsulate h264 raw streams into mp4, flv, or rtmp formats. When the bitrate exceeds 1024kb/s, there is mosaic phenomenon at the bottom of the final picture. I ...
TONY's user avatar
  • 1
0 votes
0 answers
120 views

Add video on the fly in playlist m3u8

How can I change the playlist on the fly with ffmpeg? I tried with a concat but it doesn't work. I then saw that ffmpeg takes into account m3u8 playlists, but while testing I realize that adding a ...
Tchoune's user avatar
0 votes
0 answers
7k views

Open a video from Synology File Station directly in VLC

I have a Synology NAS, with some videos stored on it. At home I can access the video using SMB shares, and open them with VLC as if they were on a local disk from the internet on a mobile device, I ...
PierU's user avatar
  • 1,629
1 vote
0 answers
411 views

ffmpeg not adding correct timestamps in recorded files and producing 76 milliseconds files

I am using ffmpeg to record a camera stream using rtsp protocol. Camera stream is being consumed via rtsp-simple-server. I am creating 10 second files by setting output_ts_offset to epoch realtime. ...
Aman Hanjra's user avatar
2 votes
1 answer
905 views

Delay video (and audio) by x seconds in FFMPEG HLS Stream

I have an input HLS stream stream.m3u8 using my macbook camera by running: ffmpeg -f avfoundation ^ -framerate 30 -i 0 ^ -c:v libx264 -c:a aac -b:a 128k ^ -ac 2 -crf 5 -preset veryfast -...
Daniel Schmidt's user avatar
0 votes
0 answers
393 views

Using ffmpeg to create mp4 file from video stream

I'm reading data from a video stream and using ffmpeg to create a mp4 file. After writing data for a period of time I always get a file with a shorter duration. For example, if I write data for 10 ...
Claudio Montenegro's user avatar
0 votes
0 answers
589 views

Stream Webcam video to a website

I am trying to build a system where I want to stream video from a webcam to a website, I am new to video processing, but so far, I have learned that I need to use FFmpeg lib, an AWS-S3 bucket and hls....
Anoop Yadav's user avatar
1 vote
0 answers
374 views

How to detect in real-time, whether there is an audio video sync or lag using FFMPEG?

I'm not asking about how to fix an audio video sync issue or lag. That I'll figure out, using FFMPEG's timeline editing filter. My question is about whether there is a way to detect if the audio and ...
Nav's user avatar
  • 1,089
0 votes
0 answers
1k views

VLC: network stream over RTSP: can I use more aggressive buffering?

I can watch my RTSP stream with VLC almost perfectly. The stream is live, transcoded from h264 to h265 by ffmpeg. My only concern is that the stream is occasionally (depends on many factors, but at ...
Daniel's user avatar
  • 577
1 vote
0 answers
493 views

FFMPEG combining filter_complex and realtime processing

I am having trouble using both options. The goal is to use the loop filter to stream part of a video. This is the test command I've been running. ffmpeg.exe -re -i .\input.mkv -c:v libx264 -preset ...
Stax Zeta's user avatar
0 votes
0 answers
298 views

video + "streaming" spikes CPU on Mac

For the last 6-8 months, I've been having an issue where "video streaming" spikes my CPU on my Mac. This is a 2019 16" MacBook Pro with 2.6GHz 6-core Intel, and 16GB Ram (I don't ...
philolegein's user avatar
0 votes
0 answers
1k views

FFMPEG Stream to network port

I am searching around for 2 days but didn't find a solution. Is it possible to stream a video to a local network port with ffmpeg? My goal would be, to capture a remote stream, convert it and send it ...
Yuki's user avatar
  • 1
-1 votes
1 answer
184 views

Use ffmpeg add a video watermark,attached as the cover image [duplicate]

Use ffmpeg to add a video watermark, and the video contains a cover image. The watermark is attached as the cover image. command like this ffmpeg -ss 0 -t 60 -i .\test2.mp4 -i logo_gray20p.png -...
SevenFantastic's user avatar
0 votes
0 answers
343 views

How to Use Public Video Stream as Webcam Feed?

I would like to setup an existing public 'live stream' as a 'camera' feed in Windows 11. The goal would be while on a zoom/skype/teams etc, in my list of Cameras, I can pick an option that relays a ...
Fuzz Evans's user avatar
0 votes
1 answer
641 views

Why does my video from ffmpeg have a variable framerate?

I tried stacking 4 3840x2160 mandelbrot sets into a 7680x4320 rectangle using ffmpeg built in filters directly (without producing the y4m as done below) and that produced a variable framerate video. I ...
Randy Pencin's user avatar
0 votes
0 answers
223 views

Live video in facebook is lagging while using ffmpeg from video link

Livevideo in facebook is working fine for local device video(case 1) but its having lagging issue from video link(case 2) using FFMPEG. Please find command for the same and log. Case 1 - Command : ...
Isteyak Ali's user avatar
1 vote
2 answers
375 views

Why is audio streaming harder than video streaming?

I have two separate Linux computers on the same LAN. One computer has speakers, the other computer has a monitor. To play a movie with video and sound I have two options: Play the movie on the ...
Jaap Joris Vens's user avatar
0 votes
0 answers
30 views

ffmpeg - Can't get video to play on LG TV [duplicate]

I am trying to come up with settings that will play properly on my LG TV via Twonky DLNA from my WD MyCloud NAS server. I have one video that works fine, and another that does not. Here is the ffprobe ...
automatom's user avatar
  • 101
2 votes
0 answers
630 views

Ffmpeg multitrack live streaming is breaking when source becomes a bit unstable

I am struggling with Ffmpeg live streaming where my input is from many live RTMP streams and my output is multitrack live mpegts stream, the idea is that I am getting input from multiple live RTMP ...
Muhammad's user avatar
  • 130
1 vote
1 answer
74 views

Can a browser modified or create extension to give option to save playing videos?

Nowadays, most sites encrypt or use DRM for playing videos. But browser can not play the file directly, it must be decrypted. Whatever the process is, ultimately browser need an actual playable video ...
Kashyap Kansara's user avatar
0 votes
1 answer
4k 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 ...
schlumpfpirat's user avatar
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&...
karl-police's user avatar
0 votes
0 answers
365 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,...
SKV's user avatar
  • 19
2 votes
0 answers
684 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&...
ab_out's user avatar
  • 21
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 ...
pkamb's user avatar
  • 4,463
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 ...
ggininder's user avatar
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 ...
Thomas Carlton's user avatar
1 vote
0 answers
408 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/...
Antonio Batista Ribeiro Junior's user avatar
1 vote
0 answers
577 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 ...
Hadi Aghandeh's user avatar
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 \ &...
Kracozebr's user avatar
  • 113
2 votes
5 answers
908 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, ...
Greelings's user avatar
  • 683
0 votes
1 answer
9k 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 ...
Thomas Carlton's user avatar
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 ...
Velislav's user avatar

1
2 3 4 5
8