Recherche avancée

Médias (0)

Mot : - Tags -/masques

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

Autres articles (59)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (6296)

  • How do I avoid batch video transcoding error when encountering whitespaces in filename using ffmpeg [duplicate]

    20 février 2019, par russell newton

    This question already has an answer here :

    I am running a bash script to batch transcode videos on a LAMP server using find and ffmpeg

    dir="/srv/videos"
    for OUTPUT in "$(find $dir -iname *.AVI -o -iname *.MOV)"
    do
       ffmpeg -i "$OUTPUT" "${OUTPUT%%.*}.mp4"  -hide_banner
    done

    ffmpeg returns an error if file has whitespaces

    /srv/videos/file with white spaces.MOV: No such file or directory

    For files without white spaces it works fine.
    If I print the filenames inside quotes it looks as though it should be working

    for OUTPUT in "$(find $dir -iname *.MOV)"; do echo "$OUTPUT";done

    returns

    /srv/videos/file with white spaces.MOV

    What do I need to alter to avoid the error please ?

    EDIT
    added "" to $OUTPUT%%.*.mp4, I get the same error and corrected extension capitalisation (mov to MOV)

  • Spaces in variable

    13 avril 2012, par Roger

    I am facing some problems with spaces in variables :

    ALBUM=' -metadata album="Peregrinações Alheias"'

    This command :

    ffmpeg -i $R_IMG -r 1 -b 1800 -i $SOUND -acodec libmp3lame -ab 128k "$ALBUM" -y $OUT

    Returns :

    Unable to find a suitable output format for ' -metadata album="Peregrinações Alheias"'

    And if I take out the "" from the variable :

    ffmpeg -i $R_IMG -r 1 -b 1800 -i $SOUND -acodec libmp3lame -ab 128k $ALBUM -y $OUT

    Returns :

    Unable to find a suitable output format for 'Alheias"'

    And I am sure I am missing something in the bash sintax...


    UPDATE :

    So it looks that the matter is not with spaces but with the "-metadata" argument...

    The problem is that I have many metadata and I'd like to put them in just one variable. Like this :

    META=' -metadata album="Peregrinações" -metadata title="Passeio ao PETAR" -metadata author="Rogério Madureira" -metadata date="2012" -metadata description="Áudio de um passeio ao PETAR" -metadata comment="Áudio capturado com TACAM DR-07MKII e Foto capturada com Canon PowerShot S5IS" '

    And then :

    ffmpeg -i $R_IMG -r 1 -b 1800 -i $SOUND -acodec libmp3lame -ab 128k $META -y $OUT

  • av_interleaved_write_frame return 0 but no data written

    11 août 2015, par Jerikc XIONG

    I use the ffmpeg to stream the encoded aac data , i use the

    av_interleaved_write_frame()

    to write frame.

    The return value is 0,and it means success as the description.

    Write a packet to an output media file ensuring correct interleaving.

    The packet must contain one audio or video frame. If the packets are already correctly interleaved, the application should call av_write_frame() instead as it is slightly faster. It is also important to keep in mind that completely non-interleaved input will need huge amounts of memory to interleave with this, so it is preferable to interleave at the demuxer level.

    Parameters

    s media file handle

    pkt The packet containing the data to be written. pkt->buf must be set to a valid AVBufferRef describing the packet data. Libavformat takes ownership of this reference and will unref it when it sees fit. The caller must not access the data through this reference after this function returns. This can be NULL (at any time, not just at the end), to flush the interleaving queues. Packet’s stream_index field must be set to the index of the corresponding stream in s.streams. It is very strongly recommended that timing information (pts, dts duration) is set to correct values.

    Returns

    0 on success, a negative AVERROR on error.

    However, I found no data written.

    What did i miss ? How to solve it ?