Recherche avancée

Médias (1)

Mot : - Tags -/remix

Autres articles (75)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

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

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

Sur d’autres sites (10310)

  • ffmpeg : How to create multi playlist m3u8 ?

    21 août 2018, par noc

    I have an example :

    ffmpeg -loglevel debug -threads 4 -vsync 1 -i 'bunny.mp4' -vf yadif -g 29.97 -r 29.97 -b:v:0 5250k -c:v h264_nvenc -preset llhq -vcodec vbr_hq -pix_fmt yuv420p -profile:v main -level 4.1 -strict_gop 1 -rc-lookahead 32 -no-scenecut 1 -forced-idr 1 -gpu 0 -b:v:1 4200k -c:v h264_nvenc -preset llhq -rc:v vbr_hq -pix_fmt yuv420p -profile:v main -level 4.1 -strict_gop 1 -rc-lookahead 32 -no-scenecut 1 -forced-idr 1 -gpu 1 -b:v:1 3150k -c:v h264_nvenc -preset llhq -rc:v vbr_hq -pix_fmt yuv420p -profile:v main -level 4.1 -strict_gop 1 -rc-lookahead 32 -no-scenecut 1 -forced-idr 1 -gpu 2 -b:a:0 256k -b:a:0 192k -b:a:0 128k -c:a aac -ar 48000  -map 0:v -map 0:a:0 -map 0:v -map 0:a:0 -map 0:v -map 0:a:0 -f hls -var_stream_map "v:0,a:0  v:1,a:1 v:2,a:2" -master_pl_name  master.m3u8 -t 300 -hls_time 10 -hls_init_time 4 -hls_list_size 10 -master_pl_publish_rate 10 -hls_flags delete_segments+discont_start+split_by_time "out/manifest.m3u8"

    but alltime a have error like :
    Unrecognized option ’rc:v’
    Unrecognized option ’strict_gop’

    I’d like to create the playlist like this :

    #EXTM3U
    #EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=688301
    http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640_vod.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=165135
    http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0150_vod.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=262346
    http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0240_vod.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=481677
    http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0440_vod.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=1308077
    http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/1240_vod.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=1927853
    http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/1840_vod.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=2650941
    http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/2540_vod.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=3477293
    http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/3340_vod.m3u8

    with ability to choose quality in player (videojs)

  • Is there a method to identify the audio channel layout ?

    2 septembre 2016, par Pony

    A video file has many channels, and each channel is contained in a stream, e.g.

    libavutil      52. 38.100 / 52. 38.100
    libavcodec     55. 18.102 / 55. 18.102
    libavformat    55. 12.100 / 55. 12.100
    libavdevice    55.  3.100 / 55.  3.100
    libavfilter     3. 79.101 /  3. 79.101
    libswscale      2.  3.100 /  2.  3.100
    libswresample   0. 17.102 /  0. 17.102
    libpostproc    52.  3.100 / 52.  3.100
    Guessed Channel Layout for  Input Stream #0.1 : mono
    Guessed Channel Layout for  Input Stream #0.2 : mono
    Guessed Channel Layout for  Input Stream #0.3 : mono
    Guessed Channel Layout for  Input Stream #0.4 : mono
    Guessed Channel Layout for  Input Stream #0.5 : mono
    Guessed Channel Layout for  Input Stream #0.6 : mono
    Guessed Channel Layout for  Input Stream #0.7 : mono
    Guessed Channel Layout for  Input Stream #0.8 : mono
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/data/tmp/ff6.mov':
    Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2015-01-16 17:54:47
    Duration: 00:01:54.00, start: 0.000000, bitrate: 160836 kb/s
    Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le, 1920x1080, 154650 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc
    Metadata:
     creation_time   : 2015-01-16 17:54:47
     handler_name    : Apple Alias Data Handler
     timecode        : 00:59:55:00
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s
    Metadata:
     creation_time   : 2015-01-16 17:54:47
     handler_name    : Apple Alias Data Handler
    Stream #0:2(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s
    Metadata:
     creation_time   : 2015-01-16 17:54:47
     handler_name    : Apple Alias Data Handler
    Stream #0:3(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s
    Metadata:
     creation_time   : 2015-01-16 17:54:47
     handler_name    : Apple Alias Data Handler
    Stream #0:4(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s
    Metadata:
     creation_time   : 2015-01-16 17:54:47
     handler_name    : Apple Alias Data Handler
    Stream #0:5(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s
    Metadata:
     creation_time   : 2015-01-16 17:54:47
     handler_name    : Apple Alias Data Handler
    Stream #0:6(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s
    Metadata:
     creation_time   : 2015-01-16 17:54:47
     handler_name    : Apple Alias Data Handler
    Stream #0:7(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s
    Metadata:
     creation_time   : 2015-01-16 17:54:47
     handler_name    : Apple Alias Data Handler
    Stream #0:8(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s
    Metadata:
     creation_time   : 2015-01-16 17:54:47
     handler_name    : Apple Alias Data Handler
    Stream #0:9(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
     creation_time   : 2015-01-16 17:55:17
     handler_name    : Apple Alias Data Handler
     timecode        : 00:59:55:00

    Is there a method to identify which stream represents the left channel, and which represent right channel, and so on.
    Thanks for reviewing my question.

  • librosa can't load wav file in aws lambda docker

    30 novembre 2022, par Luka Savic

    I have an AWS Lambda function created using Docker.
I have librosa installed, ffmpeg installed using the solution from this question : install ffmpeg on amazon ecr linux python

    


    I checked in a Lambda function with os.system("ffmpeg -version") and I managed to get valid output, stating different versions and parts of ffmpeg.

    


    Problem is that when I do librosa.load(wav_file) it gives the following error :

    


    /your/path/.venv/lib/python3.9/site-packages/librosa/util/decorators.py:88: UserWarning: PySoundFile failed. Trying audioread instead.
  return f(*args, **kwargs) 


    


    From what I've read, librosa should natively support .wav files, even without ffmpeg, and even though I have ffmpeg installed, it doesn't work.

    


    One more information, .wav file was downloaded, player, and loaded with librosa on my local PC without any problems. I tried also on different wav and mp3 files, and the problems were still there.