Quantcast CLI Support for Donald Graft's DGPulldown - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Video Encoding and Conversion

Reply
 
LinkBack Thread Tools
  #1  
08-02-2005, 01:20 AM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
DGPD 1.2 by Prodater64

Donald Graft has not yet provided CLI support for DGPulldown and as 25 to 29.97 pulldown is very interesting and it would solve many problems with sync issues, I wrote a little app that gives CLI (or parsing parameter) support to DGPulldown. It means if you parse 25fps video stream name as parameter, DGPulldown will do its job and you will obtain a 29.97 flagged video stream. You can use it with original audio without change it.
You need DGPulldown.exe and DGPD.exe the litte app I wrote. A DGPD.bat file included is only an example of how to call DGPD.exe.
All files should be in same folder.

Parameters are, first, path to m2v or mpv file (I think DGPulldown also support programs streams, but not sure), second source and target fps as 23.976/29.97, 24|29.97 and 25:29.970. 23.976/29.97 performs usual pulldown, so you can replace usual pulldown.exe for DGPulldown. 25/29.97 performs new way to do pal to ntsc convertion without any async issue.

You can use custom values, but in should be allowed values. Program don't take care of this, so be carefull.
You can use any of "/", "|", "-" or ":" separators.

Examples: Call it from a batch file

start "DGPulldown CLI by Prodater64" /wait DGPD.exe "path_to_\film.m2v" "25/29.97"
start "DGPulldown CLI by Prodater64" /wait DGPD.exe "path_to_\film.m2v" "25|29.97"
start "DGPulldown CLI by Prodater64" /wait DGPD.exe "path_to_\film.m2v" "25:29.97"
start "DGPulldown CLI by Prodater64" /wait DGPD.exe "path_to_\film.m2v" "25-29.97"

start "DGPulldown CLI by Prodater64" /wait DGPD.exe "path_to_\film.m2v" "23.976/29.97"
start "DGPulldown CLI by Prodater64" /wait DGPD.exe "path_to_\film.m2v" "23.976|29.97"
start "DGPulldown CLI by Prodater64" /wait DGPD.exe "path_to_\film.m2v" "23.976:29.97"
start "DGPulldown CLI by Prodater64" /wait DGPD.exe "path_to_\film.m2v" "23.976-29.97"

I think you can call it from any script or programing language that can send parameters to the exe file.

Tested in Windows XP. (it would work in any w32 system).

DGPD
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
08-02-2005, 02:36 AM
Zyphon Zyphon is offline
Free Member
 
Join Date: Oct 2003
Location: London, England (UK)
Posts: 1,035
Thanks: 0
Thanked 0 Times in 0 Posts
This sounds like a very useful addon to DGPulldown, great work Luis and thanks.
__________________
Regards.

Michael.
Reply With Quote
  #3  
08-03-2005, 05:44 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Updated.
v 1.1
Reply With Quote
  #4  
08-04-2005, 07:50 AM
Zyphon Zyphon is offline
Free Member
 
Join Date: Oct 2003
Location: London, England (UK)
Posts: 1,035
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for the update Luis.
__________________
Regards.

Michael.
Reply With Quote
  #5  
08-04-2005, 02:58 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Zyphon
Thanks for the update Luis.
Your welcome.
Reply With Quote
  #6  
08-07-2005, 06:25 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Updated v. 1.2
Now supports all legal fps.
Reply With Quote
  #7  
08-07-2005, 06:46 PM
Icarus3000 Icarus3000 is offline
Free Member
 
Join Date: Feb 2003
Posts: 258
Thanks: 0
Thanked 0 Times in 0 Posts
This looks like a very useful tool that I am eager to start using!

Quote:
Originally Posted by Prodater64
I think you can call it from any script or programing language that can send parameters to the exe file.
For a complete newbie when it comes to scripting or programming - how would you recommend I go about running this in Windows XP?

Thanks!
Icarus
Reply With Quote
  #8  
08-07-2005, 07:08 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Already answered :
Quote:
Examples: Call it from a batch file

start "DGPulldown CLI by Prodater64" /wait DGPD.exe "path_to_\film.m2v" "25/29.97"
start "DGPulldown CLI by Prodater64" /wait DGPD.exe "path_to_\film.m2v" "25|29.97"
start "DGPulldown CLI by Prodater64" /wait DGPD.exe "path_to_\film.m2v" "25:29.97"
start "DGPulldown CLI by Prodater64" /wait DGPD.exe "path_to_\film.m2v" "25-29.97"

