arut / nginx-rtmp-module

NGINX-based Media Streaming Server
http://nginx-rtmp.blogspot.com
BSD 2-Clause "Simplified" License
13.49k stars 3.52k forks source link

Recording produce a grey FLV randomly #514

Open dmongeau opened 10 years ago

dmongeau commented 10 years ago

Hi, We have a project that uses nginx-rtmp-module to record webcams. It is now live for about 4 days and it seems like sometimes it produces grey FLV with 0 seconds duration. During the development I personally had the same issue inconsistently, which leads me to think it is not related to Flash version, browser or hardware.

Here is an example of a blank FLV: http://primal-mirror1.nfb.ca/screams/videos/camcorder_1415039835678.flv

And here is a screenshot of FFMPEG opening the file: capture d ecran 2014-11-03 15 59 29

Is there anyone else having the same issue?

Thanks

arut commented 10 years ago

ffmpeg reports content errors, seems file has broken h263 stream

dmongeau commented 10 years ago

Is there something I can do? is it a configuration error on my side?

After the recording the file is passed in Yamdi, I tough maybe it's a bug with this?

But the file weight 31kb, so I doubt it contains any video stream.

dmongeau commented 10 years ago

Apparently the bug was with Yamdi. Really sorry.

dmongeau commented 10 years ago

Okay, even without Yamdi I still get the same bug. Approximately 1 out of 10 recording produces corrupted FLV file.