Recherche avancée

Médias (2)

Mot : - Tags -/rotation

Autres articles (110)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    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 (...)

Sur d’autres sites (12839)

  • FFMpeg extremely slow - when called from asp.net

    9 juillet 2013, par Daveo

    I have a C# .NET website hosted on WIN2003 IIS6. This calls a .exe I have made (also in .net) using System.Diagnostics.Process which in turn calls a .bat script to convert a video into web formats (h264/MP4 and WEBM)

    ::Make MP4 ffmpeg.exe -i "%1" -y -vcodec libx264 -pix_fmt yuv420p
    -vprofile high -b:v 600k -maxrate 600k -bufsize 1200k -s 480x320 -threads 0 -acodec libvo_aacenc -b:a 128k "%2\video.mp4"

    ::Make WemM (VP8 / Vorbis) ffmpeg.exe -i "%1" -y -vcodec libvpx -b:v
    600k -maxrate 600k -bufsize 1200k -s 480x320 -threads 3 -acodec
    libvorbis -f webm "%2\video.webm"

    When I test it it seems to work fine a 70Mb input file will take about 4 minute to convert to mp4 then 6 minutes to convert to webm. Which is fine ! However whenever the customer test it the ffmpeg encoding taking HOURS (5 - 10 hours for one video) .

    When I look at windows task manager it shows a 2-3 instances of ffmpeg using cpu. When I refresh the output folder I can see the file increasing at 1Kb / second very slow. Why could this be happening ?

    my .net code

    private  bool Convert(string inputFile, string outputFolder)
           {
               string exePath = ConfigurationManager.AppSettings["BatchFile"];
               ProcessStartInfo startInfo = new ProcessStartInfo(exePath);

               startInfo.Arguments = string.Format("{0} {1}", inputFile, outputFolder);
               startInfo.FileName = exePath;
               startInfo.UseShellExecute = true;
               startInfo.CreateNoWindow = true;


               using (Process process = new Process())
               {
                   process.StartInfo = startInfo;

                   try
                   {
                       bool success;
                       int waitTimeInMinutes = int.Parse(ConfigurationManager.AppSettings["VideoConversionTimeout"]);
                       process.Start();
                       process.WaitForExit(1000 * 60 * waitTimeInMinutes); // Give up after Xmins

                       success = (process.ExitCode == 0);

                       return success;

                   }
                   catch (Exception e)
                   {
                       log.ErrorException("Main exception", e);
                       return false;
                   }
               }
           }
  • MPEG DASH - do I need to have audio and video tracks as seperate source file for creating DASH package using mp4box

    10 juillet 2016, par Tarun

    I have one source mp4, I tried to create MPEG DASH package using mp4box by GPAC.
    I am able to play output MPD files in OSMO4 player by GPAC.

    However I am not able to play the same in DASH JS player @ http://dashif.org/reference/players/javascript/0.2.3/index.html

    When I try to play the mpd in it I get error "Error creating source buffer"

    I tried reading their MPD files, and I found that those guys are using audio and video as separate source track.

    Ques1) Does DASH specs states that audio and video tracks should be seprate source tracks ?

    Ques2) Please find below the MPD file created by me, Let me know if anybody thinks that there is a problem in it

    <mpd type="static" xmlns="urn:mpeg:DASH:schema:MPD:2011" profiles="urn:mpeg:dash:profile:full:2011" minbuffertime="PT1.5S" mediapresentationduration="PT0H2M31.63S">
    <programinformation moreinformationurl="http://gpac.sourceforge.net">

    </programinformation>
    <period start="PT0S" duration="PT0H2M31.63S">
     <adaptationset>
    <contentcomponent contenttype="video"></contentcomponent>
    <contentcomponent contenttype="audio" lang="und"></contentcomponent>
    <segmenttemplate initialization="flight_init.mp4"></segmenttemplate>
    <representation mimetype="video/mp4" codecs="avc1.64001f,mp4a.40.02" width="1280" height="720" samplerate="44100" numchannels="2" lang="und" startwithsap="1" bandwidth="3096320">
    <segmenttemplate timescale="1000" duration="20164" media="flight_test_flight_3000$Number$.mp4" startnumber="1"></segmenttemplate>
    </representation>
    <representation mimetype="video/mp4" codecs="avc1.64001e,mp4a.40.02" width="640" height="360" samplerate="44100" numchannels="2" lang="und" startwithsap="1" bandwidth="1119428">
    <segmenttemplate timescale="1000" duration="20099" media="flight_test_flight_1000$Number$.mp4" startnumber="1"></segmenttemplate>
    </representation>
    <representation mimetype="video/mp4" codecs="avc1.640014,mp4a.40.02" width="320" height="180" samplerate="44100" numchannels="2" lang="und" startwithsap="1" bandwidth="722208">
    <segmenttemplate timescale="1000" duration="20164" media="flight_test_flight_600$Number$.mp4" startnumber="1"></segmenttemplate>
    </representation>
    </adaptationset>
    </period>
    </mpd>
  • x86inc : Utilize the shadow space on 64-bit Windows

    11 mai 2013, par Henrik Gramner
    x86inc : Utilize the shadow space on 64-bit Windows
    

    Store XMM6 and XMM7 in the shadow space in functions that clobbers them.
    This way we don’t have to adjust the stack pointer as often,
    reducing the number of instructions as well as code size.

    • [DH] common/x86/deblock-a.asm
    • [DH] common/x86/mc-a.asm
    • [DH] common/x86/pixel-a.asm
    • [DH] common/x86/sad-a.asm
    • [DH] common/x86/x86inc.asm
    • [DH] tools/checkasm-a.asm