Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (91)

Sur d’autres sites (15828)

  • Best way to concatenate videos that have different resolution (generally 1080 or 720)

    5 mai 2022, par jap101

    from command line or python would be best. and i am trying to concatenate around 15 clips of 45 seconds. preferably easy to automate with different number of videos and of different length.

    


  • How to stitch videos to one 360 video without 3rd party software ?

    6 janvier 2017, par Basset hound

    I am using a 3D software, something like GTA.
    I wanted to create a 360 video.
    What I did was create 84 videos automatically by C#.

    Set camera orientation to, (Step = 30 degree)

    1. (Rx, Ry, Rz) = (0.0, -90.0, 0.0)
    2. (Rx, Ry, Rz) = (0.0, -90.0, 30.0)
    3. (Rx, Ry, Rz) = (0.0, -90.0, 60.0)
    ...
    12. (Rx, Ry, Rz) = (0.0, -90.0, 330.0)

    13. (Rx, Ry, Rz) = (0.0, -60.0, 0.0)
    14. (Rx, Ry, Rz) = (0.0, -60.0, 30.0)
    15. (Rx, Ry, Rz) = (0.0, -60.0, 60.0)
    ...
    83. (Rx, Ry, Rz) = (0.0, 90.0, 300.0)
    84. (Rx, Ry, Rz) = (0.0, 90.0, 330.0)

    After created 84 videos, I used Kolor Autopano Video to stitch the video.
    The result is good.

    However, I was wondering, each video has precise camera orientation.
    I think I don’t really need Kolor Autopano Video to create 360 video.
    Is it possible to stitch 84 videos by FFmpeg or C# ?
    Do you have any hint about this ?

    Thank you.

  • stitching two videos into one using FFMPEG

    30 juillet 2015, par nikhil khare

    I am using FFmpeg to concatenate two videos. I use demuxer option like this.
    Created a file using following text.

    file '/var/www/html/test/input/video1.mp4'
    file '/var/www/html/test/input/video2.mp4'

    The codec, bit-rate and aspect ratio are same for both the videos. Now I use this command to generate the output

    ffmpeg -f concat -i mylist.txt -c copy merged.mp4

    It creates the output file with merging the videos but, when i position the seek button to any time it stops playing. The total video duration is also a lot more than the actual video duration.

    It also does not show the second video after the first video is finished. It keeps the last frame through out the video.

    I have found somewhere to mention the duration in the text file, but I am not able to implement it. Please help.