Recherche avancée

Médias (0)

Mot : - Tags -/api

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

Autres articles (78)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Liste des distributions compatibles

    26 avril 2011, par

    Le tableau ci-dessous correspond à la liste des distributions Linux compatible avec le script d’installation automatique de MediaSPIP. Nom de la distributionNom de la versionNuméro de version Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    Si vous souhaitez nous aider à améliorer cette liste, vous pouvez nous fournir un accès à une machine dont la distribution n’est pas citée ci-dessus ou nous envoyer le (...)

Sur d’autres sites (8423)

  • Anomalie #3135 (Nouveau) : Manque un item de langue et est-ce bien nécessaire d’afficher toutes le...

    31 décembre 2013, par paulbe Hullaert

    Hey la bande,

    SPIP 3.1.0-dev

    Wampserver => Configuration Serveur Version de Apache : 2.4.4 Version de PHP : 5.4.16 Version de MySQL : 5.6.12

    Dans la configuration des forums /ecrire/ ?exec=configurer_forum

    Si vous souhaitez autoriser tous les types de documents considérés comme fiables par SPIP, mettez une étoile.

    Si on choisi * on a une liste kilométrique en public sous les forums de tous les types de fichiers à rajouter, mais sans aucune explication !

    Une petite phrase serait la bienvenue mais du coup faut-il afficher tous les types de fichiers ? Si on veut une information complète autant y ajouter la taille max aussi...

    Testé et confirmé par pierretux aussi.

    Amitié
    Paulbe

  • How do I fix the "PES packet size mismatch" error in FFmpeg ?

    8 février 2021, par Ed999

    How to fix the error PES packet size mismatch in FFmpeg -

    



    I'm going to answer my own question, because the phrase PES packet size mismatch comes up regularly in posts relating to ffmpeg, but I've nowhere seen a satisfactory solution to it.

    



    It usually figures in a problem involving .TS transport stream files : either in relation to concatenating such files, or relating to re-muxing them (from .ts to .mp4). Somewhere in the output from ffmpeg, the deadly phrase packet size mismatch will suddenly start repeating.

    



    A solution is to concatenate them as .ts files (i.e. in their original format), then take the output .ts file, split it into a video file (.ts) and an audio file (.ts), then remux them (to either .ts or .mp4) using the "itsoffset" option. Even if stream copy is used, outputting to .mp4 will often give worse picture quality than retaining the .ts format.

    



    The following code does that, outputting either .mp4 video or .ts video (copy the code into a simple .bat batch file, then run that file) -

    



    .

    



    :: Program Location
SET ffmpeg="C:\Program Files\FFmpeg\ffmpeg.exe" -hide_banner  


::  STEP 1 -

::  Create File List
IF EXIST mylist.txt DEL mylist.txt
FOR %%i IN (*.ts) DO ECHO file '%%i'>> mylist.txt

::  Concatenate Files : TS
%ffmpeg%  -f concat  -safe 0  -i mylist.txt  -c copy  -threads 1  out.ts


::  STEP 2 -

::  Extract Video stream
%ffmpeg%  -i out.ts  -vcodec copy  -an  -sn  -threads 1  video.ts

::  Extract Audio stream
%ffmpeg%  -i out.ts  -acodec copy  -vn  -sn  -threads 1  audio.ts


::  STEP 3 -

::  Combine Video and Audio streams (with .MP4 options)
SET mapping=-i video.ts -itsoffset -0  -i audio.ts   -map 0:v -map 1:a
SET options=-flags global_header  -movflags faststart  -threads 1
%ffmpeg%  %mapping%  -c:v copy -c:a copy  %options%  output.mp4

::  Combine Video and Audio streams (with .TS options)
SET mapping=-i video.ts -itsoffset -0  -i audio.ts  -map 0:v -map 1:a
SET options=-threads 1
%ffmpeg%  %mapping%  -c:v copy -c:a copy  %options%  output.ts


    



    .

    



    Addendum :

    



    There seems to be some dispute about my suggested solution, as detailed in the Comments below. It seems to be being said that my solution is ignoring the fact that data is missing in the source files.

    



    I think the least I can do is admit that since ffmpeg is reporting an error in the source files, with its 'packet size mismatch' warning, the objection raised in the Comments might be valid.

    



    However, even if data is missing, my suggested routine will at least give you a file which will play in most media players. In many cases, there will not even be an audible or visual fault at the join point specified in the reported error.

    



    It's difficult to see how the missing data might be restored, but do please chip in with suggestions. There must be scope for improving my script, because so little attention has been paid to this type of fault previously.

    



    Happily, it seems that this type of error will NOT cause the sound to lose synchronisation with the picture. So the audio after the join-point will not go out-of-sync, even if some data is missing at the join.

    


  • openCV 2.4.10 lost cinepak radius codec

    28 octobre 2014, par user3652747

    I am working on a Windows 7 64 bit platform.

    Before :
    I was using OpenCV 2.4.6, compiled by myself with CodeBlocks and a MinGW compiler. When recording a video, I was able to select the Cinepak Radius Codec (CVID) and all my world was shinny. I don’t remember tweaking a lot the configuration of CMAKE when creating the CodeBlocks project to compile OpenCV.

    Now :
    I download the last stable version OpenCV 2.4.10 and I have to use this one. So I applied the same recipe : CMAKE, CodeBlocks project, compile. But then I cannot choose the Cinepak Radius Coded while creating a new video.

    Questions :
    Did the Codec disappears from OpenCV or did I miss one flag in the CMAKE configuration ?

    Of course I tried other config, but to me, I just had to activate WITH_FFMPEG and WITH_VFW flags. Do you have any tips on that ?

    Thanks !