Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (78)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 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, par

    MediaSPIP 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 (...)

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (12890)

  • Watson speech-to-text : Narrowband producing better results than Broadband ?

    22 juin 2017, par Irman A

    I’m using IBM Watson to transcribe a video library that we have. I’m currently doing initial research into it’s efficacy and accuracy.

    The videos in question have OK to very good sound quality and based on Watson documentation I should be using the Broadband model to transcribe them.

    I’ve however tested using both Narrow and Broadband and I’m finding that Narrowband always either slightly better or a lot better in some cases (up to 10%).

    Has anyone else done any similar testing ? It’s contrary to the documentation so I’m a little reluctant to just go ahead and use Narrowband for everything, but I may have to based on the results.

    I’m using ffmpeg to convert the videos to audio files to send to Watson, and the audio files show 48KHz sampling rates, which again means I should be using and getting better results using Broadband.

    Hoping someone out there has done similar research and can help.

    Thanks in advance.

  • Video upload with carrierwave-video on Rails 4

    15 juin 2017, par MJRLGUE

    it’s been a while I am fighting to play a video in my rails app.

    I am using carrierwave-video, OS : Windows 10 64bits, to stream/show a video in user posts.

    Here is what I did :

    the file video_uploader.rb :

    class VideoUploader < CarrierWave::Uploader::Base

     include CarrierWave::Video
     storage :file
     def store_dir
       "uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
     end
    end

    in the file : _post.html.erb :

    with this line of code : <%= video_tag post.video_url :controls =>true %> I get a blank box with the size of the video.
    and I tried this too and still doesn’t work : <%= video_tag post.video.url if post.video? %>

    I tried ffmpeg too, I installed ffmpeg in my pc and I did include : process encode_video: [:mp4, callbacks: { after_transcode: :set_success } ] in video_uploader.rb file and I get this form error message :

    Video Failed to transcode with FFmpeg. Check ffmpeg install and verify
    video is not corrupt or cut short. Original error : ArgumentError

    Any suggestions please ?

  • reduce bitrate using ffmpeg

    27 mai 2017, par WantIt

    I have this command to run with ffmpeg to reduce bitrate.

    ffmpeg -y -i input.mp4 -b:v 1024k output_1024k.mp4

    where we want to take the input file and just reduced it’s bitrate (just 1024k). It works in the commandline.
    Now, I like to reduce bitrate via Java. I decided to use bytedeco/javacv FFmpegFrameGrabber and FFmpegFrameRecorder to perform the same function. Below is my code :

    FFmpegFrameGrabber grabber = new FFmpegFrameGrabber("input.mp4");
               grabber.start();

               FrameRecorder recorder = new FFmpegFrameRecorder("out.mp4", grabber.getAudioChannels());
               recorder.setSampleRate(256);
               recorder.start();

               Frame frame;
               while ((frame = grabber.grabFrame()) != null) {
                   recorder.record(frame);
               }
               recorder.stop();
               grabber.stop();

    but it is saying the following error :

    org.bytedeco.javacv.FrameRecorder$Exception: avcodec_open2() error -22: Could not open audio codec.
       at org.bytedeco.javacv.FFmpegFrameRecorder.startUnsafe(FFmpegFrameRecorder.java:732)
       at org.bytedeco.javacv.FFmpegFrameRecorder.start(FFmpegFrameRecorder.java:351)
       at com.goxhere.api.monte.resources.VideoResource.uploadFile(VideoResource.java:337)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:498)
       at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:74)
       at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
       at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
       at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:247)
       at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
       at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:388)
       at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:346)
       at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
       at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:337)
       at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
       at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
       at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
       at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
       at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
       at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:280)
       at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:316)
       at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1084)
       at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:418)
       at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:372)
       at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:389)
       at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:342)
       at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:229)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
       at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
       at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
       at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
       at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
       at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861)
       at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
       at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
       at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
       at java.lang.Thread.run(Thread.java:748)

    Basically the error says I have problem with audio codec, but when I tried to run the ffmpeg commandline directly, it reduces the bitrate just fine. Are we missing some setup in javacode ? Thank you.