[FFmpeg-user] Specifying Video Stream with V instead of v

Josh Marell macman104 at gmail.com
Sun Nov 15 17:20:31 CET 2015


On Wednesday, November 11, 2015, Moritz Barsnick <barsnick at gmx.net> wrote:

> Hi Josh,
>
> Perfect. I had to dig through the code with a lot of av_log()s added,
> and figured out that these four streams (0:3 to 0:6) do match "-c:V"
> although they shouldn't, because their "stream disposition" doesn't
> have the property "attached_pic". (If they did, "-c:V" wouldn't match
> them.)
>
> To check for yourself, run "ffprobe -show_streams" and check for this
> from each stream:
>
> DISPOSITION:attached_pic=0
> TAG:FILENAME=small_cover_land.jpg
>
> Apparently, the Matroska demuxer doesn't set this disposition. With
> your source file, it doesn't handle the four picture streams as
> "attachments", and therefore never gets to the code which sets this
> disposition.
>
> I haven't gotten further than that. I don't know enough about Matroska
> to say what the demuxer thinks is "attachments", and whether the
> demuxer is doing something incorrectly, or whether the streams in your
> file are marked incorrectly.


I see, thank you so much for looking into this. So I think if I understood
you correctly, if I had their stream disposition set properly this would
work? I will look at if there is a way to modify this (I'm assuming it
should be set to 1 rather than 0?).

-Josh


More information about the ffmpeg-user mailing list