Recherche avancée

Médias (0)

Mot : - Tags -/performance

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (49)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (5509)

  • FFMPEG on Android java application

    11 juillet 2015, par Kim T

    I’m prototyping a Hybrid app using Cordova : https://cordova.apache.org. Also using this plugin : https://github.com/jbavari/cordova-plugin-video-editor

    The plugin renders a video into new formats using FFMPEG. The specific piece of code which does this is here :

    https://github.com/jbavari/cordova-plugin-video-editor/blob/master/src/android/VideoEditor.java

    al.add("ffmpeg");
    al.add("-i");
    al.add(videoSrcPath);
    String[] ffmpegCommand = al.toArray(new String[al.size()]);
    vk.run(ffmpegCommand, workFolder, appContext);
    Log.d(TAG, Arrays.toString(ffmpegCommand));

    When logged out in Android Studio with variables it is :

    [ffmpeg, -y, -i, /storage/emulated/0/DCIM/Camera/20150709_172753.mp4, -strict, experimental, -s, 320x320, -r, 24, -vcodec, libx264, -preset, ultrafast, -b, 2097152, -ac, 1, -ar, 22050, -t, 2.0, /storage/emulated/0/Movies/HelloWorld/VID_render-1436477283566.mp4]

    This is working perfectly.

    I want to modify this command to allow multiple videos, and other options. Here is an FFMPEG terminal command i’ve tested on my machine working :

    ./ffmpeg -i a.mp4 -i b.mp4 -filter_complex "[0:0] [0:1] [1:0] [1:1] concat=n=2:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" -loglevel debug -strict -2 output.mp4

    I’ve attempted to modify the java code but this fails :

    al.add("ffmpeg");
    al.add("-i");
    al.add(videoSrcPath);
    al.add("-i");
    al.add(videoSrcPath2);
    al.add("-filter_complex");
    al.add("[0:0] [0:1] [1:0] [1:1] concat=n=2:v=1:a=1 [v] [a]");
    al.add("-map");
    al.add("[v]");
    al.add("-map");
    al.add("[a]");
    al.add("-strict");
    al.add("-2");

    This is the failing command when logged out with variables :

    [ffmpeg, -y, -i, /storage/emulated/0/DCIM/Camera/20150709_175137.mp4, -i, /storage/emulated/0/Movies/HelloWorld/20150709_234321.mp4, -filter_complex, [0:0] [0:1] [1:0] [1:1] concat=n=2:v=1:a=1 [v] [a], -map, [v], -map, [a], -strict, -2, experimental, -s, 320x320, -r, 24, -vcodec, libx264, -preset, ultrafast, -b, 2097152, -ac, 1, -ar, 22050, -t, 2.0, /storage/emulated/0/Movies/HelloWorld/VID_render-1436478706526.mp4]

    I try to use the logging feature of FFMPEG, I can’t get it to return back to the Java Log, which really restricts what I can debug :(

    al.add("-loglevel");
    al.add("debug");

    Any help would be greatly appreciated !

  • Revision 74ded4863e : Enable conditional skip path in rd_pick_intra_sby_mode These speed-up features

    4 décembre 2014, par Jingning Han

    Changed Paths :
     Modify /vp9/encoder/vp9_rdopt.c


     Modify /vp9/encoder/vp9_speed_features.c



    Enable conditional skip path in rd_pick_intra_sby_mode

    These speed-up features for key frame coding are only turned on
    in the settings of hybrid non-RD and RD mode decision. It provides
    about 20% speed-up to the hybrid key frame coding at the expense
    of certain compression performance loss. For vidyo1, the key frame
    coding statistics are changed
    9838F, 35.020 dB, 61677 us -> 9920F, 34.834 dB, 47556 us

    Overall rtc set compression performance is down by -0.257%.

    Change-Id : I0025447fda26bb7855e982955642b5f55d71b51f

  • FFMPEG - How to record multiple RTMP streams into multiple files

    11 juillet 2014, par user3146313

    I tried the following, but it does not work.

    ffmpeg -i rtmp://83.229.210.89/RAZTV/BTVraztv1 -map 0 -b:v 900k -vcodec libx264 -acodec aac -b:a 256k -strict -2 -t 3600 /media/TV_1T_3T_6/ffmpegtest/ort.mp4 -i rtmp://mirtv.cdnvideo.ru/mirtv-live/mirtv600.sdp -map 1 -b:v 900k -vcodec libx4 -acodec aac -b:a 256k -strict -2 -t 3600 /media/TV_1T_3T_6/ffmpegtest/mir.mp4 -i rtmp://chanson.cdnvideo.ru/chanson-live/shansontv.sdp -map 2 -b:v 900k -vcodec libx264 -acodec aac -b:a 256k -strict -2 -t 3600 /media/TV_1T_3T_6/ffmpegtest/shansontv.mp4 -i rtmp://83.229.210.89:1935/TROTV/BTVtro0 -map 3 -b:v 900k -vcodec libx264 -acodec aac -b:a 256k -strict -2 -t 3600 /media/TV_1T_3T_6/ffmpegtest/tro.mp4

    Looks like it hangs on a second stream and no movement. S.O.S. Please help.
    I have 4 stream URLs. I want them to be recording together at the same time.

    With one ffmpeg command:
    I want: rtmp://83.229.210.89/RAZTV/BTVraztv1 to record into file: /media/TV_1T_3T_6/ffmpegtest/ort.mp4

    I want: rtmp://mirtv.cdnvideo.ru/mirtv-live/mirtv600.sdp to record into file: /media/TV_1T_3T_6/ffmpegtest/mir.mp4

    I want: rtmp://chanson.cdnvideo.ru/chanson-live/shansontv.sdp to record into file: /media/TV_1T_3T_6/ffmpegtest/shansontv.mp4

    I want: rtmp://83.229.210.89:1935/TROTV/BTVtro0  to record into file: /media/TV_1T_3T_6/ffmpegtest/tro.mp4

    The log that I get right now is :

    ffmpeg version 2.2.4 Copyright (c) 2000-2014 the FFmpeg developers
     built on Jul  6 2014 21:42:17 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
     configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab --enable-libvpx --enable-libmp3lame
     libavutil      52. 66.100 / 52. 66.100
     libavcodec     55. 52.102 / 55. 52.102
     libavformat    55. 33.100 / 55. 33.100
     libavdevice    55. 10.100 / 55. 10.100
     libavfilter     4.  2.100 /  4.  2.100
     libswscale      2.  5.102 /  2.  5.102
     libswresample   0. 18.100 /  0. 18.100
     libpostproc    52.  3.100 / 52.  3.100
    [flv @ 0x24981c0] Stream discovered after head already parsed
    Input #0, flv, from 'rtmp://83.229.210.89/RAZTV/BTVraztv1':
     Metadata:
       Server          : NGINX RTMP (github.com/arut/nginx-rtmp-module)
       displayWidth    : 720
       displayHeight   : 576
       fps             : 25
       profile         :
       level           :
     Duration: 00:00:00.00, start: 1826.816000, bitrate: N/A
       Stream #0:0: Video: h264 (High), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 699 kb/s, 25 fps, 25 tbr, 1k tbn, 50 tbc
       Stream #0:1: Audio: aac, 48000 Hz, stereo, fltp, 128 kb/s
       Stream #0:2: Data: none
    [flv @ 0x261c7e0] Stream discovered after head already parsed
    [flv @ 0x261c7e0] negative cts, previous timestamps might be wrong
       Last message repeated 8 times
    Input #1, flv, from 'rtmp://mirtv.cdnvideo.ru/mirtv-live/mirtv600.sdp':
     Metadata:
       author          :
       copyright       :
       description     :
       keywords        :
       rating          :
       title           :
       presetname      : Custom
       creationdate    : Fri Jul 11 03:34:37 2014
                       :
       videodevice     : AVerMedia Hybrid TV Video Capture
       avclevel        : 30
       avcprofile      : 66
       videokeyframe_frequency: 5
       audiodevice     : ?8=. 2E>4 (#AB@>9AB2> A ?>445@6
       audiochannels   : 1
       audioinputvolume: 100
     Duration: N/A, start: 0.000000, bitrate: 1038 kb/s
       Stream #1:0: Video: h264 (Baseline), yuv420p(tv), 720x576 [SAR 1:1 DAR 5:4], 972 kb/s, 25 fps, 25 tbr, 1k tbn, 50 tbc
       Stream #1:1: Audio: mp3, 44100 Hz, mono, s16p, 65 kb/s
       Stream #1:2: Data: none