Recherche avancée

Médias (0)

Mot : - Tags -/content

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

Autres articles (111)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

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

  • 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 (7451)

  • Getting message -> Invalid data found when processing input

    19 novembre 2012, par user1726619

    I want to use ffmpeg lib in my library.For that purpose,i have successfully compiled it.But when i try to execute any command,i am getting this message :

    Invalid data found when processing input.

    I don't know whats the reason behind it.This is the code :

    public class Videokit extends Activity {
       String FilePath;
       String OutPut;
       Context mycontext;
       Videokit vk ;
       static
       {
           System.loadLibrary("videokit");
       }

       public native void run(String[] args);

       public void onCreate(Bundle savedInstanceState) {
           super.onCreate(savedInstanceState);
           setContentView(R.layout.main);
           FilePath =Environment.getExternalStorageDirectory().toString()+"/output.3gp";
           try {
               ffmpegrun();
           } catch (IOException e) {
               // TODO Auto-generated catch block
               e.printStackTrace();
           }
       }

       public String ffmpegrun() throws IOException
       {
           boolean success=false;
           File folder = new File(Environment.getExternalStorageDirectory().toString() + "/image-%3d.jpeg");
           File file = new File(FilePath);
           System.out.println("filepath exists at:"+file.getAbsolutePath());
           if (!folder.exists()) {
               success = folder.mkdirs();
    //              Toast.makeText(mycontext,"outfile.mp4 exists at"+folder.getAbsolutePath(),Toast.LENGTH_LONG).show();
                OutPut = folder.getAbsolutePath();
           }
           System.out.println("outfile.flv exists at:"+folder.getAbsolutePath());
           run(new String[]{
                   "ffmpeg",
                   "-i",
                   FilePath,
                   "-r 1",
                    "-f",
                    "image2",
                    "image-%3d.jpeg"
           });
           return OutPut;
       }
    }

    This is the log :

    10-07 17:00:03.707: D/dalvikvm(8760): Trying to load lib /data/data/uk.co.halfninja.videokit/lib/libvideokit.so 0x44e8c958
    10-07 17:00:03.837: D/dalvikvm(8760): Added shared lib /data/data/uk.co.halfninja.videokit/lib/libvideokit.so 0x44e8c958
    10-07 17:00:03.837: I/Videokit(8760): Loading native library compiled at 13:52:27 Oct  7 2012
    10-07 17:00:03.917: I/System.out(8760): filepath exists at:/sdcard/output.3gp
    10-07 17:00:03.917: I/System.out(8760): outfile.flv exists at:/sdcard/image-%3d.jpeg
    10-07 17:00:03.917: D/dalvikvm(8760): +++ not scanning '/system/lib/libwebcore.so' for 'run' (wrong CL)
    10-07 17:00:03.917: D/dalvikvm(8760): +++ not scanning '/system/lib/libmedia_jni.so' for 'run' (wrong CL)
    10-07 17:00:03.928: D/dalvikvm(8760): +++ not scanning '/system/lib/libexif.so' for 'run' (wrong CL)
    10-07 17:00:03.928: D/Videokit(8760): run() called
    10-07 17:00:03.928: D/Videokit(8760): run passing off to main()
    10-07 17:00:03.928: D/Videokit(8760): main(): registering all modules
    10-07 17:00:03.938: D/Videokit(8760): main(): registered everything
    10-07 17:00:03.938: D/Videokit(8760): main(): initting opts
    10-07 17:00:03.968: D/Videokit(8760): main(): initted opts.
    10-07 17:00:03.968: E/Videokit(8760): ffmpeg version N-30996-gf925b24, Copyright (c) 2000-2011 the FFmpeg developers
    10-07 17:00:03.979: E/Videokit(8760):   built on Oct  7 2012 13:52:32 with gcc 4.4.3
    10-07 17:00:03.979: E/Videokit(8760):   configuration: --enable-cross-compile --arch=arm5te --enable-armv5te --target-os=linux --disable-stripping --prefix=../output --disable-neon --enable-version3 --disable-shared --enable-static --enable-gpl --enable-memalign-hack --cc=arm-linux-androideabi-gcc --ld=arm-linux-androideabi-ld --extra-cflags='-fPIC -DANDROID -D__thumb__ -mthumb -Wfatal-errors -Wno-deprecated' --disable-everything --enable-decoder=mjpeg --enable-demuxer=mjpeg --enable-parser=mjpeg --enable-demuxer=image2 --enable-muxer=mp4 --enable-encoder=libx264 --enable-libx264 --enable-decoder=rawvideo --enable-protocol=file --enable-hwaccels --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-network --enable-filter=buffer --enable-filter=buffersink --disable-demuxer=v4l --disable-demuxer=v4l2 --disable-indev=v4l --disable-indev=v4l2 --extra-cflags='-I../x264 -Ivideokit' --extra-ldflags=-L../x264
    10-07 17:00:03.987: D/Videokit(8760): main(): parsing options
    10-07 17:00:03.987: D/Videokit(8760): parse_options has 7 options to parse
    10-07 17:00:04.050: E/Videokit(8760): /sdcard/output.3gp: Invalid data found when processing input
    10-07 17:00:04.050: E/Videokit(8760): ffmpeg_exit(1) called!

    Please help me.I am clueless about this problem.Thanks in advance.

  • VP8 and WebM, not working in ffmpeg-php [migrated]

    6 octobre 2012, par Olaf Erlandsen

    I need a help with ffmpeg-php and Ffmpeg.

    Ffmpeg :

    ffmpeg version 1.0.git
    built on Oct  6 2012 01:54:50 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
    configuration: --enable-gpl --enable-libmp3lame --enable-libtheora --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-version3
    libavutil      51. 73.102 / 51. 73.102
    libavcodec     54. 63.100 / 54. 63.100
    libavformat    54. 29.105 / 54. 29.105
    libavdevice    54.  3.100 / 54.  3.100
    libavfilter     3. 19.102 /  3. 19.102
    libswscale      2.  1.101 /  2.  1.101
    libswresample   0. 16.100 /  0. 16.100
    libpostproc    52.  1.100 / 52.  1.100

    Ffmpeg-PHP

    FFmpeg 0.6.5
    libavutil     50.15. 1 / 50.15. 1
    libavcodec    52.72. 2 / 52.72. 2
    libavformat   52.64. 2 / 52.64. 2
    libavdevice   52. 2. 0 / 52. 2. 0
    libavfilter    1.19. 0 /  1.19. 0
    libswscale     0.11. 0 /  0.11. 0
    libpostproc   51. 2. 0 / 51. 2. 0

    FFMPEG-PHP Command :

    ffmpeg -y -i /f1ccd3a27d36270492ce660da358b436.mp4 -t 99 -f webm /f1ccd3a27d36270492ce660da358b436.webm

    FFMPEG(SSH) Command :

    ffmpeg -y -i /f1ccd3a27d36270492ce660da358b436.mp4 -t 99 -f webm /f1ccd3a27d36270492ce660da358b436.webm

    FFMPEG-PHP Output :

    FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
     built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6)
     configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-avfilter-lavf --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
     libavutil     50.15. 1 / 50.15. 1
     libavcodec    52.72. 2 / 52.72. 2
     libavformat   52.64. 2 / 52.64. 2
     libavdevice   52. 2. 0 / 52. 2. 0
     libavfilter    1.19. 0 /  1.19. 0
     libswscale     0.11. 0 /  0.11. 0
     libpostproc   51. 2. 0 / 51. 2. 0
    Seems stream 1 codec frame rate differs from container frame rate: 59.94 (2997/50) -> 29.97 (30000/1001)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/f1ccd3a27d36270492ce660da358b436.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isomavc1mp42
     Duration: 00:04:16.32, start: 0.000000, bitrate: 650 kb/s
       Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16, 108 kb/s
       Stream #0.1(und): Video: h264, yuv420p, 480x360 [PAR 1:1 DAR 4:3], 539 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
    Output #0, webm, to '/f1ccd3a27d36270492ce660da358b436.webm':
       Stream #0.0(und): Video: 0x0000, yuv420p, 480x360 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 29.97 tbc
       Stream #0.1(und): Audio: 0x0000, 44100 Hz, stereo, s16, 64 kb/s
    Stream mapping:
     Stream #0.1 -> #0.0
     Stream #0.0 -> #0.1
    Encoder (codec id 146) not found for output stream #0.0

    FFMPEG(SSH) Output :

    ffmpeg version 1.0.git Copyright (c) 2000-2012 the FFmpeg developers
     built on Oct  6 2012 01:54:50 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
     configuration: --enable-gpl --enable-libmp3lame --enable-libtheora --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-version3
     libavutil      51. 73.102 / 51. 73.102
     libavcodec     54. 63.100 / 54. 63.100
     libavformat    54. 29.105 / 54. 29.105
     libavdevice    54.  3.100 / 54.  3.100
     libavfilter     3. 19.102 /  3. 19.102
     libswscale      2.  1.101 /  2.  1.101
     libswresample   0. 16.100 /  0. 16.100
     libpostproc    52.  1.100 / 52.  1.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/f1ccd3a27d36270492ce660da358b436.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isomavc1mp42
       creation_time   : 2009-12-23 02:00:55
     Duration: 00:04:16.32, start: 0.000000, bitrate: 650 kb/s
       Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 108 kb/s
       Metadata:
         creation_time   : 2009-12-23 02:00:55
         handler_name    : (C) 2007 Google Inc. v08.13.2007.
       Stream #0:1(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 480x360 [SAR 1:1 DAR 4:3], 539 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
       Metadata:
         creation_time   : 2009-12-23 02:00:55
         handler_name    : (C) 2007 Google Inc. v08.13.2007.
    [libvpx @ 0x2166e00] v1.1.0
    Output #0, webm, to '/f1ccd3a27d36270492ce660da358b436.webm':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isomavc1mp42
       encoder         : Lavf54.29.105
       Stream #0:0(und): Video: vp8, yuv420p, 480x360 [SAR 1:1 DAR 4:3], q=-1--1, 200 kb/s, 1k tbn, 29.97 tbc
       Metadata:
         creation_time   : 2009-12-23 02:00:55
         handler_name    : (C) 2007 Google Inc. v08.13.2007.
       Stream #0:1(und): Audio: vorbis, 44100 Hz, stereo, flt
       Metadata:
         creation_time   : 2009-12-23 02:00:55
         handler_name    : (C) 2007 Google Inc. v08.13.2007.
    Stream mapping:
     Stream #0:1 -> #0:0 (h264 -> libvpx)
     Stream #0:0 -> #0:1 (aac -> libvorbis)
    Press [q] to stop, [?] for help
    [libvorbis @ 0x2167340] Que input is backward in time
    frame= 2968 fps= 61 q=0.0 Lsize=    4464kB time=00:01:39.03 bitrate= 369.3kbits/s
    video:3068kB audio:1319kB subtitle:0 global headers:4kB muxing overhead 1.662821%

    Error :

    Encoder (codec id 146) not found for output stream #0.0
  • FFmpeg saving rtmp live stream cuts off after 3 minutes

    20 janvier 2013, par user1636922

    I was playing with ffmpeg and was able to save a live stream to a file. The command to do so is :

    ffmpeg -re -i "rtmp://<ip addr="addr">/livestream live=1" -f h264 test.flv
    </ip>

    However, I have tested this twice, and both times ffmpeg stops after grabbing 3:28 worth of live video.

    The entire output is here :

    bash-4.2$ ffmpeg -re -i "rtmp://<ip addr="addr">/livestream live=1" -vcodec libx264 -f h264 test.flv
    WARNING: gnome-keyring:: couldn&#39;t connect to: /home/me/.cache/keyring-bpajcJ/pkcs11: No such file or directory
    ffmpeg version 0.10.4 Copyright (c) 2000-2012 the FFmpeg developers
     built on Jul 20 2012 22:01:52 with gcc 4.7.0 20120507 (Red Hat 4.7.0-5)
     configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib --mandir=/usr/share/man --arch=i686 --extra-cflags=&#39;-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables&#39; --enable-bzlib --disable-crystalhd --enable-gnutls --enable-libass --enable-libcdio --enable-libcelt --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib --cpu=i686 --enable-runtime-cpudetect
     libavutil      51. 35.100 / 51. 35.100
     libavcodec     53. 61.100 / 53. 61.100
     libavformat    53. 32.100 / 53. 32.100
     libavdevice    53.  4.100 / 53.  4.100
     libavfilter     2. 61.100 /  2. 61.100
     libswscale      2.  1.100 /  2.  1.100
     libswresample   0.  6.100 /  0.  6.100
     libpostproc    52.  0.100 / 52.  0.100
    WARNING: gnome-keyring:: couldn&#39;t connect to: /home/me/.cache/keyring-bpajcJ/pkcs11: No such file or directory
    Metadata:
     videocodecid          avc1
     width                 320.00
     height                240.00
     frameWidth            320.00
     frameHeight           240.00
     displayWidth          320.00
     displayHeight         240.00
     framerate             29.97
    trackinfo:
     timescale             90000.00
     language              eng
    sampledescription:
     sampletype            H264
     type                  video
     profile-level-id      42e00c
     sprop-parameter-sets  Z0LgDNoFB+wEQAAC7sAAr8gh,aM4zyA==
     description           {H264CodecConfigInfo: profile: "Baseline", level: 1.2, frameSize: 320x240, displaySize: 320x240, PAR: 1:1, frameRate: 29.97}
    rtpsessioninfo:
     name                  H264 Stream 1
     origin                - 1486490083 118668671 IN IP4 10.93.183.3
     timing                0 0
     protocolversion       0
    attributes:
     range                 npt=now-
    [flv @ 0x9578ee0] Estimating duration from bitrate, this may be inaccurate
    Input #0, flv, from &#39;rtmp://<ip addr="addr">/livestream live=1&#39;:
     Duration: N/A, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: h264 (Constrained Baseline), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 14.99 tbr, 1k tbn, 59.94 tbc
    [buffer @ 0x99ee900] w:320 h:240 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
    [libx264 @ 0x9584540] using SAR=1/1
    [libx264 @ 0x9584540] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
    [libx264 @ 0x9584540] profile High, level 1.2
    Output #0, h264, to &#39;test.flv&#39;:
     Metadata:
       encoder         : Lavf53.32.100
       Stream #0:0: Video: h264, yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=-1--1, 90k tbn, 14.99 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> libx264)
    Press [q] to stop, [?] for help
    RTMP_ReadPacket, failed to read RTMP packet body. len: 16582bitrate= 212.1kbits/s    
    frame= 3111 fps= 15 q=-2.0 Lsize=    5385kB time=00:03:27.47 bitrate= 212.6kbits/s    
    video:5385kB audio:0kB global headers:0kB muxing overhead 0.000000%
    [libx264 @ 0x9584540] frame I:13    Avg QP:18.70  size: 31866
    [libx264 @ 0x9584540] frame P:1908  Avg QP:22.29  size:  2392
    [libx264 @ 0x9584540] frame B:1190  Avg QP:29.24  size:   451
    [libx264 @ 0x9584540] consecutive B-frames: 39.5% 24.0% 13.0% 23.4%
    [libx264 @ 0x9584540] mb I  I16..4:  0.2%  1.2% 98.6%
    [libx264 @ 0x9584540] mb P  I16..4:  0.0%  0.0%  0.7%  P16..4: 22.0%  3.5%  2.6%  0.0%  0.0%    skip:71.2%
    [libx264 @ 0x9584540] mb B  I16..4:  0.0%  0.0%  0.2%  B16..8: 15.6%  2.8%  1.1%  direct: 1.3%  skip:78.9%  L0:47.0% L1:42.2% BI:10.8%
    [libx264 @ 0x9584540] 8x8 transform intra:2.2% inter:8.5%
    [libx264 @ 0x9584540] coded y,uvDC,uvAC intra: 98.0% 94.9% 73.9% inter: 14.5% 16.0% 11.3%
    [libx264 @ 0x9584540] i16 v,h,dc,p:  0% 50% 17% 33%
    [libx264 @ 0x9584540] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  7% 21% 11%  3% 13%  6% 21%  4% 14%
    [libx264 @ 0x9584540] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 21% 14%  5% 11%  7% 14%  5% 12%
    [libx264 @ 0x9584540] i8c dc,h,v,p: 65% 15% 10% 10%
    [libx264 @ 0x9584540] Weighted P-Frames: Y:0.5% UV:0.1%
    [libx264 @ 0x9584540] ref P L0: 80.8% 10.4%  7.6%  1.2%  0.0%
    [libx264 @ 0x9584540] ref B L0: 94.9%  4.8%  0.2%
    [libx264 @ 0x9584540] ref B L1: 96.4%  3.6%
    [libx264 @ 0x9584540] kb/s:212.48
    </ip></ip>

    Although I don't see any errors. It just looks like ffmpeg thought the stream had ended ? But that's not possible since it's a live stream.