Recherche avancée

Médias (1)

Mot : - Tags -/punk

Autres articles (55)

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

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

  • Push RTSP over HTTP

    27 juin 2017, par Type11

    I need to make an emulator of cameras we have streaming to a video recording platform we created.

    The camera I am trying to emulate makes use of RTSP over http (well https but we can ignore that for now) which is somewhat normal but it doesn’t do the pull variety it does a push (we give the camera a url and it starts pushing to the video recording server).

    I have been using ffmpeg which has an rstp over http implementation but it is the pull kind where you take the client and give it a url to pull from.

    I have hacked around and gotten it to send an http GET as expected with the right headers we expect in it which our server uses and recognizes then it times out before streaming anything which makes sense as I think it is waiting for our server to send something.

    I could keep going down this path but I wanted to know if anyone else had run into this and if there was any prebuilt java, c, or c++ library that does anything like this I could start from ? I have searched around but most everything appears to be for a pull model.

    this is a capture of what the camera is sending (there is more but it is just more of the video stream below). this is the full tcp conversation.

    RTSP/1.0 200 OK
    Host : 192.168.1.9
    User-Agent : RS/E060660C84EB
    Content-Type : application/octet-stream
    X-SDP : dj0wDQpvPS0gMjk5NiAyOTk2IElOIElQNCAxOTIuMTY4LjEuNQ0Kcz1SVFNQIFNlcnZlcihIMjY0KSAtIE9DODMwMEM4NEVCDQpjPUlOIElQNCAwLjAuMC4wDQp0PTAgMA0KYT1jaGFyc2V0OlNoaWZ0X0pJUw0KYT1yYW5nZTpucHQ9MC0NCmE9Y29udHJvbDoqDQphPWV0YWc6MTIzNDU2Nzg5MA0KbT12aWRlbyAwIFJUUC9BVlAgOTYNCmI9QVM6MTI4DQphPXJ0cG1hcDo5NiBIMjY0LzkwMDAwDQphPWNvbnRyb2w6dHJhY2tJRD0xDQphPWZtdHA6OTYgcGFja2V0aXphdGlvbi1tb2RlPTE7cHJvZmlsZS1sZXZlbC1pZD00MjgwMWU7c3Byb3AtcGFyYW1ldGVyLXNldHM9WjBLQUhwcGtCUUh2K0F0UUVCQVVBQUFQcEFBQVhjT2hBQ013QUVaU3U4dU5DQUVaZ0FJeWxkNWNLQT09LGFNNDhnQT09DQphPXgtZnJhbWVyYXRlOjMNCmE9ZnJhbWVyYXRlOjMuMA0KYT14LWR1cmF0aW9uOjEwDQo=
    X-Precapture : 8
    Authorization : Basic QXZ3R3VhbXpRcG15eUx3anlGYlZQS1ZCL2hoc1prWXltVVo0Q3cwb2FHaWZSWlBrNmhSRkVySFZoUkoxSG9lVjo2SWZTQ3VyYVRVT0FoU2RmVkJLdDBnQUFBQUFBQUFBQUFBQUFBQUFBQUFBaVNyTFFzK2tJNEVISVB5ZG9aL1Vu

    $...........}..|.....?.....a..@.P..    ..c.0.....<.>H ......Zas...AQZ...:.?W..A..q2..~.C..4.7....H’....*.....6 ?...........K.k.q...S.e+[g.......o... ..C1_[....N..........?.q.9.s..>..Gk.........[....&....n ;c..0c....#.A...9
    ......q...]...B...W.....8.".
    ...[..\c(..?Z.F !. 9. ..e...

    %..0.p2.h.0.,.'g.Rf.\s......@j. .....0.............H.V
    .K{EL
    M.ig..;i...PS..?..~HR..?ID>....T.Ie.m....
    .....!..hBk..P-uX.V&...^<.ab....s....|.#.z...e..O+.{.!.0code>b..Q._d...z.......l.

    ...

    Any help on a library that might send a stream like this would be appreciated.

  • Merge selected separate video's and put the variable into a ffmpeg merge command

    28 juin 2017, par Fearhunter

    I am using the following method to cut a stream in pieces and save mp4 files on my harddisk.

    Method :

    public Process SliceStream()
           {
               var url = model.Url;
               var cuttime = model.Cuttime;
               var output = model.OutputPath;

               return Process.Start(new ProcessStartInfo
                   {
                       FileName = "ffmpeg.exe",
                       Arguments = $"-i \"{url}\" -c copy -flags +global_header -f segment -segment_time \"{cuttime}\" -segment_format_options movflags=+faststart -reset_timestamps 1 \"{output}\"",
                       UseShellExecute = false,
                       RedirectStandardOutput = true
                   });

           }

    The var variables are the user’s inputs on the front-end. This method is working fine.

    Now I have the separate video files loaded in a list on the front end. I want to merge this videos files into one. I was looking to the following link :

    Concatenate two mp4 files using ffmpeg

    I see there a 3 ways to merge my seperate video files. What is the best way to merge my video’s ? I was thinking about to this scenario :

    1 : the user select te video’s he wants to merge
    2 : the user click on the button merge
    3 : this array variable I can use into the ffmpeg command in reverse order

    ffmpeg -i '{reversed array input}' -codec copy output

  • How can I reencode a video to match another's codec exactly ?

    24 janvier 2020, par Stephen Schrauger

    When I’m on vacation, I usually use our camcorder to record videos. Since they’re all the same format, I can use ffmpeg to concat them into one large, smooth video without re-encoding.

    However, sometimes I will use a phone or other camera to record a video (if the camcorder ran out of space/battery or was left at a hotel).

    I’d like to determine the codec, framerate, etc used by my camcorder and use those parameters to convert the phone vidoes into the same format. That way, I will be able to concatonate all the videos without re-encoding the camcorder videos.

    Using ffprobe, I found my camcorder has this encoding :

     Input #0, mpegts, from 'camcorderfile.MTS':
     Duration: 00:00:09.54, start: 1.936367, bitrate: 24761 kb/s
     Program 1
       Stream #0:0[0x1011]: Video: h264 (High) (HDPR / 0x52504448), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc
       Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 256 kb/s
       Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090), 1920x1080

    The phone (iPhone 5s) encoding is :

     Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'mov.MOV':
     Metadata:
       major_brand     : qt  
       minor_version   : 0
       compatible_brands: qt  
       creation_time   : 2017-01-02T03:04:05.000000Z
       com.apple.quicktime.location.ISO6709: +12.3456-789.0123+456.789/
       com.apple.quicktime.make: Apple
       com.apple.quicktime.model: iPhone 5s
       com.apple.quicktime.software: 10.2.1
       com.apple.quicktime.creationdate: 2017-01-02T03:04:05-0700
     Duration: 00:00:14.38, start: 0.000000, bitrate: 11940 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 11865 kb/s, 29.98 fps, 29.97 tbr, 600 tbn, 1200 tbc (default)
       Metadata:
         creation_time   : 2017-01-02T03:04:05.000000Z
         handler_name    : Core Media Data Handler
         encoder         : H.264
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 63 kb/s (default)
       Metadata:
         creation_time   : 2017-01-02T03:04:05.000000Z
         handler_name    : Core Media Data Handler
       Stream #0:2(und): Data: none (mebx / 0x7862656D), 0 kb/s (default)
       Metadata:
         creation_time   : 2017-01-02T03:04:05.000000Z
         handler_name    : Core Media Data Handler
       Stream #0:3(und): Data: none (mebx / 0x7862656D), 0 kb/s (default)
       Metadata:
         creation_time   : 2017-01-02T03:04:05.000000Z
         handler_name    : Core Media Data Handler

    I’m presuming that ffmpeg will automatically take any acceptable video format, and that I only need to figure out the output settings. I think I need to use -s 1920x1080 and -pix_fmt yuv420p for the output, but what other flags do I need in order to make the phone video into the same encoding as the camcorder video ?

    Can I get some pointers as to how I can translate the ffprobe output into the flags I need to give to ffmpeg ?

    Edit : Added the entire Input #0 for both media files.