Opened 5 years ago

Last modified 5 months ago

#602 open enhancement

feature request: movie sink for ffplay

Reported by: rogerdpack Owned by:
Priority: wish Component: avfilter
Version: unspecified Keywords:
Cc: rogerdpack@gmail.com Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

The scenarios that would this attempt to handle better:

1) someone is recording from their webcam, wants to see the output as it is (simultaneously) recorded.
2) same thing, but they want to stream it, while it is being recorded, or the like.

Basically this is a feature request to make ffplay/ffserver into "movie sink's" which I think would handle this.

I'm mostly basing this from VLC, which can split and stream or convert or display (and since ffmpeg can split now, it might be nice to do the other things too):

VLC: duplicate{dst=display} http://www.videolan.org/doc/streaming-howto/en/ch04.html

Making ffserver programmable via command-line (as VLC's is) would be convenient, at times, too.
Cheers!
-roger-

ref: http://ffmpeg.org/pipermail/ffmpeg-user/2011-October/002904.html

Change History (6)

comment:1 follow-up: Changed 5 years ago by burek

I'd like to support this feature request, because it's really a handy one.
Right now, I'm using mpegts/udp to stream the output of the ffmpeg to an udp port, which I then replicate/multiply and reuse the stream to save/stream media.
But, mpegts is not so good, because it has a lot of quirks and it distorts timestamps (vlc always complaints when I feed ffmpeg's mpegts/udp output to it, even when I'm on LAN), so I always end up fixing the media and can't ever rely on ffmpeg to create a valid stream :(

comment:2 in reply to: ↑ 1 Changed 5 years ago by cehoyos

Replying to burek:

But, mpegts is not so good, because it has a lot of quirks and it distorts timestamps (vlc always complaints when I feed ffmpeg's mpegts/udp output to it, even when I'm on LAN), so I always end up fixing the media and can't ever rely on ffmpeg to create a valid stream :(

Please consider reporting problems with the mpeg-ts muxer.

comment:3 Changed 5 years ago by saste

  • Component changed from undetermined to avfilter
  • Type changed from defect to enhancement

comment:4 Changed 5 years ago by cehoyos

  • Priority changed from normal to wish
  • Status changed from new to open

comment:5 Changed 5 months ago by rogerdpack

  • Cc rogerdpack@gmail.com added

there is an "SDL" output device these days. But it might not do audio yet, so leaving this option for now.

comment:6 Changed 5 months ago by Cigaes

There are a few audio output devices, and it is possible to have several outputs, one for video and one for audio for example. They would not be synchronized, though.

Also, I would recommend -f opengl rather than -f sdl.

Note: See TracTickets for help on using tickets.