start "DGPulldown CLI by Prodater64" /wait DGPD.exe "path_to_\film.m2v" "23.976/29.97"
start "DGPulldown CLI by Prodater64" /wait DGPD.exe "path_to_\film.m2v" "23.976|29.97"
start "DGPulldown CLI by Prodater64" /wait DGPD.exe "path_to_\film.m2v" "23.976:29.97"
start "DGPulldown CLI by Prodater64" /wait DGPD.exe "path_to_\film.m2v" "23.976-29.97"
Honnestly, if you don't understand the line in bold, the tool is useless for you.
Reply With Quote
  #9  
08-07-2005, 07:08 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Icarus3000
For a complete newbie when it comes to scripting or programming - how would you recommend I go about running this in Windows XP?
Thanks!
Icarus
Do use DGPD.bat file, edit it and change its values for your owns in the command line:

start "DGPulldown CLI by Prodater64" /wait DGPD.exe "path_to_\film.m2v" "25/29.97"
Reply With Quote
  #10  
08-07-2005, 07:36 PM
Icarus3000 Icarus3000 is offline
Free Member
 
Join Date: Feb 2003
Posts: 258
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks.

I wasn't certain that the "batch" file Prodater spoke of referred to a standard .bat file that could be run from Windows.



Although, I agree that it would have been easy for me to try it out first before asking the question - at least now noone else need ask the question again.
Reply With Quote
  #11  
08-07-2005, 07:40 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Icarus3000
Thanks.
Dont worry.
Your welcome.

Note: If you keep the name of cmd window "DGPulldown CLI by Prodater64" DGPulldown will run nicely just in front of cmd window.
If you change the caption, cmd window will popup as you have it configured in your system. Just try it to compare.
Reply With Quote
  #12  
08-08-2005, 12:17 PM
Zyphon Zyphon is offline
Free Member
 
Join Date: Oct 2003
Location: London, England (UK)
Posts: 1,035
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks again Pro for the new update and the added feature.
__________________
Regards.

Michael.
Reply With Quote
  #13  
08-08-2005, 12:36 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Zyphon
Thanks again Pro for the new update and the added feature.
Reply With Quote
  #14  
08-22-2005, 10:22 PM
Icarus3000 Icarus3000 is offline
Free Member
 
Join Date: Feb 2003
Posts: 258
Thanks: 0
Thanked 0 Times in 0 Posts
Luis:

I finally got around to converting the PAL DVD I had to NTSC, and your program worked like a charm, thanks!

Quick question though... it seems that DGPulldown already has a function built in to do 25 fps to 29.97 fps pulldown, so not to seem ungrateful, but what exactly does your program do differently?

Thanks!
Icarus
Reply With Quote
  #15  
08-22-2005, 10:42 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Icarus3000
Luis:

I finally got around to converting the PAL DVD I had to NTSC, and your program worked like a charm, thanks!

Quick question though... it seems that DGPulldown already has a function built in to do 25 fps to 29.97 fps pulldown, so not to seem ungrateful, but what exactly does your program do differently?

Thanks!
Icarus
I did say it in my first post:

Quote:
Originally Posted by Prodater64
DGPD 1.2 by Prodater64

Donald Graft has not yet provided CLI support for DGPulldown and as 25 to 29.97 pulldown is very interesting and it would solve many problems with sync issues, I wrote a little app that gives CLI (or parsing parameter) support to DGPulldown.
DGPulldown was firstly made with that purpose, it is to say to permit 25 to 29.97 fps conversions of progresive sources without change the real fps of the stream. It really stay in 25 fps. Once applied DGPulldown, it adds flags, fields, not frames, then your stream will be perfect synced with your audio, and do need lesser btr that real conversion.
Another conversions are just same than usual pulldown.exe.
I only gift command line support to DGPulldown. If you dont need batch processing, you can do original Donald Graft's DGPuldown GUI.

Thank you for your feedback.
Enjoy the program.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
O audio esta sem sincronia e parece a voz do pato donald TBispo Conversão e Codificação de Vídeo (Português) 2 08-15-2004 11:42 PM
Bitrates: How about CCE support? Boulder Video Encoding and Conversion 0 11-22-2003 07:26 AM
FFMPEG: [FAQ] AC3 Support Razorblade2000 Video Encoding and Conversion 0 09-13-2003 06:21 AM
DVD2AVI: Fixd2v v1.2.1 by D. Graft dazedconfused Video Encoding and Conversion 1 09-04-2003 01:16 AM
Bitrates: When will come the support for CCE? Avalon Video Encoding and Conversion 10 08-09-2003 11:36 AM




 
All times are GMT -5. The time now is 10:44 AM  —  vBulletin © Jelsoft Enterprises Ltd