microsoft / FFmpegInterop

This is a code sample to make it easier to use FFmpeg in Windows applications.
Apache License 2.0
1.27k stars 308 forks source link

FLV Video stream not displaying #90

Open mscott161 opened 7 years ago

mscott161 commented 7 years ago

I am pulling in a FLV stream from my Security DVR. I cannot change the output from FLV. My computer shows that a 1.5Mb stream is being used for 10 sec then stops at no time did the MediaElement show the video though the CurrentStateChange Event says its playing. I can play a FLV file fine but not in a continuous stream.

When playing in VideoLan (VLC) the stream info is H264-MPEG-4-AVC part 10 (avc1) decode: Planar-4.2.0 YUV

I believe the problem resides in the fact that when adding the libx264 to the FFMpegConfig.sh file for the architecture FFMpeg errors on compile that i am missing x264.h Am I using the wrong option in the FFMpegConfig.sh to have ffmpeg compiled with x264 support?

khouzam commented 7 years ago

Hi @mscott161

Any chance you could share a sample file that exhibits the issue?

Thanks

mscott161 commented 7 years ago

Hi @khouzam ,

The flv stream is coming from a DVR. There is not file. The FFMpegInterop will play saved files just fine, but when receiving the live stream in the same format it does not show. I provided the details of the stream I got from VLC in the initial question.