|
|
| bgvsas |
| Posted: Apr 17 2003, 03:02 PM |
 |
|
Unregistered

|
i placed this question on the codes section, but i am afraid that is not the right place, therefore again (sorry):
can anyone help me displaying the time and date information? I want to see the time (in seconds) and date on wich the movie was originaly filmed
When i bought the camera i thought that this would be a very standard option, but this doesnt seem to be the case. Is there any filter or other application available? |
 |
| fccHandler |
| Posted: Apr 17 2003, 06:57 PM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
(I deleted your post in the codecs section)
Maybe the alidator filter is what you want?
-------------------- May the FOURCC be with you... |
 |
| bgvsas |
| Posted: Apr 22 2003, 08:14 AM |
 |
|
Unregistered

|
thanks for your suggestion. I tried the alidator filter, but it inserted the current time and not the time (and date) on which the tape was originally filmed. If i shoot a film on 24 march and I put in on the pc in april, I want 24 march (and especcially the time in hours, minutes and seconds) to appear on the movie. Also, when i'm filming i'm not continuesly filming, so it is no solution to change the pc's time and date; the filter actually has to recognise the digital data containing date and time information. |
 |
| Cyberman |
| Posted: Apr 23 2003, 07:56 AM |
 |
|

Advanced Member
  
Group: Members
Posts: 2035
Member No.: 3477
Joined: 3-April 03

|
Are you sure there is such information in the video stream?
What about subtitling the video? Would be more work, but at least you´ll get the result you want.
-------------------- Matroska/MKV ? |
 |
| bgvsas |
| Posted: Apr 23 2003, 08:36 AM |
 |
|
Unregistered

|
Yes, I'm sure the information is in the videostream. I checked it by copying it back to an empty tape. When playing the tape I turned on the datacode on the videocamera and it showed the original time and date on the camera display.
Your suggestion about subtitling, I don't understand. Is'nt that the same as displaying the time? What is the difference? |
 |
| DD_DD |
| Posted: Apr 23 2003, 09:28 AM |
 |
|
Unregistered

|
Hi,
it seems that you use digital camcorder which adds a timecode to the DV stream.
But, AFAIK, this information is ignored by VirtualDub. The filters don't see it. The only available information they have is given in class FilterStateInfo (file Filter.h from filter SDK):
long lCurrentFrame; long lMicrosecsPerFrame; long lCurrentSourceFrame; long lMicrosecsPerSrcFrame; long lSourceFrameMS; long lDestFrameMS;
The last two fields are just a multiplication of the corresponding frame number by frame rate.
There cannot be a filter you need.
Try to embed time codes in video stream using some DV tool. |
 |
| Cyberman |
| Posted: Apr 23 2003, 02:29 PM |
 |
|

Advanced Member
  
Group: Members
Posts: 2035
Member No.: 3477
Joined: 3-April 03

|
| QUOTE (bgvsas @ Apr 23 2003, 09:36 AM) | ...Your suggestion about subtitling, I don't understand. Is'nt that the same as displaying the time? What is the difference?
|
Well, yes. What I meant is creating a subtitle-file containing the time and dates. You´d have to write it up manually I guess. The point is, it wouldn´t change with date, but always stay the same. While the Alidator filter would insert the actual date/time, the subtitler-filter let´s you write the text it inserts.
But I don´t really think that it would be usable.
What format is the video btw? Perhaps there is a way to extract the time/date-stamps and to manually re-insert them(for example by subtitling them in).
-------------------- Matroska/MKV ? |
 |
| David.Bucci |
| Posted: May 2 2003, 05:19 AM |
 |
|
Unregistered

|
| QUOTE (bgvsas @ Apr 17 2003, 10:02 AM) | can anyone help me displaying the time and date information? I want to see the time (in seconds) and date on wich the movie was originaly filmed
|
Hmm, one suspects the Avisynth ShowSMPTE() function would make you very happy ... |
 |
| WarpEnterprises |
| Posted: May 3 2003, 09:47 PM |
 |
|
Unregistered

|
No, sorry, AviSynth too can't read the DV timecodes. |
 |
| David.Bucci |
| Posted: May 4 2003, 06:25 AM |
 |
|
Unregistered

|
| QUOTE (WarpEnterprises @ May 3 2003, 04:47 PM) | | No, sorry, AviSynth too can't read the DV timecodes. |
Huh. What does ShowSMPTE() do? |
 |
| WarpEnterprises |
| Posted: May 5 2003, 10:35 PM |
 |
|
Unregistered

|
only counting the seconds from the selected clip (in essence framenumber / fps) |
 |
| Pamel |
| Posted: May 6 2003, 11:47 PM |
 |
|
matroska team member
  
Group: Moderators
Posts: 151
Member No.: 1353
Joined: 15-December 02

|
You would need a DV codec that provides a hook for retrieving the Date/Time information, and I have yet to see someone mention a DV codec with this capability.
-------------------- Please take anything I say with many many grains of salt. I can't tell the difference between my AVI and a hole in the ground. |
 |
| colinb |
| Posted: May 13 2003, 12:38 PM |
 |
|
Unregistered

|
There is an open source DV codec which might be worth investigating. I think it reads DV files directly. However it is for Linux and you'd probably have to modify the C source code. Having got the timestamp(s) from the DV file I'm not sure how you would superimpose them over the footage.
http://sourceforge.net/projects/libdv/
Am I right in assuming that the underlying Microsoft code which allows VirtualDub or other programs to read DV files does not pass on the DV timestamps? If so then perhaps you could use libdv to read the DV file and produce a separate "map" file which contains a list of frame numbers vs timestamp values - then perhaps a VirtualDub filter could be written which reads the map file and overlays the correct timestamp on the decoded video.
That's a lot of perhaps-es! |
 |