Retroceder   Foros del Web > Diseño de Sitios web > Aplicaciones pre-fabricadas

Respuesta
 
Herramientas Desplegado
Antiguo 20-nov-2007, 12:48   #1 (permalink)
mmarulanda ha deshabilitado el karma
 
Fecha de Ingreso: noviembre-2007
Mensajes: 1
Exclamación Ayuda con FFMPEG + FFMPEG-PHP + FLVTOOL2

Cordial saludo

Agradeceria mucho si alguien me pudiera ayudar.
he instalado FFMPEG + FFMPEG-PHP + FLVTOOL2 en FC6 y todo perfecto pero cuando voy a convertir archivos con la siguiente linea:

/usr/local/bin/ffmpeg -i ./video/video.wmv -ar 11025 -ab 88 -f flv -s 320x240 ./video/video.flv | /usr/bin/flvtool2 -U stdin ./video/video.flv

que es como lo indica el manual me genera el siguiente error:

FFmpeg version SVN-r11070, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-shared
libavutil version: 49.5.0
libavcodec version: 51.48.0
libavformat version: 51.19.0
built on Nov 20 2007 11:01:46, gcc: 4.1.2 20070626 (Red Hat 4.1.2-13)

Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.97 (30000/1001)
Input #0, asf, from './video/video.wmv':
Duration: 00:00:44.9, start: 3.000000, bitrate: 231 kb/s
Stream #0.0: Audio: wmav2, 32000 Hz, stereo, 32 kb/s
Stream #0.1: Video: wmv1, yuv420p, 320x240, 189 kb/s, 29.97 fps(r)
WARNING: The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s
ffmpeg: symbol lookup error: ffmpeg: undefined symbol: av_parse_video_frame_size
ERROR: undefined method `timestamp' for nil:NilClass
ERROR: /usr/lib/ruby/site_ruby/1.8/flv/stream.rb:285:in `lasttimestamp'
ERROR: /usr/lib/ruby/site_ruby/1.8/flv/stream.rb:274:in `duration'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:181:in `add_meta_data_tag'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:137:in `update'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:47:in `send'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:47:in `execute!'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:46:in `each'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:46:in `execute!'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:206:in `process_files'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:44:in `execute!'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2.rb:168:in `execute!'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2.rb:228
ERROR: /usr/bin/flvtool2:2:in `require'
ERROR: /usr/bin/flvtool2:2

ya he hecho de todo, cambiar el formato del archivo, jugar con eltamño del archivo, reisntalar las tres aplicaciones y sigue generando el mismo error.
Agradecera de todo corazon si me pueden ayudar
mmarulanda está desconectado   Responder Citando
Antiguo 06-jun-2008, 09:48   #2 (permalink)
faiverson está en el buen camino
 
Avatar de faiverson
 
Fecha de Ingreso: mayo-2005
Mensajes: 42
Respuesta: Ayuda con FFMPEG + FFMPEG-PHP + FLVTOOL2

Hola... mira...
yo he probado un poco con eso y tambien tuve problemas y tengo con algunas movies...
Proba con otra que tenga tasa de bitrate y frecuency mas normal -ab 88 -> no es regular
Proba con algo como:
samprate = 22050;
bitrate = 32;

samprate = 44100;
bitrate = 64;

Obviamente busca una pelicula que tenga esos numeros. Si tenes instalado el ffmpeg, lo podes obtener datos con :
$ffmpegObj = new ffmpeg_movie($file);
$samprate = $ffmpegObj->getFrameRate();
$bitrate = $ffmpegObj->getBitRate();
$Width = $ffmpegObj->getFrameWidth();
$Height = $ffmpegObj->getFrameHeight();
$duration = $ffmpegObj->getDuration();
$codec_video = $ffmpegObj->getVideoCodec();
__________________
Fabi... fighting versus the web
faiverson está desconectado   Responder Citando
Antiguo 06-jun-2008, 09:49   #3 (permalink)
faiverson está en el buen camino
 
Avatar de faiverson
 
Fecha de Ingreso: mayo-2005
Mensajes: 42
Respuesta: Ayuda con FFMPEG + FFMPEG-PHP + FLVTOOL2

Hola... mira...
yo he probado un poco con eso y tambien tuve problemas y tengo con algunas movies...
Proba con otra que tenga tasa de bitrate y frecuency mas normal -ab 88 -> no es regular
Proba con algo como:
samprate = 22050;
bitrate = 32;

samprate = 44100;
bitrate = 64;

Obviamente busca una pelicula que tenga esos numeros. Si tenes instalado el ffmpeg, lo podes obtener datos con :
$ffmpegObj = new ffmpeg_movie($file);
$samprate = $ffmpegObj->getFrameRate();
$bitrate = $ffmpegObj->getBitRate();
$Width = $ffmpegObj->getFrameWidth();
$Height = $ffmpegObj->getFrameHeight();
$duration = $ffmpegObj->getDuration();
$codec_video = $ffmpegObj->getVideoCodec();
__________________
Fabi... fighting versus the web
faiverson está desconectado   Responder Citando
Respuesta

No hay votos aún.


Herramientas
Desplegado

Normas de Publicación
No puedes crear nuevos temas
No puedes responder temas
No puedes subir archivos adjuntos
No puedes editar tus mensajes

BB code is Activado
Caritas están Activado
[IMG] está Activado
Código HTML está Desactivado


La Zona horaria es GMT -6. Ahora son las 01:33.


Message Board Statistics

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93