Recherche avancée

Médias (91)

Autres articles (83)

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

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

  • video uploading from app using ffmpeg showing error

    9 juillet 2020, par Dhananjay Acharya

    I am trying to implement video upload from app using ffmpeg. when I m trying to upload video showing this errors. sometime video upload keep on loading. any help.

    


    sometimes app freezes and for some videos showing out of memory error

    


    when i run in a real device logcat details

    


    2020-07-09 12:48:14.240 5226-7065/com.mik I/OMXClient: MuxOMX ctor
2020-07-09 12:48:14.369 5226-5226/com.mik I/Choreographer: Skipped 32 frames!  The application may be doing too much work on its main thread.
2020-07-09 12:48:14.377 5226-5857/com.mik D/AudioManager: getStreamVolume isRestricted mode = 0
2020-07-09 12:48:14.401 5226-7067/com.mik D/AudioManager: getStreamVolume isRestricted mode = 0
2020-07-09 12:48:14.468 5226-7065/com.mik E/ACodec: [OMX.qcom.video.encoder.avc] storeMetaDataInBuffers (output) failed w/ err -1010
2020-07-09 12:48:14.468 5226-7065/com.mik I/ExtendedACodec: setupVideoEncoder()
2020-07-09 12:48:14.469 5226-7065/com.mik W/ACodec: do not know color format 0x7fa30c04 = 2141391876
2020-07-09 12:48:14.471 5226-7065/com.mik W/ACodec: do not know color format 0x7f000789 = 2130708361
2020-07-09 12:48:14.521 5226-7065/com.mik I/ACodec: setupAVCEncoderParameters with [profile: Baseline] [level: Level1]
2020-07-09 12:48:14.543 5226-7065/com.mik I/ACodec: [OMX.qcom.video.encoder.avc] cannot encode HDR static metadata. Ignoring.
2020-07-09 12:48:14.543 5226-7065/com.mik I/ACodec: setupVideoEncoder succeeded
2020-07-09 12:48:14.544 5226-7065/com.mik I/ExtendedACodec: [OMX.qcom.video.encoder.avc] configure, AMessage : AMessage(what = 'conf', target = 13) = {
      int32_t width = 720
      int32_t height = 1280
      int32_t bitrate = 2073600
      string mime = "video/avc"
      int32_t frame-rate = 30
      int32_t i-frame-interval = 1
      int32_t color-format = 2130708361
      int32_t encoder = 1
    }
2020-07-09 12:48:14.549 5226-7065/com.mik W/ACodec: do not know color format 0x7f000789 = 2130708361
2020-07-09 12:48:14.556 5226-6625/com.mik D/FA: Connected to remote service
2020-07-09 12:48:14.557 5226-6625/com.mik V/FA: Processing queued up service tasks: 1
2020-07-09 12:48:14.877 5226-7104/com.mik I/OMXClient: MuxOMX ctor
2020-07-09 12:48:14.946 5226-7103/com.mik I/MediaCodec: [OMX.qcom.video.decoder.avc] setting surface generation to 5351428
2020-07-09 12:48:14.948 5226-7104/com.mik I/ExtendedACodec: setupVideoDecoder()
2020-07-09 12:48:14.948 5226-7104/com.mik I/ExtendedACodec: vpp-enable search is 0 and value is 0
2020-07-09 12:48:14.955 5226-7104/com.mik I/ExtendedACodec: Decoder will be in frame by frame mode
2020-07-09 12:48:14.980 5226-7104/com.mik D/SurfaceUtils: set up nativeWindow 0x7f84499e10 for 352x640, color 0x7fa30c06, rotation 0, usage 0x2002900
2020-07-09 12:48:15.065 5226-7028/com.mik D/resp: 0
2020-07-09 12:48:15.072 5226-7104/com.mik D/SurfaceUtils: set up nativeWindow 0x7f84499e10 for 352x640, color 0x7fa30c06, rotation 0, usage 0x2002900
2020-07-09 12:48:15.152 5226-7065/com.mik D/ACodec: dataspace changed to 0x10c10000 (R:2(Limited), P:3(BT601_6_625), M:3(BT601_6), T:3(SMPTE170M)) (R:2(Limited), S:1(BT709), T:3(SMPTE_170M))

