VideoHelp Forum




+ Reply to Thread
Page 2 of 2
FirstFirst 1 2
Results 31 to 42 of 42
  1. 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?
    Quote Quote  
  2. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    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
    Quote Quote  
  3. Member
    Join Date
    Sep 2012
    Location
    Australia
    Search Comp PM
    Originally Posted by Cornucopia View Post
    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"
    Quote Quote  
  4. Originally Posted by Cornucopia View Post
    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

    mmmmm You're jealous of my NLE for cats! Speed Razor HD cats 3.0 revenge

    Click image for larger version

Name:	GGCATS.JPG
Views:	273
Size:	44.2 KB
ID:	25242
    Quote Quote  
  5. Code:
    FFProbe -hide_banner -loglevel fatal -print_format default=nk=1:nw=1 -show_entries format_tags=timecode c0020.mxf 1>ffp.txt
    Name:  oh-my3.jpg
Views: 1035
Size:  10.6 KB

    it generate the only timecode as exactly requested, perfects! thanks
    Quote Quote  
  6. Member Budman1's Avatar
    Join Date
    Jul 2012
    Location
    NORTHWEST ILLINOIS, USA
    Search Comp PM
    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.

    Click image for larger version

Name:	ScreenHunter_67 May. 19 00.39.jpg
Views:	278
Size:	22.4 KB
ID:	25248

    I have a Windows 7 computer and it works on that so give it a try if you wish.

    Thanks
    Bud
    Quote Quote  
  7. nice program, in xp seems work well

    Click image for larger version

Name:	ENCD.JPG
Views:	308
Size:	80.5 KB
ID:	25253

    thanks ^^
    Quote Quote  
  8. Member
    Join Date
    Feb 2014
    Location
    Mumbai
    Search Comp PM
    Originally Posted by marcorocchini View Post
    mm so for example:
    I have a file C0020.mxf and for this file I would like generate a .txt that contatins only the timecode:

    if I do:

    ffmpeg -i c0020.mxf -f ffmetadata metadata.txt

    metadata.txt is (also in attachement):

    ;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

    so the script should isolate 01:34:21:15 from all the rest

    I should do a script that via commandline I type:

    tc.bat C0020.mxf

    and it generate a .txt that have 01:34:21:15

    can you help to do this? thanks
    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 requires the metadata.txt to be placed in the same folder

    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.
    Image Attached Files
    Last edited by Placebo; 19th May 2014 at 11:35.
    Quote Quote  
  9. oh thanks, winzip get me an error during decompress timecode.zip (not seem a "valid winzip archive") but I try others unzipper
    Quote Quote  
  10. Member
    Join Date
    Feb 2014
    Location
    Mumbai
    Search Comp PM
    Don't extract it ... Just rename TimeCode.zip to TimeCode.class
    Quote Quote  
  11. I have do it but is not associated to nothing in my pc, I have the old xp^^
    Quote Quote  
  12. it's a Java class file so it requires a Java runtime to be installed
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!