
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (45)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
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
Sur d’autres sites (6796)
-
FFMPEG : crop a video without loosing the quality
21 juillet 2016, par mranaI have mp4 video of
1920 x 1080
.
I would like to crop the video to480 x 270
I am using the following command :
ffmpeg -i input.mp4 -filter:v "crop=480:270:200:200" -crf 23 output.mp4
also used
ffmpeg -i input.mp4 -filter:v "crop=480:270:200:100" -c:a copy -qp 0 output.mp4
I used-crf 23
and-qp 0
for looseless video cropping, but after the cropping video is loosing its quality.Does anyone knows how i can crop the video without loosing the quality ?
Here is the console output :
https://www.dropbox.com/s/1r4pdgdmtj9ilnm/consol-output.rtf?dl=0Thanks so much
-
FFMPEG : How to manually select video quality from mpd manifest ?
18 juin 2022, par DeoxysI want to ask what command should I use to select video quality from mpd manifest ?



mpd manifest link



https://anevia115(dot)mncnow(dot)id/vod/eds/kiko-season1-eps1-mobil-kabur-anv6/_/sa_dash_vmx/kiko-season1-eps1-mobil-kabur-anv6.mpd




Here, the 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="PT7M59.240000S" minbuffertime="PT0S" maxsegmentduration="PT4S">
 <period duration="PT7M59.240000S">
 <adaptationset group="1" mimetype="audio/mp4" lang="en" contenttype="audio" minbandwidth="32000" maxbandwidth="64000">
<contentprotection schemeiduri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"></contentprotection><contentprotection schemeiduri="urn:mpeg:dash:mp4protection:2011" value="cenc"></contentprotection> <role schemeiduri="urn:mpeg:dash:role:2011" value="main"></role>
 <representation bandwidth="32000" audiosamplingrate="22050" codecs="mp4a.40.2">
 <audiochannelconfiguration schemeiduri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"></audiochannelconfiguration>
 <segmenttemplate timescale="10000000" initialization="kiko-season1-eps1-mobil-kabur-anv6-$RepresentationID$-init.mp4" media="kiko-season1-eps1-mobil-kabur-anv6-$RepresentationID$-$Time$.mp4">
 <segmenttimeline>
 <s t="0" d="36223129" r="1"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758731"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758731"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129" r="1"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758731"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758731"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129" r="1"></s>
 <s d="35758731"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758731"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758731"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758731"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758731"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758731"></s>
 <s d="36223129" r="1"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758731"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758731"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129" r="1"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="3715193"></s>
 </segmenttimeline>
 </segmenttemplate>
 </representation>
 <representation bandwidth="64000" audiosamplingrate="22050" codecs="mp4a.40.2">
 <audiochannelconfiguration schemeiduri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"></audiochannelconfiguration>
 <segmenttemplate timescale="10000000" initialization="kiko-season1-eps1-mobil-kabur-anv6-$RepresentationID$-init.mp4" media="kiko-season1-eps1-mobil-kabur-anv6-$RepresentationID$-$Time$.mp4">
 <segmenttimeline>
 <s t="0" d="36223129" r="1"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758731"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758731"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129" r="1"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758731"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758731"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129" r="1"></s>
 <s d="35758731"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758731"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758731"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758731"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758731"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758731"></s>
 <s d="36223129" r="1"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758731"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758731"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129" r="1"></s>
 <s d="35758730"></s>
 <s d="36223130"></s>
 <s d="35758730"></s>
 <s d="36223129"></s>
 <s d="3715193"></s>
 </segmenttimeline>
 </segmenttemplate>
 </representation>
 </adaptationset>
 <adaptationset group="2" framerate="25" mimetype="video/mp4" startwithsap="1" contenttype="video" par="16:9" minbandwidth="150119" maxbandwidth="5002530" minwidth="256" maxwidth="1920" minheight="144" maxheight="1080">
<contentprotection schemeiduri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"></contentprotection><contentprotection schemeiduri="urn:mpeg:dash:mp4protection:2011" value="cenc"></contentprotection> <role schemeiduri="urn:mpeg:dash:role:2011" value="main"></role>
 <segmenttemplate timescale="10000000" initialization="kiko-season1-eps1-mobil-kabur-anv6-$RepresentationID$-init.mp4" media="kiko-season1-eps1-mobil-kabur-anv6-$RepresentationID$-$Time$.mp4">
 <segmenttimeline>
 <s t="0" d="36000000" r="132"></s>
 <s d="4400000"></s>
 </segmenttimeline>
 </segmenttemplate>
 <representation bandwidth="150119" width="256" height="144" codecs="avc1.4d400c"></representation>
 <representation bandwidth="500565" width="640" height="360" codecs="avc1.4d401e"></representation>
 <representation bandwidth="1001193" width="854" height="480" codecs="avc1.4d401e"></representation>
 <representation bandwidth="2502286" width="1280" height="720" codecs="avc1.4d401f"></representation>
 <representation bandwidth="5002530" width="1920" height="1080" codecs="avc1.4d4028"></representation>
 </adaptationset>
 </period>
</mpd>




The video is not encrypted with DRM. When I tried to download with FFmpeg, success, but FFmpeg automatically select the worst quality (144p).



FFmpeg command I use :



ffmpeg -i https://anevia115(dot)mncnow(dot)id/vod/eds/kiko-season1-eps1-mobil-kabur-anv6/_/sa_dash_vmx/kiko-season1-eps1-mobil-kabur-anv6.mpd -c copy kiko1.mp4




