raspberry pi - Streaming too fast with avconv on Raspbian to justin.tv via RTMP -
i want stream *.mp4 files justin.tv using avconv
on raspbian. i'm using following command this:
avconv -i ./${file_to_stream} \ -vcodec copy \ -acodec copy \ -threads 0 \ -r 24 \ -f flv rtmp://live-fra.justin.tv/${secret_key}
i can see stream short time on justin.tv it's streaming fast. stream jumps part of file , plays part, after time jumps again, , on. fps far high can see in output of avconv
says:
frame= 2673 fps=423 q=-1.0 lsize= 4431kb time=106.58 bitrate= 340.6kbits/s
the frames , time increasing fast, seen in fps. hoped clamp fps -r 24
command, it's still on >200 fps. can do?
solved adding -re
parameter read input @ native framerate.
so worked me:
#!/bin/bash avconv -re \ -i ${file_to_stream} \ -threads 0 \ -vcodec copy \ -acodec copy \ -f flv rtmp://live-fra.justin.tv/${secret_key}
Comments
Post a Comment