Need help generating a DASH compatible webm file.

90 views
Skip to first unread message

moonma

unread,
Sep 29, 2021, 11:35:23 AM9/29/21
to webm-d...@webmproject.org

Hi,

I have followed the steps described here. During playback, I get an error. I am using Shaka Player.

 

Output from browser console.

The video has now been loaded!

myplayer.html:57 Error code 3007 object O {severity: 2, category: 3, code: 3007, data: Array(0), handled: false}

 

According to Shaka player error code, 3007 means : WEBM_CUES_ELEMENT_MISSING    3007       number                The WebM Cues parser was unable to locate the Cues element. The segment index data may be corrupt.

 

How do I fix this error?

 

My steps

  1. ffmpeg -i  blue_sky_1080p25.y4m -c:v libvpx-vp9 -s 160x90 -b:v 250k -keyint_min 150 -g 150  -tile-columns 4 -frame-parallel 1  -an -f webm -dash 1  sky_160x90_250k.webm
  2. ffmpeg -f webm_dash_manifest -i  sky_160x90_250k.webm -c copy -map 0 -f webm_dash_manifest -adaptation_sets "id=0,streams=video" manifest.mpd

 

I provide this manifest file to the shaka player. When I load my page, I get the error code 3007 ( The WebM Cues parser was unable to locate the Cues element. The segment index data may be corrupt) from the player 

 

Thanks,

Upanita

James Zern

unread,
Sep 29, 2021, 1:54:27 PM9/29/21
to WebM Discussion
Hi,

On Wed, Sep 29, 2021 at 8:35 AM moonma <upan...@gmail.com> wrote:

Hi,

I have followed the steps described here. During playback, I get an error. I am using Shaka Player.

 

Output from browser console.

The video has now been loaded!

myplayer.html:57 Error code 3007 object O {severity: 2, category: 3, code: 3007, data: Array(0), handled: false}

 

According to Shaka player error code, 3007 means : WEBM_CUES_ELEMENT_MISSING    3007       number                The WebM Cues parser was unable to locate the Cues element. The segment index data may be corrupt.

 

How do I fix this error?

 

My steps

  1. ffmpeg -i  blue_sky_1080p25.y4m -c:v libvpx-vp9 -s 160x90 -b:v 250k -keyint_min 150 -g 150  -tile-columns 4 -frame-parallel 1  -an -f webm -dash 1  sky_160x90_250k.webm
  2. ffmpeg -f webm_dash_manifest -i  sky_160x90_250k.webm -c copy -map 0 -f webm_dash_manifest -adaptation_sets "id=0,streams=video" manifest.mpd

Can you give what version of ffmpeg you're using and attach the manifest? I would expect that streams=video should be streams=0 to start with [1].

Using that I see:
$ ffmpeg -y -f webm_dash_manifest -i  sky_160x90_250k.webm -map 0 -c copy -f webm_dash_manifest -adaptation_sets "id=0,streams=0" manifest.mpd
  libavutil      57.  6.100 / 57.  6.100
  libavcodec     59.  9.101 / 59.  9.101
  libavformat    59.  5.100 / 59.  5.100
  libavdevice    59.  0.101 / 59.  0.101
  libavfilter     8.  9.100 /  8.  9.100
  libswscale      6.  1.100 /  6.  1.100
  libswresample   4.  0.100 /  4.  0.100
...
Output #0, webm_dash_manifest, to 'manifest.mpd':
  Metadata:
    encoder         : Lavf59.5.100
  Stream #0:0: Video: vp9, none(tv, progressive), 160x90 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 1k tbn
    Metadata:
      ENCODER         : Lavc59.9.101 libvpx-vp9
      DURATION        : 00:00:08.680000000
      webm_dash_manifest_duration: 8680
      webm_dash_manifest_initialization_range: 506
      webm_dash_manifest_file_name: sky_160x90_250k.webm
      webm_dash_manifest_track_number: 1
      webm_dash_manifest_cues_start: 210067
      webm_dash_manifest_cues_end: 210107
      webm_dash_manifest_bandwidth: 171748
      webm_dash_manifest_cluster_keyframe: 1
      webm_dash_manifest_cue_timestamps: 0,6000
...

With the indexRange set to match:
<SegmentBase
  indexRange="210067-210107">
<Initialization
  range="0-506" />

 

 

I provide this manifest file to the shaka player. When I load my page, I get the error code 3007 ( The WebM Cues parser was unable to locate the Cues element. The segment index data may be corrupt) from the player 

 

Thanks,

Upanita

--
You received this message because you are subscribed to the Google Groups "WebM Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webm-discuss...@webmproject.org.
To view this discussion on the web visit https://groups.google.com/a/webmproject.org/d/msgid/webm-discuss/CAD1Wh9RttVP3n_vK%2B5aaPCwZY8-LXHE12TcRkNKsN-aebgkbdg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages