Recherche avancée

Médias (91)

Autres articles (93)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

  • La gestion des forums

    3 novembre 2011, par

    Si les forums sont activés sur le site, les administrateurs ont la possibilité de les gérer depuis l’interface d’administration ou depuis l’article même dans le bloc de modification de l’article qui se trouve dans la navigation de la page.
    Accès à l’interface de modération des messages
    Lorsqu’il est identifié sur le site, l’administrateur peut procéder de deux manières pour gérer les forums.
    S’il souhaite modifier (modérer, déclarer comme SPAM un message) les forums d’un article particulier, il a à sa (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (14703)

  • How to concatenate two MP4 files using FFmpeg ? [closed]

    14 septembre 2024, par Mark L

    I'm trying to concatenate two mp4 files using ffmpeg. I need this to be an automatic process hence why I chose ffmpeg. I'm converting the two files into .ts files and then concatenating them and then trying to encode that concatenated .ts file. The files are h264 and aac encoded and I'm hoping to keep the quality the same or as close to original as possible.

    


    ffmpeg -i part1.mp4 -vcodec copy -vbsf h264_mp4toannexb -acodec copy part1.ts
ffmpeg -i part2.mp4 -vcodec copy -vbsf h264_mp4toannexb -acodec copy part2.ts
cat part1.ts part2.ts > parts.ts
ffmpeg -y -i parts.ts -acodec copy -ar 44100 -ab 96k -coder ac -vbsf h264_mp4toannexb parts.mp4


    


    Unfortunately I'm getting the following error message coming back from ffmpeg during encoding :

    


    [h264 @ 0x1012600]sps_id out of range
[h264 @ 0x1012600]non-existing SPS 0 referenced in buffering period
[h264 @ 0x1012600]sps_id out of range
[h264 @ 0x1012600]non-existing SPS 0 referenced in buffering period
[NULL @ 0x101d600]error, non monotone timestamps 13779431 >= 13779431kbits/s    
av_interleaved_write_frame(): Error while opening file


    


    This happens about half way through encoding which makes me think that you can't concat two .ts files together and have it work.

    


  • How Read .mp4 video and then put it in NamedPipeServerStream ?

    23 mars 2019, par Oleg Pi

    How I Might Put .mp4 readed with StreamReader and then put it into pipe ?
    I need to read the data and send it to the pipe. I read the .mpg4 file. Then I process it through ffmpeg. Am I trying to send the file to the pipe correctly ?

    public void getVideoFramesFromLocalPath(string fileName, string outputFileName, int period)
       {
           Thread th1 = new Thread(new ParameterizedThreadStart(PipeLine));
           th1.Start(fileName);            

           int bitrate = 5000;
           int fps = 10;

           string strTakeFrame = $"-f image2pipe -i pipe:videoPipe -qscale:v 4 -vf fps=1/{period} {outputFileName}_%04d.jpg";      

           ffProcessStart(strTakeFrame);
       }

       private async void PipeLine(object fileName)
       {
           StreamReader SR = new StreamReader((string)fileName);
           NamedPipeServerStream pipeServer = new NamedPipeServerStream("videoPipe", PipeDirection.Out);
           pipeServer.WaitForConnection();
           StreamWriter SW = new StreamWriter(pipeServer);
           SW.Write(SR.ReadToEnd());
           SW.Flush();
       }
       static void ffProcessStart(string commandLine)
       {
           ProcessStartInfo startInfo = new ProcessStartInfo();            

           startInfo.CreateNoWindow = false;                                

           startInfo.UseShellExecute = false;                              

           startInfo.FileName = @"ffmpeg.exe";                            

           startInfo.WindowStyle = ProcessWindowStyle.Hidden;              

           startInfo.Arguments = commandLine;                              

           try
           {
               using (Process exeProcess = Process.Start(startInfo))      
               {
                   exeProcess.WaitForExit();                              
               }
           }
           catch (Exception e)
           {
               Console.WriteLine(e);
           }
       }
  • how to add hvt1 hvc2 to ffmpeg ?

    19 août 2020, par user10716022

    i only add libavformat library isom.c

    


    { AV_CODEC_ID_HEVC , MKTAG ('h', 'v', 'c', '2') }, /* HEVC / H.265 coded
with gpac */
 { AV_CODEC_ID_HEVC , MKTAG ('h', 'v', 't', '1') }, /* HEVC / H.265 coded
with gpac */


    


    i want use ffmpeg mpeg dash srd

    


    MPD video code ffmpeg do not have
this is my MPD

    


    &lt;?xml version="1.0"?>&#xA;&#xA;<mpd xmlns="urn:mpeg:dash:schema:mpd:2011" minbuffertime="PT1.500S" type="static" mediapresentationduration="PT0H3M37.792S" maxsegmentduration="PT0H0M5.000S" profiles="urn:mpeg:dash:profile:isoff-live:2011">&#xA; <programinformation moreinformationurl="http://gpac.io">&#xA;  &#xA; </programinformation>&#xA;&#xA; <period duration="PT0H3M37.792S">&#xA;  <adaptationset segmentalignment="true" maxwidth="1920" maxheight="1012" maxframerate="24" par="1920:1012" lang="und" startwithsap="1">&#xA;   <essentialproperty schemeiduri="urn:mpeg:dash:srd:2014" value="1,0,0,0,0"></essentialproperty>&#xA;   <segmenttemplate media="output_qp22_dash_track1_$Number$.m4s" initialization="hight01_set1_init.mp4" timescale="24000" startnumber="1" duration="120000"></segmenttemplate>&#xA;   <representation mimetype="video/mp4" codecs="hvc2.1.6.L186.80" width="1920" height="1012" framerate="24" sar="1:1" bandwidth="3010576">&#xA;   </representation>&#xA;  </adaptationset>&#xA;</period>&#xA;</mpd>&#xA;

    &#xA;