Convertir video con ffmpeg

Braiam Miguel Peguero Novo braiamp en gmail.com
Jue Abr 25 04:35:04 UTC 2013


2013/4/24 IvanTux <ivantux en gmail.com>

> https://sites.google.com/site/ffmulticonverter/
>
>
>
> 2013/3/28 Daniel Carrasco Marín <danielmadrid19 en gmail.com>
>
>> Bueno, este error es más porque el programa es un cansino jejeje. Pone
>> que le pongas eso  la línea de comandos porque el AAC es esperimental, así
>> que te quedaría:
>>
>> ffmpeg -i roberto.mov -aspect 16:9 -strict experimental salida.mp4
>>
>> De todas formas a mi nunca me ha salido eso de que el aac es
>> esperimental... ¿Tienes la última versión del ffmpeg?
>>
>>
>> 2013/3/28 David <dreyesg79 en yahoo.es>
>>
>>> Tampoco da mas o menos un error similar al anterior, da el siguiente
>>> error, tengo el 12.04 64 bit
>>>
>>>
>>>
>>>
>>>
>>> ffmpeg version 0.8.5-4:0.8.5-0ubuntu0.12.04.1, Copyright (c) 2000-2012
>>> the Libav developers
>>>   built on Jan 24 2013 18:01:36 with gcc 4.6.3
>>> *** THIS PROGRAM IS DEPRECATED ***
>>> This program is only provided for compatibility and will be removed in a
>>> future release. Please use avconv instead.
>>> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'roberto.mov':
>>>   Metadata:
>>>     major_brand     : qt
>>>     minor_version   : 537199360
>>>     compatible_brands: qt
>>>     creation_time   : 2012-04-11 14:23:35
>>>   Duration: 00:05:44.68, start: 0.000000, bitrate: 30338 kb/s
>>>     Stream #0.0(eng): Video: dvvideo, yuv420p, 720x576 [PAR 64:45 DAR
>>> 16:9], 28800 kb/s, PAR 1024:702 DAR 640:351, 25 fps, 25 tbr, 25 tbn, 25 tbc
>>>     Metadata:
>>>       creation_time   : 2012-04-11 14:23:35
>>>     Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
>>>     Metadata:
>>>       creation_time   : 2012-04-11 14:23:35
>>>     Stream #0.2(eng): Data: tmcd / 0x64636D74
>>>     Metadata:
>>>       creation_time   : 2012-04-11 14:25:30
>>> File 'r.mp4' already exists. Overwrite ? [y/N] [buffer @ 0x1548c20]
>>> w:720 h:576 pixfmt:yuv420p
>>> encoder 'aac' is experimental and might produce bad results.
>>> Add '-strict experimental' if you want to use it.
>>>
>>>   ------------------------------
>>> *De:* Daniel Carrasco Marín <danielmadrid19 en gmail.com>
>>> *Para:* David <dreyesg79 en yahoo.es>
>>> *Enviado:* Jueves 28 de marzo de 2013 12:39
>>>
>>> *Asunto:* Re: Convertir video con ffmpeg
>>>
>>> Prueba lo mismo pero quitando lo del -s 720x576.
>>>
>>>
>>> 2013/3/28 David <dreyesg79 en yahoo.es>
>>>
>>> Con  tu orden tampoco funciona, da el siguiente error
>>>
>>>
>>> ffmpeg version 0.8.5-4:0.8.5-0ubuntu0.12.04.1, Copyright (c) 2000-2012
>>> the Libav developers
>>>   built on Jan 24 2013 18:01:36 with gcc 4.6.3
>>> *** THIS PROGRAM IS DEPRECATED ***
>>> This program is only provided for compatibility and will be removed in a
>>> future release. Please use avconv instead.
>>> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'roberto.mov':
>>>   Metadata:
>>>     major_brand     : qt
>>>     minor_version   : 537199360
>>>     compatible_brands: qt
>>>     creation_time   : 2012-04-11 14:23:35
>>>   Duration: 00:05:44.68, start: 0.000000, bitrate: 30338 kb/s
>>>     Stream #0.0(eng): Video: dvvideo, yuv420p, 720x576 [PAR 64:45 DAR
>>> 16:9], 28800 kb/s, PAR 1024:702 DAR 640:351, 25 fps, 25 tbr, 25 tbn, 25 tbc
>>>     Metadata:
>>>       creation_time   : 2012-04-11 14:23:35
>>>     Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
>>>     Metadata:
>>>       creation_time   : 2012-04-11 14:23:35
>>>     Stream #0.2(eng): Data: tmcd / 0x64636D74
>>>     Metadata:
>>>       creation_time   : 2012-04-11 14:25:30
>>> Unable to find a suitable output format for '720x576'
>>>
>>>
>>>   ------------------------------
>>> *De:* Daniel Carrasco Marín <danielmadrid19 en gmail.com>
>>> *Para:* David <dreyesg79 en yahoo.es>
>>> *CC:* Ubuntu <ubuntu-es en lists.ubuntu.com>
>>> *Enviado:* Jueves 28 de marzo de 2013 11:54
>>> *Asunto:* Re: Convertir video con ffmpeg
>>>
>>> Creo que es la relación de aspecto, puede que no la detecte bien.
>>>
>>> Prueba:
>>>
>>> Para panorámico.
>>> ffmpeg -i roberto.mov -aspect 16:9 -s 720x576 salida.mp4
>>>
>>> Para cuadrado
>>>
>>> ffmpeg -i roberto.mov -aspect 16:9 -s 720x576 salida.mp4
>>>
>>>
>>>
>>> Y coméntame con lo que sea.
>>>
>>>
>>>
>>>
>>> 2013/3/28 David <dreyesg79 en yahoo.es>
>>>
>>>  Hola ubunteros:
>>>  Estoy intentando convrtir un fichero de vídeo de tipo 'mov' a 'mp4' o
>>> 'avi' con ffmpeg, doy la siguiente orden pero no funciona
>>>
>>>  ffmpeg -i roberto.mov r.avi
>>>
>>>  me da el siguiente error, ¿como lo arreglo?
>>>
>>>  ffmpeg version 0.8.5-4:0.8.5-0ubuntu0.12.04.1, Copyright (c) 2000-2012
>>> the Libav developers
>>>  built on Jan 24 2013 18:01:36 with gcc 4.6.3
>>>  *** THIS PROGRAM IS DEPRECATED ***
>>>  This program is only provided for compatibility and will be removed in
>>> a future release. Please use avconv instead.
>>>  Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'roberto.mov':
>>>  Metadata:
>>>  major_brand : qt
>>>  minor_version : 537199360
>>>  compatible_brands: qt
>>>  creation_time : 2012-04-11 14:23:35
>>>  Duration: 00:05:44.68, start: 0.000000, bitrate: 30338 kb/s
>>>  Stream #0.0(eng): Video: dvvideo, yuv420p, 720x576 [PAR 64:45 DAR
>>> 16:9], 28800 kb/s, PAR 1024:702 DAR 640:351, 25 fps, 25 tbr, 25 tbn, 25 tbc
>>>  Metadata:
>>>  creation_time : 2012-04-11 14:23:35
>>>  Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
>>>  Metadata:
>>>  creation_time : 2012-04-11 14:23:35
>>>  Stream #0.2(eng): Data: tmcd / 0x64636D74
>>>  Metadata:
>>>  creation_time : 2012-04-11 14:25:30
>>>  File 'r.avi' already exists. Overwrite ? [y/N] [buffer @ 0xadac20]
>>> w:720 h:576 pixfmt:yuv420p
>>>  Incompatible sample format 's16' for codec 'ac3', auto-selecting
>>> format 'flt'
>>>  [mpeg4 @ 0xad8e20] Invalid pixel aspect ratio 1024/702, limit is
>>> 255/255
>>>  Output #0, avi, to 'r.avi':
>>>  Stream #0.0(eng): Video: mpeg4, yuv420p, 720x576 [PAR 1024:702 DAR
>>> 640:351], q=2-31, 200 kb/s, 90k tbn, 25 tbc
>>>  Metadata:
>>>  creation_time : 2012-04-11 14:23:35
>>>  Stream #0.1(eng): Audio: ac3, 48000 Hz, stereo, flt, 200 kb/s
>>>  Metadata:
>>>  creation_time : 2012-04-11 14:23:35
>>>  Stream mapping:
>>>  Stream #0.0 -> #0.0
>>>  Stream #0.1 -> #0.1
>>>  Error while opening encoder for output stream #0.0 - maybe incorrect
>>> parameters such as bit_rate, rate, width or height
>>>
>>> --
>>> ubuntu-es mailing list
>>> ubuntu-es en lists.ubuntu.com
>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-es
>>>
>>>
>>>
>>>
>>>
>>> --
>>> ubuntu-es mailing list
>>> ubuntu-es en lists.ubuntu.com
>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-es
>>>
>>>
>>>
>>>
>>>
>>> --
>>> ubuntu-es mailing list
>>> ubuntu-es en lists.ubuntu.com
>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-es
>>>
>>
>>
>> --
>> ubuntu-es mailing list
>> ubuntu-es en lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-es
>>
>
>
> --
> ubuntu-es mailing list
> ubuntu-es en lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-es
>

Yo creo que todo mundo obvio la parte donde dice: This program is only
provided for compatibility and will be removed in a future release. Please
use avconv instead.

Busque un poco sobre avconv y encontré
http://manpages.ubuntu.com/manpages/precise/man1/avconv.1.html que es más o
menos la misma sintaxis the ffpeg, pero el programa esta más acabado que el
ffmpeg.

-- 
Braiam Peguero
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <https://lists.ubuntu.com/archives/ubuntu-es/attachments/20130425/bdf0804d/attachment.html>


More information about the ubuntu-es mailing list