ndjamena for kindess: question2
if I manually want do a ffprobe in a C0020.mxf file with same option as you used in your script
FFProbe -hide_banner -loglevel fatal -pretty -show_streams -show_entries stream^=codec_type^,width^,height^,sample_aspect_r atiotream_disposition^=:format_tags^=timecode^,company _name^,product_name^,product_version "%~1" 2^>^&1'
what is the command line to generate a .txt file?
+ Reply to Thread
Results 31 to 42 of 42
-
-
I hate to say this, but marcorocchini, doesn't this all sound an awful lot like a "rube goldberg machine" approach to your problem?
Scott -
He likes cats...
FFProbe -hide_banner -loglevel fatal -print_format default=nk=1:nw=1 -show_entries format_tags=timecode "%~1" 1>"%~dpn1.txt"
will print just the time code into a .txt file
an equals sign inside the for options double quotes is seen as an operator if not escaped, hence = should be written as ^=
I'm trying to write an AVISynth script to remove the yellow colour from some burnt in subtitles with as little chance for error as possible at the moment. It's much more interesting then anything you're doing. Not that I have any idea what you're doing...
FFProbe -hide_banner -loglevel fatal -pretty -show_streams -show_entries stream^=codec_type^,width^,height^,sample_aspect_r atiotream_disposition^=:format_tags^=timecode^,company _name^,product_name^,product_version "%~1" 1>"%~dpn1.txt"
-
-
Code:
FFProbe -hide_banner -loglevel fatal -print_format default=nk=1:nw=1 -show_entries format_tags=timecode c0020.mxf 1>ffp.txt
it generate the only timecode as exactly requested, perfects!thanks
-
marcorocchini, if you wish to try the GUI it is at http://files.videohelp.com/u/214352/Timecode2txt.zip. It will do batch also if you have more files in the folder. If you throw a clinker in like a text file, it will wait 10 seconds and give you a message. The text files are saved by the name of the original file with the .TXT extension. The from and to location folders are drag and drop but individual files are not since I didn't see the need.
I have a Windows 7 computer and it works on that so give it a try if you wish.
Thanks
Bud -
The reply is late but I'm pleased to present you a Java class which can do this.
Just rename the TimeCode.zip to TimeCode.class (Case sensitive)
and run on terminal using
Code:java TimeCode
This is the sample output
Code:C:\Users\sandesh\workspace\HelloWorld\bin>java TimeCode ;FFMETADATA1 uid=41821e00-3664-05c1-0270-08004602023b generation_uid=41821e00-3664-05c2-0270-08004602023b company_name=SONY product_name=Opt product_version=1.22 product_uid=060e2b34-0401-0103-0e06-012002010300 modification_date=2013-05-24 22:12:18 timecode=01:34:21:15 01:34:21:15 C:\Users\sandesh\workspace\HelloWorld\bin>
Edit :
I forgot to write the timestamp to the text file, so I updated the java code.Last edited by Placebo; 19th May 2014 at 11:35.
-
oh thanks, winzip get me an error during decompress timecode.zip (not seem a "valid winzip archive") but I try others unzipper
-
I have do it but is not associated to nothing in my pc, I have the old xp^^