
Recherche avancée
Médias (91)
-
Valkaama DVD Cover Outside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Valkaama DVD Cover Inside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
1,000,000
27 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Four of Us are Dying
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (104)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.
Sur d’autres sites (10764)
-
Dash output with ffmpeg not producing durations specified with -seg_duration
30 juillet 2022, par CodieThere is a .mp4 file of 35 MB and 51 seconds. I have to create 51 chunks, each corresponding to 1 second with a size of less than 1MB (the total size should be almost the same as the original file). Please note that I have to implement lossless converting.


I've tried many times, but it just produces about 10 files above 10 MB.



Command :


ffmpeg -re -i input.mp4 -map 0:v -c:v libx264 -crf 0 -bf 1 -keyint_min 120 -g 120 -sc_threshold 0 -b_strategy 0 -use_template 1 -seg_duration 1 -window_size 60 -adaptation_sets "id=0,streams=v id=1,streams=a" -f dash ./dashTest/out.mpd




Command line log :


ffmpeg version 5.1-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
 built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
 configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
 libavutil 57. 28.100 / 57. 28.100
 libavcodec 59. 37.100 / 59. 37.100
 libavformat 59. 27.100 / 59. 27.100
 libavdevice 59. 7.100 / 59. 7.100
 libavfilter 8. 44.100 / 8. 44.100
 libswscale 6. 7.100 / 6. 7.100
 libswresample 4. 7.100 / 4. 7.100
 libpostproc 56. 6.100 / 56. 6.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
 Metadata:
 major_brand : mp42
 minor_version : 0
 compatible_brands: mp42mp41
 creation_time : 2022-07-27T09:13:31.000000Z
 Duration: 00:00:50.03, start: 0.000000, bitrate: 5716 kb/s
 Stream #0:0[0x1](eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 5396 kb/s, 25 fps, 25 tbr, 25k tbn (default)
 Metadata:
 creation_time : 2022-07-27T09:13:31.000000Z
 handler_name : ?Mainconcept Video Media Handler
 vendor_id : [0][0][0][0]
 encoder : AVC Coding
 Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)
 Metadata:
 creation_time : 2022-07-27T09:13:31.000000Z
 handler_name : #Mainconcept MP4 Sound Media Handler
 vendor_id : [0][0][0][0]
Stream mapping:
 Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 000001d13acb0380] using SAR=1/1
[libx264 @ 000001d13acb0380] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 000001d13acb0380] profile High 4:4:4 Predictive, level 3.1, 4:2:0, 8-bit
[libx264 @ 000001d13acb0380] 264 - core 164 r3095 baee400 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=0 mixed_ref=1 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=2 keyint=120 keyint_min=61 scenecut=0 intra_refresh=0 rc=cqp mbtree=0 qp=0
[dash @ 000001d13a2a4680] No bit rate set for stream 0
[dash @ 000001d13a2a4680] Opening './dashTest/init-stream0.m4s' for writing
Output #0, dash, to './dashTest/out.mpd':
 Metadata:
 major_brand : mp42
 minor_version : 0
 compatible_brands: mp42mp41
 encoder : Lavf59.27.100
 Stream #0:0(eng): Video: h264, yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 12800 tbn (default)
 Metadata:
 creation_time : 2022-07-27T09:13:31.000000Z
 handler_name : ?Mainconcept Video Media Handler
 vendor_id : [0][0][0][0]
 encoder : Lavc59.37.100 libx264
 Side data:
 cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
