Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (70)

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

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (4766)

  • 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};