[FFmpeg-user] Cannot receive audio/video from Unreal WebRTC DirectShow Source filter
Roger Pack
rogerdpack2 at gmail.com
Sat Oct 27 15:01:19 EEST 2018
On Sat, Oct 27, 2018 at 5:54 AM Roger Pack <rogerdpack2 at gmail.com> wrote:
>
> On Thu, Sep 20, 2018 at 12:08 PM Maxim Ershtein <mershtein at gmail.com> wrote:
> >
> > Hello,
> >
> > I am trying to record VP9/Opus -encoded live stream into .mkv file. The
> > live stream is being encoded by Chrome browser and sent via WebRTC to
> > Unreal Media Server.
> >
> > Unreal Media Server allows installing WebRTC DirectShow Source filter:
> > http://umediaserver.net/components/index.html
> >
> > This filter allows connecting to Unreal Media Server and receiving the
> > original stream.
> > It works fine in GraphEdit - I can render and play the stream.
> >
> > But my goal is to record it with ffmpeg to .mkv file with no transcoding.
> > So I am doing:
> >
> > *ffmpeg -f dshow -show_video_device_dialog true -i video="Unreal WebRTC
> > Client Source":audio="Unreal WebRTC Client Source" -c:a copy -c:v copy
> > c:\temp\output.mkv*
> >
> > According to documentation, it should work.
> > Notice that I am doing *-show_video_device_dialog true*
> > This is because you need to initialize the filter, like all Unreal source
> > filters, with the URL where to pull the stream from. This URL is not
> > getting persisted anywhere, so each time you instantiate this filter, you
> > need to initialize it with the URL. So the dialog allows you to input the
> > URL.
> > But when I do it, ffmpeg reports *"Could not get media type"*.
> >
> > *What am I doing wrong?*
>
> full uncut console output please? Also you might be able to put it in
> a gif file and play that through avisynth...
also output of ffmpeg -f show -list_devices true -i dummy
I wasn't aware ffmpeg could read arbitrary show filters?
More information about the ffmpeg-user
mailing list