[FFmpeg-devel] FFplay with 2 video streams in concurrent time

Chau Pham chaupv79 at hotmail.com
Thu Feb 11 08:56:48 CET 2016


Ok, first of all, sorry for my English.

By default, ffplay only plays first video stream and it doesn't care about the rest of video streams. 

I meant that I would like to play 2 video streams concurrently,

Anyway, I have found the way to play 2 video streams..


________________________________________
From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> on behalf of Paul B Mahol <onemda at gmail.com>
Sent: Friday, February 5, 2016 9:09 PM
To: FFmpeg development discussions and patches
Subject: Re: [FFmpeg-devel] FFplay with 2 video streams in concurrent time

On 2/5/16, Chau Pham <chaupv79 at hotmail.com> wrote:
> Dear Senior,
>
>
> I would like to ask something about ffplay.
>
>
> ffmpeg define AVMediaType in avutil.h with 5 type of media as below
>
>
> enum AVMediaType {
>     AVMEDIA_TYPE_UNKNOWN = -1,  ///< Usually treated as AVMEDIA_TYPE_DATA
>     AVMEDIA_TYPE_VIDEO,
>     AVMEDIA_TYPE_AUDIO,
>     AVMEDIA_TYPE_DATA,          ///< Opaque data information usually
> continuous
>     AVMEDIA_TYPE_SUBTITLE,
>     AVMEDIA_TYPE_ATTACHMENT,    ///< Opaque data information usually sparse
>     AVMEDIA_TYPE_NB
> };
>
>
> as my understanding that AVMEDIA_TYPE_VIDEO allow to play video stream.
>
> currently ffmpeg can play only 1 video stream,
> is there anyway to play 2 video streams in concurrent time? because my avi
> content includes 2 video streams.. and others stream

Depends what you mean by 'play 2 video streams'.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


More information about the ffmpeg-devel mailing list