Opened 13 years ago
Closed 7 years ago
#602 closed enhancement (needs_more_info)
feature request: movie sink for ffplay
Reported by: | Roger Pack | 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 (7)
follow-up: 2 comment:1 by , 13 years ago
comment:2 by , 13 years ago
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 by , 13 years ago
Component: | undetermined → avfilter |
---|---|
Type: | defect → enhancement |
comment:4 by , 13 years ago
Priority: | normal → wish |
---|---|
Status: | new → open |
comment:5 by , 9 years ago
Cc: | added |
---|
there is an "SDL" output device these days. But it might not do audio yet, so leaving this option for now.
comment:6 by , 9 years ago
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
.
comment:7 by , 7 years ago
Resolution: | → needs_more_info |
---|---|
Status: | open → closed |
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 :(