[FFmpeg-trac] #9999(ffmpeg:new): Failure to create webm manifest for single key-frame video

FFmpeg trac at avcodec.org
Mon Oct 31 23:51:41 EET 2022


#9999: Failure to create webm manifest for single key-frame video
-------------------------------------+----------------------------------
             Reporter:  jlenart      |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  ffmpeg
              Version:  unspecified  |               Resolution:
             Keywords:  webm         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+----------------------------------
Description changed by jlenart:

Old description:

> Summary of the bug:
>
> I have encountered a possible bug in ffmpeg 5.1.2 (also tested on 5.1).
> In the event an output video has only a single key-frame, attempting to
> generate the DASH manifest will fail, resulting in the error message:
>
> Error parsing Cues
> output.webm: Invalid data found when processing input
>

> If multiple key-frames are present, (in the reproduction steps replace
> -to 5 with -to 6, given an input video longer than 6), the manifest is
> created without issue.
>
> How to reproduce:
> {{{
>
> $ ffmpeg -y -i <input_video> -c:v libvpx-vp9 -an -to 5 -f webm -dash 1
> output.webm
> $ ffmpeg -y -f webm_dash_manifest -i output.webm -c copy -map 0 -f
> webm_dash_manifest -adaptation_sets "id=0,streams=0" result.mpd
>
> ffmpeg version: 5.1.2 (and 5.1)
> libvpx version: 1.12
>
> }}}

New description:

 Summary of the bug:

 I have encountered a possible bug in ffmpeg 5.1.2 (also tested on 5.1). In
 the event an output video has only a single key-frame, attempting to
 generate the DASH manifest will fail, resulting in the error message:

 Error parsing Cues
 output.webm: Invalid data found when processing input


 If multiple key-frames are present, (in the reproduction steps replace -to
 5 with -to 6), the manifest is created without issue.

 How to reproduce:
 {{{

 $ ffmpeg -y -f lavfi -i testsrc -c:v libvpx-vp9 -an -to 5 -f webm -dash 1
 output.webm
 $ ffmpeg -y -f webm_dash_manifest -i output.webm -c copy -map 0 -f
 webm_dash_manifest -adaptation_sets "id=0,streams=0" result.mpd

 ffmpeg version: 5.1.2 (and 5.1)
 libvpx version: 1.12

 }}}

--
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9999#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list