Kino Video Editor
 
  Kino / dvgrab
Latest News
Download
Features
Requirements
Screen Shots
  Support
User Guide
HOWTOs
FAQ
Mailing Lists
Contributed Code
  Development
Project Vision
Developer Guide
Source Code
Current Developers
Report a Bug
  Community
Success Stories
Discussion
 

I have closed the forums to new postings because there was not enough discussion, I answered nearly all the questions, and I no longer work on Kino. Please use the forums provided by your Linux distribution. Meanwhile, I will leave this open in read-only mode to serve as a knowledge base.


Subject: "dvgrab --stdin skips frames at random" Previous topic | Next topic
Printer-friendly copy
Top Linux Digital Video dvgrab Topic #1032
Show all folders | View messages in linear mode

carla_schSun Aug-24-08 09:30 AM
Member since Aug 24th 2008
1 posts
Click to send email to this author Click to send private message to this author Click to view this author's profile Click to add this author to your buddy list
#1032, "dvgrab --stdin skips frames at random"


          

I am using dvgrab version 2.1 on Slackware Linunx 12.1 Kernel
2.6.24.
The video is normal dv (one frame 144000 bytes).


When I copy a piece of dv video with dvgrab --stdin to get
the date and time in the filename it happens that some frames
at the start of the file are skipped as I found out
by looking an the video.
Here is an example: I tried to copy the file 4 times
with 3 different results:


root@lulo:/s/ntest2# cat m0002.dv | dvgrab --format raw --stdin --timestamp a
Capture Started
End of pipe
"a2008.08.07_15-48-40.dv" 87.07 MB 634 frames
Capture Stopped

root@lulo:/s/ntest2# cat m0002.dv | dvgrab --format raw --stdin --timestamp b
Capture Started
End of pipe
"b2008.08.07_15-48-38.dv" 94.07 MB 685 frames
Capture Stopped

root@lulo:/s/ntest2# cat m0002.dv | dvgrab --format raw --stdin --timestamp c
Capture Started
End of pipe
"c2008.08.07_15-48-38.dv" 94.07 MB 685 frames
Capture Stopped

root@lulo:/s/ntest2# cat m0002.dv | dvgrab --format raw --stdin --timestamp d
Capture Started
End of pipe
"d2008.08.07_15-48-38.dv" 92.29 MB 672 frames
Capture Stopped

root@lulo:/s/ntest2# ls -l -G
total 473148
-rw-r--r-- 1 root 91296000 2008-08-24 08:58 a2008.08.07_15-48-40.dv
-rw-r--r-- 1 root 98640000 2008-08-24 08:58 b2008.08.07_15-48-38.dv
-rw-r--r-- 1 root 98640000 2008-08-24 08:58 c2008.08.07_15-48-38.dv
-rw-r--r-- 1 root 96768000 2008-08-24 08:58 d2008.08.07_15-48-38.dv
-rw-r--r-- 1 root 98640000 2008-08-24 08:56 m0002.dv


I tried the same 10 times with dvgrab-1.8 and it worked 10 times
correctly - but can I be certain that it will always ?

Is there a way to do this without potentially loosing video data ?
I always did this assuming that it works correctly, dvgrab --stdin
was used in a pipe at the output of another program, so I
did not notice the different file sizes.
I checked it now only because I had problems with the cable of a hard
disk resulting in some rare data corruption

  

IP Printer Friendly copy | Reply | Reply with quote | Top

ddennedyWed Aug-27-08 01:26 AM
Member since Jun 26th 2006
1362 posts
Click to send email to this author Click to send private message to this author Click to view this author's profile Click to add this author to your buddy list
#1033, "RE: dvgrab --stdin skips frames at random"
In response to Reply #0


          

I believe version 1.8 will be reliable based on your tests. I think --stdin has regressed since its introduction. It's not really tested or used rigorously since the primary use case of dvgrab is to capture from FireWire. I'll add this as a bug to dvgrab.

+-DRD-+
Lead Kino Developer

  

IP Printer Friendly copy | Reply | Reply with quote | Top

Top Linux Digital Video dvgrab Topic #1032 Previous topic | Next topic
Powered by DCForum+ Version 1.1
Copyright 1997-2002 DCScripts.com