Recherche avancée

Médias (91)

Autres articles (43)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (3412)

  • Anomalie #3523 : Gestion des plugins avec spip 3.0.20

    4 août 2015, par Philippe MARECHAL

    Bonsoir et merci pour les retours.

    Le phpinfo est visible à cette adresse : http://pmarechal.fr/phpinfo.htm.
    La section zend opcache contient la conf opcache.

    Je suis sous PHP 5.5 (mais un autre hébergé a le même pb en 5.4) avec MySQL

    Concernant mon site :
    nativement sous SPIP 3.0.x, mis à jour au fur et à mesure de la sortie des nouvelles versions.
    La 3.0.20 fonctionnait sans pb jusqu’à la mise en place chez mon hébergeur Web4all d’un serveur dédié à l’administration des CMS (et utilisant opcache).
    Je suis ensuite passé à SPIP 3.1 beta, build 22323 (je suis un peu en retard...) pour voir si ça changeait quelque chose, mais le pb de lenteur est resté

  • Could not load file or assembly 'Accord.Video.FFMPEG.x64.DLL' or one of its dependencies. The specified module could not be found

    24 septembre 2020, par Sandeep Kumar

    Trying to merge image and audio file to create a video file.

    


    I have tried

    


      

    • changing the arch (x86 and x64).
    • 


    • Manually moved all the dependent .dlls for "Accord.Video.FFMPEG.x64.DLL" to the the bin.
    • 


    • used both Accord and Aforge, both of them have the same issue.
    • 


    • installed VC++ redistribuable 2013 and 2015-19
    • 


    


    Following is the base code :

    


    private const string _basePath = @"D:\R&D Projects\AudioVideoConvertor\VideoAudioMerger\VideoAudioMerger\Images\";

    protected void Page_Load(object sender, EventArgs e)
    {
        int width = 2500;
        int height = 2100;
        int frameRate = 10;// Shuld be fix
        using (var videoWriter = new VideoFileWriter())
        {
            // default frame size 340, 220
            videoWriter.Open(_basePath + "test.avi", width, height, frameRate, VideoCodec.WMV1);
            ResizeNearestNeighbor filter = new ResizeNearestNeighbor(width, height);
            var images = Directory.GetFiles(_basePath, "*.jpg");
            var tfile = TagLib.File.Create(_basePath + "audio.mp3");
            //string title = tfile.Tag.Title;
            TimeSpan duration = tfile.Properties.Duration;
            decimal timeinSecond = Math.Round((Convert.ToDecimal(duration.TotalSeconds) * frameRate) / images.Length);
            foreach (string img in images)
            {

                using (Bitmap image = Bitmap.FromFile(img) as Bitmap)
                {
                    //As per audio length rotate image in video frame.
                    for (int i = 0; i < timeinSecond; i++)
                    {
                        videoWriter.WriteVideoFrame(filter.Apply(image));
                    }
                }
            }
            videoWriter.Close();
            MergeAudioAndVideo();
        }
    }

    private static void MergeAudioAndVideo()
    {

        File.Delete(_basePath + "mergedvideo.avi");
        Process pss = new Process();
        ProcessStartInfo si = new ProcessStartInfo();
        si.FileName = @"D:\R&D Projects\AudioVideoConvertor\VideoAudioMerger\VideoAudioMerger\ffmpeg-win64-static\bin\ffmpeg.exe";
        si.UseShellExecute = false;
        si.CreateNoWindow = true;
        si.Arguments = "-i \"" + _basePath + "test.avi\" -i \"" + _basePath + "audio.mp3\" -c:v copy -c:a copy -map 0:v:0 -map 1:a:0 \"" + _basePath + "mergevideo1" + ".avi\"";
        pss.StartInfo = si;
        pss.Start();
        pss.WaitForExit();
        File.Delete(_basePath + "test.avi");
    }


    


    Also, putting in the link to this sample project, https://drive.google.com/file/d/1JAt8ZUCCsIwez0fkdvq_2FGeGXif5rwu/view?usp=sharing.

    


    Please help out in finding why this issue is coming ?

    


    Issue :

    


    Could not load file or assembly 'Accord.Video.FFMPEG.x64.DLL' or one of its dependencies. The specified module could not be found.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Accord.Video.FFMPEG.x64.DLL' or one of its dependencies. The specified module could not be found.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[FileNotFoundException: Could not load file or assembly 'Accord.Video.FFMPEG.x64.DLL' or one of its dependencies. The specified module could not be found.]
 System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +232
 System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) +113
 System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +23
 System.Reflection.Assembly.Load(String assemblyString) +35
 System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +49

[ConfigurationErrorsException: Could not load file or assembly 'Accord.Video.FFMPEG.x64.DLL' or one of its dependencies. The specified module could not be found.]
 System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +762
 System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +259
 System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +167
 System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +238
 System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies() +78
 System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +334
 System.Web.Compilation.BuildManager.ExecutePreAppStart() +178
 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +746

[HttpException (0x80004005): Could not load file or assembly 'Accord.Video.FFMPEG.x64.DLL' or one of its dependencies. The specified module could not be found.]
 System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +552
 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +122
 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +737


    


  • FFMpeg + OpenAL

    24 juillet 2013, par Dekowta

    I've been having a problem decoding different codecs into PCM 16 little-endian which is the supported format for OpenAL (I believe that is correct).

    I am using the windows pre-compiled libraries for FFMpeg (dont know if that effects anything).

    The code I have so far is here http://pastebin.com/T4wGL72a

    I have aiff and wav working (though with single channel OpenAL wants to have half the frequency and im not really sure why).

    The main problem is encoded audio files.

    mp3 files play sometimes (sometime get missing header) but end up stuttering with noise and are high pitched.

    ac3 files played the first preloaded buffers and then the frame would not have any more decoded data in the data array (did not check to see if the packet fetched encoded data or not).

    ogg files are the same as ac3

    m4a files would never finish the frame so I have no idea what happens when they do.

    wma files stutter and have a lot of noise but it is not high pitched like mp3 files

    I don't work with audio very often so its difficult for me to get my head round it and this is also the first time I've worked with FFMpeg.

    I'm sure there is something i'm doing very wrong I just need a hand on pointing out where it is.

    Thanks

    Chris.