Recherche avancée

Médias (9)

Mot : - Tags -/soundtrack

Autres articles (49)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (9286)

  • How to solve bad instruction `vadd.i16 q0,q0,q0' when attempting to check gcc for neon instruction

    6 juillet 2012, par newentry
    Checking  gcc supports failed for neon instruction vadd.i16 q0,q0,q0
       test.c

       int main ()
       {
        __asm__("vadd.i16 q0, q0, q0"); return 0;
       }

       arm-linux-androideabi-gcc test.c
       /tmp/ccfc8m0G.s: Assembler messages:
       /tmp/ccfc8m0G.s:24: Error: bad instruction `vadd.i16 q0,q0,q0'

    Tried with flags -mcpu=cortex-a8 -mfpu=neon but stil no success

    Above code was used to test gcc support for neon instruction.

    Actually i am trying to build x264 with NEON support for ARM platformAfter running configure script
    x264 config log file contains

    Command line options : "—cross-prefix=arm-linux-androideabi-" "—enable-pic" "—extra- cflags=-mcpu=cortex-a8" "—host=arm-linux"

    checking whether arm-linux-androideabi-gcc works... yes
    checking whether arm-linux-androideabi-gcc supports for( int i = 0; i < 9; i++ ); with -std=gnu99... yes
    checking whether arm-linux-androideabi-gcc supports __asm__("rev ip, ip");... yes
    checking whether arm-linux-androideabi-gcc supports __asm__("movt r0, #0");... yes
    checking whether arm-linux-androideabi-gcc supports __asm__("vadd.i16 q0, q0, q0");... no

    arm-linux-androideabi-gcc conftest.c  -Wall -I. -I$(SRCPATH) -mcpu=cortex-a8 -std=gnu99    -lm -o conftest
    E:\cygwin\tmp\ccVtVI1i.s: Assembler messages:
    E:\cygwin\tmp\ccVtVI1i.s:24: Error: bad instruction `vadd.i16 q0,q0,q0'
    --------------------------------------------------
    Failed program was:
    --------------------------------------------------
    int main () { __asm__("vadd.i16 q0, q0, q0"); return 0; }
    --------------------------------------------------


    config.h contains

    #define HAVE_MALLOC_H 1
    #define HAVE_ARMV6 1
    #define HAVE_ARMV6T2 1
    #define ARCH_ARM 1
    #define SYS_LINUX 1
    #define HAVE_VECTOREXT 1
    #define fseek fseeko
    #define ftell ftello
    #define HAVE_GPL 1
    #define HAVE_INTERLACED 1
    #define HAVE_ALTIVEC 0
    #define HAVE_ALTIVEC_H 0
    #define HAVE_MMX 0
    #define HAVE_NEON 0
    #define HAVE_BEOSTHREAD 0
    #define HAVE_POSIXTHREAD 0
    #define HAVE_WIN32THREAD 0
    #define HAVE_THREAD 0
    #define HAVE_LOG2F 0
    #define HAVE_VISUALIZE 0
    #define HAVE_SWSCALE 0
    #define HAVE_LAVF 0
    #define HAVE_FFMS 0
    #define HAVE_GPAC 0
    #define HAVE_GF_MALLOC 0
    #define HAVE_AVS 0
    #define HAVE_CPU_COUNT 0


    Running make command build x264 static lib  based on above config.h which contains HAVE_NEON 0


    **Compiler Version**



    arm-linux-androideabi-gcc -v
    Using built-in specs.
    Target: arm-linux-androideabi
    Configured with: /tmp/ndk-digit/src/build/../gcc/gcc-4.4.3/configure --prefix=/usr/local/google/digit/repo/opensource/ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows --target=arm-linux-androideabi --host=i586-mingw32msvc --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/tmp/ndk-digit/build/toolchain/temp-install --with-mpfr=/tmp/ndk-digit/build/toolchain/temp-install --disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable
    -libgomp --disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared --disable-tls --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --enable-initfini-array --disable-nls --prefix=/usr/local/google/digit/repo/opensource/ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows --with-sysroot=/usr/local/google/digit/repo/opensource/ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/sysroot --with-binutils-version=2.20.1 --with-mpfr-version=2.4.1 --with
    -gmp-version=4.2.4 --with-gcc-version=4.4.3 --with-gdb-version=6.6 --with-arch=armv5te --program-transform-name='s,^,arm-linux-androideabi-,'
    Thread model: posix
    gcc version 4.4.3 (GCC)    

    Goal is to utilize neon enabled ARM processor to boost x264 encoder performance...

  • Comand failed error with ffmpeg Node.js library

    24 juillet 2020, par msrumon

    I have a VPS of 2-core CPU and 2GB of memory. I am using this ffmpeg library to convert a video at a lower resolution and apply watermark. The app gives me this error :

    


    App 1442311 output: Error: Command failed: ffmpeg -i /home/cimbi/galaxnetpictures/tmp/2ee061f0-cd7b-11ea-81aa-05472f29ddbf.mp4 -i /home/cimbi/galaxnetpictures/public/logo.png -f webm -aspect 16:9 -s 1280x720 -filter_complex "overlay=main_w/2-overlay_w/2-0+0:main_h/2-overlay_h/2-0+0, scale=iw*sar:ih, pad=max(iw\,ih*(16/9)):ow/(16/9):(ow-iw)/2:(oh-ih)/2" /home/cimbi/galaxnetpictures/_previews_/e1ec28363c7af82474250fb88a447705.webm
App 1442311 output: ffmpeg version 2.8.15 Copyright (c) 2000-2018 the FFmpeg developers
App 1442311 output:   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-36)
App 1442311 output:   configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --extra-ldflags='-Wl,-z,relro ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --enable-libfdk-aac --enable-nonfree --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
App 1442311 output:   libavutil      54. 31.100 / 54. 31.100
App 1442311 output:   libavcodec     56. 60.100 / 56. 60.100
App 1442311 output:   libavformat    56. 40.101 / 56. 40.101
App 1442311 output:   libavdevice    56.  4.100 / 56.  4.100
App 1442311 output:   libavfilter     5. 40.101 /  5. 40.101
App 1442311 output:   libavresample   2.  1.  0 /  2.  1.  0
App 1442311 output:   libswscale      3.  1.101 /  3.  1.101
App 1442311 output:   libswresample   1.  2.101 /  1.  2.101
App 1442311 output:   libpostproc    53.  3.100 / 53.  3.100
App 1442311 output: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/cimbi/galaxnetpictures/tmp/2ee061f0-cd7b-11ea-81aa-05472f29ddbf.mp4':
App 1442311 output:   Metadata:
App 1442311 output:     major_brand     : mp42
App 1442311 output:     minor_version   : 0
App 1442311 output:     compatible_brands: mp42mp41
App 1442311 output:     creation_time   : 2019-10-26 11:48:02
App 1442311 output:   Duration: 00:00:08.67, start: 0.000000, bitrate: 11191 kb/s
App 1442311 output:     Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 11179 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc (default)
App 1442311 output:     Metadata:
App 1442311 output:       creation_time   : 2019-10-26 11:48:02
App 1442311 output:       handler_name    : Alias Data Handler
App 1442311 output:       encoder         : AVC Coding
App 1442311 output: Input #1, png_pipe, from '/home/cimbi/galaxnetpictures/public/logo.png':
App 1442311 output:   Duration: N/A, bitrate: N/A
App 1442311 output:     Stream #1:0: Video: png, rgba64be(pc), 120x30 [SAR 11811:11811 DAR 4:1], 25 tbr, 25 tbn, 25 tbc
App 1442311 output: 
App 1442311 output:     at ChildProcess.exithandler (child_process.js:295:12)
App 1442311 output:     at ChildProcess.emit (events.js:209:13)
App 1442311 output:     at maybeClose (internal/child_process.js:1021:16)
App 1442311 output:     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)


    


    Can someone help me understand what this means ?

    


  • xuggler : no video in encoded 3gp file

    1er août 2012, par khizar

    i am trying to encode videos into 3gp format using xuggler, i somehow got it to work, work as in the program stopped throwing errors and exceptions, but the new file that is created does not have any video. Now there is no error or exception for me to work with so i have stuck a wall.
    EDIT : Note the audio is working as it shud.

    This is the code for the main function where the listeners are configured

    IMediaReader reader = ToolFactory.makeReader("/home/hp/mms/b.flv") ;

       IMediaWriter writer = ToolFactory.makeWriter("/home/hp/mms/xuggle/a_converted.3gp", reader);

       IMediaDebugListener debugListener = ToolFactory.makeDebugListener();
       writer.addListener(debugListener);

       ConvertVideo convertor = new ConvertVideo(new File("/home/hp/mms/b.flv"), new File("/home/hp/mms/xuggle/a_converted.3gp"));
       // convertor.addListener(writer);
       reader.addListener(writer);
       writer.addListener(convertor);

       while (reader.readPacket() == null)
           ;

    And this is the code for the convertor that i wrote.

    public ConvertVideo(File inputFile, File outputFile)
    {
       this.outputFile = outputFile;
       reader = ToolFactory.makeReader(inputFile.getAbsolutePath());
       reader.addListener(this);
    }
    private IVideoResampler videoResampler = null;
    private IAudioResampler audioResampler = null;

    @Override
    public void onAddStream(IAddStreamEvent event)
    {
       if (writer == null)
       {
           writer = ToolFactory.makeWriter(outputFile.getAbsolutePath(), reader);

       }

       int streamIndex = event.getStreamIndex();
       IStreamCoder streamCoder = event.getSource().getContainer().getStream(streamIndex).getStreamCoder();

       if (streamCoder.getCodecType() == ICodec.Type.CODEC_TYPE_AUDIO)
       {
           streamCoder.setFlag(IStreamCoder.Flags.FLAG_QSCALE, false);
           writer.addAudioStream(streamIndex, 0, 1, 8000);
       }
       else if (streamCoder.getCodecType() == ICodec.Type.CODEC_TYPE_VIDEO)
       {
           streamCoder.setFlag(IStreamCoder.Flags.FLAG_QSCALE, false);
           streamCoder.setCodec(ICodec.findEncodingCodecByName("h263"));
           writer.addVideoStream(streamIndex, 0, VIDEO_WIDTH, VIDEO_HEIGHT);

       }
       super.onAddStream(event);
    }

    // //
    @Override
    public void onVideoPicture(IVideoPictureEvent event)
    {
       IVideoPicture pic = event.getPicture();
       if (videoResampler == null)
       {
           videoResampler = IVideoResampler.make(VIDEO_WIDTH, VIDEO_HEIGHT, pic.getPixelType(), pic.getWidth(), pic.getHeight(), pic.getPixelType());
       }
       IVideoPicture out = IVideoPicture.make(pic.getPixelType(), VIDEO_WIDTH, VIDEO_HEIGHT);
       videoResampler.resample(out, pic);

       IVideoPictureEvent asc = new VideoPictureEvent(event.getSource(), out, event.getStreamIndex());
       super.onVideoPicture(asc);
       out.delete();
    }

    @Override
    public void onAudioSamples(IAudioSamplesEvent event)
    {
       IAudioSamples samples = event.getAudioSamples();
       if (audioResampler == null)
       {
           audioResampler = IAudioResampler.make(1, samples.getChannels(), 8000, samples.getSampleRate());
       }
       if (event.getAudioSamples().getNumSamples() > 0)
       {
           IAudioSamples out = IAudioSamples.make(samples.getNumSamples(), samples.getChannels());
           audioResampler.resample(out, samples, samples.getNumSamples());

           AudioSamplesEvent asc = new AudioSamplesEvent(event.getSource(), out, event.getStreamIndex());
           super.onAudioSamples(asc);
           out.delete();
       }
    }

    I just cant seem to figure out where the problem is. I wud be thankful if someone wud plz point me in the right direction.

    EDIT : If i see the properties of my newly encoded video, its audio properties are set and its video properties are not i.e in video properties, dimension= 0 x 0, frame rate= N/A and codec= h.263. The problem here is the 0 x 0 dimension.