ddragosd / ffmpeg-live-transcoder

Docker image for transcoding a live source to another source, optionally creating multiple qualities.
18 stars 6 forks source link

transcoding won't start when ffmpeg metadata about bitrate is N/A #2

Closed ddragosd closed 9 years ago

ddragosd commented 9 years ago

sometimes we may get

Metadata:
    encoder         : Lavf56.18.100
  Duration: 00:00:00.00, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: h264, yuv420p, 1920x1080, 2450 kb/s, 25 fps, 25 tbr, 1k tbn, 50 tbc
    Stream #0:1: Data: none
    Stream #0:2: Audio: aac, 48000 Hz, stereo, fltp
ddragosd commented 9 years ago

@selfxp please review this proposed fix.