Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (51)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

Sur d’autres sites (7268)

  • Unable to find a suitable output format for "-i ... "

    29 juin 2018, par Pan Ng

    I am using writemind’s ffmpeg module (running ffmpeg v3.0.2)
    http://writingminds.github.io/ffmpeg-android-java/

    But I am getting the follow error when executing the command

    [NULL @ 0xe93aa000] Unable to find a suitable output format for ’ -i
    "/storage/emulated/0/Android/data/com.charaku.popsical.tv/cache/video_recording.mp4"
    -i "/storage/emulated/0/Download/132859_aac-group-2.mp4" -c:v copy -filter_complex ’[1:a] adelay=2500|2500 [delayed] ; [0:a] [delayed] amix [out]’ -map 0:v -map ’[out]’
    "/storage/emulated/0/Android/data/com.charaku.popsical.tv/cache/mixed_test2.mp4"’
    -i "/storage/emulated/0/Android/data/com.charaku.popsical.tv/cache/video_recording.mp4"
    -i "/storage/emulated/0/Download/132859_aac-group-2.mp4" -c:v copy -filter_complex ’[1:a] adelay=2500|2500 [delayed] ; [0:a] [delayed] amix [out]’ -map 0:v -map ’[out]’
    "/storage/emulated/0/Android/data/com.charaku.popsical.tv/cache/mixed_test2.mp4" :
    Invalid argument

    The command is supposed to mix the audio of a video file with the audio of another audio file to produce a new video file.

  • ffmpeg in "streaming mode" suddenly stops writing output file and resumes after several minutes

    29 juin 2018, par EliA

    I’m using ffmpeg to convert chunks of media in webm format to a wav file in a "continuous stream" mode.

    Using a python wrapper, I’m feeding ffmpeg a webm chunk (let’s say 1 chunk each second) and ffmpeg continuously writes the output wav (then, in a separate thread I’m reading this wav file and pass the new data forward).

    This works well most of the time, but some times, I get this weird behavior :

    • after some chunks are processed and output to the wav file, ffmpeg stops writing to the output file (the file stops growing but ffmpeg keeps getting the webm chunks)
    • this can go on like this for several minutes, and then ffmpeg resumes writing to the wav file
    • eventually, the complete wav file is written successfully, but this causes huge delays in the streaming process.

    Looking at CPU and memory usage, this doesn’t seem to be the issue.

    Any ideas as to what could cause ffmpeg to stop streaming for several minutes and then resume ?
    This can happen after 30 seconds, after 3 minutes or after an hour of streaming media chunks and the time it takes ffmpeg to resume also varies.

    In my python code, I’m basically opening a subprocess.Popen() process and write to the process’ stdin to feed ffmpeg the media chunks.

    So my code looks something like :

    ffmpeg_proc = subprocess.Popen('ffmpeg -y -f webm -i - -ac 1 -ar 16000  -f wav /tmp/out.wav', shell=True, stdin=subprocess.PIPE)

    for chunk in chunks:
       ffmpeg_proc.stdin.write(chunk)

    I’m using python 3.6 and ffmpeg version 2.8.14-0ubuntu0.16.04.1

    Thanks in advance !

  • how encode xdcam.mxf and set for mediainfo flag "standard : component"

    3 août 2018, par livio

    My goal is to encode an XdcamHD 50Mb .mxf, with ffmpeg or ffmbc or bmx, and get the following Mediainfo technical and tag data

    Format Settings, Matrix : Custom

    Standard : Component

    enter image description here

    When I try to convert with FFmbc I get a correct XdcamHD in every aspects, except the following Mediainfo technical data :

    Format Settings, Matrix : Default

    Standard : PAL

    enter image description here

    The target file and my file analized whith ffprobe are identical

    on the left target file on the right my encoded file

    enter image description here

    and this is my code

    ffmbc.exe -i %1 -tff -target xdcamhd422 -t 5 -y rewrapffmbc.mxf

    When i try to convert with ffmpeg I obtain the same good file but if I read the technical and tag data in Mediainfo the flag "Standard :" has disappeared. Also in this case my file is being rejected from a Broadcast Company we deal with.

    here is the ffmpeg code

    ffmpeg.exe  -i %1 -r 25 -aspect 16:9 -pix_fmt yuv422p -color_primaries 1 -color_trc 1 -colorspace 1 -vcodec mpeg2video -non_linear_quant 1 -flags +ildct+ilme -top 1 -intra_vlc 1 -qmax 3 -lmin "1*QP2LAMBDA" -vtag xd5c -rc_max_vbv_use 1 -rc_min_vbv_use 1 -g 12 -b:v 50000k -minrate 50000k -maxrate 50000k -bufsize 3835k -bf 2 -trellis 1 -map 0:0 -map 0:1 -map 0:2 -map 0:1 -map 0:2 -map 0:1 -map 0:2 -map 0:1 -map 0:2  -map_channel 0.1.0:0.1.0 -map_channel 0.2.0:0.2.0  -map_channel 0.1.0:0.3.0 -map_channel 0.2.0:0.4.0  -map_channel 0.1.0:0.5.0 -map_channel 0.2.0:0.6.0  -map_channel 0.1.0:0.7.0 -map_channel 0.2.0:0.8.0 -c:a pcm_s24le -ar 48000 -ac 1 -map_metadata 0  -timecode 09:59:59:20 -y profilo-1.mxf

    Can someone provide a solution or a workaround ?

    Thank you