Result from ffmpeg



ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the FFmpeg developers
 built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
 configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
 libavutil 55. 78.100 / 55. 78.100
 libavcodec 57.107.100 / 57.107.100
 libavformat 57. 83.100 / 57. 83.100
 libavdevice 57. 10.100 / 57. 10.100
 libavfilter 6.107.100 / 6.107.100
 libavresample 3. 7. 0 / 3. 7. 0
 libswscale 4. 8.100 / 4. 8.100
 libswresample 2. 9.100 / 2. 9.100
 libpostproc 54. 7.100 / 54. 7.100
[dash @ 0x562ae2e98000] Opening '[URL]https://anevia115(dot)mncnow(dot)id/vod/eds/kiko-season1-eps1-mobil-kabur-anv6/_/sa_dash_vmx/kiko-season1-eps1-mobil-kabur-anv6-avc1_150119=5-init.mp4[/URL]' for reading [dash @ 0x562ae2e98000] Could not read complete fragment.
[dash @ 0x562ae2e98000] Opening '[URL]https://anevia115(dot)mncnow(dot)id/vod/eds/kiko-season1-eps1-mobil-kabur-anv6/_/sa_dash_vmx/kiko-season1-eps1-mobil-kabur-anv6-avc1_150119=5-0.mp4[/URL]' for reading
[dash @ 0x562ae2e98000] Opening '[URL]https://anevia115(dot)mncnow(dot)id/vod/eds/kiko-season1-eps1-mobil-kabur-anv6/_/sa_dash_vmx/kiko-season1-eps1-mobil-kabur-anv6-mp4a_32000_eng=6-init.mp4[/URL]' for reading [dash @ 0x562ae2e98000] Could not read complete fragment.
[dash @ 0x562ae2e98000] Opening '[URL]https://anevia115(dot)mncnow(dot)id/vod/eds/kiko-season1-eps1-mobil-kabur-anv6/_/sa_dash_vmx/kiko-season1-eps1-mobil-kabur-anv6-mp4a_32000_eng=6-0.mp4[/URL]' for reading
[aac @ 0x562ae32ced00] channel element 2.3 is not allocated
[h264 @ 0x562ae32cc500] top block unavailable for requested intra mode -1
[h264 @ 0x562ae32cc500] error while decoding MB 0 0, bytestream 38
[h264 @ 0x562ae32cc500] concealing 144 DC, 144 AC, 144 MV errors in I frame
Input #0, dash, from '[URL]https://anevia115(dot)mncnow(dot)id/vod/eds/kiko-season1-eps1-mobil-kabur-anv6/_/sa_dash_vmx/kiko-season1-eps1-mobil-kabur-anv6.mpd[/URL]':
 Duration: 00:07:59.00, start: 0.000000, bitrate: 0 kb/s 
Program 0
 Stream #0:0: Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 256x144 [SAR 1:1 DAR 16:9], 153 kb/s, 25 fps, 25 tbr, 10000k tbn, 50 tbc 
 Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 32 kb/s
Output #0, mp4, to 'kiko1.mp4': 
 Metadata: 
 encoder : Lavf57.83.100 
 Stream #0:0: Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 256x144 [SAR 1:1 DAR 16:9], q=2-31, 153 kb/s, 25 fps, 25 tbr, 10000k tbn, 10000k tbc
Stream mapping: 
 Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[dash @ 0x562ae2e98000] Opening '[URL]https://anevia115(dot)mncnow(dot)id/vod/eds/kiko-season1-eps1-mobil-kabur-anv6/_/sa_dash_vmx/kiko-season1-eps1-mobil-kabur-anv6-mp4a_32000_eng=6-36223129.mp4[/URL]' for reading
[dash @ 0x562ae2e98000] Opening '[URL]https://anevia115(dot)mncnow(dot)id/vod/eds/kiko-season1-eps1-mobil-kabur-anv6/_/sa_dash_vmx/kiko-season1-eps1-mobil-kabur-anv6-avc1_150119=5-36000000.mp4[/URL]' for reading
....
....
frame=11978 fps= 99 q=-1.0 Lsize= 8891kB time=00:07:59.08 bitrate= 152.0kbits/s speed=3.97x
video:8779kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.269990%




Tried youtube-dl & streamlink but failed.
So, I use FFmpeg because it success to download the video and audio. I have read FFmpeg documentation but I have no idea what command should I use.
What command should I use to select another quality ? (ex : audio 64 kbps, video : 720p)





Note : just change (dot) to
.




-
please check encoding it is fastest or not
11 mars 2020, par Don Rigsi have a 2 line to convert from mp4 to avi
`avs2avi a.avs target.avi -c xvidffmpeg -i source.wav -i target.avi -c:a mp3 -c:v copy targetfinal.avi`
here it is the a.avs :
`LoadPlugin("C :\MEGUI\tools\ffms\ffms2.dll")
FFVideoSource("source.mp4", threads=1)
LoadPlugin("C :\AVISYNTH\plugins\zoom.dll")
Levels(0, 1.0, 250, 10, 255)
trim(20,960)
crop(4,4,-4,-4)
BilinearResize(1920,1080)AssumeScaledFPS(80,63).ChangeFPS(last)`
it seem not fast enough, can you have any advice to make it more faster ?