Problem with metadata?

View: New views
4 Messages — Rating Filter:   Alert me  

Problem with metadata?

by LeeH.J. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi,
I tried to embed meta data while I record video and audio from webcam.
I use netstream.send to store metadata and I found that it seems have a problem.

For every second, I tried to store current date and time as using below code,

var currentTime:Date = new Date();
var strTime:String=currentTime.getFullYear().toString()+"/"+currentTime.getMonth().toString()+"/"+currentTime.getDate().toString()+" "+currentTime.getHours().toString()+":"+currentTime.getMinutes().toString()+":"+currentTime.getSeconds().toString();
ns.send("testtime", strTime);

I found that the data was embeded correctly inside flv file but when I tried to playback, videodisplay cannot play the recorded file.
I also tested with VLC player and almost every second, the flv file is freezing about 0.5 sec and continuing to play and freezing again..
I guess red5 drops frames when it embeds metadata while recording flv because live feed doesn't have any problem.

Please let me know, if there is any way to fix this problem.
Thank you.

HJ


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: Problem with metadata?

by LeeH.J. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi,

Today, I download and run FMS 3.5 and FMS can generate right flv files.
So I compared each flvs from FMS and RED5.
I found one problem within the stream which is streamID bits are all set 0x00 in meta data packet.
After replacing the bits with arbitrary bits using hex editor and VideoDisplay now can playback the flv.
It is, however, the corrected files also show same problem which is freezing for a while every second.
I guess this problem occurred while mixing live feed with meta data.
I hope someone look into this problem and find solution to fix this.
Thank you.

HJ


From: nebular1004@...
To: red5@...
Date: Mon, 26 Oct 2009 15:18:09 -0700
Subject: [Red5] Problem with metadata?

Hi,
I tried to embed meta data while I record video and audio from webcam.
I use netstream.send to store metadata and I found that it seems have a problem.

For every second, I tried to store current date and time as using below code,

var currentTime:Date = new Date();
var strTime:String=currentTime.getFullYear().toString()+"/"+currentTime.getMonth().toString()+"/"+currentTime.getDate().toString()+" "+currentTime.getHours().toString()+":"+currentTime.getMinutes().toString()+":"+currentTime.getSeconds().toString();
ns.send("testtime", strTime);

I found that the data was embeded correctly inside flv file but when I tried to playback, videodisplay cannot play the recorded file.
I also tested with VLC player and almost every second, the flv file is freezing about 0.5 sec and continuing to play and freezing again..
I guess red5 drops frames when it embeds metadata while recording flv because live feed doesn't have any problem.

Please let me know, if there is any way to fix this problem.
Thank you.

HJ


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: Problem with metadata?

by LeeH.J. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
I think I found a way to fix this problem. How can I submit my code?
Thanks.

H.J.


From: nebular1004@...
To: red5@...
Date: Tue, 27 Oct 2009 14:11:49 -0700
Subject: Re: [Red5] Problem with metadata?

Hi,

Today, I download and run FMS 3.5 and FMS can generate right flv files.
So I compared each flvs from FMS and RED5.
I found one problem within the stream which is streamID bits are all set 0x00 in meta data packet.
After replacing the bits with arbitrary bits using hex editor and VideoDisplay now can playback the flv.
It is, however, the corrected files also show same problem which is freezing for a while every second.
I guess this problem occurred while mixing live feed with meta data.
I hope someone look into this problem and find solution to fix this.
Thank you.

HJ


From: nebular1004@...
To: red5@...
Date: Mon, 26 Oct 2009 15:18:09 -0700
Subject: [Red5] Problem with metadata?

Hi,
I tried to embed meta data while I record video and audio from webcam.
I use netstream.send to store metadata and I found that it seems have a problem.

For every second, I tried to store current date and time as using below code,

var currentTime:Date = new Date();
var strTime:String=currentTime.getFullYear().toString()+"/"+currentTime.getMonth().toString()+"/"+currentTime.getDate().toString()+" "+currentTime.getHours().toString()+":"+currentTime.getMinutes().toString()+":"+currentTime.getSeconds().toString();
ns.send("testtime", strTime);

I found that the data was embeded correctly inside flv file but when I tried to playback, videodisplay cannot play the recorded file.
I also tested with VLC player and almost every second, the flv file is freezing about 0.5 sec and continuing to play and freezing again..
I guess red5 drops frames when it embeds metadata while recording flv because live feed doesn't have any problem.

Please let me know, if there is any way to fix this problem.
Thank you.

HJ


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: Problem with metadata?

by Mondain :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just submit it as a patch file here on the mailing list, there are instructions here:

Paul

2009/11/9 LeeH.J. <nebular1004@...>
I think I found a way to fix this problem. How can I submit my code?
Thanks.

H.J.Date: Tue, 27 Oct 2009 14:11:49 -0700
Subject: Re: [Red5] Problem with metadata?


Hi,

Today, I download and run FMS 3.5 and FMS can generate right flv files.
So I compared each flvs from FMS and RED5.
I found one problem within the stream which is streamID bits are all set 0x00 in meta data packet.
After replacing the bits with arbitrary bits using hex editor and VideoDisplay now can playback the flv.
It is, however, the corrected files also show same problem which is freezing for a while every second.
I guess this problem occurred while mixing live feed with meta data.
I hope someone look into this problem and find solution to fix this.
Thank you.

HJ


From: nebular1004@...
To: red5@...
Date: Mon, 26 Oct 2009 15:18:09 -0700
Subject: [Red5] Problem with metadata?

Hi,
I tried to embed meta data while I record video and audio from webcam.
I use netstream.send to store metadata and I found that it seems have a problem.

For every second, I tried to store current date and time as using below code,

var currentTime:Date = new Date();
var strTime:String=currentTime.getFullYear().toString()+"/"+currentTime.getMonth().toString()+"/"+currentTime.getDate().toString()+" "+currentTime.getHours().toString()+":"+currentTime.getMinutes().toString()+":"+currentTime.getSeconds().toString();
ns.send("testtime", strTime);

I found that the data was embeded correctly inside flv file but when I tried to playback, videodisplay cannot play the recorded file.
I also tested with VLC player and almost every second, the flv file is freezing about 0.5 sec and continuing to play and freezing again..
I guess red5 drops frames when it embeds metadata while recording flv because live feed doesn't have any problem.

Please let me know, if there is any way to fix this problem.
Thank you.

HJ


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org




--
http://gregoire.org/
http://code.google.com/p/red5/
http://code.google.com/p/blue5/

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org