Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (97)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (11271)

  • using ffmpeg in XCode : Operation not permitted

    23 octobre 2019, par NCrusher

    In an effort to try to get to the bottom of the problem I discussed here, I decided to try to get what I was doing closer to the example I borrowed from when writing my code, which is described here.

    So instead of formatting my filters in another methods, I tried to code them directly into the method to run the conversion. Unfortunately this results in a very repetitive method, because I have to handle the switch statement for the different conversion choices here as well.

    So this is what my method looks like now :

    func ffmpegConvert() {
       guard let launchPath = Bundle.main.path(forResource: "ffmpeg", ofType: "") else { return }
       do {
           let conversionChoice = conversionOptionsPopup.indexOfSelectedItem
           switch conversionChoice {
               case 1 :
                   let convertTask: Process = Process()
                   convertTask.launchPath = launchPath
                   convertTask.arguments = [
                       "-y",
                       "-i", "\(inputFilePath)",
                       "-c:a", "libmp3lame",
                       "-ac", "1",
                       "-ar", "22050",
                       "-q:a", "9",
                       "\(outputFilePath)"
                   ]
                   convertTask.standardInput = FileHandle.nullDevice
                   convertTask.launch()
                   convertTask.waitUntilExit()
               case 2 :
                   let convertTask: Process = Process()
                   convertTask.launchPath = launchPath
                   convertTask.arguments = [
                       "-y",
                       "-i", "\(inputFilePath)",
                       "-c:a", "libmp3lame",
                       "-ac", "2",
                       "-ar", "44100",
                       "-q:a", "5",
                       "\(outputFilePath)"
                   ]
                   convertTask.standardInput = FileHandle.nullDevice
                   convertTask.launch()
                   convertTask.waitUntilExit()
               case 3 :
                   let convertTask: Process = Process()
                   convertTask.launchPath = launchPath
                   convertTask.arguments = [
                       "-y",
                       "-i", "\(inputFilePath)",
                       "-c:a", "libmp3lame",
                       "-ac", "1",
                       "-ar", "22050",
                       "-b:a", "32k",
                       "\(outputFilePath)"
                   ]
                   convertTask.standardInput = FileHandle.nullDevice
                   convertTask.launch()
                   convertTask.waitUntilExit()
               case 4 :
                   let convertTask: Process = Process()
                   convertTask.launchPath = launchPath
                   convertTask.arguments = [
                       "-y",
                       "-i", "\(inputFilePath)",
                       "-c:a", "flac",
                       "\(outputFilePath)"
                   ]
                   convertTask.standardInput = FileHandle.nullDevice
                   convertTask.launch()
                   convertTask.waitUntilExit()
               default :
                   let convertTask: Process = Process()
                   convertTask.launchPath = launchPath
                   convertTask.arguments = [
                       "-y",
                       "-i", "\(inputFilePath)",
                       "-c", "copy",
                       "\(outputFilePath)"
                   ]
                   convertTask.standardInput = FileHandle.nullDevice
                   convertTask.launch()
                   convertTask.waitUntilExit()
           }
       }
    }

    The good news is : I didn’t get the same errors I was getting before.

    The bad news is : I got a different one. "Operation not permitted."

    I assume this has something to do with the permissions granted to processes running in XCode when testing them out. Is there a way to get around it ?

    My project is really dead in the water until I get the ffmpeg implementation worked out, because everything else I’m going to want it to do—such as rechaptering audiobooks and/or editing metadata—is going to rely upon ffmpeg as well. But I’ve only been doing this a few weeks and whatever is going on here is outside my ability to troubleshoot.

    EDIT : I managed to get around this by turning the sandbox option in the permissions file off. But I’m leaving this question up because I’m not at all sure that was the right thing to do.

  • cannot capture a good frame of faces from IP camera [on hold]

    16 octobre 2018, par wiwengweng

    everyone. I am working on some research about getting frames from IP camera, and then detect and recognize faces. There is some implements on the last two steps. And my first problem is to judge if a frame with faces is good enough for detection. Video stream is read by OpenCV and/or ffmpeg, and there are many ways to capture frames one by one.

    As we know, people are always walking through, so frames captured from IP camera is not always good. But the good news is the if we extract the frames from the IP camera video file, we find some frames good enough for detection.

    I also try de-blurring pictures of frames using GAN, but that will need more time, so I think that is not an ideal way. So any advice is welcome.

  • ASP.net swf game file preview (thumbnail)

    12 avril 2015, par Moatasem bakri

    Scenario :

    I really in need for your help.
    I have multiple swf game files which I want to view them on the page as thumbnails and let the visitor click on it to play the game.

    Required :

    I want a tool that let make take a thumbnail from swf file, maybe the first frame of the file as image to view it.

    maybe if there another way to preview the files in asp.net pages without the need to the following way could be better.

    Bad news

    I have viewed all the possible answers on StackOverFlow and even on Google but with no luck, they lead my to the following :

    • use : https://swf.codeplex.com/ : I have tried it and now result
    • use ffmpeg : but the feature is not available yet, and I’m getting the following error
      ’swf : could not find codec parameters’