[dash @ 000001d13a2a4680] Opening './dashTest/chunk-stream0-00001.m4s.tmp' for writing
[dash @ 000001d13a2a4680] Opening './dashTest/out.mpd.tmp' for writing0.849x
[dash @ 000001d13a2a4680] Opening './dashTest/chunk-stream0-00002.m4s.tmp' for writing
[dash @ 000001d13a2a4680] Opening './dashTest/out.mpd.tmp' for writing0.918x
[dash @ 000001d13a2a4680] Opening './dashTest/chunk-stream0-00003.m4s.tmp' for writing
[dash @ 000001d13a2a4680] Opening './dashTest/out.mpd.tmp' for writing0.942x
[dash @ 000001d13a2a4680] Opening './dashTest/chunk-stream0-00004.m4s.tmp' for writing
[dash @ 000001d13a2a4680] Opening './dashTest/out.mpd.tmp' for writing0.957x
[dash @ 000001d13a2a4680] Opening './dashTest/chunk-stream0-00005.m4s.tmp' for writing
[dash @ 000001d13a2a4680] Opening './dashTest/out.mpd.tmp' for writing0.964x
[dash @ 000001d13a2a4680] Opening './dashTest/chunk-stream0-00006.m4s.tmp' for writing
[dash @ 000001d13a2a4680] Opening './dashTest/out.mpd.tmp' for writing0.971x
[dash @ 000001d13a2a4680] Opening './dashTest/chunk-stream0-00007.m4s.tmp' for writing
[dash @ 000001d13a2a4680] Opening './dashTest/out.mpd.tmp' for writing0.975x
[dash @ 000001d13a2a4680] Opening './dashTest/chunk-stream0-00008.m4s.tmp' for writing
[dash @ 000001d13a2a4680] Opening './dashTest/out.mpd.tmp' for writing0.978x
[dash @ 000001d13a2a4680] Opening './dashTest/chunk-stream0-00009.m4s.tmp' for writing
[dash @ 000001d13a2a4680] Opening './dashTest/out.mpd.tmp' for writing0.981x
[dash @ 000001d13a2a4680] Opening './dashTest/chunk-stream0-00010.m4s.tmp' for writing
[dash @ 000001d13a2a4680] Opening './dashTest/out.mpd.tmp' for writing0.982x
[dash @ 000001d13a2a4680] Opening './dashTest/chunk-stream0-00011.m4s.tmp' for writing
[dash @ 000001d13a2a4680] Opening './dashTest/out.mpd.tmp' for writing0.983x
frame= 1250 fps= 25 q=-1.0 Lsize=N/A time=00:00:49.96 bitrate=N/A speed=0.992x
video:171641kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[libx264 @ 000001d13acb0380] frame I:11 Avg QP: 0.00 size:255122
[libx264 @ 000001d13acb0380] frame P:1239 Avg QP: 0.00 size:139591
[libx264 @ 000001d13acb0380] mb I I16..4: 52.8% 8.8% 38.4%
[libx264 @ 000001d13acb0380] mb P I16..4: 3.9% 0.7% 1.3% P16..4: 28.0% 13.9% 11.3% 0.0% 0.0% skip:40.8%
[libx264 @ 000001d13acb0380] 8x8 transform intra:11.9% inter:33.4%
[libx264 @ 000001d13acb0380] coded y,uvDC,uvAC intra: 68.6% 80.1% 78.9% inter: 38.0% 47.1% 46.5%
[libx264 @ 000001d13acb0380] i16 v,h,dc,p: 65% 28% 5% 2%
[libx264 @ 000001d13acb0380] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 33% 28% 2% 1% 1% 1% 1% 1%
[libx264 @ 000001d13acb0380] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 36% 7% 3% 5% 3% 4% 3% 2%
[libx264 @ 000001d13acb0380] i8c dc,h,v,p: 17% 38% 44% 1%
[libx264 @ 000001d13acb0380] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 000001d13acb0380] ref P L0: 86.4% 7.6% 4.6% 1.4%
[libx264 @ 000001d13acb0380] kb/s:28121.58




.mpd file :


<?xml version="1.0" encoding="utf-8"?>
<mpd xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" mediapresentationduration="PT50.0S" maxsegmentduration="PT1.0S" minbuffertime="PT9.6S">
 <programinformation>
 </programinformation>
 <servicedescription>
 </servicedescription>
 <period start="PT0.0S">
 <adaptationset contenttype="video" startwithsap="1" segmentalignment="true" bitstreamswitching="true" framerate="25/1" maxwidth="1280" maxheight="720" par="16:9" lang="eng">
 <representation mimetype="video/mp4" codecs="avc1.f4001f" bandwidth="28122926" width="1280" height="720" sar="1:1">
 <segmenttemplate timescale="12800" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startnumber="1">
 <segmenttimeline>
 <s t="0" d="61440" r="9"></s>
 <s d="25600"></s>
 </segmenttimeline>
 </segmenttemplate>
 </representation>
 </adaptationset>
 <adaptationset contenttype="audio" startwithsap="1" segmentalignment="true" bitstreamswitching="true">
 </adaptationset>
 </period>
</mpd>




Please, if you want to put a negative point, mention your reason in the comments !



 -
