Añadir una pista de audio a un vídeo con ffmpeg

30 Agosto 2018 by 9 comentarios Multimedia 19691 Views
Valora este artículo
(0 votos)

Tenemos un vídeo, al que llamaremos video.mp4

Tenemos una pista de audio, a la que llamaremos audio.mp3

Tenemos una necesidad, que es unir la pista de audio al vídeo.

Tenemos un programa en nuestra shell, que es ffmpeg.

Combinamos todo:

ffmpeg -i video.mp4 -i audio.mp3 -c:v copy -c:a copy videoconaudio.mp4

Y ahora que tenemos la pista de audio y la de vídeo unidas, vamos a ver qué hemos hecho:

ffmpeg -> nombre del comando

-i video.mp4 -> definimos una entrada

-i audio.mp3 -> definimos otra entrada

-c:v copy -> definimos que no queremos cambiar el códec de vídeo (copia el que tiene la pista de vídeo)

-c:a copy -> definimos que no queremos cambiar el códec de audio (copia el que tiene la pista de audio)

videoconaudio.mp4 -> nombre del fichero que se generará con la unión de la pista de vídeo y la pista de audio.

Información adicional

  • Nivel de dificultad: Bajo
  • ¿Tutorial sacado de otra web/foro?: No

9 comentarios

  • ysgabMogue
  • Abigail
    Abigail Sábado, 04 Enero 2020 05:38

    Please let me know if you're looking for a writer for your blog.
    You have some really great posts and I feel I would be a good asset.
    If you ever want to take some of the load off, I'd love to write some content for
    your blog in exchange for a link back to mine.

    Please shoot me an e-mail if interested. Regards!

  • bittjReady
    bittjReady Jueves, 09 Enero 2020 05:59

    cbd oil cbd oil cbd oil amazon cbd oil cbd oil best cbd oil buy cbd oil

    cbd hemp oil best cbd oil [url=https://cbdoilnumber1.com]cbd oil [/url] cbd oil buy cbd oil hemp cbd oil

  • MorrisBax
    MorrisBax Domingo, 25 Diciembre 2022 21:15

    https://www.hydroxychloroquinex.com/

  • Waynebuilm
    Waynebuilm Sábado, 02 Diciembre 2023 14:12

    Hello dear friend, I would like to offer placement of your link (or links) on different platforms of the internet such as: forums, blogs, comments and much more. . .

    Increase your Visibility Boost Your Seo Rank - Get Organic Traffic From Google. Ranking in Google isn’t hard. All you need is a healthy number of backlinks from referring domains that have authority and trust in Google’s eyes.

    This Backlinks Service Benefits:

    1. Easily get Google rankings

    2. Get a lot of traffic from Google

    3. You can earn from the website in different ways

    4. Increase Domain Authority (DA)

    Quality guaranteed !

    PRICE - 10$

    WebSite - http://traffic-for-your.site/

  • Waynebuilm
    Waynebuilm Domingo, 03 Diciembre 2023 04:15

    Hello dear friend, I would like to offer placement of your link (or links) on different platforms of the internet such as: forums, blogs, comments and much more. . .

    Increase your Visibility Boost Your Seo Rank - Get Organic Traffic From Google. Ranking in Google isn’t hard. All you need is a healthy number of backlinks from referring domains that have authority and trust in Google’s eyes.

    This Backlinks Service Benefits:

    1. Easily get Google rankings

    2. Get a lot of traffic from Google

    3. You can earn from the website in different ways

    4. Increase Domain Authority (DA)

    Quality guaranteed !

    PRICE - 10$

    WebSite - http://traffic-for-your.site/

  • Waynebuilm
    Waynebuilm Miércoles, 06 Diciembre 2023 19:42

    Hello dear friend, I would like to offer placement of your link (or links) on different platforms of the internet such as: forums, blogs, comments and much more. . .

    Increase your Visibility Boost Your Seo Rank - Get Organic Traffic From Google. Ranking in Google isn’t hard. All you need is a healthy number of backlinks from referring domains that have authority and trust in Google’s eyes.

    This Backlinks Service Benefits:

    1. Easily get Google rankings

    2. Get a lot of traffic from Google

    3. You can earn from the website in different ways

    4. Increase Domain Authority (DA)

    Quality guaranteed !

    PRICE - 10$

    WebSite - http://traffic-for-your.site/

  • Kevintrard
    Kevintrard Martes, 02 Enero 2024 09:21

    Hello dear friend, I would like to offer placement of your link (or links) on different platforms of the internet such as: forums, blogs, comments and much more. . .

    Increase your Visibility Boost Your Seo Rank - Get Organic Traffic From Google. Ranking in Google isn’t hard. All you need is a healthy number of backlinks from referring domains that have authority and trust in Google’s eyes.

    This Backlinks Service Benefits:

    1. Easily get Google rankings

    2. Get a lot of traffic from Google

    3. You can earn from the website in different ways

    4. Increase Domain Authority (DA)

    Quality guaranteed !

    PRICE - 10$

    WebSite - http://traffic-for-your.site/

  • Kevintrard
    Kevintrard Martes, 02 Enero 2024 23:25

    Hello dear friend, I would like to offer placement of your link (or links) on different platforms of the internet such as: forums, blogs, comments and much more. . .

    Increase your Visibility Boost Your Seo Rank - Get Organic Traffic From Google. Ranking in Google isn’t hard. All you need is a healthy number of backlinks from referring domains that have authority and trust in Google’s eyes.

    This Backlinks Service Benefits:

    1. Easily get Google rankings

    2. Get a lot of traffic from Google

    3. You can earn from the website in different ways

    4. Increase Domain Authority (DA)

    Quality guaranteed !

    PRICE - 10$

    WebSite - http://traffic-for-your.site/

Deja un comentario

Asegúrese de introducir toda la información requerida, indicada por un asterisco (*). No se permite código HTML.

¡Atención! Este sitio usa cookies y tecnologías similares.

Si no cambia la configuración de su navegador, usted acepta su uso. Saber más

Acepto

Vea nuestra política de cookies y enlaces de interés aquí