I¹m grabbing frames from a network camera giving me a motion JPEG stream at 25 fps. I¹m also grabbing frames from an ogg vorbis audio file.
After converting the video to mpeg4 and the audio to mp2 I¹m using av_interleaved_write_frame to write out an avi file. This seems to work alright, but during playback using mplayer the audio is slow. The video has time overlay with a second counter and it seems to be ok. Here is the stream dumps. Input #0, mjpeg, from 'http://192.168.x.x/mjpg/video.cgi': Duration: N/A, bitrate: N/A Stream #0.0: Video: mjpeg, yuvj422p, 704x480, 25.00 tb(r) Input #0, ogg, from 'test.ogg': Duration: 00:02:50.30, start: 0.000000, bitrate: 112 kb/s Stream #0.0: Audio: vorbis, 44100 Hz, stereo, s16, 112 kb/s Output #0, avi, to 'output.avi': Stream #0.0: Video: mpeg4, yuv420p, 704x480, q=2-31, 400 kb/s, 25.00 tb(c) Stream #0.1: Audio: mp2, 44100 Hz, stereo, s16, 112 kb/s Any suggestions on where to look for the problem? Let me know if you need more information as well. Thank you, Brian _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
