Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (59)

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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (12333)

  • compiling ffmpeg Ubuntu 16

    23 juin 2020, par retepik

    I am new on stackowerflow.

    



    I need a advice :)
I have tried compile ffmpeg 2.8.15 from source under Ubuntu 16 LTS. I need compile it for one SDK, I can't use ffmpeg from repository. I compiled ffmpeg successfully. But I have got issues with my specify SDK, when I try compile my code with SDK :

    



    SDK.so: undefined reference to `av_rescale_q@LIBAVUTIL_FFMPEG_54'


    



    I suppose that issues are in symbols name. I tried read symbols with

    



    readelf -s libavutil-ffmpeg.so.54


    



    I get in my compiled ffmpeg something like this

    



       158: 0000000000024170    55 FUNC    GLOBAL DEFAULT   12 av_rescale_q@@LIBAVUTIL_54


    



    I tried this with libavutil-ffmpeg.so.54 from repository and i get

    



       158: 0000000000024170    55 FUNC    GLOBAL DEFAULT   12 av_rescale_q@@LIBAVUTIL_FFMPEG_54


    



    I suppose that I need add a suffix "FFMPEG" to symbols name.
I use this configuration for build ffmpeg, it same as configuration of build from repository :

    



    sudo ./configure --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv


    



    Could you help how add suffix "-ffmpeg" to symbols name ?
Thanks

    



    Best Regard

    



    retepik

    


  • ffmpeg fails to connect a second camera when run using python thread

    1er juin 2023, par LemonJumps

    I'm starting ffmpeg dshow -> rawvideo over pipe in python thread, see code below

    


        def run(self):
        proc = subprocess.Popen(
            [FFMPEG_DIR + "ffmpeg", "-hide_banner", "-f", "dshow", 
                "-video_size", str(self.resolution[0]) + "x" + str(self.resolution[1]), # select resolution
                "-framerate", str(self.framerate), # select framerate
                "-i", "video=" + self.device, # select device
                "-f", "rawvideo", "-pix_fmt", "bgr24", "pipe:"], # output to pipe
            stdout = subprocess.PIPE)
        
        buf = b''
        
        while True:
            outs = proc.stdout.read(self.resolution[0] * self.resolution[1] *3)
            buf += outs
            
            if len(buf) >= (self.resolution[0] * self.resolution[1] *3):
                with self.lock:
                    self.frame = buf[0:self.resolution[0] * self.resolution[1] *3] 
                    self.cnt += 1
                    
                buf = b''
                
            if self.endEvent.isSet():
                proc.kill()
                return


    


    I am using alternative name as camera name, both cameras are the same model.
both devices name and alternative name :

    


    ('ACR010 USB Webcam', '@device_pnp_\\\\?\\usb#vid_0c45&pid_636a&mi_00#8&83c432e&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\\global')

    


    ('ACR010 USB Webcam', '@device_pnp_\\\\?\\usb#vid_0c45&pid_636a&mi_00#8&34de11d9&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\\global')

    


    when I run this code for each camera individually it works flawlessly.
But when I run this for both cameras at the same time, the code results this error :
enter image description here

    


    The "Could not run graph" sounds like ffmpeg can't open multiple devices, or isn't allowed by windows, or maybe there's a token that gets reused because it's all within a single process ?

    


    What could be really causing this error and how can I mitigate it ?

    


  • ffmpeg kit android Cannot add audio to some videos

    10 juin 2023, par Rohaitas Tanoli

    I am using the following ffmpeg kit libray in Android To add music to video file.

    


        implementation 'com.arthenica:ffmpeg-kit-full-gpl:5.1'


    


    And I am using the following command to add audio.mp3 file to the video.mp4 file.

    


            StringBuilder command = new StringBuilder()
            .append("-y") // overWrite
            .append(" -i ").append(video) // video
            .append(" -i ").append(audio) // audio
            .append(" -c:v ").append("copy")
            .append(" -c:a ").append("copy")
            .append(" -shortest ")  
            .append(" -f ").append("mp4 ")
            .append(tempFile.getAbsolutePath());


    


    The command is working great. But in some Videos, the audio is not added. That's the problem.

    


    Here are the logs.

    


    Output #0, mp4, to '......./files/temp20230610_223225.mp4':
  Metadata:
    major_brand     : 
isom

    minor_version   : 
512

    compatible_brands: 
isomiso2avc1mp41

    comment         : 
vid:v10044g50000ci19mj3c77u6if7ahsug

    encoder         : 
Lavf59.27.100

  Stream #0:0
(und)
: Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 576x1024 [SAR 1:1 DAR 9:16], q=2-31, 1289 kb/s
, 
30 fps, 
30 tbr, 
15360 tbn
 (default)

    Metadata:
      handler_name    : 
VideoHandler

      vendor_id       : 
[0][0][0][0]

  Stream #0:1
(und)
: Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s
 (default)

    Metadata:
      handler_name    : 
SoundHandler

      vendor_id       : 
[0][0][0][0]

Stream mapping:
  Stream #0:0 -> #0:0
 (copy)

  Stream #0:1 -> #0:1
 (copy)

Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=-1.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    
frame= 1257 fps=0.0 q=-1.0 Lsize=    7296kB time=00:00:41.95 bitrate=1424.4kbits/s speed= 425x    
video:6594kB audio:656kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.629013%
frame= 1257 fps=0.0 q=-1.0 Lsize=N/A time=00:00:41.95 bitrate=N/A speed= 423x    
video:6594kB audio:656kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown