Recherche avancée

Médias (91)

Autres articles (70)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (6799)

  • error when trying to merge audio and video with fluent-ffmpeg

    24 août 2022, par Carlos Zalazar

    Hello I need to combine a video track and an audio track, I get the video and audio from a url.

    


    the problem is that the audio is only added to the middle of the video, and then the video goes silent I hope you understand me, my English is not very good.

    


    dependencies

    


    import ffmpegInstaller from '@ffmpeg-installer/ffmpeg';
import ffmpeg from 'fluent-ffmpeg';

ffmpeg.setFfmpegPath(ffmpegInstaller.path);


    


    code

    


    ffmpeg()
.addInput(video)
.addInput(audio)
.output('videoNuevo.mp4')
.outputOptions(['-map 0:v', '-map 1:a', '-c:v copy'])
.on('progress', progress => {
    console.log(progress)
}).on('end', () => {
    console.log('process finish!')
}).on('error', err => {
    console.log(err)
})
.run()


    


  • FFMPEG : Error writing trailer of v%v/index.m3u8 : Cannot allocate memory

    7 avril 2023, par user3309447

    I wanted to convert one video track and 2 audio tracks to HLS by combining them.
That means, the HLS conversion has to be multi-bitrate and multi-language both.

    


    What do I want to achieve ?
I have to prepare an HLS stream for 3 resolutions, namely, 720px, 480px and 360px.
Also, there will be 2 audio tracks in the resultant stream, one English and another Hindi.
I am running the below command and getting the error as described below.
Can anybody help me out ?

    


    Command :

    


    ffmpeg-5.0.1-amd64-static/ffmpeg -i raw/vid_only.mp4 -i raw/english.mp3 -i raw/hindi.mp3 \
-c:a:0 aac \
-c:a:1 aac \
-filter_complex \
"[0:v]split=3[v1][v2][v3]; \
[v1]scale=w=1280:h=720[v1out]; [v2]scale=w=854:h=480[v2out]; [v3]scale=w=640:h=360[v3out]" \
-map [v1out] -c:v:0 libx264 -x264-params "nal-hrd=cbr:force-cfr=1" -b:v:0 5M -maxrate:v:0 5M -minrate:v:0 5M -bufsize:v:0 10M -preset slow -g 48 -sc_threshold 0 -keyint_min 48 \
-map [v2out] -c:v:1 libx264 -x264-params "nal-hrd=cbr:force-cfr=1" -b:v:1 3M -maxrate:v:1 3M -minrate:v:1 3M -bufsize:v:1 3M -preset slow -g 48 -sc_threshold 0 -keyint_min 48 \
-map [v3out] -c:v:2 libx264 -x264-params "nal-hrd=cbr:force-cfr=1" -b:v:2 1M -maxrate:v:2 1M -minrate:v:2 1M -bufsize:v:2 1M -preset slow -g 48 -sc_threshold 0 -keyint_min 48 \
-map 1:a -c:a:0 aac -b:a:0 96k -ac 2 \
-map 1:a -c:a:1 aac -b:a:1 96k -ac 2 \
-map 1:a -c:a:2 aac -b:a:2 48k -ac 2 \
-map 2:a -c:a:0 aac -b:a:0 96k -ac 2 \
-map 2:a -c:a:1 aac -b:a:1 96k -ac 2 \
-map 2:a -c:a:2 aac -b:a:2 48k -ac 2 \
-var_stream_map "a:0,agroup:audio,default:yes a:1,agroup:audio v:0,agroup:audio" \
-var_stream_map "v:0,name:720p v:1,name:480p v:2,name:360p" v%v/index.m3u8 \
-master_pl_name master.m3u8 \
-f hls \
-hls_time 6 \
-hls_list_size 0 \
-hls_playlist_type vod \
-hls_flags independent_segments \
-hls_segment_type mpegts \
-hls_segment_filename v%v/data%02d.ts \
-max_muxing_queue_size 80072 \
-muxing_queue_data_threshold 30036


    


    Output :

    


    [hls @ 0x59c3340] Unable to find mapping variant stream00:00.00 bitrate=N/A speed=   0x    
av_interleaved_write_frame(): Cannot allocate memory
[hls @ 0x59c3340] Unable to find mapping variant stream
av_interleaved_write_frame(): Cannot allocate memory
[hls @ 0x59c3340] Unable to find mapping variant stream
av_interleaved_write_frame(): Cannot allocate memory
[hls @ 0x59c3340] Unable to find mapping variant stream
av_interleaved_write_frame(): Cannot allocate memory
[hls @ 0x59c3340] Unable to find mapping variant stream
av_interleaved_write_frame(): Cannot allocate memory
[hls @ 0x59c3340] Unable to find mapping variant stream
av_interleaved_write_frame(): Cannot allocate memory
[hls @ 0x59c3340] Unable to find mapping variant stream
[hls @ 0x59c3340] Opening 'v720p/index0.ts' for writing
[hls @ 0x59c3340] Opening 'v720p/index.m3u8.tmp' for writing
[hls @ 0x59c3340] Opening 'v480p/index0.ts' for writing
[hls @ 0x59c3340] Opening 'v480p/index.m3u8.tmp' for writing
[hls @ 0x59c3340] Opening 'v360p/index0.ts' for writing
[hls @ 0x59c3340] Opening 'v360p/index.m3u8.tmp' for writing
Error writing trailer of v%v/index.m3u8: Cannot allocate memory


    


  • some of google drive mp4 files are not playing in jwplayer

    14 juin 2017, par dev

    I am working on to play the mp4 videos from google drive but I am facing the problem that some mp4 files are playing well while some mp4 files are not playing at all insteal "file not found" error shows.

    This is what I am doing.
    link :

    https://drive.google.com/file/d/0BwnSGB-C8mEGUmY2U1dhcVNiWjQ/view?usp=sharing

    My code is :

    jwplayer("player_embed").setup ({
         file:   "https://docs.google.com/uc?id=0BwnSGB-C8mEGUmY2U1dhcVNiWjQ",
         type:   "mp4",
         primary: "flash",
         image: image_link,
         width:  950,
         height: 370,
         tracks:[{
           file: subtitle_link,
           label: "English",
           kind : "captions",
           default: "true",
         }]
         });

    is there any mime type issue or something else I need to do ?
    is there any other player that can play videos,subtitles,image poster from google drive ?