Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (66)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

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

  • Server to Browser Audio Streaming

    20 mai 2020, par Dan P.

    My web app processes audio on the server-side with FFMPEG filter commands.

    



    Right now, the user uploads a file, then the whole file is processed, and then a .wav file is returned for download.

    



    I am looking to improve the app by adding real-time playback, so the user doesn't have to wait for the entire file to be ready to be able to listen to the changes.

    



    It would go like this :

    



      

    • The user uploads a file

    • 


    • The user selects a "start" time of the audio, say 0:00, and clicks play

    • 


    • The server would start processing the audio from that time and stream it back in real-time

    • 


    



    Any guidance appreciated, it's been quite hard to weed out the useless information from the useful so far. I believe that I would need to use the JS AudioContext API to play a buffer as it comes, along with WebSockets. Perhaps the fs module in Node.

    


  • Desktop streaming to Wowza server using ffmpeg

    24 avril 2013, par Gergely Lukacsy

    Recently, I'm trying to utilize ffmpeg for streaming live desktop screen to a Wowza media server.

    I have partial success on the subject so far :

    I've managed to record desktop screen using the UScreenCapture directx dshow filter, and I'm also able to send this record to the server.
    However, when I'm trying to send the screen directly to the server, it fails every time. The player is buffering pretty slowly, and shows a blank screen when it's done (the counter keeps counting).

    So, here are the working methods

    for recording screen :

    ffmpeg -f dshow -i video="UScreenCapture" -r 25 -vcodec libx264 output.flv

    and for streaming video :

    ffmpeg -re -i  -map 0 -c copy -vbsf h264_mp4toannexb -f mpegts udp://stream.server.xyz:52000?pkt_size=1024

    And this is the code I'm using :

    ffmpeg -f dshow -i video="UScreenCapture" -s width x height -r framerate -vcodec libx264 -pix_fmt yuv420p -b:v bitrate -an -vbsf h264_mp4toannexb -f mpegts udp ://your.destination.url:PORTNUMBER ?pkt_size=some_bytes

    As far as I can remember, it worked well before I upgraded wowza.

    Some additional info :

    • OS : win7 sp1 64bit
    • ffmpeg N-49610-gc2dd5a1 (Zeranoe FFmpeg build 2013 Feb 5)
    • UScreenCapture : x64 Edition Version 2.0.14
    • Wowza 3.5.2 running on a Debian linux 2.6.32-5-amd64
    • Flowplayer : 3.2.15

    Looking trough the Wowza log files, something caught my attention. It seems when I'm streaming desktop screen, the server somhow gets uncomplete packets, but when I'm streaming a video file, the error doesn't occurs.

    RTPDePacketizerMPEGTS.handleRTPPacket
    WARN server comment 2013-04-11 11:26:24 - - - - - 152629.665 - - - - - - - -RTPDePacketizerMPEGTS.handleRTPPacket: Incomplete packet: 1504:1472
    WARN server comment 2013-04-11 11:26:27 - - - - - 152632.782 - - - - - - - -RTPDePacketizerMPEGTS.handleRTPPacket: Incomplete packet: 1504:1472
    WARN server comment 2013-04-11 11:26:31 - - - - - 152636.383 - - - - - - - -RTPDePacketizerMPEGTS.handleRTPPacket: Incomplete packet: 1504:1472
    WARN server comment 2013-04-11 11:26:38 - - - - - 152643.484 - - - - - - - -RTPDePacketizerMPEGTS.handleRTPPacket: Incomplete packet: 1504:1472
    WARN server comment 2013-04-11 11:26:47 - - - - - 152653.088 - - - - - - - -RTPDePacketizerMPEGTS.handleRTPPacket: Incomplete packet: 1504:1472
    WARN server comment 2013-04-11 11:26:52 - - - - - 152657.587 - - - - - - - -RTPDePacketizerMPEGTS.handleRTPPacket: Incomplete packet: 1504:1472
    WARN server comment 2013-04-11 11:26:56 - - - - - 152661.624 - - - - - - - -RTPDePacketizerMPEGTS.handleRTPPacket: Incomplete packet: 1504:1472
    WARN server comment 2013-04-11 11:27:05 - - - - - 152670.805 - - - - - - - -RTPDePacketizerMPEGTS.handleRTPPacket: Incomplete packet: 1504:1472

    What causes this error ? Any ideas ?

    Thanks in advance !

  • Windows server crashs in video transcode during

    6 février 2019, par parsa

    I’m using ffmpeg for transcoding of my videos on a HP Blade dedicated server with these details :

    OS : Windows Server 2012 R2 64Bit
    CPU : Intel XEON X5650
    RAM : 16GB
    Hard disk : A sas normal disk

    This command is a sample for creating qualities which has 4K as top level and
    I use this command for creating lower qualities from that as parallel at the same time.

    ffmpeg -i input.mp4 -filter_complex
    [0:v]split=4[s0][s1][s2][s3];
    [s0]scale=uhd2160[v0];
    [s1]scale=hd1080[v1];
    [s2]scale=hd720[v2];
    [s3]scale=hd480[v3];
    [s4]scale=nhd[v4];
    [s5]scale=cga[v5]
    -map [v0] -map [v1] -map [v2] -map [v3] -map [v4] -map [v5] -map 0:a
    -c:v libx264 -c:a aac -f tee -g 48 -threads 0
    "[select='v\:0,a':f=hls:hls_list_size=0:hls_time=6]../video/2160p/out.m3u8|
    [select='v\:1,a':f=hls:hls_list_size=0:hls_time=6]../video/1080p/out.m3u8|
    [select='v\:2,a':f=hls:hls_list_size=0:hls_time=6]../video/720p/out.m3u8|
    [select='v\:3,a':f=hls:hls_list_size=0]../video/480p/out.m3u8|
    [select='v\:3,a':f=hls:hls_list_size=0:hls_time=6]video/360p/out.m3u8|
    [select='v\:3,a':f=hls:hls_list_size=0:hls_time=6]video/200p/out.m3u8"

    Some times in transcoding time windows goes to reconnecting and count up to 20 and then goes to black screen.
    I cannot find anythings in windows logs.
    And finally I restart server from button of that server.
    What’s hapenning ?
    How can I find a clue, about this issue ?
    Any one know anything about this issue ?