I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-06-25 08:32:18-07 by ashitpro
How do I split flv files using FLV-INFO?
I have one big flv file.... I want to split this file into two flv's How can I use FLV::info library to achieve this? My second question is: Can we repair the flv file using FLV::info? If yes how? In fact I tried splitting the first file into two by some FIle Splitter... Now.. naturally none of them will play... I want to repair both of them...
Direct Responses: 8170 | Write a response
Posted on 2008-06-26 03:20:30-07 by cdolan in response to 8165
Re: How do I split flv files using FLV-INFO?

Interesting question. The infrastructure is all there, but the code to do that actual task doesn't exist. The approach I would take is:

1) Parse the FLV with existing code.
2) grep for keyframes at about the time when you want to cut
3) Write new code to copy the frames to one FLV or another, depending which side of the time cut they're on. You'll have to create a new holder for each.
4) Write new code to generate a header for each FLV (cribbing heavily from the existing header writing code)

All in all, a challenging but not a super-time-consuming task -- maybe a day's work if you have some familiarity with the FLV file format, or 2-3 days if you're starting from zero.

Or, contact me offline if you can fund the addition of this feature to the library. :-)

Direct Responses: 9068 | Write a response
Posted on 2008-10-17 00:04:26-07 by alexandro2lewis in response to 8170
Re: How do I split flv files using FLV-INFO?
if you need, you can follow this step by step tutorial on How to cut, trim, rip, split big FLV video file into smaller pecieces for editing
http://www.flash-video-soft.com/blog/?p=22
hope it can help you, :)
Direct Responses: 9069 | Write a response
Posted on 2008-10-17 05:41:13-07 by cdolan in response to 9068
Re: How do I split flv files using FLV-INFO?
Tonight I built a tool to extract FLV media by time range. It includes a round-to-keyframe feature that I found useful.

I just uploaded it to CPAN as part of FLV-Info v0.22, where it should be available soon as FLV::Cut or flvcut
Direct Responses: Write a response