Recherche avancée

Médias (91)

Autres articles (76)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • 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 ;

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

Sur d’autres sites (13786)

  • VP8 Codec SDK "Aylesbury" Release

    28 octobre 2010, par noreply@blogger.com (John Luther)

    Today we’re making available "Aylesbury," our first named release of libvpx, the VP8 codec SDK. VP8 is the video codec used in WebM. Note that the VP8 specification has not changed, only the SDK.

    What’s an Aylesbury ? It’s a breed of duck. We like ducks, so we plan to use duck-related names for each major libvpx release, in alphabetical order. Our goal is to have one named release of libvpx per calendar quarter, each with a theme.

    You can download the Aylesbury libvpx release from our Downloads page or check it out of our Git repository and build it yourself. In the coming days Aylesbury will be integrated into all of the WebM project components (DirectShow filters, QuickTime plugins, etc.). We encourage anyone using our components to upgrade to the Aylesbury releases.

    For Aylesbury the theme was faster decoder, better encoder. We used our May 19, 2010 launch release of libvpx as the benchmark. We’re very happy with the results (see graphs below) :

    • 20-40% (average 28%) improvement in libvpx decoder speed
    • Over 7% overall PSNR improvement (6.3% SSIM) in VP8 "best" quality encoding mode, and up to 60% improvement on very noisy, still or slow moving source video.




    The main improvements to the decoder are :

    • Single-core assembly "hot spot" optimizations, including improved vp8_sixtap_predict() and SSE2 loopfilter functions
    • Threading improvements for more efficient use of multiple processor cores
    • Improved memory handling and reduced footprint
    • Combining IDCT and reconstruction steps
    • SSSE3 usage in functions where appropriate

    On the encoder front, we concentrated on clips in the 30-45 dB range and saw the biggest gains in higher-quality source clips (greater that 38 dB), low to medium-motion clips, and clips with noisy source material. Many code contributions made this possible, but a few of the highlights were :

    • Adaptive width and strength alternate reference frame noise suppression filter with optional motion compensation.
    • Transform improvements (improved accuracy and reduction in round trip error)
    • Trellis-based quantized coefficient optimization
    • Two-pass rate control and quantizer changes
    • Rate distortion changes
    • Zero bin and rounding changes
    • Work on MB-level quality control and bit allocation

    We’re targeting Q1 2011 for the next named libvpx release, which we’re calling Bali. The theme for that release will be faster encoder. We are constantly working on improvements to video quality in the encoder, so after Aylesbury we won’t tie that work to specific named releases.

    WebM at Streaming Media West

    Members of the WebM project will discuss Aylesbury during a session at the Streaming Media West conference on November 3rd (session C203 : WebM Open Video Project Update). For more information, visit www.streamingmedia.com/west.

    John Luther is Product Manager of the WebM Project.

  • Android FFmpeg sometimes works and sometimes crashes

    20 novembre 2013, par Pawel Cala

    I compiled FFmpeg for Android ( https://gitorious.org/android-ffmpeg ) but when I'm trying to do some operations ( f.e filters cropping, transpose, trim etc ) it crashes in 5 on 10 cases.
    Error logs are not the same so I assume that it might be caused by memory issues.
    I'm using OSX, NDK android-ndk-r9b : darwing x86_64.
    Native ffmpeg method is passing args to ffmpeg.c main method. It's executed in AsyncTask in Activity.
    Thanks in advance

    EDIT :
    I forgot to mention that programs algorithm runs like that :
    Press Button - > Open Camera Intent - > Start recording - > After recording copy file to project folder ( on SD card ) - > Open edit activity + Start asynctask

    EDIT2 :
    Tested on HTC ONE with different video resolutions

    Version and config of ffmpeg

    11-20 12:15:23.001: I/ff-log(19091): ffmpeg version 0.10.2.git
    11-20 12:15:23.001: I/ff-log(19091):  Copyright (c) 2000-2012 the FFmpeg developers
    11-20 12:15:23.001: I/ff-log(19091):   built on Nov 20 2013 12:12:46 with gcc 4.6 20120106 (prerelease)
    11-20 12:15:23.001: I/ff-log(19091):   configuration: --target-os=linux --cross-prefix=arm-linux-androideabi- --arch=arm --cpu=armv7-a --disable-ffplay --disable-ffserver --disable-network --disable-avdevice --enable-protocol=file --enable-hwaccel=mpeg4_vaapi --enable-hwaccel=h264_vaapi --sysroot=/Users/dpc/Developer/android-ndk-r9b/platforms/android-9/arch-arm --disable-decoder=h264_vdpau --prefix=build/armv7-a --disable-asm --enable-small --disable-everything --enable-decoder=mjpeg --enable-parser=mjpeg --enable-muxer=mp4 --enable-muxer=h264 --enable-muxer=h263 --enable-muxer=yuv4mpegpipe --enable-muxer=mov --enable-demuxer=mpegvideo --enable-demuxer=mjpeg --enable-demuxer=image2 --enable-demuxer=mp4 --enable-demuxer=aac --enable-demuxer=ac3 --enable-demuxer=mp3 --enable-demuxer=yuv4mpegpipe --enable-demuxer=mov --enable-decoder=mpegvideo --enable-decoder=mpeg4 --enable-decoder=mp3 --enable-decoder=ac3 --enable-decoder=aac --enable-decoder=h264 --enable-decoder=h263 --enable-decoder=rawvideo --enable-decoder=yuv4 --enable-decoder=png --enable

    Sample comand :

    1-20 12:15:22.991: I/FFMPEG(19091): CMD:-i file:/storage/emulated/0/.project/videos/mac_video_tmp.mp4 -vf crop=1079:1079:0:420 -vcodec mpeg4 -sameq -acodec copy file:/storage/emulated/0/.project/videos/croppedVid.mp4

    Some output errors :

    1st type :

      11-20 12:15:23.011: I/ff-log(19091):   libavutil      51. 46.100 / 51. 46.100
    11-20 12:15:23.011: I/ff-log(19091):   libavcodec     54. 14.101 / 54. 14.101
    11-20 12:15:23.011: I/ff-log(19091):   libavformat    54.  3.100 / 54.  3.100
    11-20 12:15:23.011: I/ff-log(19091):   libavfilter     2. 70.100 /  2. 70.100
    11-20 12:15:23.011: I/ff-log(19091):   libswscale      2.  1.100 /  2.  1.100
    11-20 12:15:23.011: I/ff-log(19091):   libswresample   0. 11.100 /  0. 11.100
    11-20 12:15:23.011: I/ff-log(19091): before parsing options
    11-20 12:15:23.011: I/ff-log(19091): before parsing options
    11-20 12:15:23.011: I/ff-log(19091): parse options
    11-20 12:15:23.011: I/ff-log(19091): prepare app arguments !!! NOT defined(_WIN32) && !defined(__MINGW32CE__) !
    11-20 12:15:23.011: I/ff-log(19091): after prepare app arguments
    11-20 12:15:23.011: I/ff-log(19091): ffurl_open: file:/storage/emulated/0/.project/videos/mac_video_tmp.mp4, 1
    11-20 12:15:23.011: I/ff-log(19091): ffurl_alloc: file:/storage/emulated/0/.project/videos/mac_video_tmp.mp4, 1
    11-20 12:15:23.011: I/ff-log(19091): ffurl_alloc: file
    11-20 12:15:23.011: I/ff-log(19091): ffurl_open alloc: 0
    11-20 12:15:23.011: I/ff-log(19091): ffurl_connect
    11-20 12:15:23.011: I/ff-log(19091): ffurl_open connect: 0
    11-20 12:15:23.011: I/ff-log(19091): Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
    11-20 12:15:23.011: I/ff-log(19091): ISO: File Type Major Brand: isom
    11-20 12:15:23.021: I/ff-log(19091): File position before avformat_find_stream_info() is 8458240
    11-20 12:15:23.041: A/libc(19091): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 19091 (t.android.utils)

    Second type :

    11-20 12:17:04.800: I/ff-log(19632):   libavutil      51. 46.100 / 51. 46.100
    11-20 12:17:04.800: I/ff-log(19632):   libavcodec     54. 14.101 / 54. 14.101
    11-20 12:17:04.800: I/ff-log(19632):   libavformat    54.  3.100 / 54.  3.100
    11-20 12:17:04.800: I/ff-log(19632):   libavfilter     2. 70.100 /  2. 70.100
    11-20 12:17:04.800: I/ff-log(19632):   libswscale      2.  1.100 /  2.  1.100
    11-20 12:17:04.800: I/ff-log(19632):   libswresample   0. 11.100 /  0. 11.100
    11-20 12:17:04.800: I/ff-log(19632): before parsing options
    11-20 12:17:04.800: I/ff-log(19632): before parsing options
    11-20 12:17:04.800: I/ff-log(19632): parse options
    11-20 12:17:04.800: I/ff-log(19632): prepare app arguments !!! NOT defined(_WIN32) && !defined(__MINGW32CE__) !
    11-20 12:17:04.800: I/ff-log(19632): after prepare app arguments
    11-20 12:17:04.800: I/ff-log(19632): opt_output_file ܞ�f��f��f��f���flated/0/.project/videos/mac_video_tmp.mp4
    11-20 12:17:04.800: I/ff-log(19632): ffurl_alloc: ܞ�f��f��f��f���flated/0/.project/videos/mac_video_tmp.mp4, 0
    11-20 12:17:04.800: I/ff-log(19632): ffurl_alloc: file
    11-20 12:17:04.800: I/ff-log(19632): ffurl_open: ܞ�f��f��f��f���flated/0/.project/videos/mac_video_tmp.mp4, 2
    11-20 12:17:04.800: I/ff-log(19632): ffurl_alloc: ܞ�f��f��f��f���flated/0/.project/videos/mac_video_tmp.mp4, 2
    11-20 12:17:04.800: I/ff-log(19632): ffurl_alloc: file
    11-20 12:17:04.800: I/ff-log(19632): ffurl_open alloc: 0
    11-20 12:17:04.800: I/ff-log(19632): ffurl_connect
    11-20 12:17:04.800: I/ff-log(19632): ffurl_open connect: -2
    11-20 12:17:04.800: I/ff-log(19632): ffurl_open FAIL
    11-20 12:17:04.800: I/ff-log(19632): ܞ�f��f��f��f���flated/0/.project/videos/mac_video_tmp.mp4: No such file or directory

    ( CHARSER IS AS IT'S IN OUTPUT LOGCAT )

    3rd type :

    11-20 12:18:23.243: I/ff-log(19867):   libavutil      51. 46.100 / 51. 46.100
    11-20 12:18:23.243: I/ff-log(19867):   libavcodec     54. 14.101 / 54. 14.101
    11-20 12:18:23.243: I/ff-log(19867):   libavformat    54.  3.100 / 54.  3.100
    11-20 12:18:23.243: I/ff-log(19867):   libavfilter     2. 70.100 /  2. 70.100
    11-20 12:18:23.243: I/ff-log(19867):   libswscale      2.  1.100 /  2.  1.100
    11-20 12:18:23.243: I/ff-log(19867):   libswresample   0. 11.100 /  0. 11.100
    11-20 12:18:23.243: I/ff-log(19867): before parsing options
    11-20 12:18:23.243: I/ff-log(19867): before parsing options
    11-20 12:18:23.243: I/ff-log(19867): parse options
    11-20 12:18:23.243: I/ff-log(19867): prepare app arguments !!! NOT defined(_WIN32) && !defined(__MINGW32CE__) !
    11-20 12:18:23.243: I/ff-log(19867): after prepare app arguments
    11-20 12:18:23.243: I/ff-log(19867): Unknown decoder '��f('
    11-20 12:18:23.243: I/ff-log(19867): exit_program 1
    11-20 12:18:23.243: I/ff-log(19867): exit_program 1
    11-20 12:18:23.243: I/ff-log(19867): exit_program 2
    11-20 12:18:23.253: A/libc(19867): @@@ ABORTING: invalid address or address of corrupt block 0x1d3422d passed to dlfree
    11-20 12:18:23.253: A/libc(19867): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 20393 (AsyncTask #2)

    4th type :

    11-20 12:20:07.214: I/ff-log(20660):   libavutil      51. 46.100 / 51. 46.100
    11-20 12:20:07.214: I/ff-log(20660):   libavcodec     54. 14.101 / 54. 14.101
    11-20 12:20:07.214: I/ff-log(20660):   libavformat    54.  3.100 / 54.  3.100
    11-20 12:20:07.214: I/ff-log(20660):   libavfilter     2. 70.100 /  2. 70.100
    11-20 12:20:07.214: I/ff-log(20660):   libswscale      2.  1.100 /  2.  1.100
    11-20 12:20:07.214: I/ff-log(20660):   libswresample   0. 11.100 /  0. 11.100
    11-20 12:20:07.214: I/ff-log(20660): before parsing options
    11-20 12:20:07.214: I/ff-log(20660): before parsing options
    11-20 12:20:07.214: I/ff-log(20660): parse options
    11-20 12:20:07.214: I/ff-log(20660): prepare app arguments !!! NOT defined(_WIN32) && !defined(__MINGW32CE__) !
    11-20 12:20:07.214: I/ff-log(20660): after prepare app arguments
    11-20 12:20:07.214: I/ff-log(20660): Unknown decoder ''
    11-20 12:20:07.214: I/ff-log(20660): exit_program 1
    11-20 12:20:07.214: A/libc(20660): Fatal signal 11 (SIGSEGV) at 0x2d007165 (code=1), thread 21017 (AsyncTask #2)
  • ffmpeg : Resource temporarily unavailable

    26 octobre 2015, par Cabbage soup

    I’m trying to run ffmpeg on a linux server (info from uname -a) :

    Linux comp32 2.6.32-279.14.1.el6.x86_64 #1 SMP Tue Nov 6 11:21:14 CST 2012 x86_64 x86_64 x86_64 GNU/Linux

    ffmpeg (together with the required encoders and decoders) compiles successfully on the system, but when I try to perform a basic operation like the following : ffmpeg -v debug -i example.m4v image%d.jpg, I get a slightly cryptic error message :

    ffmpeg version 2.8.1 Copyright (c) 2000-2015 the FFmpeg developers
    built with gcc 4.7.1 (GCC)
    configuration: --prefix=/users/albanie/local/usr
    libavutil      54. 31.100 / 54. 31.100
    libavcodec     56. 60.100 / 56. 60.100
    libavformat    56. 40.101 / 56. 40.101
    libavdevice    56.  4.100 / 56.  4.100
    libavfilter     5. 40.101 /  5. 40.101
    libswscale      3.  1.101 /  3.  1.101
    libswresample   1.  2.101 /  1.  2.101
    Splitting the commandline.
    Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
    Reading option '-i' ... matched as input file with argument 'example.m4v'.
    Reading option 'image%d.jpg' ... matched as output file.
    Finished splitting the commandline.
    Parsing a group of options: global .
    Applying option v (set logging level) with argument debug.
    Successfully parsed a group of options.
    Parsing a group of options: input file example.m4v.
    Successfully parsed a group of options.
    Opening an input file: example.m4v.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ee2380] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ee2380] ISO: File Type Major Brand: M4V
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ee2380] Before avformat_find_stream_info() pos: 185580655 bytes read:927102 seeks:1
    [h264 @ 0x2ee3720] no picture
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ee2380] All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ee2380] After avformat_find_stream_info() pos: 24214 bytes read:959870 seeks:2 frames:3
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'example.m4v':
    Metadata:
     major_brand     : M4V
     minor_version   : 512
     compatible_brands: isomiso2avc1
     encoder         : Lavf56.25.101
    Duration: 00:13:47.93, start: 0.033333, bitrate: 1793 kb/s
    Stream #0:0(und), 2, 1/30000: Video: h264 (High), 4 reference frames (avc1 / 0x31637661), yuv420p(left), 720x576 [SAR 64:45 DAR 16:9], 1001/60000, 1656 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
    Metadata:
     handler_name    : VideoHandler
    Stream #0:1(eng), 1, 1/48000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
     handler_name    : SoundHandler
    Successfully opened the file.
    Parsing a group of options: output file image%d.jpg.
    Successfully parsed a group of options.
    Opening an output file: image%d.jpg.
    Successfully opened the file.
    detected 32 logical cores
    [graph 0 input from stream 0:0 @ 0x303f7c0] Setting 'video_size' to value '720x576'
    [graph 0 input from stream 0:0 @ 0x303f7c0] Setting 'pix_fmt' to value '0'
    [graph 0 input from stream 0:0 @ 0x303f7c0] Setting 'time_base' to value '1/30000'
    [graph 0 input from stream 0:0 @ 0x303f7c0] Setting 'pixel_aspect' to value '64/45'
    [graph 0 input from stream 0:0 @ 0x303f7c0] Setting 'sws_param' to value 'flags=2'
    [graph 0 input from stream 0:0 @ 0x303f7c0] Setting 'frame_rate' to value '30000/1001'
    [graph 0 input from stream 0:0 @ 0x303f7c0] w:720 h:576 pixfmt:yuv420p tb:1/30000 fr:30000/1001 sar:64/45 sws_param:flags=2
    [format @ 0x2f750c0] compat: called with args=[yuvj420p|yuvj422p|yuvj444p]
    [format @ 0x2f750c0] Setting 'pix_fmts' to value 'yuvj420p|yuvj422p|yuvj444p'
    [auto-inserted scaler 0 @ 0x2f75f00] Setting 'flags' to value 'bicubic'
    [auto-inserted scaler 0 @ 0x2f75f00] w:iw h:ih flags:'bicubic' interl:0
    [format @ 0x2f750c0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_null_0' and the filter 'format'
    [AVFilterGraph @ 0x303f720] query_formats: 4 queried, 2 merged, 1 already done, 0 delayed
    [auto-inserted scaler 0 @ 0x2f75f00] picking yuvj420p out of 3 ref:yuv420p alpha:0
    [swscaler @ 0x2f664a0] deprecated pixel format used, make sure you did set range correctly
    [auto-inserted scaler 0 @ 0x2f75f00] w:720 h:576 fmt:yuv420p sar:64/45 -> w:720 h:576 fmt:yuvj420p sar:64/45 flags:0x4
    [mjpeg @ 0x2ee96c0] Forcing thread count to 1 for MJPEG encoding, use -thread_type slice or a constant quantizer if you want to use multiple cpu cores
    [mjpeg @ 0x2ee96c0] intra_quant_bias = 96 inter_quant_bias = 0
    Output #0, image2, to 'image%d.jpg':
    Metadata:
     major_brand     : M4V
     minor_version   : 512
     compatible_brands: isomiso2avc1
     encoder         : Lavf56.25.101
    Stream #0:0(und), 0, 1001/30000: Video: mjpeg, 1 reference frame, yuvj420p(pc, left), 720x576 [SAR 64:45 DAR 16:9], 1001/30000, q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc (default)
    Metadata:
     handler_name    : VideoHandler
     encoder         : Lavc56.60.100 mjpeg
    Stream mapping:
    Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
    Error while opening decoder for input stream #0:0 : Resource temporarily unavailable
    [AVIOContext @ 0x2eeaee0] Statistics: 959870 bytes read, 2 seeks

    I also tried using a static build off ffmpeg, downloaded from here, but got the same resource temporarily unavailable message. Any ideas on how I might be able to fix this ?