I have successfully installed FFMPEG and related libraries.
If i upload the .avi file the thumbnail and flv created successfully.
But if i tried 3GP files then thumbnail created successfully but flv created with 0kb size.

If i try for .dat file then that files resides in /files directory only and not in output directory. no thumbnail no flav :(

When i try to view the node like http://xyz.com/node/123 then am getting Video currently not available

I have written
-i @input -f flv -acodec libmp3lame -ar 22050 -ab 64k -ac 1 @output
in Global as well as Page content type.

Please correct me if am wrong anywhere

Comments

Anonymous’s picture

Which version of Drupal are you using? Seems to be 5.x, but which revision?

Did you turn on performance tunings for JavaScript and/or CSS? If yes, does this work for you and do you have files >0kb in /sites/default/files/css or /sites/default/files/js ?

I have a similar problem with backup_migrate (#408974: Backups have a size of 0 Bytes) and optimized .css and .js-files. (#417616: Drupal Performance settings creates CSS files with a size of 0kB).

Hope that helps you getting closer to a solution.

attheshow’s picture

This sounds like a problem with your server's FFMPEG binary. Try running a conversion command from the command line. If it can't successfully generate an FLV from the filetype you're using, then that's the problem.

attheshow’s picture

Status: Active » Postponed (maintainer needs more info)
kendre_paresh’s picture

Hi forschi,

I am using Drupal 5.2, and i really don't know how to turn on performance tunings for JavaScript and/or CSS.
could you please help me in that?

My 0kb file resides in /var/www/np/files/output_diretory/
(as am using drupal 5.2)

kendre_paresh’s picture

Hi attheshow,

When i try the same in command prompt am getting "unsupported codec" error.

Below is the output:

root@ckumari:~# /usr/bin/ffmpeg -i "/var/www/networkPlatform2/files/156_Video_050_.3gp" -f flv -acodec libmp3lame -ar 22050 -ab 64k -ac 1 "/var/www/networkPlatform2/files/video_output/156_paresh_Video_050_.flv"
FFmpeg version SVN-r18192, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libxvid --enable-gpl --enable-pthreads --disable-altivec --enable-shared
  libavutil     50. 2. 0 / 50. 2. 0
  libavcodec    52.22. 3 / 52.22. 3
  libavformat   52.32. 0 / 52.32. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libswscale     0. 7. 1 /  0. 7. 1
  built on Apr  2 2009 14:07:57, gcc: 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/www/networkPlatform2/files/156_Video_050_.3gp':
  Duration: 00:00:53.20, start: 0.000000, bitrate: 70 kb/s
    Stream #0.0(und): Video: h263, yuv420p, 176x144 [PAR 12:11 DAR 4:3], 29.97 tbr, 100k tbn, 29.97 tbc
    Stream #0.1(und): Audio: samr / 0x726D6173, 8000 Hz, mono, s16
File '/var/www/networkPlatform2/files/video_output/156_paresh_Video_050_.flv' already exists. Overwrite ? [y/N] y
Output #0, flv, to '/var/www/networkPlatform2/files/video_output/156_paresh_Video_050_.flv':
    Stream #0.0(und): Video: flv, yuv420p, 176x144 [PAR 12:11 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 29.97 tbc
    Stream #0.1(und): Audio: libmp3lame, 22050 Hz, mono, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Unsupported codec (id=73728) for input stream #0.1

Please help me, which codec i have to install ?

attheshow’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Dear kendre_paresh,

I don't have in-dept experience compiling/installing FFMPEG. You might search around for forums related to installing/configuring that technology. Since this issue is now going outside the scope of the FlashVideo module itself, I'm going to close this issue.

Anonymous’s picture

I am using Drupal 5.2, and i really don't know how to turn on performance tunings for JavaScript and/or CSS.
could you please help me in that?

I don't know, there to do this in D5. In D6 it's in /admin/settings/performance

attheshow’s picture

Just FYI, if your FFMPEG commands aren't running the conversion successfully, making changes to your performance settings isn't going to help at all.

kendre_paresh’s picture

Yes, I know that, but when i get errors on terminal at the same time the .flv file get successfully created(sorry, not informed you earlier).
That's why am confused.