arut / nginx-rtmp-module

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

black streaming #371

Open paricek opened 10 years ago

paricek commented 10 years ago

Hi, when i have short video about 20s, i must wait for first video frame about 8 second. When i try to play file via http there is ok? this is problem with first keyframe or with rtmp server? Thanks for reply. David

http://koukni.cz/iframe?63051333

misiek08 commented 10 years ago

Propably it's problem with your file. If it's .flv I recommend http://yamdi.sourceforge.net/

paricek commented 10 years ago

thx, but mp4 streaming via http is working without problem? Yamdi is only for flv not fot mp4! Thanks for reply! David

noirotm commented 10 years ago

Did you use qt-faststart or mp4box to make sure the MOOV atom is really at the beginning of your file ?

paricek commented 10 years ago

hi, after encoding with ffmpeg I run qt-faststart. i think there is problem with some keyframe in original mp4 file, but i dont know which parameters? thx

wrong http://koukni.cz/63051333 , http://koukni.cz/64700018 right http://koukni.cz/97799524, http://koukni.cz/33338067

paricek commented 10 years ago

RESULT! problem make this parameters in ffmpeg, this is ok now! thx

-g 5 -keyint_min 5 -sc_threshold 0