Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (38)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

Sur d’autres sites (1723)

  • OSX MistServer/FFMPEG : RTMP Input/Output error

    28 septembre 2017, par brewcrazy

    I have an IP camera that outputs a RTSP stream that I’m trying to use to display a live feed on my website. This is a small site that only my wife and I will access so I’m trying to use a free streaming service. For that reason, I’ve decided to try MistServer’s open source option.

    I currently have downloaded MistServer and have it running without installation on my mac (sudo ./MistController). With MistServer running, I have a stream set up and default protocols configured. The stream is configured as follows :

    stream name: ipcam
    source: push://

    The configuration page gives me the following source to push to :

    RTMP full url: rtmp://127.0.0.1/live/ipcam
    RTMP url: rtmp://127.0.0.1/live/
    RTMP stream key: ipcam

    In the streams view, the stream’s status is unavailable, but I’m assuming this is because it isn’t receiving an input. I haven’t been able to confirm this via documentation.

    Here is the FFMPEG command that I am running and the error that I’m getting :

    ffmpeg -rtsp_transport tcp -i rtsp://<user>:@:554/live0.264 -acodec copy -vcodec copy -f flv rtmp://127.0.0.1/live/ipcam

    ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
     built with Apple LLVM version 8.1.0 (clang-802.0.42)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma --enable-vda
     libavutil      55. 58.100 / 55. 58.100
     libavcodec     57. 89.100 / 57. 89.100
     libavformat    57. 71.100 / 57. 71.100
     libavdevice    57.  6.100 / 57.  6.100
     libavfilter     6. 82.100 /  6. 82.100
     libavresample   3.  5.  0 /  3.  5.  0
     libswscale      4.  6.100 /  4.  6.100
     libswresample   2.  7.100 /  2.  7.100
     libpostproc    54.  5.100 / 54.  5.100
    Guessed Channel Layout for Input Stream #0.1 : mono
    Input #0, rtsp, from 'rtsp://admin:@192.168.10.112:554/live0.264':
     Metadata:
       title           : Session Streamed by LIBZRTSP
       comment         : live0.264
     Duration: N/A, start: 0.242000, bitrate: N/A
       Stream #0:0: Video: h264 (Main), yuv420p(progressive), 1280x720, 25 fps, 24.83 tbr, 90k tbn, 50 tbc
       Stream #0:1: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
    rtmp://127.0.0.1/live/ipcam: Input/output error
    </user>

    I can’t determine from this error if the issue is the FFMPEG command or my MistServer configuration.

  • Using FFMPEG to stream continuously videos files to a RTMP server

    5 septembre 2023, par kketch

    ffmpeg handles RTMP streaming as input or output, and it's working well.

    &#xA;&#xA;

    I want to stream some videos (a dynamic playlist managed by a python script) to a RTMP server, and i'm currently doing something quite simple : streaming my videos one by one with FFMPEG to the RTMP server, however this causes a connection break every time a video end, and the stream is ready to go when the next video begins.

    &#xA;&#xA;

    I would like to stream those videos without any connection breaks continuously, then the stream could be correctly viewed.

    &#xA;&#xA;

    I use this command to stream my videos one by one to the server

    &#xA;&#xA;

    ffmpeg -re -y -i myvideo.mp4 -vcodec libx264 -b:v 600k -r 25 -s 640x360 \&#xA;-filter:v yadif -ab 64k -ac 1 -ar 44100 -f flv \&#xA;"rtmp://mystreamingserver/app/streamName"&#xA;

    &#xA;&#xA;

    I looked for some workarounds over the internet for many days, and i found some people talking about using a named pipe as input in ffmpeg, I've tried it and it didn't work well since ffmpeg does not only close the RTMP stream when a new video comes but also closes itself.

    &#xA;&#xA;

    Is there any way to do this ? (stream a dynamic playlist of videos with ffmpeg to RTMP server without connection breaks

    &#xA;

  • FFMPEG- filtered video coming rotated

    31 août 2017, par Alok Kumar Verma

    After a lot of struggle I finally did what I want, i.e., save filters using ffmpeg now for now I’m using the Vintage filter command line from FFMPEG in order to add Vintage Filter to it. But there is a certain problem, and the problem is that The output is coming 90 degree clockwise rotated which is not what I wanted.

    I’ve used this command from FFMPEG documentation, and the vintage filter application is working fine.

    String complexCommand[] = {"-y", "-i", stringBuilder.toString(), "-strict", "experimental", "-vf", "curves=vintage",
               "-s", "640x480", "-r", "30", "-aspect", "4:3", "-ab",
               "48000","-ac", "2", "-ar", "22050", "-b:a", "2097k", "-vcodec", "mpeg4", savingPath};

    I’ve read about how to do the rotation from this link : Video Rotation using FFMPEG

    Now what I’ve tried is rotating the video 90 degree counterclockwise which transpose=2 after -vf from the documentation.

    1.This is what I’ve done :

    String complexCommand[] = {"-y", "-i", stringBuilder.toString(), "-strict", "experimental", "-vf", "transpose=2", "curves=vintage",
               "-s", "640x480", "-r", "30", "-aspect", "4:3", "-ab",
               "48000","-ac", "2", "-ar", "22050", "-b:a", "2097k", "-vcodec", "mpeg4", savingPath};

    But I got this problem in my logcat, i.e.,

    [NULL @ 0xaaab0c00] Unable to find a suitable output format for 'curves=vintage' curves=vintage: Invalid argument

    2. I’ve also done this in order to get the desired result :

    String complexCommand[] = {"-y", "-i", stringBuilder.toString(), "-strict", "experimental", "-vf", "transpose=2",
           "-s", "640x480", "-r", "30", "-aspect", "4:3", "-ab",
           "48000","-ac", "2", "-ar", "22050", "-b:a", "2097k", "-vcodec", "mpeg4", savingPath};

    Now from above the result is fine, without any filter.

    3. I’ve tried this also which was my last attempt to do that :

    String complexCommand[] = {"-y", "-i", stringBuilder.toString(), "-strict", "experimental", "-vf", "curves=vintage", "-vf", "transpose=2",
           "-s", "640x480", "-r", "30", "-aspect", "4:3", "-ab",
           "48000","-ac", "2", "-ar", "22050", "-b:a", "2097k", "-vcodec", "mpeg4", savingPath};

    Here is what I have changed : "-vf", "curves=vintage", "-vf","transpose=2"

    But the result was same as in the second, only the rotated video, no fiters applied to the video.

    I’m in need of the result as I’ve reached close to my destination but the problem is there and I need the result as the filtered video with the rotated form and that has to be implemented in the string only.

    I think there is some issue with the string before -vf as the video is getting rotated before -vf and when I apply transpose then the correct result comes. Any suggestion would be appreciated.

    EDITS

    I’ve tried using this too, the && in between the command in order to get the result but I’m getting this error in my logcat :

    E/MediaMetadataRetrieverJNI: getFrameAtTime: videoFrame is a NULL pointer

    What I’ve done is :

    String complexCommand[] = {"-y", "-i", stringBuilder.toString(), "-strict", "experimental", "-vf", "curves=vintage",
               "&amp;&amp;", "-vf", "transpose=2", "-s", "720x720", "-r", "30", "-aspect", "4:3", "-ab",
               "48000","-ac", "2", "-ar", "22050", "-b:v", "2097k", "-vcodec", "mpeg4", savingPath};