Recherche avancée

Médias (0)

Mot : - Tags -/signalement

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

Autres articles (111)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

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

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number 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
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (11965)

  • JSMpeg not able to get stream from RTSP

    20 octobre 2023, par Q.Rey

    i'm trying to get a RTSP stream inside a webpage, but with no success actually.

    



    For this I followed exactly the tutorial of JSMpeg : https://github.com/phoboslab/jsmpeg

    



    With a custom FFMPEG command :

    



    ffmpeg -i "rtsp://myurl/media.smp" \
 -vcodec h264 -f mpegts -codec:v mpeg1video -s 1290x980 -b:v 8000k \
 -r 25 -max_muxing_queue_size 9999 http://localhost:8081/supersecret


    



    My websocket well receive my connection on it.

    



    But my canvas is still a white square :
enter image description here

    



    The weird thing is when I change the websocket url with a false one, in my code, the canvas turn to black.

    



    So I guess that it turn WHITE when it receive something.

    



    Thansk for help

    


  • How to copy audio stream using FFMpeg API ( not a command line tool )

    12 août 2013, par Jindong Jung

    I'm developing some Video Editing Apps on Android.

    the objective of the app is "Editing Videos on Android".

    and...

    I'm just completed making video file using some images.
    but.. I can't attach audio into the video.

    my method is same as follows.

    1.VideoStream, audio stream creation using AVFormatContext

    2.Movie encoding in video stream was successful

    3.Encode codec open in audio stream was successful

    4.Set sample format to AV_SAMPLE_FMT_FLTP

    5.Sample rate and channel was set same as source audio

    6.Choose appropriate Decoder and read packet

    7.Convert packets using swr_converter, setting same as sample format

    8.Encode converted data

    9.memory deallocation

    10.END !


    Problem is here :

    Video of finally created video file was normally played. but the Audio wasn't.

    It heared like weird. It have many noises and plays slowly.

    I've googled with many keywords but they only say about "FFmpeg command line usage".

    I wanna make with FFMpeg API. not a Command line tool.

    Please help.

  • Convert JPG to MP4 and then concatenate other MP4 with them results in Non-monotonous DTS in output stream error

    25 août 2022, par Babagota

    I know this question has been answered but this isn't similar to my case.
I have many mp4 files that are all the same size, audio, ...

    


    01.mp4
...
25.mp4


    


    And I also have many jpg (all same size as my MP4) that I want to convert to 5s MP4 videos.
I used to convert them by using :

    


    ffmpeg -loop 1 -i myimage.jpg -t 5 myvideo.mp4


    


    Which produces an MP4 video of 5s, but when I want to concatenate all my previous MP4 with MP4 created from JPG with the following command :

    


    ffmpeg -f concat -safe 0 -i allmyvideos.txt -c copy all.mp4


    


    Then I have multiples errors/warnings :

    


    [mp4 @ 0000029eed493f80] Non-monotonous DTS in output stream 0:1; previous: 278633, current: 251856; changing to 278634. This may result in incorrect timestamps in the output file.


    


    And output is weird (freezing frames, ...).

    


    If I concat all my MP4 without the MP4 from JPG, I don't get any error and the output is fine.
So I guess that the problem is when I'm converting JPG.
I tried to add an empty audio to it, with the same sample rate as my MP4 :

    


    ffmpeg -y -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=22050 -loop 1 -i myimage.jpg -c:v copy -c:a aac -shortest -t 5 myvideo.mp4


    


    But I have the same error.
Any help appreciated, thank you.