Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (74)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • 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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (11852)

  • Video editor application in android [on hold]

    26 janvier 2019, par Mustafa Çakar

    I want to make a video editor app, I also I want to add and remove text in the video. You can check renderforest video tab for example. I can use FFMPEG for basic editing operations like cropping, cutting, but I have no idea about set text or change text in the video. Do you have a source or library to suggest ? Sorry for my bad english.

  • FFmpeg does not successfully send http request to server

    20 octobre 2019, par e-ly

    I’m trying to output data from ffmpeg to my webserver, but it simply does not work when I use my domain. It works as expected when I use localhost but not when I use my domain.

    I’ve tried multiple things such as changing from a subdomain to a subdirectory using nginx, and like I said— it works when I use localhost but not when I use my domain. When I ran -v trace the logs told me that the connection was successful but the server did not receive anything, yet when I visited the same url in my browser I got a response.

    ffmpeg command :

    '-v', 'trace',                                              
    '-f', 'x11grab',
    '-s', '720x480',
    '-r', '30',
    '-i', ':100',
    '-an',
    '-c:v', 'mpeg1video',
    '-q:v', '12',
    '-bf', '0',
    '-f', 'mpegts',
    'http://stream.domain.com/'                                                                                                    

    Nginx rule :

    server {
      listen 80;
      server_name stream.domain.com;
      location / {
          proxy_pass http://localhost:9000/;
      }
    }    

    Nodejs code :

    app.post('/', (req, res) => {
       console.log('Post received', req.url, req.ip)
       res.sendStatus(200)
    })

    I expect the console of the node process to let me know that a post has been received (for debugging purposes)
    Instead, nothing is received.
    However using http://localhost:9000/ instead of http://stream.domain.com/ works as expected

  • ffmeg : audio drifts in merged TS file for separate audio and video TS files

    13 septembre 2021, par Ronnie Marksch

    basic situation

    


    I have two lists of TS files (each list is specified in an m3u8 file).
The TS files in the first list have only video.
The TS files in the second list have only audio.

    


    I combine the TS files from the first list to get the video only file result_video.ts of duration A (see code for this used below).
I combine the TS files from the second list to get the audio only file result_audio.ts of duration B (see code for this used below).
The problem is that A * 76.28% = B whereas I expected both files to have the same length.
I then combine result_video.ts and result_audio.ts and get a result.ts file where the audio drifts from the video heavily and where the audio has gaps at the points where the chunks have been merged.

    


    Question : how to ensure that the audio is not too slow ? or : how to combine the TS files properly.

    


    code for obtaining the two result files

    


    ffmpeg -safe 0 -f concat -i filelist_video.txt -c copy result_video.ts
ffmpeg -safe 0 -f concat -i filelist_audio.txt -c copy result_audio.ts


    


    code for obtaining the final result

    


    ffmpeg.exe -i .\video_merge_0.ts -i .\audio_merge_0.ts -c copy result.ts


    


    test using only one TS file

    


    I copied the first of the audio input TS files to another TS file.
Doing that produced the output below with a muxing overhead of 22.44%, which is suspiciously close to 1-76.28%.

    


    ffmpeg.exe -i audio_chunk1.ts -c copy audio_chunk1_tmp.ts


    


    I get the info :

    


    Output #0, mpegts, to 'audio_chunk1.ts':
  Metadata:
    encoder         : Lavf58.45.100
    Stream #0:0: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 125 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size=     118kB time=00:00:05.99 bitrate= 161.1kbits/s speed=3.48e+03x
video:0kB audio:96kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 22.444508%


    


    using hls

    


    The following now produces files audio_chunk1_tmp.ts, audio_chunk1_tmp0.ts, ... audio_chunk1_tmp2.ts. So for some reason, the single file already gets split. However, ffmpeg shows that the duration of the result is 5.99s for the 5.87s input (which may be ok).

    


    ffmpeg.exe -i audio_chunk1.ts -f hls audio_chunk1_tmp.ts