[FFmpeg-trac] #5760(undetermined:new): Error while generating webm DASH manifest
FFmpeg
trac at avcodec.org
Tue Aug 9 14:13:26 EEST 2016
#5760: Error while generating webm DASH manifest
-------------------------------------+-------------------------------------
Reporter: pszemus | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
I've followed http://wiki.webmproject.org/adaptive-streaming/instructions-
to-do-webm-live-streaming-via-dash tutorial, but altered a little to
create chunked VOD webm DASH streaming:
1. Preparing 2 sec video and audio chunks:
{{{
$ ffmpeg -i http://www.sample-
videos.com/video/mp4/720/big_buck_bunny_720p_10mb.mp4 -map 0:0 -c:v
libvpx-vp9 -s 640x360 -keyint_min 50 -g 50 -tile-columns 4 -frame-parallel
1 -b:v 3000k -f webm_chunk -header webm_video_360.hdr -chunk_start_index 1
webm_video_360_%d.chk -map 0:1 -c:a libvorbis -b:a 128k -ar 44100 -f
webm_chunk -audio_chunk_duration 2000 -header webm_audio_128.hdr
-chunk_start_index 1 webm_audio_128_%d.chk
ffmpeg version N-81306-g26695ae Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 6.1.1 (GCC) 20160621 (Red Hat 6.1.1-3)
configuration: --prefix=/home/pszemus/ffmpeg/build --enable-pic
--enable-pthreads --enable-libmp3lame --enable-version3 --enable-libfdk-
aac --enable-gpl --enable-nonfree --enable-libvpx --enable-libvorbis
--enable-libopus --enable-libx264 --enable-libx265 --enable-libwebp
--enable-protocol=https --enable-openssl --extra-
cflags=-I/opt/WP/common.libs/include --extra-
ldflags='-L/opt/WP/common.libs/lib -ldl'
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 51.100 / 57. 51.100
libavformat 57. 46.100 / 57. 46.100
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 50.100 / 6. 50.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'http://www.sample-
videos.com/video/mp4/720/big_buck_bunny_720p_10mb.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf53.24.2
Duration: 00:01:02.32, start: 0.000000, bitrate: 1347 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
1280x720 [SAR 1:1 DAR 16:9], 959 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc
(default)
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1,
fltp, 383 kb/s (default)
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
[libvpx-vp9 @ 0x2f80080] v1.5.0-1018-g181988d
[webm_chunk @ 0x2fbb300] Using AVStream.codec to pass codec parameters to
muxers is deprecated, use AVStream.codecpar instead.
[webm_chunk @ 0x2f81760] Using AVStream.codec to pass codec parameters to
muxers is deprecated, use AVStream.codecpar instead.
Output #0, webm_chunk, to 'webm_video_360_%d.chk':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.46.100
Stream #0:0(und): Video: vp9 (libvpx-vp9), yuv420p, 640x360 [SAR 1:1
DAR 16:9], q=-1--1, 3000 kb/s, 25 fps, 25 tbn, 25 tbc (default)
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
encoder : Lavc57.51.100 libvpx-vp9
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Output #1, webm_chunk, to 'webm_audio_128_%d.chk':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.46.100
Stream #1:0(und): Audio: vorbis (libvorbis), 44100 Hz, 5.1, fltp, 128
kb/s (default)
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
encoder : Lavc57.51.100 libvorbis
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> vp9 (libvpx-vp9))
Stream #0:1 -> #1:0 (aac (native) -> vorbis (libvorbis))
Press [q] to stop, [?] for help
frame= 1557 fps= 13 q=0.0 Lsize=N/A time=00:01:02.31 bitrate=N/A
speed=0.524x
video:51432kB audio:830kB subtitle:0kB other streams:0kB global
headers:6kB muxing overhead: unknown
}}}
2. Creating webm VOD DASH manifest - '''error''':
{{{
$ ffmpeg -f webm_dash_manifest -i webm_video_360.hdr -f webm_dash_manifest
-i webm_audio_128.hdr -c copy -map 0 -map 1 -f webm_dash_manifest
-adaptation_sets "id=0,streams=0 id=1,streams=1" -chunk_start_index 1
-chunk_duration_ms 2000 manifest.mpd
ffmpeg version N-81306-g26695ae Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 6.1.1 (GCC) 20160621 (Red Hat 6.1.1-3)
configuration: --prefix=/home/pszemus/ffmpeg/build --enable-pic
--enable-pthreads --enable-libmp3lame --enable-version3 --enable-libfdk-
aac --enable-gpl --enable-nonfree --enable-libvpx --enable-libvorbis
--enable-libopus --enable-libx264 --enable-libx265 --enable-libwebp
--enable-protocol=https --enable-openssl --extra-
cflags=-I/opt/WP/common.libs/include --extra-
ldflags='-L/opt/WP/common.libs/lib -ldl'
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 51.100 / 57. 51.100
libavformat 57. 46.100 / 57. 46.100
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 50.100 / 6. 50.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
[webm_dash_manifest @ 0x3d7a3a0] Duplicate element
Last message repeated 1 times
[webm_dash_manifest @ 0x3d7a3a0] Failed to read file headers
webm_video_360.hdr: Operation not permitted
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5760>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list