Recherche avancée

Médias (91)

Autres articles (89)

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

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

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

Sur d’autres sites (13176)

  • FFMPEG - Overlay stop updating after few minutes

    27 décembre 2018, par Vincent Carretero

    First im sorry for my english :-(

    I do streaming from RTSP to Facebook live (RTMP).
    I overlay PNG file, on the stream left corner, with score information and time (like tv soccer match).

    After few minutes, the image overlay dont refresh, and i dont know why...
    Image is updated by vbscript, and its correctly done.

    This is my code :

    cmd.exe /K ffmpeg.exe ^
    -f lavfi -y ^
    -i anullsrc -rtsp_transport tcp ^
    -i "rtsp://xxx:xxx@xxx:8080/videoMain" ^
    -r 1 -loop 1 -f image2pipe -i 762141_marquage.png ^
    -filter_complex "[2:v]setpts=PTS-STARTPTS[a];[1:v][a]overlay=10:10" ^
    -tune zerolatency -vcodec libx264 -c:v libx264 -crf 30 -preset ultrafast -c:a aac -strict experimental ^
    -f flv "rtmp://xxx"

    Some one can help me ? please :-)

  • How to improve my current method of generating an audio transcript from an online video

    23 janvier 2019, par 5areductase

    I am working on a project that needs to download and analyze online videos. Most of the videos are hosted on YouTube but some are hosted on Facebook.

    My task is to generate an audio transcript for every video.

    My colleague was using a series of programs sequentially given some {link} :

    youtube-dl -f '(mp4)[height = 360][width = 640]' {link} -o '{out_1}.%(ext)s'

    ffmpeg -i {out_1} -vn {out_2}.wav

    sox {out_2} {out_3} channels 1 rate 16000

    pocketsphinx_continuous -infile {out_3} -samprate 16000 -hmm {ACOUSTICMODEL} -dict {DICTIONARY} -lm {LANGMODEL} -fwdflat yes -bestpath yes 2> error.log | tee {out_4}.log && rm error.log

    Note that there’s an extra ffmpeg step to extract the audio, instead of simply directly downloading it with youtube-dl because video is needed as well.

    Everything works correctly as far as I can tell, but I’ve never really dealt with audio before so I’m not sure if this is the best way to go about it.

  • Ffmpeg command to create mp4 video sharable to Instagram, etc

    5 février 2019, par Ken Rothman

    I’m creating an mp4 video in my Android application by combining a static 1080x1080 .png image with 24/48 .wav audio, trying to generate a file that is compatible with and can be shared to social media platforms, such as Facebook and Instagram (feed).

    When I attempt to share the videos I’ve created, they load and preview in the Instagram app (tested on both Android and iOS), but after hitting the "Share" button on the final step, the UI returns to my feed and the upload progress immediately switches to "Not Posted Yet. Try Again". If I then tap the retry button, I immediately get a dialog stating "Couldn't Post Video" "There was a problem rendering your video. If this keeps happening, you may have to use another video."

    I’m using ffmpeg (via tanersener’s mobile-ffmpeg library) to do this.

    All of the documentation I’ve found this far does not show highly specific details for upload requirements for Instagram.
    I’m using AAC for audio, and h.264 (libx264) for video.
    The sample I’m using has a duration of 30 seconds. The PNG, as mentioned above, is 1080x1080.

    I’ve taken Android out of the picture by using cmd-line ffmpeg on my Mac with the same input files and testing many variations of parameters, none of which create an uploadable video.

    I have a similar .mp4 file created by our iOS app (not using ffmpeg), which I brought over to my Android device and it uploads successfully.
    I’ve also sent my .mp4 file to the iOS device and it will not upload, so it seems likely it’s an encoding issue of some sort.

    I have yet to find a combination of ffmpeg parameters that generate a video that can be successfully shared to Instagram.

    Is there a way to get verbose logs from Instagram to have some sort of idea why it’s rejecting the files ?

    This is the ffmpeg command I’ve been concentrating on :

    ffmpeg -i test.wav -i test.png -c:a aac -b:a 256k -ar 44100 -c:v libx264 -b:v 5M -r 30 -pix_fmt yuv420p -preset faster -tune stillimage test.mp4

    I’ve tried all sorts of variations of video and audio bitrates, framerates, scaling, presets, tunes, profiles, etc. But no luck as of yet.

    Does anyone have a working ffmpeg command for generating videos for Instagram ?