
Recherche avancée
Autres articles (43)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (8334)
-
FFMpeg command line to create specific MPD Manifest
22 février 2024, par Seth HabermanI have tried to get an FFMpeg command to yield the below manifest. Right below is the FFmpeg command that I have tried to make but it has not created the same manifest file as what I am trying to replicate a stream from a third party system to add my own stream to their system so that it will actually play back.


"$ffmpeg_path" \
 -i "$input_file" \
 -r 30000/1001 \
 -vf "scale=3840:1080" \
 -c:v libx265 \
 -c:a aac -b:a 128k \
 -ar 48000 \
 -f dash \
 -use_timeline 1 \
 -use_template 1 \
 -init_seg_name "init-stream\$RepresentationID\$.m4s" \
 -media_seg_name "chunk-stream\$RepresentationID\$-\$Number%05d\$.m4s" \
 -seg_duration 3 \
 "$output_file"



The code above yields a manifest that is structured like below.


<?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="PT1M35.1S" maxsegmentduration="PT3.0S" minbuffertime="PT16.8S">
 <programinformation>
 </programinformation>
 <servicedescription>
 </servicedescription>
 <period start="PT0.0S">
 <adaptationset contenttype="video" startwithsap="1" segmentalignment="true" bitstreamswitching="true" framerate="30000/1001" maxwidth="3840" maxheight="1080" par="32:9">
 <representation mimetype="video/mp4" codecs="hev1" bandwidth="2227590" width="3840" height="1080" sar="1:1">
 <segmenttemplate timescale="30000" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startnumber="1">
 <segmenttimeline>
 <s t="0" d="247247"></s>
 <s d="250250" r="9"></s>
 <s d="104104"></s>
 </segmenttimeline>
 </segmenttemplate>
 </representation>
 </adaptationset>
 <adaptationset contenttype="audio" startwithsap="1" segmentalignment="true" bitstreamswitching="true">
 <representation mimetype="audio/mp4" codecs="mp4a.40.2" bandwidth="128000" audiosamplingrate="48000">
 <audiochannelconfiguration schemeiduri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="1"></audiochannelconfiguration>
 <segmenttemplate timescale="48000" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startnumber="1">
 <segmenttimeline>
 <s t="0" d="143360"></s>
 <s d="144384" r="29"></s>
 <s d="93120"></s>
 </segmenttimeline>
 </segmenttemplate>
 </representation>
 </adaptationset>
 </period>
</mpd>




The problem is that I I need it to create a stream where the manifest looks like the manifest below. If it doesn't look or function as below, it will not playback correctly on this third parties system.


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<mpd xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" mediapresentationduration="PT1M35.7S" minbuffertime="PT5.9S">
 <programinformation></programinformation>
 <period start="PT0.0S">
 <adaptationset contenttype="video" segmentalignment="true" bitstreamswitching="true">
 <representation bandwidth="12000000" width="3840" height="1080" framerate="30000/1001" mimetype="video/mp4" codecs="hev1">
 <segmenttemplate media="chunk-stream$RepresentationID$-$Number%05d$.m4s" initialization="init-stream$RepresentationID$.m4s" startnumber="1" timescale="30000">
 <segmenttimeline>
 <s t="0" d="89089" r="31"></s>
 <s d="21021"></s>
 </segmenttimeline>
 </segmenttemplate>
 </representation>
 </adaptationset>
 <adaptationset contenttype="audio" segmentalignment="true" bitstreamswitching="true">
 <representation bandwidth="1536000" audiosamplingrate="48000" mimetype="audio/mp4" codecs="mp4a.40.2">
 <audiochannelconfiguration schemeiduri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="16"></audiochannelconfiguration>
 <segmenttemplate media="chunk-stream$RepresentationID$-$Number%05d$.m4s" initialization="init-stream$RepresentationID$.m4s" startnumber="1" timescale="48000">
 <segmenttimeline>
 <s t="0" d="143360"></s>
 <s d="142336" r="2"></s>
 <s d="143360"></s>
 <s d="142336" r="3"></s>
 <s d="143360"></s>
 <s d="142336" r="3"></s>
 <s d="143360"></s>
 <s d="142336" r="3"></s>
 <s d="143360"></s>
 <s d="142336" r="3"></s>
 <s d="143360"></s>
 <s d="142336" r="3"></s>
 <s d="143360"></s>
 <s d="142336" r="1"></s>
 <s d="32768"></s>
 </segmenttimeline>
 </segmenttemplate>
 </representation>
 </adaptationset>
 </period>
</mpd>



-
ffprobe or avprobe not found. Please install one
13 février 2024, par AnassI want to add tags to mp3 converted by youtube-dl & ffmpeg :




youtube-dl -o
'/Output/qpgTC9MDx1o.mp3' qpgTC9MDx1o -f bestaudio —extract-audio —metadata-from-title "%(artist)s -
%(title)s" 2>&1




I have this error in the output result :




[youtube] qpgTC9MDx1o : Downloading webpage [youtube] qpgTC9MDx1o :
Extracting video information [youtube] qpgTC9MDx1o : Downloading js
player en_US-vfluGO3jj [youtube] qpgTC9MDx1o : Downloading DASH
manifest [download]
/var/www/vhosts/mp3-y.com/httpdocs/Mp3_Output/quick-mp3.com-JALAL-EL-HAMDAOUI-2007-ARRASSIATES-VOL2-F1P-9CDoxlQ.mp3
has already been downloaded [download] 100% of 13.43MiB WARNING :
qpgTC9MDx1o : writing DASH m4a. Only some players support this
container. Install ffmpeg or avconv to fix this automatically.
[fromtitle] parsed artist : Maroon 5 [fromtitle] parsed title : Animals
ERROR : ffprobe or avprobe not found. Please install one.




-
ffprobe or avprobe not found. Please install one
24 janvier 2017, par Anass El Fakiri want to add tags to mp3 converted by youtube-dl & ffmpeg :
youtube-dl -o
’/Output/qpgTC9MDx1o.mp3’ qpgTC9MDx1o -f bestaudio —extract-audio —metadata-from-title "%(artist)s -
%(title)s" 2>&1i have this error in output result :
[youtube] qpgTC9MDx1o : Downloading webpage [youtube] qpgTC9MDx1o :
Extracting video information [youtube] qpgTC9MDx1o : Downloading js
player en_US-vfluGO3jj [youtube] qpgTC9MDx1o : Downloading DASH
manifest [download]
/var/www/vhosts/mp3-y.com/httpdocs/Mp3_Output/quick-mp3.com-JALAL-EL-HAMDAOUI-2007-ARRASSIATES-VOL2-F1P-9CDoxlQ.mp3
has already been downloaded [download] 100% of 13.43MiB WARNING :
qpgTC9MDx1o : writing DASH m4a. Only some players support this
container. Install ffmpeg or avconv to fix this automatically.
[fromtitle] parsed artist : Maroon 5 [fromtitle] parsed title : Animals
ERROR : ffprobe or avprobe not found. Please install one.