Recherche avancée

Médias (0)

Mot : - Tags -/médias

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

Autres articles (105)

Sur d’autres sites (14367)

  • How can i cut a video from a specific timeline and save the cut area using ffmpeg ?

    17 novembre 2015, par Sharondohp Sharonas

    I have a Mov file i also have the file in Avi after converted it to Avi.
    What i want to do is to cut a part of the file from minute 1:10 until 1:50

    What i tried so far :

    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Diagnostics;

    namespace CutVideos
    {
       public partial class Form1 : Form
       {
           // 1:10 to 1:50

           public Form1()
           {
               InitializeComponent();

               Process.Start("ffmpeg.exe",
                 "-sameq -t 10 -i E:\\New folder (29)\\MVI_7747.avi E:\\New folder (29)\\10seconds.avi");
           }

           private void Form1_Load(object sender, EventArgs e)
           {

           }
       }
    }

    First i tried to mov file then the avi in both cases it didn’t create the output file.
    For testing i did that it will cut only the first 10 seconds of the movie file. But it’s not working. Later i want to cut and save the part from minute 1:10 to 1:50

    I noticed that there is an error i think with the ffmpeg when running the program but i couldn’t see it since the console window is closing too fast.

  • avformat/dss : Use AV_DICT_DONT_STRDUP_VAL to save a malloc+memcpy

    10 novembre 2019, par Andreas Rheinhardt
    avformat/dss : Use AV_DICT_DONT_STRDUP_VAL to save a malloc+memcpy
    

    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/dss.c
  • How to save ffmpeg output.mp4 to file

    31 mars 2020, par Interestedbutnotknowing

    I have a very basic question. I combined an .wav and .mp4 file to output.mp4 using ffmpeg in python :

      !ffmpeg -i /content/input.mp4 -i audio.wav -c:v copy -c:a copy output.mp4

    Now how do I save the output.mp4 to an .mp4 file on my computer ?
    Thank you very much in advance