<div dir="ltr"><div>Hello,<br>I'm using now working solution like this one:</div><div><br><font face="monospace">AVDictionary* optionsDASH = 0;<br>av_dict_set(&optionsDASH, "use_timeline" , "1", 0);<br>av_dict_set(&optionsDASH, "use_template" , "1", 0); <br></font></div><div><font face="monospace">av_dict_set(&optionsDASH, "adaptation_sets", "id=0,streams=v id=1,streams=a", 0);<br>fs::path fsPath = cMediaName;<br>fsPath.remove_filename();<br>std::string initPath = fsPath.u8string();<br>std::string sgmtPath = fsPath.u8string();<br>initPath.append("\\init$RepresentationID$.$ext$");<br>sgmtPath.append("\\clip$RepresentationID$-$Number%05d$.$ext$");<br>av_dict_set(&optionsDASH, "init_seg_name" , initPath.c_str(), 0);<br>av_dict_set(&optionsDASH, "media_seg_name", sgmtPath.c_str(), 0);</font><br></div><div><font face="monospace"><br></font></div><div><font face="arial, sans-serif">So, questions are:</font></div><div><font face="arial, sans-serif">1. Is it possible to store A/V fragments to different folders?<br>2. I would like to store fragments with a relative path, is there a way to do that?</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">I mean:</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">out.mpd</font></div><div><font face="arial, sans-serif">AUDIO_FOLDER<br>VIDEO_FOLDER</font></div><div><br></div><div>and inside mpd manifest should be something like:<font face="monospace"><br><SegmentTemplate timescale="60000" media="VIDEO_FOLDER
/clip-V-$Time$.m4s" initialization="
VIDEO_FOLDER
/clip-init.m4s
"><br></font></div><div><font face="monospace">...</font></div><div><font face="monospace"><SegmentTemplate timescale="60000" media="
AUDIO_FOLDER
/clip-V-$Time$.m4s" initialization="
AUDIO_FOLDER
/clip-init.m4s
"> </font><br></div><div><br></div><div><br></div><div>Thanks.</div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-family:arial;font-size:small"><span style="font-family:'Courier New';color:rgb(0,0,0);background-color:transparent">--</span></div><div style="font-family:arial;font-size:small"><span style="font-family:'Courier New';color:rgb(0,0,0);background-color:transparent">Yury Kisliak</span></div><div style="font-family:arial;font-size:small"><font face="Courier New"><u><a href="mailto:fas.ysk@gmail.com" target="_blank">fas.ysk@gmail.com</a></u></font></div><div style="font-family:arial;font-size:small"><span style="font-family:'Courier New';color:rgb(0,0,0);background-color:transparent">Skype: fas_tm_an</span></div><div style="font-size:small"><font face="monospace, monospace"><font><span style="color:rgb(0,0,0);background-color:transparent">Mob : </span></font></font><span style="font-family:monospace,monospace;font-size:12.8000001907349px">+39 324 8243 304</span></div></div></div></div></div></div></div></div>