Questions tagged [ffplay]
36 questions
4
votes
2 answers
How to play youtube song in terminal with ffplay and youtube-dl
Is there any you to stream any music the terminal with youtube-dl and ffplay
I know that ffplay can play audio with shell
$ audio stram | ffplay -i -
2
votes
0 answers
how to write subcommand to FFPLAY during playback using subprocess module?
I'm trying to pause a video playback started with FFPLAY through a python subprocess. You can do this manually by pressing the "p" key on the keyboard while the video is playing. I'd like to emulate this behavior through a python call.
I'm now…

ChienMouille
- 41
- 5
2
votes
1 answer
No such filter '"split': ffplay with ffmpeg in Python
I am trying to visualize the YUV histograms of video overlayed with the video using ffmpeg on Python. The code that I use is the…
user16478428
2
votes
2 answers
Is there a way to run a subprocess that opens a window in the background in Python?
I am attempting to call ffplay in Python using subprocess. When ffplay is called, it opens a window with the video and outputs information to the console until the window is closed. I'd like to scrap the output and return to the Python script while…

Spencer Cain
- 63
- 1
- 10
1
vote
1 answer
Is it possible to embed another application's GUI within an NWJS app?
ffplay does a very fine job of displaying 4K content streamed using RTSP, better than any I've seen so far. ffplay opens its own window for viewing. I would like to develop an app using NWJS for viewing CCTV content over a network. Is there a way…

KevinHJ
- 1,014
- 11
- 24
1
vote
0 answers
FFMPEG: invalid data found when processing input, but same input works in FFPLAY
I have a TCP stream with raw 8-bit image data (1280x720) that I receive and display with FFPLAY without problems, but it´s not possible to process the same input with FFMPEG.
This works:
ffplay -i tcp://127.0.0.1:8485\?listen -f rawvideo…

SoerenS
- 21
- 2
1
vote
0 answers
How to play HDR10 videos using ffplay and ffmpeg?
I'm trying to play on Windows a HDR10 video. My display support 10 bits HDR content.
The command that I'm using to play the HDR10 video is the following.
ffplay -sws_flags print_info -i video.mp4
But the output looks washed out.
the log are the…

befandy
- 19
- 2
1
vote
1 answer
Change ffplay spectrogram colours
How can I make the live spectrogram that ffplay renders while playing audio use colours?

theonlygusti
- 11,032
- 11
- 64
- 119
1
vote
1 answer
yt-dlp get audio only link -> ffmpeg piped audio -> ffplay
Ok, i have a perl script that i am trying to figure out why it is throwing an io error. First i use yt-dlg to get the link of only the audio - this works as expected and i can navigate to the link in a browser just fine. then i open a ffmpeg pipe in…

james28909
- 554
- 2
- 9
- 20
1
vote
0 answers
How to properly pipe adb screenrecord (h264 stream) to ffplay in a WinForms app?
How to pipe ADB's exec out to ffplay?
I have been struggling to get this "Live view" C# WinForms app working properly this last week. The goal is to have the android screen in the native app window where I then have other controls implemented as an…

GeneralFuzz
- 29
- 1
- 4
1
vote
1 answer
The fdsink element in GStreamer cannot be used to output the correct byte-stream to the pipeline
Because I need to output the RTSP stream pulled from the GStreamer command line to my Python program, I use the fdsink element to output the byte-stream from the pipeline.
The video can be displayed correctly by using the xvimagesink element. The…

yuniversi
- 67
- 1
- 6
1
vote
1 answer
Using FFMPEG command to read the frame and show using the inshow function in opencv
I am trying to get the frame using the ffmpeg command and show using the opencv function cv2.imshow(). This snippet gives the black and white image on the RTSP Stream link . Output is given below link [ output of FFmpeg link].
I have tried the…

HARSH BHATNAGAR
- 69
- 1
- 1
- 7
1
vote
0 answers
How can i display video duration with ffplay?
I'm trying to display the video duration using ffplay. I have figured out how to display current frame timestamp but can't get the duration.The only thing that i have done is this:
ffplay -vf "drawtext=text='%{pts:hms}'" -i video.mp4
which is not…

dimos geo
- 72
- 1
- 6
1
vote
1 answer
When using ffplay, how to eliminate milliseconds from timestamp display in the video-filter
So when specifying a video-filter to display current video-time in 'hms' layout, the filter appends a millisecond value after the seconds-field.
I want to eliminate the milliseconds portion.
So far, my invoked cmd looks like:
ffplay myfile.mp4 -vf…

David
- 2,253
- 5
- 23
- 29
0
votes
1 answer
How to draw - dynamic - "safe areas" in ffplay
we need to preview videos with overlayed so-called "safe areas" according to this EBU document: SAFE AREAS FOR 16:9 TELEVISION PRODUCTION.
Here's the scheme for 1080p resolution:
1080p Safe Areas
Those consist of three different "zones", each with…

F.O.R.A.R.T.
- 1
- 1