Recherche avancée

Médias (1)

Mot : - Tags -/blender

Autres articles (55)

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

  • 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

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

Sur d’autres sites (6009)

  • Ticket - Upload de document

    9 août 2011

    Il peut être intéressant de pouvoir ajouter un ou plusieurs documents joint à un ticket.

    Ces documents peuvent être :

    • des patchs ;
    • des captures d’écran aux formats :
      • png ;
      • gif ;
      • jpg ;
    • des fichiers textuels pour la documentation ;

    Faire attention à la sécurité (fichiers php/js/html).

    Il doit être possible d’ajouter un document directement depuis le formulaire de création de ticket.

    Il doit également être possible d’ajouter des documents à postériori, depuis la page de modif des tickets.

  • Android Studio - Append two videos but showing black screen

    6 septembre 2020, par Darkhmar

    First of all hello,

    


    When I add another mp4 file at the end of an mp4 file, the video looks completely black screen but I can get the video sounds.

    


    If I add a copy of a video to the end of it, I saw that there was no problem, but this is not a scenario I want.

    


    I am getting the "text relocations" error when merging with the FFmpeg library. (This problem is fixed when I change this library version, but I have other problems. Therefore, mp4parser is an alternative I see.)

    


    The piece of code that allows the videos to be merged is as follows. Thank you from now.

    


    private void appendTwoVideos(String firstVideoPath, String secondVideoPath) {&#xA;    try {&#xA;        Movie[] inMovies = new Movie[2];&#xA;&#xA;        inMovies[0] = MovieCreator.build(firstVideoPath);&#xA;        inMovies[1] = MovieCreator.build(secondVideoPath);&#xA;&#xA;        List<track> videoTracks = new LinkedList&lt;>();&#xA;        List<track> audioTracks = new LinkedList&lt;>();&#xA;&#xA;        for (Movie m : inMovies) {&#xA;            for (Track t : m.getTracks()) {&#xA;                if (t.getHandler().equals("soun")) {&#xA;                    audioTracks.add(t);&#xA;                }&#xA;                if (t.getHandler().equals("vide")) {&#xA;                    videoTracks.add(t);&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        Movie result = new Movie();&#xA;&#xA;        if (audioTracks.size() > 0) {&#xA;            result.addTrack(new AppendTrack(audioTracks&#xA;                    .toArray(new Track[audioTracks.size()])));&#xA;        }&#xA;        if (videoTracks.size() > 0) {&#xA;            result.addTrack(new AppendTrack(videoTracks&#xA;                    .toArray(new Track[videoTracks.size()])));&#xA;        }&#xA;&#xA;        BasicContainer out = (BasicContainer) new DefaultMp4Builder().build(result);&#xA;&#xA;        @SuppressWarnings("resource")&#xA;        FileChannel fc = new RandomAccessFile(DIRECTORY_PATH &#x2B; "output.mp4", "rw").getChannel();&#xA;        out.writeContainer(fc);&#xA;        fc.close();&#xA;    } catch (FileNotFoundException e) {&#xA;        e.printStackTrace();&#xA;    } catch (IOException e) {&#xA;        e.printStackTrace();&#xA;    }&#xA;}&#xA;</track></track>

    &#xA;

  • Trying to concatenate 11 seconds of black video onto the end of a 5 min video. Getting non-monotonous DTS in output stream error

    14 janvier 2020, par TidusWulf

    I have a video shot from my smartphone that is 3840x2160@57.74. Originally, it was exactly 5 minutes long. I replaced the audio with a music file that is 5 minutes and 11 seconds using ffmpeg -i video.mp4 -i audio.mp3 -c copy -map 0:v:0 -map 1:a:0 output.mp4 I expected 11 seconds of black at the end, but instead the video output freezes on the last frame for 11 seconds. There’s definitely something funky going on because when I try to upload to youtube, it only sees the first 5 minutes. The last 10 seconds of audio get dropped.

    I tried making a second black clip with ffmpeg -f lavfi -i color=c=black:s=uhd2160:r=57.74 -t 11 -pix_fmt yuv420p blk2.mp4. When I try to concat the two files with ffmpeg -f concat -safe 0 -i list.txt -c copy teacup6.mp4 I get a huge list of errors such as [mp4 @ 00000166fda994c0] Non-monotonous DTS in output stream 0:0; previous: 27002920, current: 3728954; changing to 27002921. This may result in incorrect timestamps in the output file. for what appears to be about 11 seconds worth of frames, so basically the entire 11 second black clip. When I play it in VLC it goes black, but I suspect it’s not actually processing/playing 11 seconds of good black video because if I click along the track timeline, visual glitches start happening in the canvas.

    Here is what ffmpeg tells me about my inputs and outputs as far as framerate, pixel format, etc.

    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000239e6cb2880] Auto-inserting h264_mp4toannexb bitstream filter
    Input #0, concat, from 'list.txt':
     Duration: N/A, start: -0.023021, bitrate: 72244 kb/s
       Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 3840x2160, 71994 kb/s, SAR 1:1 DAR 16:9, 57.74 fps, 59 tbr, 90k tbn, 180k tbc
       Metadata:
         handler_name    : VideoHandle
       Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 250 kb/s
       Metadata:
         handler_name    : SoundHandler
    Output #0, mp4, to 'teacup5.mp4':
     Metadata:
       encoder         : Lavf58.35.102
       Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 71994 kb/s, 57.74 fps, 59 tbr, 90k tbn, 90k tbc
       Metadata:
         handler_name    : VideoHandle
       Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 250 kb/s
       Metadata:
         handler_name    : SoundHandler
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help

    alternatively, I tried to make a black 3840x2160 png file and create an 11 second slideshow. It didn’t turn out any better. I tried a single image for 11 seconds @ 57.74fps, I also tried a looping slideshow of that one image, looping on every single frame, at 57.74 fps. I should note that wether a slideshow or a color generator, the filesize for the 11 seconds of black comes out to about 160KB. Strangely small in my opinion, but I was chalking it up to a good compression algorithm.

    I tried to do this in Da Vinci Resolve 16.1 instead and the video wouldn’t play. I also couldn’t find a way to maintain the same unusual 57.74 framerate with the free version, so it was undesirable anyway. I tried to re-process using Handbrake, but it threw an error. The output of the Handbrake processed video file also gets stuck on the last frame of the video, instead of going to black.