Hello all

I am compiling an mp4 video from a series of images and adding sound to it
using libmp3lame.
 My video stream is mpeg and audio is mp3. First of all I want to ask
whether this combination is fine or not?

But when I playback the encoded file, video plays fine but sound stops after
sometime(depending upon video length). I am doing as follows:

initializing all the parameters etc
.
.
.
.
.
.

for(int i =0 ; i<images; i++)
{
   write_audio();
   write_video();

}

Means for every image I call write_audio() and write_video().

I play this file using vlc because quick time cant play this.

And on iPhone when I play this file, it has no sound.

Tried alot to figure it out but all in vain.

Anybody Please Help.


Regards,
Shujaat
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to