hi. first of all, thanks for this great module. i had tried alot of other video conversion modules, and this one fits me well, at last.

but i'd just realised that i'd forgotten something. the video metadata isn't showing. so this should be done by softwares like the flvtool2 right?

so my question is, with ffmpeg_converter.module, how can i get the metadata using flvtool2?

Comments

zoo33’s picture

Category: support » feature

I'm not sure, it might be out of scope for this module. The idea is to have FFmpeg Converter be a thin layer on top of FFmpegWrapper, so maybe this should be a feature request that module. Or maybe there should be a flvtool2 wrapper module too...

Maybe you can write down some more details of how the metadata feature would work, and what the technical requirements would be?

sadist’s picture

thanks for the respond. my knowledge on how to build a module is as good as zero. so i hope someone could guide me how to create a patch for this.

to convert a video file with metadata using flvtool2, you'll just need to run an ffmpeg command like:

ffmpeg -i %in_file -ar 64 -ab 44.1 -f flv -s 704×576 – | flvtool2 -U stdin %out_file

but that doesn't work since i can't put pipe '|' in the custom command field.

zoo33’s picture

Project: FFmpeg Converter » FFmpeg Wrapper

Hm, maybe FFmpeg Wrapper could allow pipes in the custom command... But there are probably security implications. It might be better to add specific support for flvtool2. Or are there other similar packages that don't just deal with .flv files (if that is what flvtool2 does)? FFmpeg Wrapper needs to be as generic as possible in terms of what media formats it supports.

arthurf’s picture

There is a module for media mover for flvtool2- maybe we can make that a library and have it interface with ffmpeg via a hook?

arthurf’s picture

sadist’s picture

thanks guys,
for the info, i am using ffmpeg_converter.module for my site. i found it lighter than the rest that i'd tested so far.

zoo, i'm not sure yet about any other packages, but flvtool2 is what most ppl would recommend. will try googling it again.

there's someone posted a patch for flashvideo to support flvtool2. i'm still checking it out.. tho i'm slow learning it.

http://drupal.org/node/336120