Displaying 1 result from an estimated 1 matches for "th_info_init".
2010 Jun 14
4
Live Stream Encoding
...while enconding went wrong: I can see the
whole video in VLC, but the complete duration of the file will not be
displayed. If i play the video in Firefox, the first 2 seconds will not
be played. I think the problem is in the setup of the encoder:
keyframe_frequency = 0;
th_info_init(&ti);
ti.frame_width = ((480 + 15) >>4)<<4;
ti.frame_height = ((320 + 15)>>4)<<4;
ti.pic_width = 480;
ti.pic_height = 320;
ti.pic_x = 0;
ti.pic_y = 0;
ti.fps_numerator = 30;...