2020-07-09 12:48:15.469 5226-7028/com.mik V/MuxRender: Added track #0 with video/avc to muxer
2020-07-09 12:48:15.469 5226-7028/com.mik V/MuxRender: Added track #1 with audio/mp4a-latm to muxer
2020-07-09 12:48:15.646 5226-7028/com.mik I/MPEG4Writer: limits: 4294967295/0 bytes/us, bit rate: -1 bps and the estimated moov size 3195 bytes
2020-07-09 12:48:15.647 5226-7028/com.mik V/MuxRender: Output format determined, writing 15 samples / 6054 bytes to muxer.
2020-07-09 12:48:15.647 5226-7140/com.mik I/MPEG4Writer: setStartTimestampUs: 0
2020-07-09 12:48:15.647 5226-7140/com.mik I/MPEG4Writer: Earliest track starting time: 0
2020-07-09 12:48:15.650 5226-7139/com.mik I/MPEG4Writer: setStartTimestampUs: 0
2020-07-09 12:48:27.318 5226-7028/com.mik D/MPEG4Writer: Video track stopping
2020-07-09 12:48:27.318 5226-7139/com.mik I/MPEG4Writer: Received total/0-length (401/1) buffers and encoded 401 frames. - Video
2020-07-09 12:48:27.326 5226-7140/com.mik I/MPEG4Writer: Received total/0-length (641/1) buffers and encoded 641 frames. - Audio
2020-07-09 12:48:27.326 5226-7140/com.mik I/MPEG4Writer: Audio track drift time: 0 us
2020-07-09 12:48:27.327 5226-7028/com.mik D/MPEG4Writer: Audio track stopped
2020-07-09 12:48:27.327 5226-7028/com.mik D/MPEG4Writer: Duration from tracks range is [14850005, 14883989] us
2020-07-09 12:48:27.327 5226-7028/com.mik D/MPEG4Writer: Stopping writer thread
2020-07-09 12:48:27.329 5226-7138/com.mik D/MPEG4Writer: 1 chunks are written in the last batch
2020-07-09 12:48:27.329 5226-7028/com.mik D/MPEG4Writer: Writer thread stopped
2020-07-09 12:48:27.332 5226-7028/com.mik I/MPEG4Writer: The mp4 file will not be streamable.
2020-07-09 12:48:27.378 5226-7104/com.mik E/BufferQueueProducer: [SurfaceTexture-1-5226-2] cancelBuffer: BufferQueue has been abandoned
2020-07-09 12:48:27.465 5226-7028/com.mik D/MPEG4Writer: Video track stopping
2020-07-09 12:48:27.494 5226-5226/com.mik I/Timeline: Timeline: Activity_launch_request time:148842468 intent:Intent { cmp=com.mik/.Video_Recording.GallerySelectedVideo.GallerySelectedVideo_A (has extras) }
2020-07-09 12:48:27.541 5226-6625/com.mik V/FA: Recording user engagement, ms: 13774
2020-07-09 12:48:27.561 5226-6625/com.mik V/FA: Connecting to remote service
2020-07-09 12:48:27.578 5226-5857/com.mik D/AudioManager: getStreamVolume isRestricted mode = 0
2020-07-09 12:48:27.584 5226-6625/com.mik V/FA: Activity paused, time: 160261301
2020-07-09 12:48:27.652 5226-6625/com.mik V/FA: Connection attempt already in progress
2020-07-09 12:48:27.727 5226-5226/com.mik I/ExoPlayerImpl: Init d0eca9e [ExoPlayerLib/2.11.1] [oxygen, MI MAX 2, Xiaomi, 25]


    


  • avformat/mpegts : respect program number when merging streams

    9 juillet 2019, par Marton Balint
    avformat/mpegts : respect program number when merging streams
    

    merge_pmt_versions was not usable if multiple programs were present because
    when it was searching for candidate streams it did not make sure that the PMT was
    of the same program. This caused the streams of all programs to get merged into
    a single (garbled) program.

    This patch makes sure that the program number (service ID) is also matching
    with the old streams when parsing the PMT making the feature useful for multi
    program streams.

    This change might cause issues for single program streams if the program number
    changes, but I think it is acceptable because the goal of the option is to make
    the parsing resilient to PID changes, and that is still working as expected.

    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavformat/mpegts.c
  • ffmpeg - Audio Issues with TS File

    5 décembre 2020, par MeaningOfLife

    I am new to the world of ffmpeg, so I apologize in advance if this is a stupid question or request.

    &#xA;

    I'm in the process of trying to convert a .ts file to a h264/mp4. I was able to successfully convert the video, however whenever I go to play the output file, the audio is weird. Most of the audio is only coming through the left channel. I noticed that the audio has multiple channels - 6 to be exact. And there are two audio streams as well. I'm assuming that this has something to do with it, but I am not sure what exactly to put in the command line to fix it.

    &#xA;

    I was hoping there would be a way to copy the video stream from the mp4 I had already made with ffmpeg, and then replace the audio from that mp4 with the audio from the source ts file - preferably mixed down into regular stereo audio. It is quite a big file, so I would like to not have to convert the video stream again if I don't have to.

    &#xA;

    Here is the media information from the source video.

    &#xA;

    General&#xA;ID : 1 (0x1)&#xA;Complete name : D:\88th Annual Christmas in Rockefeller Center.ts&#xA;Format : MPEG-TS&#xA;File size : 9.80 GiB&#xA;Duration : 2 h 7 min&#xA;Overall bit rate mode : Variable&#xA;Overall bit rate : 11.0 Mb/s&#xA;Law rating : None&#xA;&#xA;Video&#xA;ID : 101 (0x65)&#xA;Menu ID : 1 (0x1)&#xA;Format : MPEG Video&#xA;Format version : Version 2&#xA;Format profile : Main@High&#xA;Format settings : BVOP&#xA;Format settings, BVOP : Yes&#xA;Format settings, Matrix : Default&#xA;Format settings, GOP : Variable&#xA;Format settings, picture structure : Frame&#xA;Codec ID : 2&#xA;Duration : 2 h 7 min&#xA;Bit rate mode : Variable&#xA;Bit rate : 9 851 kb/s&#xA;Maximum bit rate : 80.0 Mb/s&#xA;Width : 1 920 pixels&#xA;Height : 1 080 pixels&#xA;Display aspect ratio : 16:9&#xA;Active Format Description : Full frame 16:9 image&#xA;Frame rate : 29.970 (30000/1001) FPS&#xA;Color space : YUV&#xA;Chroma subsampling : 4:2:0&#xA;Bit depth : 8 bits&#xA;Scan type : Interlaced&#xA;Scan order : Top Field First&#xA;Compression mode : Lossy&#xA;Bits/(Pixel*Frame) : 0.159&#xA;Time code of first frame : 00:00:00;00&#xA;Time code source : Group of pictures header&#xA;Stream size : 8.80 GiB (90%)&#xA;&#xA;Audio #1&#xA;ID : 102 (0x66)&#xA;Menu ID : 1 (0x1)&#xA;Format : AC-3&#xA;Format/Info : Audio Coding 3&#xA;Commercial name : Dolby Digital&#xA;Codec ID : 129&#xA;Duration : 2 h 7 min&#xA;Bit rate mode : Constant&#xA;Bit rate : 384 kb/s&#xA;Channel(s) : 6 channels&#xA;Channel layout : L R C LFE Ls Rs&#xA;Sampling rate : 48.0 kHz&#xA;Frame rate : 31.250 FPS (1536 SPF)&#xA;Compression mode : Lossy&#xA;Delay relative to video : 32 ms&#xA;Stream size : 351 MiB (3%)&#xA;Language : English&#xA;Service kind : Complete Main&#xA;&#xA;Audio #2&#xA;ID : 7543 (0x1D77)&#xA;Menu ID : 1 (0x1)&#xA;Format : AC-3&#xA;Format/Info : Audio Coding 3&#xA;Commercial name : Dolby Digital&#xA;Codec ID : 129&#xA;Duration : 2 h 7 min&#xA;Bit rate mode : Constant&#xA;Bit rate : 192 kb/s&#xA;Channel(s) : 2 channels&#xA;Channel layout : L R&#xA;Sampling rate : 48.0 kHz&#xA;Frame rate : 31.250 FPS (1536 SPF)&#xA;Compression mode : Lossy&#xA;Delay relative to video : 11 ms&#xA;Stream size : 176 MiB (2%)&#xA;Language : Spanish&#xA;Service kind : Complete Main&#xA;&#xA;Text #1&#xA;ID : 101 (0x65)-CC1&#xA;Menu ID : 1 (0x1)&#xA;Format : EIA-608&#xA;Muxing mode : A/53 / DTVCC Transport&#xA;Muxing mode, more info : Muxed in Video #1&#xA;Duration : 2 h 7 min&#xA;Bit rate mode : Constant&#xA;Stream size : 0.00 Byte (0%)&#xA;CaptionServiceName : CC1&#xA;&#xA;Text #2&#xA;ID : 101 (0x65)-1&#xA;Menu ID : 1 (0x1)&#xA;Format : EIA-708&#xA;Muxing mode : A/53 / DTVCC Transport&#xA;Muxing mode, more info : Muxed in Video #1&#xA;Duration : 2 h 7 min&#xA;Bit rate mode : Constant&#xA;Stream size : 0.00 Byte (0%)&#xA;

    &#xA;