Dear all

I am trying to modify ffplay so two videos are shown next to each other.

The problem I am getting is that frames from video 1 sometimes are shown where I want video 1 and sometimes where I want video 2. The same happens for video 2.

Here is what I do:

1. In main loop I call stream_open for video 1 and for video 2 passing different file names. I do not set cur_stream. 2. The two videos come from two different video files with the same specification. 3. I add a variable to struct VideoState so the two videos can be identified. 4. In fct. video_image_display right before call of SDL_DisplayYUVOverlay(vp->bmp, &rect); I manipulate rect to make rect half size and for video 2 I add rect.w to rect.x

Any help would be appreciated.

Thomas S


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

Reply via email to