Undefined reference, using FFMpeg-library (AvCodec) on Ubuntu, 64-bits system
5 mai 2012, par Anders BranderudI am running the example code of the latest FFMpeg-library.
I have inserted the example code into the filevideofecencoder.c
:/*
* copyright (c) 2001 Fabrice Bellard
*
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* Libav is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with Libav; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include
#include
#include
#ifdef HAVE_AV_CONFIG_H
#undef HAVE_AV_CONFIG_H
#endif
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavcodec/avcodec.h"
#include "libavutil/mathematics.h"
#include "libavutil/samplefmt.h"
#define INBUF_SIZE 4096
#define AUDIO_INBUF_SIZE 20480
#define AUDIO_REFILL_THRESH 4096
/*
* Video encoding example
*/
static void video_encode_example(const char *filename, int codec_id)
{
AVCodec *codec;
AVCodecContext *c= NULL;
int i, out_size, size, x, y, outbuf_size;
FILE *f;
AVFrame *picture;
uint8_t *outbuf;
int nrOfFramesPerSecond =25;
int nrOfSeconds =1;
printf("Video encoding\n");
/* find the mpeg1 video encoder */
codec = avcodec_find_encoder((CodecID) codec_id);
if (!codec) {
fprintf(stderr, "codec not found\n");
exit(1);
}
c = avcodec_alloc_context3(codec);
picture= avcodec_alloc_frame();
/* put sample parameters */
c->bit_rate = 400000;
/* resolution must be a multiple of two */
c->width = 352;
c->height = 288;
/* frames per second */
c->time_base= (AVRational){1,25};
c->gop_size = 10; /* emit one intra frame every ten frames */
c->max_b_frames=1;
c->pix_fmt = PIX_FMT_YUV420P;
if(codec_id == CODEC_ID_H264)
av_opt_set(c->priv_data, "preset", "slow", 0);
/* open it */
if (avcodec_open2(c, codec, NULL) < 0) {
fprintf(stderr, "could not open codec\n");
exit(1);
}
f = fopen(filename, "wb");
if (!f) {
fprintf(stderr, "could not open %s\n", filename);
exit(1);
}
/* alloc image and output buffer */
outbuf_size = 100000;
outbuf = (uint8_t*) malloc(outbuf_size);
/* the image can be allocated by any means and av_image_alloc() is
* just the most convenient way if av_malloc() is to be used */
av_image_alloc(picture->data, picture->linesize,
c->width, c->height, c->pix_fmt, 1);
/* encode 1 second of video */
int nrOfFramesTotal = nrOfFramesPerSecond * nrOfSeconds;
/* encode 1 second of video */
for(i=0;i < nrOfFramesTotal; i++) {
fflush(stdout);
/* prepare a dummy image */
/* Y */
for(y=0;yheight;y++) {
for(x=0;xwidth;x++) {
picture->data[0][y * picture->linesize[0] + x] = x + y + i * 3;
}
}
/* Cb and Cr */
for(y=0;yheight/2;y++) {
for(x=0;xwidth/2;x++) {
picture->data[1][y * picture->linesize[1] + x] = 128 + y + i * 2;
picture->data[2][y * picture->linesize[2] + x] = 64 + x + i * 5;
}
}
/* encode the image */
out_size = avcodec_encode_video(c, outbuf, outbuf_size, picture);
printf("encoding frame %3d (size=%5d)\n", i, out_size);
fwrite(outbuf, 1, out_size, f);
}
/* get the delayed frames */
for(; out_size; i++) {
fflush(stdout);
out_size = avcodec_encode_video(c, outbuf, outbuf_size, NULL);
printf("write frame %3d (size=%5d)\n", i, out_size);
fwrite(outbuf, 1, out_size, f);
}
/* add sequence end code to have a real mpeg file */
outbuf[0] = 0x00;
outbuf[1] = 0x00;
outbuf[2] = 0x01;
outbuf[3] = 0xb7;
fwrite(outbuf, 1, 4, f);
fclose(f);
free(outbuf);
avcodec_close(c);
av_free(c);
av_free(picture->data[0]);
av_free(picture);
printf("\n");
}
int main(int argc, char **argv)
{
const char *filename;
/* register all the codecs */
avcodec_register_all();
if (argc <= 1) {
video_encode_example("/grb_1.mpg", CODEC_ID_MPEG1VIDEO);
} else {
filename = argv[1];
}
return 0;
}When I run
gcc videofecencoder.cc -lavcodec
I get the following error messages :/tmp/ccJg8IDy.o: In function `video_encode_example(char const*, int)':
videofecencoder.cc:(.text+0x35): undefined reference to `avcodec_find_encoder(CodecID)'
videofecencoder.cc:(.text+0x74): undefined reference to `avcodec_alloc_context3(AVCodec*)'
videofecencoder.cc:(.text+0x7d): undefined reference to `avcodec_alloc_frame()'
videofecencoder.cc:(.text+0x113): undefined reference to `av_opt_set(void*, char const*, char const*, int)'
videofecencoder.cc:(.text+0x12b): undefined reference to `avcodec_open2(AVCodecContext*, AVCodec*, AVDictionary**)'
videofecencoder.cc:(.text+0x1f0): undefined reference to `av_image_alloc(unsigned char**, int*, int, int, PixelFormat, int)'
videofecencoder.cc:(.text+0x35c): undefined reference to `avcodec_encode_video(AVCodecContext*, unsigned char*, int, AVFrame const*)'
videofecencoder.cc:(.text+0x3cf): undefined reference to `avcodec_encode_video(AVCodecContext*, unsigned char*, int, AVFrame const*)'
videofecencoder.cc:(.text+0x47c): undefined reference to `avcodec_close(AVCodecContext*)'
videofecencoder.cc:(.text+0x488): undefined reference to `av_free(void*)'
videofecencoder.cc:(.text+0x497): undefined reference to `av_free(void*)'
videofecencoder.cc:(.text+0x4a3): undefined reference to `av_free(void*)'
/tmp/ccJg8IDy.o: In function `main':
videofecencoder.cc:(.text+0x4c3): undefined reference to `avcodec_register_all()'
collect2: ld returnerade avslutningsstatus 1The command
nm libavcodec.a | grep avcodec_find
results in :00000000000008e0 T avcodec_find_best_pix_fmt
0000000000000740 T avcodec_find_best_pix_fmt2
U avcodec_find_encoder
0000000000002ca0 T avcodec_find_decoder
0000000000002cf0 T avcodec_find_decoder_by_name
0000000000002bd0 T avcodec_find_encoder
0000000000002c30 T avcodec_find_encoder_by_nameI also have another similar error with another library :
Undefined reference despite linking in OpenFEC-libraryMy system : Ubuntu 11, 64-bits machine
My next step is to try to compile it on VirtualBox with Ubuntu 32 bits (running on a Windows-OS).
-
Do I need multiple video files in different resolutions to use MPEG DASH ?
2 février 2023, par Gentil AlysonI'm trying to use Django REST Framework to serve .mpd files. When the user uploads a video, the server creates the MPD and the chunk files. However, I can't seem to able to make it work. I've tried using python-ffmpeg-video-streaming, but the client which is using dash.js to play the video will get only one bitrate (480p). I've also tried running this command
'ffmpeg -i {self.file.path} -map 0 -map 0 -c:a aac -c:v libx264 -b:v:0 800k -b:v:1 300k -var_stream_map "v:0,name:800k v:1,name:300k" -f dash -dash_segment_type mp4 -single_file 1 {file_dir}/dash.mpd'
usingos.system
from Python, but then the player gets stuck at buffering.



<mpd xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" mediapresentationduration="PT2M30.5S" maxsegmentduration="PT5.0S" minbuffertime="PT16.6S">
 <programinformation>
 </programinformation>
 <servicedescription>
 </servicedescription>
 <period start="PT0.0S">
 <adaptationset contenttype="video" startwithsap="1" segmentalignment="true" bitstreamswitching="true" framerate="30000/1001" maxwidth="1280" maxheight="720" par="16:9" lang="und">
 <representation mimetype="video/mp4" codecs="avc1.64001f" bandwidth="800000" width="1280" height="720" sar="1:1">
 <baseurl>dash-stream0.mp4</baseurl>
 <segmentlist timescale="1000000" duration="5000000" startnumber="1">
 <initialization range="0-854"></initialization>
 <segmenturl mediarange="855-190364" indexrange="855-906"></segmenturl>
 <segmenturl mediarange="190365-448322" indexrange="190365-190416"></segmenturl>
 <segmenturl mediarange="448323-628609" indexrange="448323-448374"></segmenturl>
 <segmenturl mediarange="628610-741660" indexrange="628610-628661"></segmenturl>
 <segmenturl mediarange="741661-1149015" indexrange="741661-741712"></segmenturl>
 <segmenturl mediarange="1149016-1761260" indexrange="1149016-1149067"></segmenturl>
 <segmenturl mediarange="1761261-1829636" indexrange="1761261-1761312"></segmenturl>
 <segmenturl mediarange="1829637-2343368" indexrange="1829637-1829688"></segmenturl>
 <segmenturl mediarange="2343369-2759155" indexrange="2343369-2343420"></segmenturl>
 <segmenturl mediarange="2759156-3120911" indexrange="2759156-2759207"></segmenturl>
 <segmenturl mediarange="3120912-3255416" indexrange="3120912-3120963"></segmenturl>
 <segmenturl mediarange="3255417-3617692" indexrange="3255417-3255468"></segmenturl>
 <segmenturl mediarange="3617693-3910773" indexrange="3617693-3617744"></segmenturl>
 <segmenturl mediarange="3910774-4097693" indexrange="3910774-3910825"></segmenturl>
 <segmenturl mediarange="4097694-4266685" indexrange="4097694-4097745"></segmenturl>
 <segmenturl mediarange="4266686-4609479" indexrange="4266686-4266737"></segmenturl>
 <segmenturl mediarange="4609480-4719699" indexrange="4609480-4609531"></segmenturl>
 <segmenturl mediarange="4719700-4833193" indexrange="4719700-4719751"></segmenturl>
 <segmenturl mediarange="4833194-4905000" indexrange="4833194-4833245"></segmenturl>
 <segmenturl mediarange="4905001-5046627" indexrange="4905001-4905052"></segmenturl>
 </segmentlist>
 </representation>
 </adaptationset>
 <adaptationset contenttype="audio" startwithsap="1" segmentalignment="true" bitstreamswitching="true" lang="eng">
 <representation mimetype="audio/mp4" codecs="mp4a.40.2" bandwidth="128000" audiosamplingrate="44100">
 <audiochannelconfiguration schemeiduri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"></audiochannelconfiguration>
 <baseurl>dash-stream1.mp4</baseurl>
 <segmentlist timescale="1000000" duration="5000000" startnumber="1">
 <initialization range="0-764"></initialization>
 <segmenturl mediarange="765-82409" indexrange="765-816"></segmenturl>
 <segmenturl mediarange="82410-163592" indexrange="82410-82461"></segmenturl>
 <segmenturl mediarange="163593-244493" indexrange="163593-163644"></segmenturl>
 <segmenturl mediarange="244494-325181" indexrange="244494-244545"></segmenturl>
 <segmenturl mediarange="325182-406218" indexrange="325182-325233"></segmenturl>
 <segmenturl mediarange="406219-487174" indexrange="406219-406270"></segmenturl>
 <segmenturl mediarange="487175-568100" indexrange="487175-487226"></segmenturl>
 <segmenturl mediarange="568101-649853" indexrange="568101-568152"></segmenturl>
 <segmenturl mediarange="649854-732519" indexrange="649854-649905"></segmenturl>
 <segmenturl mediarange="732520-813751" indexrange="732520-732571"></segmenturl>
 <segmenturl mediarange="813752-895429" indexrange="813752-813803"></segmenturl>
 <segmenturl mediarange="895430-976537" indexrange="895430-895481"></segmenturl>
 <segmenturl mediarange="976538-1058579" indexrange="976538-976589"></segmenturl>
 <segmenturl mediarange="1058580-1139556" indexrange="1058580-1058631"></segmenturl>
 <segmenturl mediarange="1139557-1220802" indexrange="1139557-1139608"></segmenturl>
 <segmenturl mediarange="1220803-1301723" indexrange="1220803-1220854"></segmenturl>
 <segmenturl mediarange="1301724-1382546" indexrange="1301724-1301775"></segmenturl>
 <segmenturl mediarange="1382547-1464086" indexrange="1382547-1382598"></segmenturl>
 <segmenturl mediarange="1464087-1546573" indexrange="1464087-1464138"></segmenturl>
 <segmenturl mediarange="1546574-1627881" indexrange="1546574-1546625"></segmenturl>
 <segmenturl mediarange="1627882-1710185" indexrange="1627882-1627933"></segmenturl>
 <segmenturl mediarange="1710186-1791593" indexrange="1710186-1710237"></segmenturl>
 <segmenturl mediarange="1791594-1872889" indexrange="1791594-1791645"></segmenturl>
 <segmenturl mediarange="1872890-1954238" indexrange="1872890-1872941"></segmenturl>
 <segmenturl mediarange="1954239-2036069" indexrange="1954239-1954290"></segmenturl>
 <segmenturl mediarange="2036070-2117365" indexrange="2036070-2036121"></segmenturl>
 <segmenturl mediarange="2117366-2198435" indexrange="2117366-2117417"></segmenturl>
 <segmenturl mediarange="2198436-2279764" indexrange="2198436-2198487"></segmenturl>
 <segmenturl mediarange="2279765-2362061" indexrange="2279765-2279816"></segmenturl>
 <segmenturl mediarange="2362062-2443751" indexrange="2362062-2362113"></segmenturl>
 <segmenturl mediarange="2443752-2446358" indexrange="2443752-2443803"></segmenturl>
 </segmentlist>
 </representation>
 </adaptationset>
 <adaptationset contenttype="video" startwithsap="1" segmentalignment="true" bitstreamswitching="true" framerate="30000/1001" maxwidth="1280" maxheight="720" par="16:9" lang="und">
 <representation mimetype="video/mp4" codecs="avc1.64001f" bandwidth="300000" width="1280" height="720" sar="1:1">
 <baseurl>dash-stream2.mp4</baseurl>
 <segmentlist timescale="1000000" duration="5000000" startnumber="1">
 <initialization range="0-854"></initialization>
 <segmenturl mediarange="855-117134" indexrange="855-906"></segmenturl>
 <segmenturl mediarange="117135-288087" indexrange="117135-117186"></segmenturl>
 <segmenturl mediarange="288088-435178" indexrange="288088-288139"></segmenturl>
 <segmenturl mediarange="435179-520309" indexrange="435179-435230"></segmenturl>
 <segmenturl mediarange="520310-903223" indexrange="520310-520361"></segmenturl>
 <segmenturl mediarange="903224-1458808" indexrange="903224-903275"></segmenturl>
 <segmenturl mediarange="1458809-1524956" indexrange="1458809-1458860"></segmenturl>
 <segmenturl mediarange="1524957-2026894" indexrange="1524957-1525008"></segmenturl>
 <segmenturl mediarange="2026895-2406246" indexrange="2026895-2026946"></segmenturl>
 <segmenturl mediarange="2406247-2726266" indexrange="2406247-2406298"></segmenturl>
 <segmenturl mediarange="2726267-2852806" indexrange="2726267-2726318"></segmenturl>
 <segmenturl mediarange="2852807-3183174" indexrange="2852807-2852858"></segmenturl>
 <segmenturl mediarange="3183175-3467272" indexrange="3183175-3183226"></segmenturl>
 <segmenturl mediarange="3467273-3653219" indexrange="3467273-3467324"></segmenturl>
 <segmenturl mediarange="3653220-3821184" indexrange="3653220-3653271"></segmenturl>
 <segmenturl mediarange="3821185-4162978" indexrange="3821185-3821236"></segmenturl>
 <segmenturl mediarange="4162979-4273050" indexrange="4162979-4163030"></segmenturl>
 <segmenturl mediarange="4273051-4386223" indexrange="4273051-4273102"></segmenturl>
 <segmenturl mediarange="4386224-4458425" indexrange="4386224-4386275"></segmenturl>
 <segmenturl mediarange="4458426-4597502" indexrange="4458426-4458477"></segmenturl>
 </segmentlist>
 </representation>
 </adaptationset>
 <adaptationset contenttype="audio" startwithsap="1" segmentalignment="true" bitstreamswitching="true" lang="eng">
 <representation mimetype="audio/mp4" codecs="mp4a.40.2" bandwidth="128000" audiosamplingrate="44100">
 <audiochannelconfiguration schemeiduri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"></audiochannelconfiguration>
 <baseurl>dash-stream3.mp4</baseurl>
 <segmentlist timescale="1000000" duration="5000000" startnumber="1">
 <initialization range="0-764"></initialization>
 <segmenturl mediarange="765-82409" indexrange="765-816"></segmenturl>
 <segmenturl mediarange="82410-163592" indexrange="82410-82461"></segmenturl>
 <segmenturl mediarange="163593-244493" indexrange="163593-163644"></segmenturl>
 <segmenturl mediarange="244494-325181" indexrange="244494-244545"></segmenturl>
 <segmenturl mediarange="325182-406218" indexrange="325182-325233"></segmenturl>
 <segmenturl mediarange="406219-487174" indexrange="406219-406270"></segmenturl>
 <segmenturl mediarange="487175-568100" indexrange="487175-487226"></segmenturl>
 <segmenturl mediarange="568101-649853" indexrange="568101-568152"></segmenturl>
 <segmenturl mediarange="649854-732519" indexrange="649854-649905"></segmenturl>
 <segmenturl mediarange="732520-813751" indexrange="732520-732571"></segmenturl>
 <segmenturl mediarange="813752-895429" indexrange="813752-813803"></segmenturl>
 <segmenturl mediarange="895430-976537" indexrange="895430-895481"></segmenturl>
 <segmenturl mediarange="976538-1058579" indexrange="976538-976589"></segmenturl>
 <segmenturl mediarange="1058580-1139556" indexrange="1058580-1058631"></segmenturl>
 <segmenturl mediarange="1139557-1220802" indexrange="1139557-1139608"></segmenturl>
 <segmenturl mediarange="1220803-1301723" indexrange="1220803-1220854"></segmenturl>
 <segmenturl mediarange="1301724-1382546" indexrange="1301724-1301775"></segmenturl>
 <segmenturl mediarange="1382547-1464086" indexrange="1382547-1382598"></segmenturl>
 <segmenturl mediarange="1464087-1546573" indexrange="1464087-1464138"></segmenturl>
 <segmenturl mediarange="1546574-1627881" indexrange="1546574-1546625"></segmenturl>
 <segmenturl mediarange="1627882-1710185" indexrange="1627882-1627933"></segmenturl>
 <segmenturl mediarange="1710186-1791593" indexrange="1710186-1710237"></segmenturl>
 <segmenturl mediarange="1791594-1872889" indexrange="1791594-1791645"></segmenturl>
 <segmenturl mediarange="1872890-1954238" indexrange="1872890-1872941"></segmenturl>
 <segmenturl mediarange="1954239-2036069" indexrange="1954239-1954290"></segmenturl>
 <segmenturl mediarange="2036070-2117365" indexrange="2036070-2036121"></segmenturl>
 <segmenturl mediarange="2117366-2198435" indexrange="2117366-2117417"></segmenturl>
 <segmenturl mediarange="2198436-2279764" indexrange="2198436-2198487"></segmenturl>
 <segmenturl mediarange="2279765-2362061" indexrange="2279765-2279816"></segmenturl>
 <segmenturl mediarange="2362062-2443751" indexrange="2362062-2362113"></segmenturl>
 <segmenturl mediarange="2443752-2446358" indexrange="2443752-2443803"></segmenturl>
 </segmentlist>
 </representation>
 </adaptationset>
 </period>
</mpd>





<mpd xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" mediapresentationduration="PT5M24.4S" maxsegmentduration="PT5.0S" minbuffertime="PT10.8S">
 <programinformation>
 </programinformation>
 <servicedescription>
 </servicedescription>
 <period start="PT0.0S">
 <adaptationset contenttype="video" startwithsap="1" segmentalignment="true" bitstreamswitching="true" framerate="30/1" maxwidth="854" maxheight="480" par="16:9" lang="und">
 <representation mimetype="video/mp4" codecs="avc1.64001f" bandwidth="750000" width="854" height="480" sar="1280:1281">
 <segmenttemplate timescale="15360" initialization="dash_init_$RepresentationID$.m4s" media="dash_chunk_$RepresentationID$_$Number%05d$.m4s" startnumber="1">
 <segmenttimeline>
 <s t="0" d="95744"></s>
 <s d="93696"></s>
 <s d="117760"></s>
 <s d="126976"></s>
 <s d="152064"></s>
 <s d="109056"></s>
 <s d="128000" r="1"></s>
 <s d="110080"></s>
 <s d="105984" r="1"></s>
 <s d="96256"></s>
 <s d="114688"></s>
 <s d="122880"></s>
 <s d="106496"></s>
 <s d="113152"></s>
 <s d="126464"></s>
 <s d="91136"></s>
 <s d="77824"></s>
 <s d="115712"></s>
 <s d="93184"></s>
 <s d="154624"></s>
 <s d="129024"></s>
 <s d="141824"></s>
 <s d="116736"></s>
 <s d="92672"></s>
 <s d="106496"></s>
 <s d="153088"></s>
 <s d="121344"></s>
 <s d="130560"></s>
 <s d="87040"></s>
 <s d="81920"></s>
 <s d="128000"></s>
 <s d="99328"></s>
 <s d="128000"></s>
 <s d="159232"></s>
 <s d="158208"></s>
 <s d="78848"></s>
 <s d="112640"></s>
 <s d="95232"></s>
 <s d="168448"></s>
 <s d="167424"></s>
 <s d="40960"></s>
 </segmenttimeline>
 </segmenttemplate>
 </representation>
 </adaptationset>
 <adaptationset contenttype="audio" startwithsap="1" segmentalignment="true" bitstreamswitching="true" lang="eng">
 <representation mimetype="audio/mp4" codecs="mp4a.40.2" bandwidth="192000" audiosamplingrate="44100">
 <audiochannelconfiguration schemeiduri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"></audiochannelconfiguration>
 <segmenttemplate timescale="44100" initialization="dash_init_$RepresentationID$.m4s" media="dash_chunk_$RepresentationID$_$Number%05d$.m4s" startnumber="1">
 <segmenttimeline>
 <s t="0" d="220160"></s>
 <s d="221184" r="62"></s>
 <s d="151552"></s>
 </segmenttimeline>
 </segmenttemplate>
 </representation>
 </adaptationset>
 <adaptationset contenttype="video" startwithsap="1" segmentalignment="true" bitstreamswitching="true" framerate="30/1" maxwidth="1280" maxheight="720" par="16:9" lang="und">
 <representation mimetype="video/mp4" codecs="avc1.64001f" bandwidth="2048000" width="1280" height="720" sar="1:1">
 <segmenttemplate timescale="15360" initialization="dash_init_$RepresentationID$.m4s" media="dash_chunk_$RepresentationID$_$Number%05d$.m4s" startnumber="1">
 <segmenttimeline>
 <s t="0" d="96256"></s>
 <s d="93184"></s>
 <s d="117760"></s>
 <s d="78336"></s>
 <s d="106496"></s>
 <s d="123392"></s>
 <s d="80384"></s>
 <s d="128000" r="1"></s>
 <s d="109568"></s>
 <s d="164864"></s>
 <s d="128000"></s>
 <s d="181760"></s>
 <s d="91136"></s>
 <s d="84992"></s>
 <s d="127488"></s>
 <s d="103936"></s>
 <s d="101376"></s>
 <s d="77312"></s>
 <s d="115712"></s>
 <s d="93184"></s>
 <s d="154624"></s>
 <s d="129024"></s>
 <s d="132096"></s>
 <s d="126464"></s>
 <s d="92672"></s>
 <s d="107008"></s>
 <s d="152064"></s>
 <s d="122368"></s>
 <s d="130560"></s>
 <s d="85504"></s>
 <s d="82944"></s>
 <s d="128000"></s>
 <s d="99328"></s>
 <s d="128000"></s>
 <s d="161792"></s>
 <s d="155648"></s>
 <s d="78848"></s>
 <s d="113152"></s>
 <s d="119808"></s>
 <s d="144896"></s>
 <s d="116224"></s>
 <s d="83456"></s>
 <s d="7168"></s>
 </segmenttimeline>
 </segmenttemplate>
 </representation>
 </adaptationset>
 <adaptationset contenttype="audio" startwithsap="1" segmentalignment="true" bitstreamswitching="true" lang="eng">
 <representation mimetype="audio/mp4" codecs="mp4a.40.2" bandwidth="320000" audiosamplingrate="44100">
 <audiochannelconfiguration schemeiduri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"></audiochannelconfiguration>
 <segmenttemplate timescale="44100" initialization="dash_init_$RepresentationID$.m4s" media="dash_chunk_$RepresentationID$_$Number%05d$.m4s" startnumber="1">
 <segmenttimeline>
 <s t="0" d="220160"></s>
 <s d="221184" r="62"></s>
 <s d="151552"></s>
 </segmenttimeline>
 </segmenttemplate>
 </representation>
 </adaptationset>
 <adaptationset contenttype="video" startwithsap="1" segmentalignment="true" bitstreamswitching="true" framerate="30/1" maxwidth="1920" maxheight="1080" par="16:9" lang="und">
 <representation mimetype="video/mp4" codecs="avc1.640028" bandwidth="4096000" width="1920" height="1080" sar="1:1">
 <segmenttemplate timescale="15360" initialization="dash_init_$RepresentationID$.m4s" media="dash_chunk_$RepresentationID$_$Number%05d$.m4s" startnumber="1">
 <segmenttimeline>
 <s t="0" d="86016"></s>
 <s d="103424"></s>
 <s d="95232"></s>
 <s d="95744"></s>
 <s d="111616"></s>
 <s d="123392"></s>
 <s d="80384"></s>
 <s d="128000" r="1"></s>
 <s d="109568"></s>
 <s d="157184"></s>
 <s d="92160"></s>
 <s d="145408"></s>
 <s d="79872"></s>
 <s d="85504"></s>
 <s d="92160"></s>
 <s d="82944"></s>
 <s d="81408"></s>
 <s d="168960"></s>
 <s d="138240"></s>
 <s d="83456"></s>
 <s d="99328"></s>
 <s d="120320"></s>
 <s d="126464"></s>
 <s d="132608"></s>
 <s d="121856"></s>
 <s d="96768"></s>
 <s d="90112"></s>
 <s d="169472"></s>
 <s d="121856"></s>
 <s d="137216"></s>
 <s d="119808"></s>
 <s d="177152"></s>
 <s d="92160"></s>
 <s d="128000"></s>
 <s d="161792"></s>
 <s d="156160"></s>
 <s d="78336"></s>
 <s d="77824"></s>
 <s d="84480"></s>
 <s d="104960"></s>
 <s d="110592"></s>
 <s d="98304"></s>
 <s d="108544"></s>
 </segmenttimeline>
 </segmenttemplate>
 </representation>
 </adaptationset>
 <adaptationset contenttype="audio" startwithsap="1" segmentalignment="true" bitstreamswitching="true" lang="eng">
 <representation mimetype="audio/mp4" codecs="mp4a.40.2" bandwidth="320000" audiosamplingrate="44100">
 <audiochannelconfiguration schemeiduri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"></audiochannelconfiguration>
 <segmenttemplate timescale="44100" initialization="dash_init_$RepresentationID$.m4s" media="dash_chunk_$RepresentationID$_$Number%05d$.m4s" startnumber="1">
 <segmenttimeline>
 <s t="0" d="220160"></s>
 <s d="221184" r="62"></s>
 <s d="151552"></s>
 </segmenttimeline>
 </segmenttemplate>
 </representation>
 </adaptationset>
 </period>
</mpd>



Do I really need multiple video files in different resolutions ? If not, then how would I go about making the necessary files ? Thanks in advance !