[FFmpeg-trac] #2138(avformat:open): this video is not segmented correct
FFmpeg
trac at avcodec.org
Wed Jan 16 13:02:23 CET 2013
#2138: this video is not segmented correct
------------------------------------+------------------------------------
Reporter: mpapp | Owner:
Type: defect | Status: open
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: segment | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 1 |
------------------------------------+------------------------------------
Comment (by saste):
Replying to [comment:8 mpapp]:
> I guess there could be a double reference mode.
> In which ,both stream could be watched.
No idea what you mean.
> Whichever changes most that one should be used as a reference for that
segment.
This in not well defined. Also you broke video segmenting if you use audio
as reference for an input with audio and video, for a normal video which
comprises more than one keyframe (like in your case).
> I guess the problem is if I use sound as a reference, and there is no
sound or it does not change, I will bump into the same phenomena, do not
you think?
You can script things (e.g. with ffprobe), see what streams your input
contains and change the -reference_stream value accordingly.
Alternatively, I could change the default so that in case the video is an
"attached picture" it is not used as a reference.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2138#comment:9>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list