Advanced search

Medias (91)

Other articles (46)

  • Installation en mode ferme

    4 February 2011, by

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 February 2011, by

    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.

  • MediaSPIP v0.2

    21 June 2013, by

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

On other websites (5937)

  • exo player mp2, aac audio format and avi video format [closed]

    27 May 2020, by Muhammet
    

    

    /*&#xD;&#xA; * Copyright (C) 2016 The Android Open Source Project&#xD;&#xA; *&#xD;&#xA; * Licensed under the Apache License, Version 2.0 (the "License");&#xD;&#xA; * you may not use this file except in compliance with the License.&#xD;&#xA; * You may obtain a copy of the License at&#xD;&#xA; *&#xD;&#xA; *      http://www.apache.org/licenses/LICENSE-2.0&#xD;&#xA; *&#xD;&#xA; * Unless required by applicable law or agreed to in writing, software&#xD;&#xA; * distributed under the License is distributed on an "AS IS" BASIS,&#xD;&#xA; * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&#xD;&#xA; * See the License for the specific language governing permissions and&#xD;&#xA; * limitations under the License.&#xD;&#xA; */&#xD;&#xA;package com.google.android.exoplayer2.ext.ffmpeg;&#xD;&#xA;&#xD;&#xA;import android.os.Handler;&#xD;&#xA;import androidx.annotation.Nullable;&#xD;&#xA;import com.google.android.exoplayer2.C;&#xD;&#xA;import com.google.android.exoplayer2.ExoPlaybackException;&#xD;&#xA;import com.google.android.exoplayer2.Format;&#xD;&#xA;import com.google.android.exoplayer2.audio.AudioProcessor;&#xD;&#xA;import com.google.android.exoplayer2.audio.AudioRendererEventListener;&#xD;&#xA;import com.google.android.exoplayer2.audio.AudioSink;&#xD;&#xA;import com.google.android.exoplayer2.audio.DefaultAudioSink;&#xD;&#xA;import com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer;&#xD;&#xA;import com.google.android.exoplayer2.drm.DrmSessionManager;&#xD;&#xA;import com.google.android.exoplayer2.drm.ExoMediaCrypto;&#xD;&#xA;import com.google.android.exoplayer2.util.Assertions;&#xD;&#xA;import com.google.android.exoplayer2.util.MimeTypes;&#xD;&#xA;import java.util.Collections;&#xD;&#xA;import org.checkerframework.checker.nullness.qual.MonotonicNonNull;&#xD;&#xA;&#xD;&#xA;/**&#xD;&#xA; * Decodes and renders audio using FFmpeg.&#xD;&#xA; */&#xD;&#xA;public final class FfmpegAudioRenderer extends SimpleDecoderAudioRenderer {&#xD;&#xA;&#xD;&#xA;  /** The number of input and output buffers. */&#xD;&#xA;  private static final int NUM_BUFFERS = 16;&#xD;&#xA;  /** The default input buffer size. */&#xD;&#xA;  private static final int DEFAULT_INPUT_BUFFER_SIZE = 960 * 6;&#xD;&#xA;&#xD;&#xA;  private final boolean enableFloatOutput;&#xD;&#xA;&#xD;&#xA;  private @MonotonicNonNull FfmpegDecoder decoder;&#xD;&#xA;&#xD;&#xA;  public FfmpegAudioRenderer() {&#xD;&#xA;    this(/* eventHandler= */ null, /* eventListener= */ null);&#xD;&#xA;  }&#xD;&#xA;&#xD;&#xA;  /**&#xD;&#xA;   * @param eventHandler A handler to use when delivering events to {@code eventListener}. May be&#xD;&#xA;   *     null if delivery of events is not required.&#xD;&#xA;   * @param eventListener A listener of events. May be null if delivery of events is not required.&#xD;&#xA;   * @param audioProcessors Optional {@link AudioProcessor}s that will process audio before output.&#xD;&#xA;   */&#xD;&#xA;  public FfmpegAudioRenderer(&#xD;&#xA;          @Nullable Handler eventHandler,&#xD;&#xA;          @Nullable AudioRendererEventListener eventListener,&#xD;&#xA;          AudioProcessor... audioProcessors) {&#xD;&#xA;    this(&#xD;&#xA;            eventHandler,&#xD;&#xA;            eventListener,&#xD;&#xA;            new DefaultAudioSink(/* audioCapabilities= */ null, audioProcessors),&#xD;&#xA;            /* enableFloatOutput= */ false);&#xD;&#xA;  }&#xD;&#xA;&#xD;&#xA;  /**&#xD;&#xA;   * @param eventHandler A handler to use when delivering events to {@code eventListener}. May be&#xD;&#xA;   *     null if delivery of events is not required.&#xD;&#xA;   * @param eventListener A listener of events. May be null if delivery of events is not required.&#xD;&#xA;   * @param audioSink The sink to which audio will be output.&#xD;&#xA;   * @param enableFloatOutput Whether to enable 32-bit float audio format, if supported on the&#xD;&#xA;   *     device/build and if the input format may have bit depth higher than 16-bit. When using&#xD;&#xA;   *     32-bit float output, any audio processing will be disabled, including playback speed/pitch&#xD;&#xA;   *     adjustment.&#xD;&#xA;   */&#xD;&#xA;  public FfmpegAudioRenderer(&#xD;&#xA;          @Nullable Handler eventHandler,&#xD;&#xA;          @Nullable AudioRendererEventListener eventListener,&#xD;&#xA;          AudioSink audioSink,&#xD;&#xA;          boolean enableFloatOutput) {&#xD;&#xA;    super(&#xD;&#xA;            eventHandler,&#xD;&#xA;            eventListener,&#xD;&#xA;            /* drmSessionManager= */ null,&#xD;&#xA;            /* playClearSamplesWithoutKeys= */ false,&#xD;&#xA;            audioSink);&#xD;&#xA;    this.enableFloatOutput = enableFloatOutput;&#xD;&#xA;  }&#xD;&#xA;&#xD;&#xA;  @Override&#xD;&#xA;  @FormatSupport&#xD;&#xA;  protected int supportsFormatInternal(&#xD;&#xA;          @Nullable DrmSessionManager<exomediacrypto> drmSessionManager, Format format) {&#xD;&#xA;    Assertions.checkNotNull(format.sampleMimeType);&#xD;&#xA;    if (!FfmpegLibrary.isAvailable()) {&#xD;&#xA;      return FORMAT_UNSUPPORTED_TYPE;&#xD;&#xA;    } else if (!FfmpegLibrary.supportsFormat(format.sampleMimeType) || !isOutputSupported(format)) {&#xD;&#xA;      return FORMAT_UNSUPPORTED_SUBTYPE;&#xD;&#xA;    } else if (!supportsFormatDrm(drmSessionManager, format.drmInitData)) {&#xD;&#xA;      return FORMAT_UNSUPPORTED_DRM;&#xD;&#xA;    } else {&#xD;&#xA;      return FORMAT_HANDLED;&#xD;&#xA;    }&#xD;&#xA;  }&#xD;&#xA;&#xD;&#xA;  @Override&#xD;&#xA;  @AdaptiveSupport&#xD;&#xA;  public final int supportsMixedMimeTypeAdaptation() throws ExoPlaybackException {&#xD;&#xA;    return ADAPTIVE_NOT_SEAMLESS;&#xD;&#xA;  }&#xD;&#xA;&#xD;&#xA;  @Override&#xD;&#xA;  protected FfmpegDecoder createDecoder(Format format, @Nullable ExoMediaCrypto mediaCrypto)&#xD;&#xA;          throws FfmpegDecoderException {&#xD;&#xA;    int initialInputBufferSize =&#xD;&#xA;            format.maxInputSize != Format.NO_VALUE ? format.maxInputSize : DEFAULT_INPUT_BUFFER_SIZE;&#xD;&#xA;    decoder =&#xD;&#xA;            new FfmpegDecoder(&#xD;&#xA;                    NUM_BUFFERS, NUM_BUFFERS, initialInputBufferSize, format, shouldUseFloatOutput(format));&#xD;&#xA;    return decoder;&#xD;&#xA;  }&#xD;&#xA;&#xD;&#xA;  @Override&#xD;&#xA;  public Format getOutputFormat() {&#xD;&#xA;    Assertions.checkNotNull(decoder);&#xD;&#xA;    int channelCount = decoder.getChannelCount();&#xD;&#xA;    int sampleRate = decoder.getSampleRate();&#xD;&#xA;    @C.PcmEncoding int encoding = decoder.getEncoding();&#xD;&#xA;    return Format.createAudioSampleFormat(&#xD;&#xA;            /* id= */ null,&#xD;&#xA;            MimeTypes.AUDIO_RAW,&#xD;&#xA;            /* codecs= */ null,&#xD;&#xA;            Format.NO_VALUE,&#xD;&#xA;            Format.NO_VALUE,&#xD;&#xA;            channelCount,&#xD;&#xA;            sampleRate,&#xD;&#xA;            encoding,&#xD;&#xA;            Collections.emptyList(),&#xD;&#xA;            /* drmInitData= */ null,&#xD;&#xA;            /* selectionFlags= */ 0,&#xD;&#xA;            /* language= */ null);&#xD;&#xA;  }&#xD;&#xA;&#xD;&#xA;  private boolean isOutputSupported(Format inputFormat) {&#xD;&#xA;    return shouldUseFloatOutput(inputFormat)&#xD;&#xA;            || supportsOutput(inputFormat.channelCount, C.ENCODING_PCM_16BIT);&#xD;&#xA;  }&#xD;&#xA;&#xD;&#xA;  private boolean shouldUseFloatOutput(Format inputFormat) {&#xD;&#xA;    Assertions.checkNotNull(inputFormat.sampleMimeType);&#xD;&#xA;    if (!enableFloatOutput || !supportsOutput(inputFormat.channelCount, C.ENCODING_PCM_FLOAT)) {&#xD;&#xA;      return false;&#xD;&#xA;    }&#xD;&#xA;    switch (inputFormat.sampleMimeType) {&#xD;&#xA;      case MimeTypes.AUDIO_RAW:&#xD;&#xA;        // For raw audio, output in 32-bit float encoding if the bit depth is > 16-bit.&#xD;&#xA;        return inputFormat.pcmEncoding == C.ENCODING_PCM_24BIT&#xD;&#xA;                || inputFormat.pcmEncoding == C.ENCODING_PCM_32BIT&#xD;&#xA;                || inputFormat.pcmEncoding == C.ENCODING_PCM_FLOAT;&#xD;&#xA;      case MimeTypes.AUDIO_AC3:&#xD;&#xA;        // AC-3 is always 16-bit, so there is no point outputting in 32-bit float encoding.&#xD;&#xA;        return false;&#xD;&#xA;      default:&#xD;&#xA;        // For all other formats, assume that it&#x27;s worth using 32-bit float encoding.&#xD;&#xA;        return true;&#xD;&#xA;    }&#xD;&#xA;  }&#xD;&#xA;&#xD;&#xA;}</exomediacrypto>

    &#xD;&#xA;

    &#xD;&#xA;

    &#xD;&#xA;&#xA;&#xA;

    I use exoplayer but no sound from mp2 and aac audio formats in android application.

    &#xA;&#xA;

    I get this error when I open mp2 and aac audio format videos "media includes audio tracks but none

    &#xA;&#xA;

    are playable by this device"and some are not working in .avi format, some are working please can you help me

    &#xA;&#xA;

    &#xD;&#xA;
    &#xD;&#xA;
    /*&#xD;&#xA; * Copyright (C) 2016 The Android Open Source Project&#xD;&#xA; *&#xD;&#xA; * Licensed under the Apache License, Version 2.0 (the "License");&#xD;&#xA; * you may not use this file except in compliance with the License.&#xD;&#xA; * You may obtain a copy of the License at&#xD;&#xA; *&#xD;&#xA; *      http://www.apache.org/licenses/LICENSE-2.0&#xD;&#xA; *&#xD;&#xA; * Unless required by applicable law or agreed to in writing, software&#xD;&#xA; * distributed under the License is distributed on an "AS IS" BASIS,&#xD;&#xA; * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&#xD;&#xA; * See the License for the specific language governing permissions and&#xD;&#xA; * limitations under the License.&#xD;&#xA; */&#xD;&#xA;package com.google.android.exoplayer2.ext.ffmpeg;&#xD;&#xA;&#xD;&#xA;import androidx.annotation.Nullable;&#xD;&#xA;import com.google.android.exoplayer2.ExoPlayerLibraryInfo;&#xD;&#xA;import com.google.android.exoplayer2.util.LibraryLoader;&#xD;&#xA;import com.google.android.exoplayer2.util.Log;&#xD;&#xA;import com.google.android.exoplayer2.util.MimeTypes;&#xD;&#xA;&#xD;&#xA;/**&#xD;&#xA; * Configures and queries the underlying native library.&#xD;&#xA; */&#xD;&#xA;public final class FfmpegLibrary {&#xD;&#xA;&#xD;&#xA;  static {&#xD;&#xA;    ExoPlayerLibraryInfo.registerModule("goog.exo.ffmpeg");&#xD;&#xA;  }&#xD;&#xA;&#xD;&#xA;  private static final String TAG = "FfmpegLibrary";&#xD;&#xA;&#xD;&#xA;  private static final LibraryLoader LOADER =&#xD;&#xA;          new LibraryLoader("avutil", "swresample", "avcodec", "ffmpeg");&#xD;&#xA;&#xD;&#xA;  private FfmpegLibrary() {}&#xD;&#xA;&#xD;&#xA;  /**&#xD;&#xA;   * Override the names of the FFmpeg native libraries. If an application wishes to call this&#xD;&#xA;   * method, it must do so before calling any other method defined by this class, and before&#xD;&#xA;   * instantiating a {@link FfmpegAudioRenderer} instance.&#xD;&#xA;   *&#xD;&#xA;   * @param libraries The names of the FFmpeg native libraries.&#xD;&#xA;   */&#xD;&#xA;  public static void setLibraries(String... libraries) {&#xD;&#xA;    LOADER.setLibraries(libraries);&#xD;&#xA;  }&#xD;&#xA;&#xD;&#xA;  /**&#xD;&#xA;   * Returns whether the underlying library is available, loading it if necessary.&#xD;&#xA;   */&#xD;&#xA;  public static boolean isAvailable() {&#xD;&#xA;    return LOADER.isAvailable();&#xD;&#xA;  }&#xD;&#xA;&#xD;&#xA;  /** Returns the version of the underlying library if available, or null otherwise. */&#xD;&#xA;  public static @Nullable String getVersion() {&#xD;&#xA;    return isAvailable() ? ffmpegGetVersion() : null;&#xD;&#xA;  }&#xD;&#xA;&#xD;&#xA;  /**&#xD;&#xA;   * Returns whether the underlying library supports the specified MIME type.&#xD;&#xA;   *&#xD;&#xA;   * @param mimeType The MIME type to check.&#xD;&#xA;   */&#xD;&#xA;  public static boolean supportsFormat(String mimeType) {&#xD;&#xA;    if (!isAvailable()) {&#xD;&#xA;      return false;&#xD;&#xA;    }&#xD;&#xA;    String codecName = getCodecName(mimeType);&#xD;&#xA;    if (codecName == null) {&#xD;&#xA;      return false;&#xD;&#xA;    }&#xD;&#xA;    if (!ffmpegHasDecoder(codecName)) {&#xD;&#xA;      Log.w(TAG, "No " &#x2B; codecName &#x2B; " decoder available. Check the FFmpeg build configuration.");&#xD;&#xA;      return false;&#xD;&#xA;    }&#xD;&#xA;    return true;&#xD;&#xA;  }&#xD;&#xA;&#xD;&#xA;  /**&#xD;&#xA;   * Returns the name of the FFmpeg decoder that could be used to decode the format, or {@code null}&#xD;&#xA;   * if it&#x27;s unsupported.&#xD;&#xA;   */&#xD;&#xA;  /* package */ static @Nullable String getCodecName(String mimeType) {&#xD;&#xA;    switch (mimeType) {&#xD;&#xA;      case MimeTypes.AUDIO_AAC:&#xD;&#xA;        return "aac";&#xD;&#xA;      case MimeTypes.AUDIO_MPEG:&#xD;&#xA;      case MimeTypes.AUDIO_MPEG_L1:&#xD;&#xA;      case MimeTypes.AUDIO_MPEG_L2:&#xD;&#xA;        return "mp3";&#xD;&#xA;      case MimeTypes.AUDIO_AC3:&#xD;&#xA;        return "ac3";&#xD;&#xA;      case MimeTypes.AUDIO_E_AC3:&#xD;&#xA;      case MimeTypes.AUDIO_E_AC3_JOC:&#xD;&#xA;        return "eac3";&#xD;&#xA;      case MimeTypes.AUDIO_TRUEHD:&#xD;&#xA;        return "truehd";&#xD;&#xA;      case MimeTypes.AUDIO_DTS:&#xD;&#xA;      case MimeTypes.AUDIO_DTS_HD:&#xD;&#xA;        return "dca";&#xD;&#xA;      case MimeTypes.AUDIO_VORBIS:&#xD;&#xA;        return "vorbis";&#xD;&#xA;      case MimeTypes.AUDIO_OPUS:&#xD;&#xA;        return "opus";&#xD;&#xA;      case MimeTypes.AUDIO_AMR_NB:&#xD;&#xA;        return "amrnb";&#xD;&#xA;      case MimeTypes.AUDIO_AMR_WB:&#xD;&#xA;        return "amrwb";&#xD;&#xA;      case MimeTypes.AUDIO_FLAC:&#xD;&#xA;        return "flac";&#xD;&#xA;      case MimeTypes.AUDIO_ALAC:&#xD;&#xA;        return "alac";&#xD;&#xA;      case MimeTypes.AUDIO_MLAW:&#xD;&#xA;        return "pcm_mulaw";&#xD;&#xA;      case MimeTypes.AUDIO_ALAW:&#xD;&#xA;        return "pcm_alaw";&#xD;&#xA;      default:&#xD;&#xA;        return null;&#xD;&#xA;    }&#xD;&#xA;  }&#xD;&#xA;&#xD;&#xA;  private static native String ffmpegGetVersion();&#xD;&#xA;  private static native boolean ffmpegHasDecoder(String codecName);&#xD;&#xA;&#xD;&#xA;}

    &#xD;&#xA;

    &#xD;&#xA;

    &#xD;&#xA;&#xA;&#xA;

    [enter image description here][1]&#xA;[enter image description here][2]

    &#xA;

  • Not getting required audio codec in ffmpeg

    5 June 2020, by user13546893

    I am using Colab to run the code.

    &#xA;&#xA;

    import os, sys, re&#xA;&#xA;video_file_path = "/content/drive/My Drive/1111/Mrs.Serial Killer 2020 1080p 10bit NF WEBRip Hindi DD&#x2B;5.1 Atmos x265 HEVC ESub - MoviePirate - Telly.mkv" #@param {type:"string"}&#xA;os.environ[&#x27;fileName&#x27;] = filename_raw&#xA;os.environ[&#x27;fileExtension&#x27;] = file_extension_raw&#xA;&#xA;!ffmpeg -hide_banner -i "$inputFile" -c copy -strict -2 "$outputPath"/"$fileName".mp4&#xA;

    &#xA;&#xA;

    But the problem is after conversion of mkv video in mp4 format my html5 player can't play the audio. Video is running fine.&#xA;Output :

    &#xA;&#xA;

    ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 7 (Ubuntu 7.3.0-16ubuntu3) configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1&#xA;--toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared libavutil 55. 78.100 / 55. 78.100 libavcodec 57.107.100 / 57.107.100 libavformat 57. 83.100 / 57. 83.100 libavdevice 57. 10.100 / 57.&#xA;10.100 libavfilter 6.107.100 / 6.107.100 libavresample 3. 7. 0 / 3. 7. 0 libswscale 4. 8.100 / 4. 8.100 libswresample 2. 9.100 / 2. 9.100 libpostproc 54. 7.100 / 54. 7.100 Input #0, matroska,webm, from &#x27;/content/drive/Shared drives/Vedant/1111/Mrs.Serial Killer 2020 1080p 10bit NF WEBRip Hindi DD&#x2B;5.1 Atmos x265 HEVC ESub - MoviePirate - Telly.mkv&#x27;: Metadata: title : MoviePirate.in | Mrs.Serial Killer 2020 1080p 10bit NF WEBRip Hindi DD&#x2B;5.1 Atmos x265 HEVC ESub - MoviePirate&#xA;- Telly.mkv encoder : libebml v1.3.10 &#x2B; libmatroska v1.5.2 creation_time : 2020-05-01T15:55:34.000000Z Duration: 01:46:56.51, start: 0.000000, bitrate: 2975 kb/s Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv), 1920x960, SAR 1:1 DAR 2:1, 24 fps, 24 tbr, 1k tbn, 24 tbc (default) Metadata: title : MoviePirate.in BPS-eng : 2205883 DURATION-eng : 01:46:56.500000000 NUMBER_OF_FRAMES-eng: 153996 NUMBER_OF_BYTES-eng: 1769256160 _STATISTICS_WRITING_APP-eng: mkvmerge v44.0.0 (&#x27;Domino&#x27;) 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-01 15:55:34 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(hin): Audio: eac3, 48000 Hz, 5.1(side), fltp, 768 kb/s Metadata: title : MoviePirate.in BPS-eng : 768000 DURATION-eng : 01:46:56.512000000 NUMBER_OF_FRAMES-eng: 200516 NUMBER_OF_BYTES-eng: 615985152 _STATISTICS_WRITING_APP-eng: mkvmerge v44.0.0 (&#x27;Domino&#x27;) 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-01 15:55:34 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip Metadata: title : MoviePirate.in BPS-eng : 42 DURATION-eng : 01:41:50.375000000 NUMBER_OF_FRAMES-eng: 1123 NUMBER_OF_BYTES-eng: 32413&#xA;_STATISTICS_WRITING_APP-eng: mkvmerge v44.0.0 (&#x27;Domino&#x27;) 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-01 15:55:34 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES File &#x27;/content/drive/Shared drives/Vedant/1111//Mrs.Serial Killer 2020 1080p 10bit NF WEBRip Hindi DD&#x2B;5.1 Atmos x265 HEVC ESub - MoviePirate&#xA;- Telly.mp4&#x27; already exists. Overwrite ? [y/N] y [mp4 @ 0x560897578c00] track 1: codec frame size is not set Output #0, mp4, to &#x27;/content/drive/Shared drives/Vedant/1111//Mrs.Serial Killer 2020 1080p 10bit NF WEBRip Hindi DD&#x2B;5.1 Atmos x265 HEVC ESub - MoviePirate&#xA;- Telly.mp4&#x27;: Metadata: title : MoviePirate.in | Mrs.Serial Killer 2020 1080p 10bit NF WEBRip Hindi DD&#x2B;5.1 Atmos x265 HEVC ESub - MoviePirate - Telly.mkv encoder : Lavf57.83.100 Stream #0:0: Video: hevc (Main 10) (hev1 / 0x31766568), yuv420p10le(tv), 1920x960 [SAR 1:1 DAR 2:1], q=2-31, 24 fps, 24 tbr, 16k tbn, 1k tbc (default) Metadata: title : MoviePirate.in BPS-eng : 2205883 DURATION-eng : 01:46:56.500000000 NUMBER_OF_FRAMES-eng: 153996 NUMBER_OF_BYTES-eng: 1769256160 _STATISTICS_WRITING_APP-eng: mkvmerge v44.0.0 (&#x27;Domino&#x27;) 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-01 15:55:34&#xA;_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(hin): Audio: eac3 (ec-3 / 0x332D6365), 48000 Hz,&#xA;5.1(side), fltp, 768 kb/s Metadata: title : MoviePirate.in BPS-eng : 768000 DURATION-eng : 01:46:56.512000000 NUMBER_OF_FRAMES-eng: 200516 NUMBER_OF_BYTES-eng: 615985152 _STATISTICS_WRITING_APP-eng: mkvmerge v44.0.0 (&#x27;Domino&#x27;) 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-01 15:55:34 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1&#xA;-> #0:1 (copy) Press [q] to stop, [?] for help frame=153996 fps=10450 q=-1.0 Lsize= 2334010kB time=01:46:56.48 bitrate=2979.9kbits/s speed= 435x video:1727789kB audio:601548kB subtitle:0kB other streams:0kB global headers:2kB muxing overhead: 0.200594%    ffmpeg version&#xA;3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 7 (Ubuntu 7.3.0-16ubuntu3) configuration: --prefix=/usr&#xA;--extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared libavutil 55. 78.100 / 55. 78.100 libavcodec 57.107.100 / 57.107.100 libavformat 57. 83.100 / 57. 83.100 libavdevice 57. 10.100 / 57.&#xA;10.100 libavfilter 6.107.100 / 6.107.100 libavresample 3. 7. 0 / 3. 7. 0 libswscale 4. 8.100 / 4. 8.100 libswresample 2. 9.100 / 2. 9.100 libpostproc 54. 7.100 / 54. 7.100 Input #0, matroska,webm, from &#x27;/content/drive/Shared drives/Vedant/1111/Mrs.Serial Killer 2020 1080p 10bit NF WEBRip Hindi DD&#x2B;5.1 Atmos x265 HEVC ESub - MoviePirate - Telly.mkv&#x27;: Metadata: title : MoviePirate.in | Mrs.Serial Killer 2020 1080p 10bit NF WEBRip Hindi DD&#x2B;5.1 Atmos x265 HEVC ESub - MoviePirate&#xA;- Telly.mkv encoder : libebml v1.3.10 &#x2B; libmatroska v1.5.2 creation_time : 2020-05-01T15:55:34.000000Z Duration: 01:46:56.51, start: 0.000000, bitrate: 2975 kb/s Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv), 1920x960, SAR 1:1 DAR 2:1, 24 fps, 24 tbr, 1k tbn, 24 tbc (default) Metadata: title : MoviePirate.in BPS-eng : 2205883 DURATION-eng : 01:46:56.500000000 NUMBER_OF_FRAMES-eng: 153996 NUMBER_OF_BYTES-eng: 1769256160 _STATISTICS_WRITING_APP-eng: mkvmerge v44.0.0 (&#x27;Domino&#x27;) 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-01 15:55:34 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(hin): Audio: eac3, 48000 Hz, 5.1(side), fltp, 768 kb/s Metadata: title : MoviePirate.in BPS-eng : 768000 DURATION-eng : 01:46:56.512000000 NUMBER_OF_FRAMES-eng: 200516 NUMBER_OF_BYTES-eng: 615985152 _STATISTICS_WRITING_APP-eng: mkvmerge v44.0.0 (&#x27;Domino&#x27;) 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-01 15:55:34 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip Metadata: title : MoviePirate.in BPS-eng : 42 DURATION-eng : 01:41:50.375000000 NUMBER_OF_FRAMES-eng: 1123 NUMBER_OF_BYTES-eng: 32413&#xA;_STATISTICS_WRITING_APP-eng: mkvmerge v44.0.0 (&#x27;Domino&#x27;) 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-01 15:55:34 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES File &#x27;/content/drive/Shared drives/Vedant/1111//Mrs.Serial Killer 2020 1080p 10bit NF WEBRip Hindi DD&#x2B;5.1 Atmos x265 HEVC ESub - MoviePirate&#xA;- Telly.mp4&#x27; already exists. Overwrite ? [y/N] y [mp4 @ 0x560897578c00] track 1: codec frame size is not set Output #0, mp4, to &#x27;/content/drive/Shared drives/Vedant/1111//Mrs.Serial Killer 2020 1080p 10bit NF WEBRip Hindi DD&#x2B;5.1 Atmos x265 HEVC ESub - MoviePirate&#xA;- Telly.mp4&#x27;: Metadata: title : MoviePirate.in | Mrs.Serial Killer 2020 1080p 10bit NF WEBRip Hindi DD&#x2B;5.1 Atmos x265 HEVC ESub - MoviePirate - Telly.mkv encoder : Lavf57.83.100 Stream #0:0: Video: hevc (Main 10) (hev1 / 0x31766568), yuv420p10le(tv), 1920x960 [SAR 1:1 DAR 2:1], q=2-31, 24 fps, 24 tbr, 16k tbn, 1k tbc (default) Metadata: title : MoviePirate.in BPS-eng : 2205883 DURATION-eng : 01:46:56.500000000 NUMBER_OF_FRAMES-eng: 153996 NUMBER_OF_BYTES-eng: 1769256160 _STATISTICS_WRITING_APP-eng: mkvmerge v44.0.0 (&#x27;Domino&#x27;) 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-01 15:55:34&#xA;_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(hin): Audio: eac3 (ec-3 / 0x332D6365), 48000 Hz,&#xA;5.1(side), fltp, 768 kb/s Metadata: title : MoviePirate.in BPS-eng : 768000 DURATION-eng : 01:46:56.512000000 NUMBER_OF_FRAMES-eng: 200516 NUMBER_OF_BYTES-eng: 615985152 _STATISTICS_WRITING_APP-eng: mkvmerge v44.0.0 (&#x27;Domino&#x27;) 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-01 15:55:34 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1&#xA;-> #0:1 (copy) Press [q] to stop, [?] for help frame=153996 fps=10450 q=-1.0 Lsize= 2334010kB time=01:46:56.48 bitrate=2979.9kbits/s speed= 435x video:1727789kB audio:601548kB subtitle:0kB other streams:0kB global headers:2kB muxing overhead: 0.200594%&#xA;

    &#xA;&#xA;

    What changes should I do in the Code?

    &#xA;

  • Can't link libfdk-aac for ffmpeg on Android

    19 November 2015, by Steve M

    I’m trying a custom build of ffmpeg with libfdk-aac for Android. I can get ffmpeg to build without libfdk-aac and it runs, and I can build libfdk-aac.so, but when I build ffmpeg with libfdk-aac I am getting CANNOT LINK EXECUTABLE DEPENDENCIES: library "libfdk-aac.so" not found when I try to run ffmpeg. libfdk-aac.so is in the same directory as the ffmpeg executable on the Android device, and I have tried the -rpath-link linker option. Here is my complete configure for ffmpeg:

    NDK=/Applications/sdk/android-ndk-r10e
    SYSROOT=$NDK/platforms/android-9/arch-arm/
    TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64
    function build_one
    {
    ./configure \
       --prefix=$PREFIX \
       --disable-shared \
       --enable-static \
       --disable-programs \
       --disable-doc \
       --disable-everything \
       --enable-filter=aresample \
       --enable-decoder=aac \
       --enable-decoder=aac_latm \
       --enable-decoder=aac_fixed \
       --enable-decoder=ac3 \
       --enable-decoder=ac3_fixed \
       --enable-decoder=als \
       --enable-decoder=alac \
       --enable-decoder=mp1 \
       --enable-decoder=mp1float \
       --enable-decoder=mp2 \
       --enable-decoder=mp2float \
       --enable-decoder=mp3 \
       --enable-decoder=mp3float \
       --enable-decoder=mp3adufloat \
       --enable-decoder=mp3adu \
       --enable-decoder=mp3on4 \
       --enable-decoder=mp3on4float \
       --enable-decoder=als \
       --enable-decoder=vorbis \
       --enable-decoder=flac \
       --enable-decoder=wavpack \
       --enable-decoder=wmalossless \
       --enable-decoder=wmapro \
       --enable-decoder=wmav1 \
       --enable-decoder=wmav2 \
       --enable-decoder=wmavoice \
       --enable-decoder=pcm* \
       --enable-bsf=mp3_header_decompress \
       --enable-bsf=aac_adtstoasc \
       --enable-bsf=chomp \
       --enable-bsf=remove_extradata \
       --disable-swscale \
       --disable-network \
       --enable-swresample \
       --enable-parser=aac \
       --enable-parser=aac_latm \
       --enable-parser=ac3 \
       --enable-parser=flac \
       --enable-parser=ac3 \
       --enable-parser=vorbis \
       --enable-parser=mpegaudio \
       --enable-demuxer=aac \
       --enable-demuxer=au \
       --enable-demuxer=asf \
       --enable-demuxer=mov \
       --enable-demuxer=ac3 \
       --enable-demuxer=eac3 \
       --enable-demuxer=aiff \
       --enable-demuxer=flac \
       --enable-demuxer=latm \
       --enable-demuxer=mp3 \
       --enable-demuxer=ogg \
       --enable-demuxer=eac3 \
       --enable-demuxer=xwma \
       --enable-demuxer=pcm* \
       --enable-demuxer=wav \
       --enable-demuxer=matroska \
       --enable-demuxer=rm \
       --enable-protocol=file \
       --enable-muxer=pcm* \
       --enable-muxer=wav \
       --enable-muxer=ipod \
       --enable-encoder=pcm* \
       --enable-encoder=aac \
       --enable-libfdk-aac \
       --enable-ffmpeg \
       --enable-libfdk-aac \
       --enable-encoder=libfdk_aac \
       --disable-avdevice \
       --disable-swscale-alpha \
       --disable-symver \
       --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
       --target-os=linux \
       --arch=arm \
       --cpu=cortex-a8 \
       --enable-cross-compile \
       --sysroot=$SYSROOT \
       --extra-cflags="-Os -fpic -I$INCLUDE_DIR $ADDI_CFLAGS" \
       --extra-ldflags="-fPIE -pie -L$LIB_DIR -Wl,-rpath-link,'$ORIGIN' $ADDI_LDFLAGS" \
       $ADDITIONAL_CONFIGURE_FLAG
    make clean
    make
    make install
    }
    INCLUDE_DIR=/Applications/sdk/android-ndk-r10e/sources/ffmpeg-2.8.1/include
    LIB_DIR=/Applications/sdk/android-ndk-r10e/sources/ffmpeg-2.8.1/lib
    CPU=arm
    PREFIX=$(pwd)/android/$CPU
    ADDI_CFLAGS="-marm"
    build_one