Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (88)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

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

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

Sur d’autres sites (5411)

  • ts nalu to mp4 mdat doesn't seem to contain neither nalu nor avcc

    12 novembre 2016, par nilgirian

    I created a java program to parse mp4 and ts segments. I muxed a ts fragment with ffmpeg into mp4. I’m trying to understand why ffmpeg formed the mdat the way it is.

    Here are the original 4 NALU extracted from TS-PES in hex, ordered by start codes (fig.1) :

    00 00 00 01 |09 e0
    00 00 00 01 |67 42 c0 0d 96 56 1e 33 7f e0 08 00 05 be a0 a0 a0 be 00 00 07 d0 00 00 ea 61 28
    00 00 00 01 |68 da 8f 20
    00 00 00 01 |65 88 80 40 20 7f 3e 21 11 c2 18 78 b0 00 40 81 0e 04 1a 24 05 48 09 84 67 36 61 14 33 8f eb 05 d6 a5 e4 1e 34 d1 f8 65 08 8c 00 f0 00 ...

    These look like legitimate NALU according to my parser (fig.2) :

    fzb:false nri:0x0 nut:9 [[DATA]] : 09 E0
    fzb:false nri:0x3 nut:7 seq_parameter_set_rbsp [[DATA]] : 67 42 C0 0D 96 56 1E 33 7F E0 08 00 05 BE A0 A0 A0 BE 00 00 07 D0 00 00 EA 61 28
    fzb:false nri:0x3 nut:8 pic_parameter_set_rbsp [[DATA]] : 68 DA 8F 20
    fzb:false nri:0x3 nut:5 slice_layer_without_partitioning_rbsp() fmis:0 st:7(I_2) ppsi:0x0 [[DATA]] : 65 88 80 40 20 7F 3E 21 11 C2 18 78 B0 00 40 81 0E 04 1A 24 05 48 09 84 67 36 61 14 33 8F EB 05 D6 A5 E4 1E 34 D1 F8 65 08 8C 00 F0 00

    Then my muxed mp4 mdat as chunked out by SampleTableBox contains this hex data, ordered by what look like malformed NALU’s (fig.3) :

    00 00 00 02 |09 e0
    00 00 00 1b |67 42 c0 0d 96 56 1e 33 7f e0 08 00 05 be a0 a0 a0 be 00 00 07 d0 00 00 ea 61 28
    00 00 00 04 |68 da 8f 20
    00 00 1e ac |65 88 80 40 20 7f 3e 21 11 c2 18 78 b0 00 40 81 0e 04 1a 24 05 48 09 84 67 36 61 14 33 8f eb 05 d6 a5 e4 1e 34 d1 f8 65 08 8c 00 f0 00

    Note the shorthand reference for the data above from ITU-T H264 7.4.1 as :

    fbz = forbidden_zero_bit
    nri = nal_ref_idc
    nut = nal_unit_type
    fmis = first_mb_in_slice
    st = slice_type
    ppsi = pic_parameter_set_id

    Also note the payload is the same.

    I assume the mp4 is correct because it works correctly in any player. But I’m not sure what the mdat muxing has done to the NALU start codes. I’m a bit new to this and had a hard time trying to figure out why this would be.

    They don’t look like NALU’s because the start code doesn’t end with 01.

    It was suggested they are AvcC (ISO/IEC 14996-15 5.2.4.1.1) but the first byte in each data set start with 00’s like NALUs and won’t pass the configurationVersion test (first byte 01).

    I’d like to know how the mdat is spec’d in this case. If someone could point me to the in the right direction or the unrefuted tome that’d be much appreciated. Thanks !

  • Audio effects in ffmpeg

    29 mars 2012, par Kyborg2011

    Does ffmpeg audio effects like reverb ? Can I work with the channels (to detain them, mix) ? If so please link to code samples or examples of codes. thanks in advance !

  • ffmpeg ideal format to convert videos using ffmpeg

    27 octobre 2013, par Offboard

    well the thing is, I intend to do a conversion of videos in the following qualities 240p, 360, 480p and 720p

    I researched a lot out there and got some codes to use, but there's something wrong some videos takes several hours to convert and shows this message.

    [libvo_aacenc @ 000000000032a0a0] Bitrate 32 is extremely low, maybe you mean 32k
    The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s

    but some videos converts normally what I want is if someone has done some code that converts faster and is lighter in player jwplayer

    ffmpeg -i discovery_channel.webm -ar 22050 -ab 32 -f mp4 -s 640x240 -preset ultrafast video240.mp4

    ffmpeg -i discovery_channel.webm -ar 22050 -ab 32 -f mp4 -s 640x360 video360.mp4

    ffmpeg -i FIDELIDADE.mp4 -ar 22050 -ab 32 -f flv -s 640x720 -preset ultrafast video720.mp4

    ffmpeg -i FIDELIDADE.mp4 -s hd720 -c:v libx264 -crf 23 -c:a aac -strict -2 video720.mp4

    ffmpeg -i discovery_channel.webm -s hd720 -c:v libx264 -crf 23 -c:a aac -strict -2 video360.mp4

    the last code I like most because it makes the conversion from vertical to 720 pixels, and does nothing in the horizontal video.

    I tested several codes, when some take too much when video with the extension "webm"

    anyway if someone has a good code that works in jwplayer and is unversão serves to any video.