Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (35)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (5672)

  • Convert swf file to mp4 file using FFMPEG [migrated]

    24 septembre 2012, par user1624004

    I now want to show an html5 video on a html page.

    Now I have an sample.swf file, I want to convert it to .mp4 or .ogg or .webm file.

    I have tried : ffmpeg -i sample.swf sample.mp4

    But I got this error :

    [swf @ 0000000001feef40] Could not find codec parameters for stream 0 (Audio: pcm_s16le, 5512 Hz, 1 channels, 88 kb/s): unspecified sample format
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [swf @ 0000000001feef40] Estimating duration from bitrate, this may be inaccurate
    Guessed Channel Layout for  Input Stream #0.0 : mono
    Input #0, swf, from 'sample.swf':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Audio: pcm_s16le, 5512 Hz, mono, 88 kb/s
       Stream #0:1: Video: mjpeg, yuvj444p, 1024x768 [SAR 100:100 DAR 4:3], 16 fps, 16 tbr, 16 tbn
    File 'sample.mp4' already exists. Overwrite ? [y/N] y
    Invalid sample format '(null)'
    Error opening filters!
  • FFmpeg : encoding a PCM audio file to AAC using AAC codec info from another file

    7 septembre 2022, par Siddharth Kumar

    I have two audio files :

    


      

    1. audio_0.wav : PCM audio
    2. 


    3. audio_1.aac : encoded audio using some parameters
    4. 


    


    I'm trying to achieve the following outcome with FFmpeg :

    


    Create a new file audio_2.aac which contains audio from audio_0.wav encoded using the codec parameters from audio_1.aac.

    


    If I run the following :
ffmpeg -i audio_0.wav -i audio_1.aac -c copy audio_2.aac then I get streams from both muxed together.
I do not want content from audio1.aac. Any pointers to solve this would be appreciated.

    


  • File contains data in an unknown format. (m4a load from librosa)

    2 août 2022, par Moriyama Aiko

    So I am currently working on a DNN that takes in m4a files. I have ffmpeg, it creates a few batches and then dies on this error :

    


    Traceback (most recent call last):&#xA;  File "/users/work/s163838/./main.py", line 126, in <module>&#xA;    &#xA;  File "/users/work/s163838/./main.py", line 96, in main&#xA;    print("e")&#xA;  File "/apl/tryton/python/3.9.5/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 521, in __next__&#xA;    data = self._next_data()&#xA;  File "/apl/tryton/python/3.9.5/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 1203, in _next_data&#xA;    return self._process_data(data)&#xA;  File "/apl/tryton/python/3.9.5/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 1229, in _process_data&#xA;    data.reraise()&#xA;  File "/apl/tryton/python/3.9.5/lib/python3.9/site-packages/torch/_utils.py", line 425, in reraise&#xA;    raise self.exc_type(msg)&#xA;EOFError: Caught EOFError in DataLoader worker process 0.&#xA;Original Traceback (most recent call last):&#xA;  File "/users/kdm/s163838/.local/lib/python3.9/site-packages/librosa/core/audio.py", line 164, in load&#xA;    y, sr_native = __soundfile_load(path, offset, duration, dtype)&#xA;  File "/users/kdm/s163838/.local/lib/python3.9/site-packages/librosa/core/audio.py", line 195, in __soundfile_load&#xA;    context = sf.SoundFile(path)&#xA;  File "/users/kdm/s163838/.local/lib/python3.9/site-packages/soundfile.py", line 629, in __init__&#xA;    self._file = self._open(file, mode_int, closefd)&#xA;  File "/users/kdm/s163838/.local/lib/python3.9/site-packages/soundfile.py", line 1183, in _open&#xA;    _error_check(_snd.sf_error(file_ptr),&#xA;  File "/users/kdm/s163838/.local/lib/python3.9/site-packages/soundfile.py", line 1357, in _error_check&#xA;    raise RuntimeError(prefix &#x2B; _ffi.string(err_str).decode(&#x27;utf-8&#x27;, &#x27;replace&#x27;))&#xA;RuntimeError: Error opening &#x27;vox2/dev/aac/id08194/QnBYPze-x9A/00079.m4a&#x27;: File contains data in an unknown format.&#xA;&#xA;During handling of the above exception, another exception occurred:&#xA;&#xA;Traceback (most recent call last):&#xA;  File "/apl/tryton/python/3.9.5/lib/python3.9/site-packages/torch/utils/data/_utils/worker.py", line 287, in _worker_loop&#xA;    data = fetcher.fetch(index)&#xA;  File "/apl/tryton/python/3.9.5/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch&#xA;    data = [self.dataset[idx] for idx in possibly_batched_index]&#xA;  File "/apl/tryton/python/3.9.5/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>&#xA;    data = [self.dataset[idx] for idx in possibly_batched_index]&#xA;  File "/users/work/s163838/vox_celeb_loader.py", line 53, in __getitem__&#xA;    load(speaker2utt1, self.num_samples)&#xA;  File "/users/work/s163838/vox_celeb_loader.py", line 13, in load&#xA;    wav, sr = librosa.load(path, sr=16000)&#xA;  File "/users/kdm/s163838/.local/lib/python3.9/site-packages/librosa/util/decorators.py", line 88, in inner_f&#xA;    return f(*args, **kwargs)&#xA;  File "/users/kdm/s163838/.local/lib/python3.9/site-packages/librosa/core/audio.py", line 170, in load&#xA;    y, sr_native = __audioread_load(path, offset, duration, dtype)&#xA;  File "/users/kdm/s163838/.local/lib/python3.9/site-packages/librosa/core/audio.py", line 226, in __audioread_load&#xA;    reader = audioread.audio_open(path)&#xA;  File "/users/kdm/s163838/.local/lib/python3.9/site-packages/audioread/__init__.py", line 111, in audio_open&#xA;    return BackendClass(path)&#xA;  File "/users/kdm/s163838/.local/lib/python3.9/site-packages/audioread/rawread.py", line 65, in __init__&#xA;    self._file = aifc.open(self._fh)&#xA;  File "/apl/tryton/python/3.9.5/lib/python3.9/aifc.py", line 917, in open&#xA;    return Aifc_read(f)&#xA;  File "/apl/tryton/python/3.9.5/lib/python3.9/aifc.py", line 358, in __init__&#xA;    self.initfp(f)&#xA;  File "/apl/tryton/python/3.9.5/lib/python3.9/aifc.py", line 314, in initfp&#xA;    chunk = Chunk(file)&#xA;  File "/apl/tryton/python/3.9.5/lib/python3.9/chunk.py", line 63, in __init__&#xA;    raise EOFError&#xA;EOFError&#xA;&#xA;</listcomp></module>

    &#xA;

    I am using this command

    &#xA;

        wav, sr = librosa.load(path, sr=16000)&#xA;

    &#xA;

    is it just a broken file ? How do I skip such then ? Or is it something about loading a m4a file even with ffmpeg and the desired output when tested on a single m4a file ?

    &#xA;