Recherche avancée

Médias (1)

Mot : - Tags -/illustrator

Autres articles (54)

  • 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

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (6393)

  • Where is my ffmpeg stream getting saved to ?

    20 mars 2019, par Chris

    I’m just starting to explore ffmpeg (ultimately for use with openCV), and I’m running this command :

    root@beaglebone:/# ffmpeg -f video4linux2 -r 25 -s 640x480 -i /dev/video0 /out.avi

    At which point the camera indicator light turns on and it appears to be capturing. However when I end it with CTRL+C, the file is nowhere to be found.

    Any thoughts ?

    Full output :

    root@beaglebone:/# ffmpeg -f video4linux2 -r 25 -s 640x480 -i /dev/video0 /out.avi
    ffmpeg version v0.7.4, Copyright (c) 2000-2011 the Libav developers
     built on Oct  9 2012 10:50:57 with gcc 4.5.4 20120305 (prerelease)
     configuration: --enable-shared --enable-pthreads --enable-gpl --enable-postproc --enable-avfilter --cross-prefix=arm-angstrom-linux-gnueabi- --prefix=/usr --enable-ffserver --enable-ffplay --enable-x11grab --enable-libtheora --enable-libvorbis --arch=arm --target-os=linux --enable-cross-compile --extra-cflags=' -fexpensive-optimizations -fomit-frame-pointer -O4 -ffast-math -march=armv7-a -fno-tree-vectorize -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 --sysroot=/home/koen/setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/beaglebone' --extra-ldflags='-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed' --sysroot=/home/koen/setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/beaglebone --enable-hardcoded-tables --cpu=cortex-a8
     libavutil    51.  7. 0 / 51.  7. 0
     libavcodec   53.  6. 0 / 53.  6. 0
     libavformat  53.  3. 0 / 53.  3. 0
     libavdevice  53.  0. 0 / 53.  0. 0
     libavfilter   2.  4. 0 /  2.  4. 0
     libswscale    2.  0. 0 /  2.  0. 0
     libpostproc  52.  0. 0 / 52.  0. 0
    ^C
    root@beaglebone:/# ls
    bin   dev  home  lost+found  mnt  proc  sbin  tmp  var
    boot  etc  lib   media       opt  run   sys   usr
    root@beaglebone:/#
  • Vitamio RTMP audio streaming issue

    12 avril 2017, par Prophet

    I have issue streaming audio live (web radio) using Vitamio, more inforamtion down below...
    Log :

    04-12 12:51:23.521 30307-30307/prophet.rtmptest I/Vitamio[5.2.3][Player]: Copyright (c) YIXIA (http://yixia.com).
                                                                             THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
    04-12 12:51:23.522 30307-30307/prophet.rtmptest I/Vitamio[5.2.3][Player]: LOAD FFMPEG START: /data/app/prophet.rtmptest-2/lib/arm64/libffmpeg.so
    04-12 12:51:23.526 30307-30307/prophet.rtmptest E/Vitamio[5.2.3][Player]: FIND_NAME_SYM ffmpeg, ff_ass_split
    04-12 12:51:23.526 30307-30307/prophet.rtmptest E/Vitamio[5.2.3][Player]: FIND_NAME_SYM ffmpeg, ff_ass_split_dialog
    04-12 12:51:23.526 30307-30307/prophet.rtmptest E/Vitamio[5.2.3][Player]: FIND_NAME_SYM ffmpeg, ff_ass_split_free
    04-12 12:51:23.526 30307-30307/prophet.rtmptest E/Vitamio[5.2.3][Player]: FIND_NAME_SYM ffmpeg, av_close_input_file
    04-12 12:51:23.527 30307-30307/prophet.rtmptest I/Vitamio[5.2.3][Player]: LOAD FFMPEG END: /data/app/prophet.rtmptest-2/lib/arm64/libffmpeg.so
    04-12 12:51:23.527 30307-30307/prophet.rtmptest I/Vitamio[5.2.3][Player]: LOAD VVO START: /data/app/prophet.rtmptest-2/lib/arm64/libvvo.9.so
    04-12 12:51:23.528 30307-30307/prophet.rtmptest E/Vitamio[5.2.3][Player]: FIND_NAME_SYM vvo, render_yuv
    04-12 12:51:23.528 30307-30307/prophet.rtmptest I/Vitamio[5.2.3][Player]: LOAD VVO END: /data/app/prophet.rtmptest-2/lib/arm64/libvvo.9.so
    04-12 12:51:23.528 30307-30307/prophet.rtmptest I/Vitamio[5.2.3][Player]: LOAD VAO START: /data/app/prophet.rtmptest-2/lib/arm64/libvao.0.so
    04-12 12:51:23.528 30307-30307/prophet.rtmptest I/Vitamio[5.2.3][Player]: LOAD VAO END: /data/app/prophet.rtmptest-2/lib/arm64/libvao.0.so
    04-12 12:51:23.529 30307-30307/prophet.rtmptest I/Vitamio[5.2.3][Player]: VPLAYER INIT BEGIN
    04-12 12:51:23.529 30307-30307/prophet.rtmptest I/Vitamio[5.2.3][Player]: Application package name: prophet.rtmptest
    04-12 12:51:23.533 30307-30307/prophet.rtmptest I/Vitamio[5.2.3][Player]: VPLAYER INIT END
    04-12 12:51:23.533 30307-30307/prophet.rtmptest I/Vitamio[5.2.3][Player]: Copyright (c) YIXIA (http://yixia.com).
                                                                             THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
    04-12 12:51:23.533 30307-30307/prophet.rtmptest I/Vitamio[5.2.3][Player]: Application package name: prophet.rtmptest
    04-12 12:51:23.533 30307-30307/prophet.rtmptest E/Vitamio[5.2.3][Player]: SURFACE INIT FAILED
    04-12 12:51:23.533 30307-30307/prophet.rtmptest I/Vitamio[5.2.3][Player]: PREPARE SIG: 0
    04-12 12:51:23.534 30307-30388/prophet.rtmptest I/Vitamio[5.2.3][Player]: THREAD PREPARE START
    04-12 12:51:23.534 30307-30388/prophet.rtmptest I/Vitamio[5.2.3][Player]: THREAD PREPARE ATTACHED
    04-12 12:51:23.534 30307-30307/prophet.rtmptest I/Vitamio[5.2.3][Player]: start
    04-12 12:51:23.534 30307-30307/prophet.rtmptest E/Vitamio[5.2.3][Player]: start called in state 4
    04-12 12:51:23.534 30307-30388/prophet.rtmptest I/Vitamio[5.2.3][Player]: Copyright (c) YIXIA (http://yixia.com).
                                                                             THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
    04-12 12:51:23.534 30307-30388/prophet.rtmptest I/Vitamio[5.2.3][Player]: Vitamio Version 5.2.3
    04-12 12:51:23.534 30307-30388/prophet.rtmptest I/Vitamio[5.2.3][Player]: OPEN FILE rtmp://MY RTMP URL/
    04-12 12:51:23.575 30307-30307/prophet.rtmptest D/InputTransport: Input channel constructed: fd=65
    04-12 12:51:23.575 30307-30307/prophet.rtmptest D/ViewRootImpl@92ec736[MainActivity]: setView = DecorView@80e47a4[MainActivity] touchMode=true
    04-12 12:51:23.581 30307-30307/prophet.rtmptest W/Activity: AppLock checkAppLockState locked:false verifying:false pkgName = prophet.rtmptest isInMultiWindowMode:false
    04-12 12:51:23.638 30307-30390/prophet.rtmptest I/OpenGLRenderer: Initialized EGL, version 1.4
    04-12 12:51:23.638 30307-30390/prophet.rtmptest D/OpenGLRenderer: Swap behavior 1
    04-12 12:51:23.648 30307-30390/prophet.rtmptest D/libGLESv1: STS_GLApi : DTS is not allowed for Package : prophet.rtmptest
    04-12 12:51:23.652 30307-30390/prophet.rtmptest D/mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000,  [1440x2560]-format:1
    04-12 12:51:23.673 30307-30307/prophet.rtmptest D/ViewRootImpl@92ec736[MainActivity]: MSG_RESIZED_REPORT: ci=Rect(0, 96 - 0, 0) vi=Rect(0, 96 - 0, 0) or=1
    04-12 12:51:23.673 30307-30307/prophet.rtmptest D/ViewRootImpl@92ec736[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1
    04-12 12:51:23.677 30307-30307/prophet.rtmptest I/InputMethodManager: [IMM] startInputInner - mService.startInputOrWindowGainedFocus
    04-12 12:51:23.687 30307-30320/prophet.rtmptest D/InputTransport: Input channel constructed: fd=71
    04-12 12:51:23.807 30307-30388/prophet.rtmptest E/Vitamio[5.2.3][Player]: avformat_open_input: I/O error : -5
    04-12 12:51:23.808 30307-30387/prophet.rtmptest E/Vitamio[5.2.3][Player]: error (1, -5)
    04-12 12:51:23.808 30307-30387/prophet.rtmptest I/Vitamio[5.2.3][Player]: FILE CLOSE BEGIN
    04-12 12:51:23.808 30307-30387/prophet.rtmptest I/Vitamio[5.2.3][Player]: FREE VIDEOPIC BEGIN
    04-12 12:51:23.808 30307-30387/prophet.rtmptest I/Vitamio[5.2.3][Player]: FREE VIDEOPIC 2 END
    04-12 12:51:23.808 30307-30387/prophet.rtmptest I/Vitamio[5.2.3][Player]: FREE SUBPIC BEGIN
    04-12 12:51:23.808 30307-30387/prophet.rtmptest I/Vitamio[5.2.3][Player]: FREE SUBPIC 1 END
    04-12 12:51:23.808 30307-30387/prophet.rtmptest I/Vitamio[5.2.3][Player]: FREE AUDIOFRAME BEGIN
    04-12 12:51:23.808 30307-30387/prophet.rtmptest I/Vitamio[5.2.3][Player]: FREE AUDIOFRAME 8 END
    04-12 12:51:23.808 30307-30387/prophet.rtmptest I/Vitamio[5.2.3][Player]: DELETE GLOBAL REF BEGIN
    04-12 12:51:23.808 30307-30387/prophet.rtmptest I/Vitamio[5.2.3][Player]: DELETE GLOBAL REF END
    04-12 12:51:23.808 30307-30387/prophet.rtmptest I/Vitamio[5.2.3][Player]: FILE CLOSE END
    04-12 12:51:23.808 30307-30388/prophet.rtmptest I/Vitamio[5.2.3][Player]: THREAD PREPARE DETTACHED, ret = 0
    04-12 12:51:23.808 30307-30388/prophet.rtmptest I/Vitamio[5.2.3][Player]: THREAD PREPARE END
    04-12 12:51:23.892 30307-30307/prophet.rtmptest E/Vitamio[Player]: Error (1, -5)

    And here is my java setup :

    private void setupVitamioLive() {
           media = new MediaPlayer(this);
           try {
               media.reset();
               media.setDataSource(path);
               media.prepare();
               media.setOnPreparedListener(new MediaPlayer.OnPreparedListener() {
                           @Override
                           public void onPrepared(MediaPlayer mediaPlayer) {
                               mediaPlayer.start();
                               text.setText("prepared");
                           }
                       });
               media.setOnInfoListener(new MediaPlayer.OnInfoListener() {

                   @Override
                   public boolean onInfo(MediaPlayer mediaPlayer, int what, int extra) {
                       switch (what) {
                           case MediaPlayer.MEDIA_INFO_FILE_OPEN_OK:
                               mediaPlayer.audioInitedOk(mediaPlayer.audioTrackInit());
                               text.setText("info ok");
                               break;
                       }
                       return false;
                   }
               });
           } catch (IOException e) {
               e.printStackTrace();
           }
       }

    Running on :

    - armv8a

    - android 7.0

    - targetSdk 25 (tried on 21 as well, but still there is same error)

    - Vitamio 5.2.3 which is latest (i saw file updated 8 days ago, so it`s the latest one)
    There is no error about ffmpeg lib on initialization or any kind of crash, just nothing happens and this log...


    P.S audio plays perfectly fine in flowplayer, so there is zero server side issue

  • My ExoPlayer Is opening Streams but no audio

    21 décembre 2019, par Oni

    I have created an app to play some m3u8/ts urls with exoplayer version 2.10.5
    The urls play good but some of them has only video but no audio and some other urls it works as it should, having both video and audio. Some of the urls on vlc say that have aac audios and those links seems to play both video and audio. The app struggles play both audio and video on a part of the streams with mp2 audio, there are other streams with mp2 audio which play both audio and video. Thats why i don’t know what is going on, on audio mp2 40% of the links i have tried work good, and some of mp2 60% do not work with audio.
    the debug

    I/ExoPlayerImpl: Init b6a37fa [ExoPlayerLib/2.10.5] [lv3n, LG-M200, LGE, 27]
    D/INFO: ActivityVideoPlayer
    E/FA: Task exception on worker thread: java.lang.NoSuchFieldError: No static field zzaqq of type [Ljava/lang/String; in class Lcom/google/android/gms/measurement/internal/zzcu; or its superclasses (declaration of 'com.google.android.gms.measurement.internal.zzcu' appears in /data/app/com.app.OniHD-d6Z9YgKSRXasFDMB0IqZuQ==/base.apk!classes2.dex): com.google.android.gms.measurement.internal.zzfy.zzcu(Unknown Source:161)
    V/FA: Activity resumed, time: 868504897
    W/Adreno-EGL: : EGL_BAD_ATTRIBUTE
    D/vndksupport: Loading /vendor/lib/hw/gralloc.msm8937.so from current namespace instead of sphal namespace.
    D/ActivityStreamPlayer: onTimelineChanged:
    D/ActivityStreamPlayer: onLoadingChanged: true
    D/FA: Connected to remote service
    V/FA: Processing queued up service tasks: 1
    I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@af1afee time:281647215
    W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
      Unrecognized profile 2130706434 for video/avc
    W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
      Unrecognized profile 2130706434 for video/avc
    D/ActivityStreamPlayer: onTracksChanged: 3
    D/MediaCodec: CreateByComponentName name=OMX.qcom.video.decoder.avc
      Mediacodec create pid=16947
      init()++ name=OMX.qcom.video.decoder.avc,nameIsType=0,encoder=0
    V/LGCodecAdapter: LG Codec Adapter start
      load libLGCodecOSAL library
    V/LGCodecOSAL: Just Validatation check function
    I/ACodec: Now uninitialized
    D/MediaCodec: kWhatInit received
    I/ACodec: onAllocateComponent
    I/OMXClient: Treble IOmx obtained
    D/MediaCodec: onComponentAllocated() componentName=OMX.qcom.video.decoder.avc
    I/ACodec: [OMX.qcom.video.decoder.avc] Now Loaded
    D/MediaCodec: kWhatComponentAllocated received
    D/MediaCodec: init()--
    D/MediaCodec: kWhatConfigure received
    D/SurfaceUtils: connecting to surface 0x76ff4808, reason connectToSurface
    I/MediaCodec: [OMX.qcom.video.decoder.avc] setting surface generation to 17353729
    D/SurfaceUtils: disconnecting from surface 0x76ff4808, reason connectToSurface(reconnect)
    D/SurfaceUtils: connecting to surface 0x76ff4808, reason connectToSurface(reconnect)
    V/LGCodecAdapter: called getLGCodecSpecificData
    V/LGCodecOSAL: Called LGgetCodecSpecificDataMSG
    V/LGCodecAdapter: called IsLGComponent
    I/ExtendedACodec: setupVideoDecoder()
    I/ExtendedACodec: Decoder will be in frame by frame mode
    V/LGCodecOSAL: Called LGconfigureCodecMSG
      Not support LGCodec
    D/MediaCodec: onComponentConfigured()
    D/MediaCodec: kWhatComponentConfigured received
    D/MediaCodec: start()
    D/MediaCodec: kWhatStart received
    D/SurfaceUtils: set up nativeWindow 0x76ff4808 for 720x576, color 0x7fa30c04, rotation 0, usage 0x20002900
    I/ACodec: [OMX.qcom.video.decoder.avc] Allocating 22 meta buffers on output port
    I/ACodec: [OMX.qcom.video.decoder.avc] Now Idle->Executing
    I/ACodec: [OMX.qcom.video.decoder.avc] Now Executing
    I/ACodec: [OMX.qcom.video.decoder.avc] Now handling output port settings change
    D/SurfaceUtils: set up nativeWindow 0x76ff4808 for 720x576, color 0x7fa30c04, rotation 0, usage 0x20002900
    I/ACodec: [OMX.qcom.video.decoder.avc] Allocating 10 meta buffers on output port
    I/ACodec: [OMX.qcom.video.decoder.avc] Now Executing
    D/ActivityStreamPlayer: onPlayerStateChanged: true
    I/zygote: Background concurrent copying GC freed 103397(7MB) AllocSpace objects, 70(2MB) LOS objects, 66% free, 5MB/17MB, paused 197us total 127.642ms
    V/FA: Session started, time: 868507783
    E/FA: Task exception on worker thread: java.lang.NoSuchFieldError: No static field zzaqr of type [Ljava/lang/String; in class Lcom/google/android/gms/measurement/internal/zzcu; or its superclasses (declaration of 'com.google.android.gms.measurement.internal.zzcu' appears in /data/app/com.app.OniHD-d6Z9YgKSRXasFDMB0IqZuQ==/base.apk!classes2.dex): com.google.android.gms.measurement.internal.zzaq.zzbt(Unknown Source:11)
    I/zygote: Do full code cache collection, code=507KB, data=419KB
    I/zygote: After code cache collection, code=502KB, data=339KB
    V/FA: Inactivity, disconnecting from the service
    I/zygote: Do partial code cache collection, code=506KB, data=343KB
    I/zygote: After code cache collection, code=506KB, data=343KB
      Increasing code cache capacity to 2MB
    W/DpmTcmClient: Couldn't find 'tcm' socket after 120times. quit trying

    ExoPlayer -

    private void setupPlayer() {
               BANDWIDTH_METER = new DefaultBandwidthMeter.Builder(this)
                       .build();
               mediaDataSourceFactory = buildDataSourceFactory(true);
               RenderersFactory renderersFactory = new DefaultRenderersFactory(this);
               TrackSelection.Factory videoTrackSelectionFactory = new AdaptiveTrackSelection.Factory();
               TrackSelector trackSelector = new DefaultTrackSelector(videoTrackSelectionFactory);
               LoadControl loadControl = new DefaultLoadControl();
               player = ExoPlayerFactory.newSimpleInstance(this, renderersFactory,
                       trackSelector,
                       loadControl);

           playerView = findViewById(R.id.exoPlayerView);
           playerView.setPlayer(player);
           playerView.setRepeatToggleModes(REPEAT_TOGGLE_MODE_ALL);
           playerView.setUseController(true);
           playerView.requestFocus();

           Uri uri = Uri.parse(url);


           MediaSource mediaSource = buildMediaSource(uri, null);

           player.prepare(mediaSource);
           player.setPlayWhenReady(true);```