Recherche avancée

Médias (91)

Autres articles (107)

  • 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

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (14424)

  • FFMPEG on Windows [on hold]

    22 mai 2016, par Sagar Shirke

    I am using ffmpeg-20160522-git-566be4f-win64-static for streaming HLS. I have successfully published my HLS stream on to a CDN. My requirement is to use FFMPEG for 24*7 streaming workflow.

    Below is the command that I use.

    ffmpeg -i "LIVE TS UDP?fifo_size=5000000" -vcodec libx264 -s 720x576 -profile:v baseline -level 3.1 -vb 1500k -minrate 1500k -maxrate 1500k -bufsize 3000k -pix_fmt yuv420p -r 25 -force_key_frames "expr:gte(t,n_forced*2)" -flags -global_header -acodec aac -ab 64k -ac 2 -ar 48000 -f segment -segment_time 10 -segment_start_number 1 -segment_wrap 0 -segment_list PlaybackURL/Layer3_master.m3u8 -segment_format mpeg_ts -segment_list_type m3u8 -segment_list_flags +live -segment_list_size 0 EntryPoint/Layer3_master_%05d.ts

    The issue is that the stream fails after few hours with an error in red

    "av_interleaved_write_frame(): Unknown error
    Erros writing trailer of EntryPoint/Layer3_master_%05d.ts: Invalid argument"

    Is there some parameter missing in my command ? Also this failure does not add EXT-ENDLIST tag in my HLS manifest. Please help.

    Regards,
    Sagar Shirke

  • Recording application output to video using FFmpeg (or similar)

    15 décembre 2011, par John

    We have a requirement to lets users record a video of our 3D application. I can already grab the individual rendered frames so this question is specifically about how to write frames into a video file.

    I don't think writing each frame as a separate file and post-processing is a workable option.

    I can look at options to record to a simple video file for later optimising/encoding, or writing directly to a sensibly encoded format.

    FFmpeg was suggested in another post but it looks a bit daunting to me. Is it the best option, if not what can be suggested ? We can work with LGPL but not full GPL.

    We're working on Windows (Win32 not MFC) in C++. Sample/pseudo code with your recommended library is very much appreciated... basically after how to do 3 functions :

    • startRecording() does whatever initialization is needed
    • recordFrame() takes pointer to frame data and encodes it, ideally with timing data
    • endRecording() finalizes the video file, shuts down video system, etc
  • Using ffmpeg create an android playable music slide show

    22 avril 2014, par user2637966

    I am now creating a music slide mp4 video and going to play it in android device with ffmpeg.

    I used the following command to accomplish this mission.

    The first one is to inputting a batch of jpg files and convert it to a mp4 file.

    1.)C:/xampp/htdocs/bin/ffmpeg -y -r 1/5 -i C:/xampp/htdocs/bin/%03d.jpg -c:v libx264 -profile:v baseline -level 3.0 -r 30 -pix_fmt yuv420p C:/xampp/htdocs/bin/out.mp4

    The second one is to putting the audio to the previous created video.

    2.)C:/xampp/htdocs/bin/ffmpeg -i C:/xampp/htdocs/bin/out.mp4 -i C:/xampp/htdocs/upload/1.mp3 -y -map 0 -map 1 -codec copy -shortest C:/xampp/htdocs/bin/haha.mp4"

    Both of the command are correct and created the mp4 file. However only out.mp4 can be played in android deivce while haha.mp4 cannot.

    So it seems the audio track violate the android mp4 requirement. What should the second command be so that i can play the mp4 file in android device.