Recherche avancée

Médias (0)

Mot : - Tags -/signalement

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (47)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Les images

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

Sur d’autres sites (5706)

  • Heroku build failed & state changed from crashed to down

    5 décembre 2020, par Cal9233
    2020-12-05T08:10:45.000000+00:00 app[api]: Build started by user calvin.m71@hotmail.com
2020-12-05T08:11:38.587758+00:00 app[api]: Deploy 4fca112e by user calvin.m71@hotmail.com
2020-12-05T08:11:38.587758+00:00 app[api]: Release v6 created by user calvin.m71@hotmail.com
2020-12-05T08:11:38.635964+00:00 heroku[web.1]: State changed from crashed to down
2020-12-05T08:11:41.000000+00:00 app[api]: Build succeeded
2020-12-05T08:32:12.000000+00:00 app[api]: Build started by user calvin.m71@hotmail.com
2020-12-05T08:32:50.304709+00:00 app[api]: Release v7 created by user calvin.m71@hotmail.com
2020-12-05T08:32:50.304709+00:00 app[api]: Deploy 4fca112e by user calvin.m71@hotmail.com
2020-12-05T08:32:52.000000+00:00 app[api]: Build succeeded


    


    Before it was that there was no ffmpeg buildpack on heroku, I added it with
https://elements.heroku.com/buildpacks/jonathanong/heroku-buildpack-ffmpeg-latest

    


    But now I just get state changed and see no errors. Any help would be greatly appreciated !

    


  • gst-inspect-1.0 do not see avdec_h264

    16 octobre 2020, par Marat Zakirov

    Previously I installed gstreamer via conda and its (good) plugins
next I installed gst-libav via sudo apt-get install gstreamer1.0-libav next I used apt-file list gstreamer1.0-libav to see installation path and found it to be /usr/lib/x86_64-linux-gnu/gstreamer-1.0/ next I read running gstream manual and then

    


    GST_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/gstreamer-1.0/ gst-inspect-1.0 avdec_h264

(base) marat@user-System-Product-Name:~$ ls -lh /usr/lib/x86_64-linux-gnu/gstreamer-1.0/ | grep av
-rw-r--r-- 1 root root 181K мар 21  2020 libgstavi.so
-rw-r--r-- 1 root root  56K мар 21  2020 libgstinterleave.so
-rw-r--r-- 1 root root 251K дек  9  2019 libgstlibav.so
-rw-r--r-- 1 root root  15K мар 21  2020 libgstnavigationtest.so
-rw-r--r-- 1 root root  40K мар 21  2020 libgstwavenc.so
-rw-r--r-- 1 root root  48K мар 21  2020 libgstwavpack.so
-rw-r--r-- 1 root root  72K мар 21  2020 libgstwavparse.so


    


    It found many new modules but didn't found avdec_h264. What I am missing ?

    


    UPDATE :

    


    I just want way to use gstreamer via conda virtenv python appliation. If you know valid way to do so I will consider your reply as answer.

    


  • Mac terminal command to list files and sort by date to use in ffmpeg

    22 septembre 2020, par Jeff

    I am using a gopro to film a bunch of videos. I want to then take those videos directly from the SD card folder and concatenate them into a single video (bypass an editor) by using FFMPEG.

    


    I'm currently able to stitch together "chaptered" videos with the following example command on my Mac (10.13) :

    


    ffmpeg -f concat -safe 0 -i <(for f in /sdcardfolder/100GOPRO/GH*488.MP4; do echo "file '$f'"; done) -c copy /folder/video.mp4

    


    The reason for this is that the ffmpeg command requires a text file that looks like this :

    


    


    file '/folder/GH016992.MP4'

    
file '/folder/GH036990.MP4'

    
...

    


    


    The real command is this, which generates the list of files in the right format with file in front of each one and can be embedded into the ffmpeg command :

    


    for f in /Volumes/GoPro8/DCIM/100GOPRO/GH0*71*.MP4; do echo "file '$f'"; done

    


    I want to add 2 changes to this :

    


      

    1. List the files in date order (ascending) : I want the list of files to be in date order. But I can't figure out how to add a -sort or something to the for f in command.

      


    2. 


    3. Allow a more robust set of file matching/filtering : Right now I can add basic regex like GH*488.MP4 or, with chapters which increments the first number, something like GH0[123]488.MP4 would work to just get the first few. But when I change it to be more flexible like GH0[0-9]71[0-9][0-9].MP4 - which would be necessary to match all files that were recorded yesterday, but nothing before then, the command doesn't like this regex. It seems to only accept a *.

      


    4. 


    


    I looked at a few examples like https://opensource.com/article/19/6/how-write-loop-bash but there wasn't much more than just listing files.

    


    This boils down to a terminal command and isn't really related to FFMPEG but I hope it's helpful context.

    


    I imagined it would be something like this, but this definitely doesn't work :

    


    for f in (find /Volumes/GoPro8/DCIM/100GOPRO/GH0[0-9]71[0-9][0-9].MP4 -type f | sort); do echo "file '$f'"; done

    


    I'd appreciate any help ! Thanks !

    


    Update

    


    It looks like sorting isn't easy with Mac tools so I gave up and wrote a much simpler Ruby script that could execute everything for me. This is not really an answer to my question above but it is a solution.

    


    Here I can easily write the text file necessary for ffmpeg and I can also filter files with a regex on the name, filter for a particular date, and size. Then, via the script, simply execute the ffmpeg command with args to concat files. I can also have it immediately resample the file to compress it (gopro videos are giant and I'm ok with a much lower bitrate if I want to save raw footage).

    


    I got lucky with this Dir.entries in Ruby - it seems to automatically sort by date ? I don't know how to sort it otherwise.

    


    PATH = '/Volumes/GoPro8/DCIM/100GOPRO/'
NEW_FILENAME = '/folder/new-file.mp4'
video_list = '/folder/ffmpeg-list.txt'

# create the text file
File.delete(video_list) if File.exist?(video_list)
i = 1
Dir.entries(PATH).each do |f|
    d = File.mtime(PATH + f)
    size = File.size(PATH + f)
    if f.match(/GH0.*.MP4/) && d.to_s.match(/2020-07-30/) && size.to_i < 1000000000
        puts "#{i}\t#{f}\t#{d}\t#{size}"
        File.write(video_list, "file #{PATH + f}\n", mode: "a")
        i= i+1
    end
end

command = "ffmpeg -f concat -safe 0 -i #{video_list} -c copy #{NEW_FILENAME}"

puts "executing concatenate..."
puts command
system(command)