Ayuda en Flowplayer

Discussion in 'Installation/Configuration' started by tecnotuy, Aug 5, 2011.

  1. tecnotuy

    tecnotuy New Member

    Hola Falko Time, instale un server con este tutorial:
    Build Your Own Video Community With Lighttpd And FlowPlayer (Ubuntu 9.10), y esta funcionando perfectamente, solo que la calidad de los videos no es buena, sin embargo, hay una manera de codificar los videos en HD con este codigo:


    Hi-Definition Encoding With H.264
    It seems everyone wants HD video on the Internet these days, and the best way to deliver this is with H.264 video, AAC audio and an MP4 container. Let's get down to business. Here is a command line monster that does the dirty job; it will convert your input file "input.mov" to "output.mp4":

    ffmpeg -y -i input.mov -acodec libfaac -ar 44100 -ab 96k -vcodec libx264 -level 41 -crf 25 -bufsize 20000k -maxrate 25000k -g 250 -r 20 -s 1280x720 -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -flags2 +brdo+dct8x8+bpyramid -me umh -subq 7 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -rc_eq 'blurCplx^(1-qComp)' -bf 16 -b_strategy 1 -bidir_refine 1 -refs 6 -deblockalpha 0 -deblockbeta 0 output.mp4

    esto me da el siguiente error:


    root@catalogos:/var/www# ffmpeg -y -i /var/videos/incoming/freddy.mov -acodec libfaac -ar 44100 -ab 96k -vcodec libx264 -level 41 -crf 25 -bufsize 20000k -maxrate 25000k -g 250 -r 20 -s 1280x720 -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -flags2 +brdo+dct8x8+bpyramid -me umh -subq 7 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -rc_eq 'blurCplx^(1-qComp)' -bf 16 -b_strategy 1 -bidir_refine 1 -refs 6 -deblockalpha 0 -deblockbeta 0 /var/videos/flv/freddy.mp4

    FFmpeg version SVN-r25838, Copyright (c) 2000-2010 the FFmpeg developers
    built on Jan 21 2011 08:21:58 with gcc 4.4.5
    configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis
    libavutil 50.33. 0 / 50.33. 0
    libavcore 0.14. 0 / 0.14. 0
    libavcodec 52.97. 2 / 52.97. 2
    libavformat 52.87. 1 / 52.87. 1
    libavdevice 52. 2. 2 / 52. 2. 2
    libavfilter 1.65. 0 / 1.65. 0
    libswscale 0.12. 0 / 0.12. 0
    libpostproc 51. 2. 0 / 51. 2. 0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/videos/incoming/freddy.mov':
    Metadata:
    creation_time : 2008-04-25 11:00:52
    Duration: 00:01:03.50, start: 0.000000, bitrate: 11245 kb/s
    Stream #0.0(eng): Video: mjpeg, yuvj420p, 640x480, 11180 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc
    Metadata:
    creation_time : 2008-04-25 11:00:52
    Stream #0.1(eng): Audio: pcm_u8, 8000 Hz, 1 channels, u8, 64 kb/s
    Metadata:
    creation_time : 2008-04-25 11:00:52
    [NULL @ 0x20fc2a0] [Eval @ 0x7fffaf6fdb10] Undefined constant or missing '(' in 'brdo'
    [NULL @ 0x20fc2a0] Unable to parse option value "brdo+dct8x8+bpyramid"
    Invalid value '+brdo+dct8x8+bpyramid' for option 'flags2'

    :(

    Por favor podras ayudarme a resolver este error?

    Mi servidor en Ubuntu.10.09

    Gracias, saludos cordiales,
     
  2. Mark_NL

    Mark_NL Member

    Hi!

    This is an English forum, please type in english, thanks :)

    Now for your problem .. why use that mega long command, have you tried to narrow it down and see if the results are what you want? something more simple like this:

    Code:
    ffmpeg -y -i input.mov -acodec libfaac -ar 44100 -ab 96k -vcodec libx264 -level 41 -crf 25 -bufsize 20000k -maxrate 25000k -g 250 -r 20 -s 1280x720 output.mp4
    that works for me!

    The command you supplied, also gave me the same error on a ffmpeg install that supports all bells and whistles.
    So the command must contain an error somewhere.
     
  3. tecnotuy

    tecnotuy New Member

    thanks for solutions flowplayer

    :p, hi, thanks for his prompt response, I am very satisfied with that you could help me, I tried already and it works perfectly, greeting.

    I feel very much that thing about the language.
     

Share This Page