My 3gp video files generated by the rendering worked, but took up to 5s to be displayed... This was kind of irritating for an interactive demo.
Turns out the 3gp file was not really to the liking of the 3G gateway/phone, because it had only 1 intra (full) frame, and no intermediate frames. I naively thought this would be optimum for a static image....
Bizarrely, changing from a 0.5 frame/sec rate for a 2second video (ie 1 frame only) to 5fps (ie 10 frames) makes the image appear in around 1s instead of 4-5s! Why sending more data makes the display go faster I have no idea.....
So, my ffmpeg parameters are now:
ffmpeg -loop_input -i INPUT.PNG -i_qfactor 3 -qscale 8 -b_qfactor 6 -ps
128 -bufsize 43000 -b 10000 -vcodec h263 -y -an -r 5 -t 2 -f 3gp OUTPUT.3gp
This is using my SVN 11003 version of ffmeg. Your mileage may vary...
I also changed to a black background rather than a white one before changing the frame rate, but I didn't see any impact on the latency....
vendredi 28 mars 2008
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire