[Red5] flv stream recording

Markus Höckner madhonk at madhonk.org
Tue Aug 25 03:54:38 PDT 2009


FYI:

Ok, the problem seems to be the keyframes...
Normally they repeat periodically in continuous intervals, but in my  
recorded flvs the intervals aren't continuous...

Markus

Am 25.08.2009 um 09:55 schrieb Gideon Snyman:

> Yeah let me know if you get solution I also think it is very  
> expensive just for recording video. Red5 does playback of video  
> streams very well if they could just get there recording right.
>
> Gideon
>
> 2009/8/25 Markus Höckner <madhonk at madhonk.org>
> Yeah, for 4500 bucks everything is OK :)
>
> But I''m trying to set up a media server for a non-profit  
> homepage...so this seems to be a little expensive...
>
> I'll trying again...
> Maybe someday someone finds a solution for this problem.
>
> Markus
>
> Am 25.08.2009 um 09:30 schrieb Gideon Snyman:
>
>> I found the solution and that is to use Flash Media Server 3.5  
>> because every video i record with FMS works perfectly. I just  
>> thought red5 would put in more effort to at least have the basics  
>> covered. I mean they could really give FMS a good run for its money.
>>
>> Gideon
>>
>> 2009/8/25 Markus Höckner <madhonk at madhonk.org>
>> I'm searching for a solution for about 3 weeks...
>> But it seems, that nobody is recording flv and then play them back.
>> I tried a lot and I think the problem is the variable frame  
>> rate...but I'm not a specialist...
>>
>> If you find a solution, please tell me!
>>
>> greetings from Austria,
>> Markus
>>
>>
>> Am 25.08.2009 um 09:10 schrieb Gideon Snyman:
>>
>>> So did anyone come up with solution yet to get it right to record  
>>> flv's with red5 without getting corrupt metadata? And I don't just  
>>> mean recording one or 2 flv's I mean a few and then playing them  
>>> back with no problems.
>>>
>>> Gideon
>>>
>>> On Fri, Aug 21, 2009 at 9:47 AM, Dan Daemon <dan.daemon at gmail.com>  
>>> wrote:
>>> Hello Gideon,
>>>
>>> We did same, except that we setup time in XML on the server,
>>> i.e. server side did it. Then we read XML first before loading
>>> FLV. Stupid things :)
>>>
>>> On Aug 21, 2009, at 10:08 AM, Gideon Snyman wrote:
>>>
>>>> Basically what i did is setup a timer to record the video time  
>>>> when the user press the record button then when he stops the  
>>>> recording the timer stops and i record the time to local sqlite  
>>>> db and then when you watch the video again I use that time. But  
>>>> this like i said in the email above is a hack because this time  
>>>> should be in the metadata. The videos you record with red5 is  
>>>> basically useless to the rest of the world if your metadata is  
>>>> wrong because any video interpreter first looks at your videos  
>>>> metadata.
>>>>
>>>> Gideon
>>>>
>>>> On Thu, Aug 20, 2009 at 8:51 PM, Dan Daemon  
>>>> <dan.daemon at gmail.com> wrote:
>>>> Hello,
>>>>
>>>> I have same issue with recording time line.
>>>> And we made it manually to play recorded FLV without
>>>> dead space by XML cue points file.
>>>>
>>>> Any suggestions how it can be fixed?
>>>>
>>>> It happens only when we record many users video and
>>>> audio to one FLV file.
>>>>
>>>> Thanks,
>>>> Dan
>>>>
>>>> On Aug 20, 2009, at 11:11 AM, Gideon Snyman wrote:
>>>>
>>>>> Hi All
>>>>>
>>>>> I have built a Flex/AIR app that records video and sound(flv  
>>>>> format) from a users webcam. At the moment it is using Flash  
>>>>> Media Server 3 and everything works well. I bought a mac a few  
>>>>> weeks ago and decided to move to Red5 rather because the 2  
>>>>> servers are so similar and i don't need to change anything on  
>>>>> the actionscript/flex side. After installing red5 and hooking it  
>>>>> up to my flex app i can see the webcam video inside of my Flex  
>>>>> app and the sound is coming through correctly.
>>>>>
>>>>> But then the nightmare started after recording the first flv the  
>>>>> video plays correctly, seeking works, playheadTime is correct  
>>>>> and there is no deadspace but the metadata duration is wrong so  
>>>>> I have to calculate the duration myself to make the video work.  
>>>>> The second time I record a flv all the issues stated bellow  
>>>>> occurs(I am using Red5 0.9.0 RC1 and i used the stable build  
>>>>> before this one with the same results):
>>>>> - First off when recording with red5 my metadata duration is a  
>>>>> lot more than it should be. Say the video is 6 seconds the  
>>>>> metadata duration would be 45 seconds. This works PERFECTLY with  
>>>>> FMS. I had to calculate my own duration to make the video  
>>>>> playback with the new duration(which is a hack because then i  
>>>>> can't use the real FLV metadata which every other FLV player  
>>>>> uses).
>>>>> - Secondly when i record the FLV the first time the video works  
>>>>> fine but when i record the 2nd time the video has DEAD SPACE in  
>>>>> it. What i mean with this is after recording the video and it is  
>>>>> say 15 seconds long the video will just start playing at say 7  
>>>>> seconds skipping the first few seconds. This I have tested with  
>>>>> RichFLV player and VLC player and the video does the same in  
>>>>> them when I try and play it. This also worked PERFECTLY with FMS.
>>>>> - Thirdly I checked out the sample source code http://red5.googlecode.com/svn/java/server/trunk/ 
>>>>>  but I get the same problem happening with the "publisher" and  
>>>>> "samples/SimpleRecorder".
>>>>>
>>>>> Have you guys had any of the complaints above solved? Am I doing  
>>>>> something wrong? If someone could get back to me I would really  
>>>>> appreciate it a lot because I love the open-source community and  
>>>>> I would like to switch to Red5 for all my projects in future.
>>>>>
>>>>> -- 
>>>>> Gideon Snyman
>>>>> _______________________________________________
>>>>> Red5 mailing list
>>>>> Red5 at osflash.org
>>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>
>>>>
>>>> _______________________________________________
>>>> Red5 mailing list
>>>> Red5 at osflash.org
>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>
>>>>
>>>>
>>>>
>>>> -- 
>>>> Gideon Snyman
>>>> _______________________________________________
>>>> Red5 mailing list
>>>> Red5 at osflash.org
>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>
>>>
>>> _______________________________________________
>>> Red5 mailing list
>>> Red5 at osflash.org
>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>
>>>
>>>
>>>
>>> -- 
>>> Gideon Snyman
>>> _______________________________________________
>>> Red5 mailing list
>>> Red5 at osflash.org
>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>
>> _______________________________________________
>> Red5 mailing list
>> Red5 at osflash.org
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>
>>
>>
>> -- 
>> Gideon Snyman
>> _______________________________________________
>> Red5 mailing list
>> Red5 at osflash.org
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
>
>
> -- 
> Gideon Snyman
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20090825/f9bb47d2/attachment.html>


More information about the Red5 mailing list