Canvas brightness doesn't match FCP output files/Matches TIF Still Files!!
Hi, the first part of this problem was addressed earlier in the forum-the fact that the Canvas shows the clips as much much darker and way more saturated than when viewed on an external monitor, or when exported to DVD Studio Pro and burned on dvd.
The second part is that when I export an image from the clip in Final Cut using Quicktime Conversion to Still Image and open up the still in Preview or Photoshop or email it to another computer IT MATCHES the much darker and more saturated canvas. How is this possible? How can I get it to match the video output files?
Any advice asap would be really really appreciated.
You need to understand monitoring... first, a computer's display isn't set up for use as a TV set or video monitor. They don't exhibit the same response color wise to gammas. So it makes perfect sense that viewing a still will match what you saw in the canvas. If you were to look at that still externally on a video monitor, you'd see it also matches the video it came from on that same monitor. Colors aren't shifting, the differences in the displays of that same file is what's causing your consternation.
Always color correct for the medium you wish to exhibit in... so if TV, then correct to an external video monitor which is properly set up. If to the web, then you color correct using computer displays (also properly set up) To further the problem, the gamma responses from a PC's display don't match those of a Mac's display. The PC will see things darker in general... so that too has to be taken into account when judging color, contrast and brightness...
Jerry
Similar Messages
-
Canvas brightness doesn't match FCP output files
After spending hundreds of hours trying to color correct in the FCP canvas only to create output files (MPEG2 for DVDs and MOV files for online stuff) which are either too dark or too light, too saturated or too bland, I finally realized that what I'm seeing in my FCP canvas window does not match - at all - the final, compressed file when I export using Compressor to an avi, an mpeg, or a Quicktime MOV file.
I invested in a good Gretamacbeth screen calibration device (Eye-One Display 2) only to find that the problem is not my monitor or its calibration, but the software.
I can output to a Quicktime file and play the same clip, side-by-side, with the identical clip in FCP, as viewed through the canvas, on the same monitor. Invariably the FCP canvas image is darker, has higher contrast, and shows much richer color saturation. The Quicktime movie is too bright, and too washed-out looking in the colors compared with the FCP canvas. And when I output to an mpeg2 and author a DVD using DVD Studio Pro, and then pop the completed DVD into my Mac (or TV/DVD player) and view it, it always turns out much brighter and more washed out than what my FCP canvas had led me to believe.
To try to compensate for this, I manually brightened my monitor somewhat and re-edited my footage, trying to boost luma and chroma levels as much as I could without exceeding broadcast standard limits, only to find that now some of the resulting DVD was oversaturated and too dark. I REALLY need an accurate canvas on which to edit; it's impossible to create anything worthwhile if I have nothing else to do than to simply guess how every clip is going to look and pray that the final result isn't too far off.
Has anyone else encountered this? It's a real problem for me. I'm using FCP 5.04 on a dual-processor G5 with 5 GB of RAM and a dual-monitor setup - an Apple 17" monitor and an Apple 23" cinematic display.
Any input or ideas would be GREATLY appreciated. Thanks in advance for your help!
Powermac G5 Mac OS X (10.4.3)Thanks to both of you, Steve and Shane, for your quick replies.
I always render as I go, and I disabled overlays in the canvas long ago. And I realize that calibration is a key issue, especially for web files, and that the view produced in the FCP canvas isn't a full-resolution representation of the underlying digital file.
But when I'm editing my actors' faces and adjusting their colors to get just the right amount of pink rosiness in their cheeks, and carefully setting the right light levels in the background, and then I output my file to any format and view the resulting file on the SAME CRT on which I did my editing, suddenly their faces have lost all their color, and the background is too light and washed out, even though I'm viewing the thing on the same screen I used to edit it.
So no matter how my monitor is calibrated, I believe that any high-quality output file that FCP creates should resemble, at least in terms of color and brightness levels, the image I edited in the canvas moments earlier, at least if viewed on the same screen. I realize that resolution will vary and one might be more blurry or whatever; that's not the problem.
In fact, if I use FCP to create a Quicktime file and an mpeg-2 for a DVD and then view that file on any of my PC monitors and on my television via my DVD player, it looks remarkably consistent. In other words, the output file looks fairly close, in terms of chroma and luma, when viewed either on my Mac (with the Quicktime player), my PC, or even my TV (viewed as a DVD). The only thing that looks different is if I compare this file to the file I edited, as seen on the FCP canvas, where the colors look much richer and the contrast is a lot darker. Even when viewing both files on the same computer screen, one in FCP and the other in Quicktime, the FCP one looks substantially different. Have others run into a similar problem, or is it just me? I can't believe professional editors have to resort to always guessing whether what they see in the canvas will look anything like their final FCP output, at least if they're viewing it on the same monitor.
So I guess I'm really wondering whether there's some way to independently adjust the visible chroma and luma levels in the canvas itself, to configure them properly, so that what I see when I'm editing will more closely match the files I generate when I'm done, when viewing them both on the same screen.
Thanks again for any light (or contrast!) you can shine on this problem. -
I have been searching high and low for this one. I have a vbscript that can successfully perform the function if one file is listed. It does a Wscript.echo on the results and if I run this via command using cscript, I can output to a text file
that way. However, I cannot seem to get it to work properly if I want it to search ALL the files in the folder. At one point, I was able to have it create the output file and appear as if it worked, but it never showed any results when the script
was executed and folder was scanned. So I am going back to the drawing board and starting from the beginning.
I also have a txt file that contains the list of string text entries I would like it to search for. Just for testing, I placed 4 lines of sample text and one single matching text in various target files and nothing comes back. The current script
I use for each file has been executed with a few hundred string text lines I want it to search against to well over one thousand. It might take awhile, but it works every time. The purpose is to let this run against various log files in a folder and
let it search. There is no deleting, moving, changing of either the target folder/files to run against, nor of the file that contains the strings to search for. It is a search (read) only function, going thru the entire contents of the folder and
when done, performs the loop function and onto the next file to repeat the process until all files are searched. When completed, instead of running a cscript to execute the script and outputting the results to text, I am trying to create that as part
of the overall script. Saving yet another step for me to do.
My current script is set to append to the same results file and will echo [name of file I am searching]: No errors found. Otherwise, the
output shows the filename and the string text that matched. Because the results append to it, I can only run the script against each file separately or create individual output names. I would rather not do that if I could include it all in one.
This would also free me from babysitting it and running each file script separately upon the other's completion. I can continue with my job and come back later and view the completed report all in one. So
if I could perform this on an entire folder, then I would want the entries to include the filename, the line number that the match occurred on in that file and the string text that was matched (each occurrence). I don't want the entire line to be listed
where the error was, just the match itself.
Example: (In the event this doesn't display correctly below, each match, it's corresponding filename and line number all go together on the same line. It somehow posted the example jumbled when I listed it)
File1.txt Line 54
Job terminated unexpectedly
File1.txt Line 58 Process not completed
File1.txt
Line 101 User input not provided
File1.txt
Line 105 Process not completed
File2.txt
No errors found
File3.txt
Line 35 No tape media found
File3.txt
Line 156 Bad surface media
File3.txt Line 188
Process terminated
Those are just random fake examples for this post.
This allows me to perform analysis on a set of files for various projects I am doing. Later on, when the entire search is completed, I can go back to the results file and look and see what files had items I wish to follow up on. Therefore, the
line number that each match was found on will allow me to see the big picture of what was going on when the entry was logged.
I actually import the results file into a spreadsheet, where further information is stored regarding each individual text string I am using. Very useful.
If you know how I can successfully achieve this in one script, please share. I have seen plenty of posts out there where people have requested all different aspects of it, but I have yet to see it all put together in one and work successfully.
Thanks for helping.I'm sorry. I was so consumed in locating the issue that I completely overlooked posting what exactly I was needing help with. I did have one created, but I came across one that seemed more organized than what I originally created. Later
on I would learn that I had an error in log location on my original script and therefore thought it wasn't working properly. Now that I am thinking that I am pretty close to achieving what I want with this one, I am just going to stick with it.
However, I could still use help on it. I am not sure what I did not set correctly or perhaps overlooking as a typing error that my very last line of this throws an "Expected Statement" error. If I end with End, then it still gives same
results.
So to give credit where I located this:
http://vbscriptwmi.uw.hu/ch12lev1sec7.html
I then adjusted it for what I was doing.
What this does does is it searches thru log files in a directory you specify when prompted. It looks for words that are contained in another file; objFile2, and outputs the results of all matching words in each of those log files to another file: errors.log
Once all files are scanned to the end, the objects are closed and then a message is echoed letting you know (whether there errors found or not), so you know the script has been completed.
What I had hoped to achieve was an output to the errors.log (when matches were found) the file name, the line number that match was located on in that file and what was the actual string text (not the whole line) that matched. That way, I can go directly
to each instance for particular events if further analysis is needed later on.
So I could use help on what statement should I be closing this with. What event, events or error did I overlook that I keep getting prompted for that. Any help would be appreciated.
Option Explicit
'Prompt user for the log file they want to search
Dim varLogPath
varLogPath = InputBox("Enter the complete path of the logs folder.")
'Create filesystem object
Dim oFSO
Set oFSO = WScript.CreateObject("Scripting.FileSystemObject")
'Creates the output file that will contain errors found during search
Dim oTSOut
Set oTSOut = oFSO.CreateTextFile("c:\Scripts\errors.log")
'Loop through each file in the folder
Dim oFile, varFoundNone
VarFoundNone = True
For Each oFile In oFSO.GetFolder(varLogPath).Files
'Verifies files scanned are log files
If LCase(Right(oFile.Name,3)) = "log" Then
'Open the log file
Dim oTS
oTS = oFSO.OpenTextFile(oFile.Path)
'Sets the file log that contains error list to look for
Dim oFile2
Set oFile2 = oFSO.OpenTextFile("c:\Scripts\livescan\lserrors.txt", ForReading)
'Begin reading each line of the textstream
Dim varLine
Do Until oTS.AtEndOfStream
varLine = oTS.ReadLine
Set objRegEx = CreateObject("VBScript.RegExp")
objRegEx.Global = True
Dim colMatches, strName, strText
Do Until oErrors.AtEndOfStream
strName = oFile2.ReadLine
objRegEx.Pattern = ".{0,}" & strName & ".{0,}\n"
Set colMatches = objRegEx.Execute(varLine)
If colMatches.Count > 0 Then
For Each strMatch in colMatches
strText = strText & strMatch.Value
WScript.Echo "Errors found."
oTSOut.WriteLine oFile.Name, varLine.Line, varLine
VarFoundNone = False
Next
End If
Loop
oTS.Close
oFile2.Close
oTSOut.Close
Exit Do
If VarFoundNone = True Then
WScript.Echo "No errors found."
Else
WScript.Echo "Errors found. Check logfile for more info."
End If
End if -
Output quality less than source file in sequence FCP 7
I imported a .mov file into my sequence. It is 1920X1080 Apple ProRes.422. 7 1/2 mins. long. 6.18GB.
I added a new audio file for the entire sequence. Inserted a few edits to the credits using Motion.
I exported, first at Apple ProRes 422 HD also 1920X1080. It ended up being over 9GB. The quality was worse than the
source .mov file. These were both auditioned in Quicktime. The original .mov file looks fine at full resolution,
but not after my export. I've read the manual, consulted my online tutorials, read forums. I believe I have set all my
export settings correctly, yet it doesn't export with the crispness of the original file.
If it is important, the thin color bar just above the playhead and timeline is light purple.
Any suggestions would be greatly appreciated.Two things are screwing you up.
1. Your sequence frame size is not the same as your original media.
2. Your sequence compressor is h.264 not ProRes.
Take the original clip and drop it into a new sequence.
When FCP asks if you want to match the clip settings, click yes.
Delete that clip then go to your original sequence and copy all the clips then shift over to the new sequence and past them into the timeline.
You may have to remove any distortions (resizing) to have the clips play in full screen.
Export that edit using Export Quicktime (NOT quicktime conversion) with "current settings" and "make self contained" selected.
Once you have that file, use Compressor to create any non ProRes deliverable.
x -
Converting .tif files for match color output
How do you take a file from cmyk to a single match color output form and is there a way to do it for a duotone to insure that it seperates properly in pre-press?
I'm not certain I follow the question but here's my take on it.
For a single match color (I would assume you mean monotone):
1) Convert the image to Grayscale
2) Under Image select Duotone
3) In the duotone panel select Monotone (that's usually the default) and select the color you want to use there
For a duotone:
1) Convert the image to Grayscale
2) Under Image select Duotone
3) In the duotone panel select Duotone and select the colors you want to use
As for making sure it separates properly:
It should separate exactly the way the levels/curves are adjusted in Photoshop.
HTH -
Sun Studio 11 do not parse make output and create link to file?
Hi,
Running Sun Studio 11 and can only get file links in the output window when I run a make command that uses CC -g (debug option). We have integrated other tools into our make system (flexlint, cppUnit..) and even though we make sure that the syntax is exactly the same as the compiler output and matches regular expression under tools->options->building->make settings->error expression, it doesn't work. Why do you have to debug compile to get sun studio to create a file link in the output window? Doesn't sun studio just parse the text from the make command?
example of flexlint output for which no link is created:
"/vobs/project/oss/fm/fm4/fm-fmalib/fmbal/fmaaulib/src/FMA_List.cc", line 440: Error 84: sizeof object is zero or object is undefined'�
example of make debug output for which we do get a link:
"/vobs/project/oss/fm/fm4/fm-fmalib/fmbal/SunOS5.10/inc/FMA_alarm_record.hh", line 1310: Warning (Anachronism):Info "static" is not allowed and is being ignored.
Regards,
OlaI'd second Maxim's suggestion: try NetBeans 5.5 with C/C++ Development Pack. The official release of NetBeans C/C++ Development Pack 5.5 has happened a few days ago. You can download it from
http://www.netbeans.info/downloads/all.php?b_id=2284
Some of the changes between the beta3 build and FCS are:
* Significant performance improvements in the code parser resulting in faster results in the Class View and Code Completion
* Programs now run in an external terminal (system dependent) by default. This allows better input control
* Significant performance improvement in the debugging module
* Significant functionality improvement in the debugging module
* New project type "C/C++ Project From Existing Code" which simplifies creating a project from existing code
* Macro support in code completion
* Hyperlink navigation for macro usages and #include directives
* Reformat code
* Code folding
* Code completion
All these features will appear in next Sun Studio release, so you can
consider NetBeans C/C++ Development Pack 5.5 as a preview of new
Sun Studio IDE. -
Error - The file must match the template type. Upload one file per language
hi,
Error - The file must match the template type. Upload one file per language and territory combination.
i am getting above error while registering RTF template in oracle application e -business suite using XML publisher admistrator responsibility.
My work :
i generated xml output using concurrent program.
for this i used standard PO report,
the executable name: POXPRPOP.
i designed the template using MS Office word (for RTF template)
for this :
<?start: body?>
<? for-each: G_Headers?>
VENDOR:
<?POH_VENDOR_NAME?>
<?POH_VENDOR_COUNTRY?>
PURCHASEORDER NO.
<?POH_PO_NUM?>
SHIP TO:
<?C_COMPANY?>
<?POH_SHIP_ADDRESS_LINE1?>
<?POH_SHIP_COUNTRY?>
BILL TO:
<?C_COMPANY?>
<?POH_BILL_ADDRESS_LINE1?>
<?POH_BILL_COUNTRY?>
<?end for-each?>
<?end body?>
saved this file as "Purchasing.rtf" on desk top
i registered data definition
name:purchase order data definition.
code : short name of concurrent program.
i try to create template Or register the template in oracle e-business suite.
name: purchasing template
code: concurrent program short name
type : RTF.
file : browse from desk top (purchasing.rtf)
language:english
territory: US.
but i am getting above error
could any one help to come out of this problem.
thank you
regarding,
sai krishna@cavayaHi,
I am getting the error as
The file must match the template type. Upload one file per language and territory combination.
I have checked the template name. It doesn't exist already. Please help me.
Thanks in Advance,
Jeganathan -
Multipath -ll command doesn't give any output
Hi all,
I am new to configure storage in multipath. I have configured multipath in a newly installed oracle Linux 6.0 following Linux documentation; however, when I tried to list the multipath using the commands, it doesn’t show any output. I have stop and restart services, reboot the server to no fix. I have also check the LUNs that I can see the storage array's FC target ports from the server as well as the storage admin confirm that they are properly connected. Blew is the output when I used the commands. Please help and let me know if you need more info...
root@server1 ~]# multipath -ll
[root@server1 ~]# <-- no output
[root@server1 ~]# ps -ef |grep multipath
root 2563 2437 0 16:10 pts/0 00:00:00 grep multipath
root 20831 1 0 Jan09 ? 00:00:01 /sbin/multipathd
[root@server1 ~]# multipath -d
create: mpatha (3600508b10010414d5155594e56360008) undef HP,LOGICAL VOLUME
size=137G features='0' hwhandler='0' wp=undef
`-+- policy='round-robin 0' prio=1 status=undef
`- 0:0:0:0 cciss!c0d0 104:0 undef ready running
thank you,
LouHi All,
Here is the output that you have requested… thank you for the help
Lou
reply to: Dude
Q: What device names are you expecting to see?
A: Simmilar to the below output:
[root@oldServer ~]# multipath -ll
ocr_vote_1 (36001438005decdd10006e00003b30000) dm-0 HP,HSV450
size=1.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| |- 0:0:0:3 sdc 8:32 active ready running
| |- 0:0:1:3 sdq 65:0 active ready running
| |- 1:0:0:3 sdbg 67:160 active ready running
| `- 1:0:1:3 sdbu 68:128 active ready running
Reply to: Billy Verreynne
Here is the output. I didn't post the repetitive output for the 'sd*'s
[root@server1 ~]# multipath -v3
Jan 14 10:23:24 | ram0: device node name blacklisted
Jan 14 10:23:24 | ram1: device node name blacklisted
Jan 14 10:23:24 | ram2: device node name blacklisted
Jan 14 10:23:24 | ram3: device node name blacklisted
Jan 14 10:23:24 | ram4: device node name blacklisted
Jan 14 10:23:24 | ram5: device node name blacklisted
Jan 14 10:23:24 | ram6: device node name blacklisted
Jan 14 10:23:24 | ram7: device node name blacklisted
Jan 14 10:23:24 | ram8: device node name blacklisted
Jan 14 10:23:24 | ram9: device node name blacklisted
Jan 14 10:23:24 | ram10: device node name blacklisted
Jan 14 10:23:24 | ram11: device node name blacklisted
Jan 14 10:23:24 | ram12: device node name blacklisted
Jan 14 10:23:24 | ram13: device node name blacklisted
Jan 14 10:23:24 | ram14: device node name blacklisted
Jan 14 10:23:24 | ram15: device node name blacklisted
Jan 14 10:23:24 | loop0: device node name blacklisted
Jan 14 10:23:24 | loop1: device node name blacklisted
Jan 14 10:23:24 | loop2: device node name blacklisted
Jan 14 10:23:24 | loop3: device node name blacklisted
Jan 14 10:23:24 | loop4: device node name blacklisted
Jan 14 10:23:24 | loop5: device node name blacklisted
Jan 14 10:23:24 | loop6: device node name blacklisted
Jan 14 10:23:24 | loop7: device node name blacklisted
Jan 14 10:23:24 | cciss!c0d0: not found in pathvec
Jan 14 10:23:24 | cciss!c0d0: mask = 0x1f
Jan 14 10:23:24 | cciss!c0d0: dev_t = 104:0
Jan 14 10:23:24 | cciss!c0d0: size = 286677120
Jan 14 10:23:24 | cciss!c0d0: subsystem = cciss
Jan 14 10:23:24 | cciss!c0d0: h:b:t:l = 0:0:0:0
Jan 14 10:23:24 | cciss!c0d0: vendor = HP
Jan 14 10:23:24 | cciss!c0d0: product = LOGICAL VOLUME
Jan 14 10:23:24 | cciss!c0d0: revision = 1.86
Jan 14 10:23:24 | cciss!c0d0: get_state
Jan 14 10:23:24 | loading /lib64/multipath/libchecktur.so checker
Jan 14 10:23:24 | cciss!c0d0: path checker = tur (controller setting)
Jan 14 10:23:24 | cciss!c0d0: checker timeout = 300000 ms (internal default)
Jan 14 10:23:24 | cciss!c0d0: state = 3
Jan 14 10:23:24 | cciss!c0d0: getuid = /lib/udev/scsi_id whitelisted device=/dev/%n (controller setting)
Jan 14 10:23:24 | cciss!c0d0: uid = 3600508b10010414d5155594e56360008 (callout)
Jan 14 10:23:24 | cciss!c0d0: prio = const (controller setting)
Jan 14 10:23:24 | cciss!c0d0: const prio = 1
Jan 14 10:23:24 | sda: not found in pathvec
Jan 14 10:23:24 | sda: mask = 0x1f
Jan 14 10:23:24 | sda: dev_t = 8:0
Jan 14 10:23:24 | sda: size = 104857600
Jan 14 10:23:24 | sda: subsystem = scsi
Jan 14 10:23:24 | sda: vendor = HP
Jan 14 10:23:24 | sda: product = HSV450
Jan 14 10:23:24 | sda: rev = 0953
Jan 14 10:23:24 | sda: h:b:t:l = 0:0:0:1
Jan 14 10:23:24 | sda: tgt_node_name = 0x50001fe1501ec830
Jan 14 10:23:24 | sda: serial = PAFURC19SYZ0AB
Jan 14 10:23:24 | sda: get_state
Jan 14 10:23:24 | sda: path checker = tur (controller setting)
Jan 14 10:23:24 | sda: checker timeout = 30000 ms (sysfs setting)
Jan 14 10:23:24 | sda: state = running
Jan 14 10:23:24 | sda: state = 3
Jan 14 10:23:24 | sda: getuid = /sbin/scsi_id -g -u -s /block/%n (controller setting)
Jan 14 10:23:24 | /sbin/scsi_id exitted with 1
Jan 14 10:23:24 | error calling out /sbin/scsi_id -g -u -s /block/sda
Jan 14 10:23:24 | sda: state = running
Jan 14 10:23:24 | /sbin/scsi_id exitted with 1
Jan 14 10:23:24 | error calling out /sbin/scsi_id -g -u -s /block/sda
Jan 14 10:23:24 | loading /lib64/multipath/libprioalua.so prioritizer
Jan 14 10:23:24 | sda: prio = alua (controller setting)
Jan 14 10:23:24 | reported target port group is 2
Jan 14 10:23:24 | aas = 01 [active/non-optimized]
Jan 14 10:23:24 | sda: alua prio = 10
Jan 14 10:23:24 | sdb: not found in pathvec
Jan 14 10:23:24 | sdb: mask = 0x1f
Jan 14 10:23:24 | sdb: dev_t = 8:16
Jan 14 10:23:24 | sdb: size = 209715200
Jan 14 10:23:24 | sdb: subsystem = scsi
Jan 14 10:23:24 | sdb: vendor = HP
Jan 14 10:23:26 | sdav: not found in pathvec
Jan 14 10:23:26 | sdav: mask = 0x1f
Jan 14 10:23:26 | sdav: dev_t = 66:240
Jan 14 10:23:26 | sdav: size = 2097152
Jan 14 10:23:26 | sdav: subsystem = scsi
Jan 14 10:23:26 | sdav: vendor = HP
Jan 14 10:23:26 | sdav: product = HSV450
Jan 14 10:23:26 | sdav: rev = 0953
Jan 14 10:23:26 | sdav: h:b:t:l = 1:0:3:6
Jan 14 10:23:26 | sdav: tgt_node_name = 0x50001fe1501ec830
Jan 14 10:23:26 | sdav: serial = PAFURC19SYZ0AB
Jan 14 10:23:26 | sdav: get_state
Jan 14 10:23:26 | sdav: path checker = tur (controller setting)
Jan 14 10:23:26 | sdav: checker timeout = 30000 ms (sysfs setting)
Jan 14 10:23:26 | sdav: state = running
Jan 14 10:23:26 | sdav: state = 3
Jan 14 10:23:26 | sdav: getuid = /sbin/scsi_id -g -u -s /block/%n (controller setting)
Jan 14 10:23:26 | /sbin/scsi_id exitted with 1
Jan 14 10:23:26 | error calling out /sbin/scsi_id -g -u -s /block/sdav
Jan 14 10:23:26 | sdav: state = running
Jan 14 10:23:26 | /sbin/scsi_id exitted with 1
Jan 14 10:23:26 | error calling out /sbin/scsi_id -g -u -s /block/sdav
Jan 14 10:23:26 | sdav: prio = alua (controller setting)
Jan 14 10:23:26 | reported target port group is 2
Jan 14 10:23:26 | aas = 01 [active/non-optimized]
Jan 14 10:23:26 | sdav: alua prio = 10
===== paths list =====
uuid hcil dev dev_t pri dm_st chk_st v
3600508b10010414d5155594e56360008 0:0:0:0 cciss!c0d0 104:0 1 undef ready H
0:0:0:1 sda 8:0 10 undef ready H
0:0:0:2 sdb 8:16 50 undef ready H
0:0:0:3 sdc 8:32 10 undef ready H
0:0:0:4 sdd 8:48 10 undef ready H
0:0:0:5 sde 8:64 50 undef ready H
0:0:0:6 sdf 8:80 10 undef ready H
Jan 14 10:23:26 | Found matching wwid [3600508b10010414d5155594e56360008] in bindings file. Setting alias to mpatha
Jan 14 10:23:26 | cciss!c0d0: ownership set to mpatha
Jan 14 10:23:26 | cciss!c0d0: not found in pathvec
Jan 14 10:23:26 | cciss!c0d0: mask = 0xc
Jan 14 10:23:26 | cciss!c0d0: get_state
Jan 14 10:23:26 | cciss!c0d0: state = 3
Jan 14 10:23:26 | cciss!c0d0: const prio = 1
Jan 14 10:23:26 | mpatha: pgfailback = -2 (config file default)
Jan 14 10:23:26 | mpatha: pgpolicy = multibus (controller setting)
Jan 14 10:23:26 | mpatha: selector = round-robin 0 (controller setting)
Jan 14 10:23:26 | mpatha: features = 0 (controller setting)
Jan 14 10:23:26 | mpatha: hwhandler = 0 (controller setting)
Jan 14 10:23:26 | mpatha: rr_weight = 1 (controller setting)
Jan 14 10:23:26 | mpatha: minio = 1 rq (controller setting)
Jan 14 10:23:26 | mpatha: no_path_retry = 12 (controller setting)
Jan 14 10:23:26 | pg_timeout = NONE (internal default)
Jan 14 10:23:26 | mpatha: set ACT_CREATE (map does not exist)
Jan 14 10:23:26 | mpatha: domap (0) failure for create/reload map
Jan 14 10:23:26 | mpatha: ignoring map
reply for: Theanswriz42:
Here is part of the output from the scipt...
sdaa 36001438005decdd10006e000051c0000
sdab 36001438005decdd10006e000052c0000
sdz 36001438005decdd10006e00005200000 -
An output module failed. The file may be damaged or corrupted.
Whenever I try to render something in After Effects CC 13.1.1, an error message pops up, saying "After Effects error: Rendering error while writing to file '[not going to disclose]' An output module failed. The file may be damaged or corrupted (-1610153464)."
Screenshot of the error message:
I tried reinstalling QuickTime (7), repaired it, updated After Effects to the latest version(as I am writing this), checked firewall software, and used other formats such as AVI.
Adobe Media Encoder (CC 2014-latest version) won't work with me, either.
I sent the composition to Adobe Media Encoder, and this is what I got, no progress here.
Screenshot:
It took a while to connect to the dynamic link server, and failed.
This is a log of what has happened in Adobe Media Encoder.
- Source File: C:\Users\Default.BronyGue\Documents\not done\pinkcoverart_AME\tmpAEtoAMEProject-Pink Intro1.aep
- Output File: C:\Users\Default.BronyGue\Documents\not done\pinkcoverart_AME\Pink Intro.mp4
- Preset Used: YouTube HD 720p 29.97
- Video: 1280x720 (1.0), 29.97 fps, Progressive
- Audio: AAC, 320 kbps, 48 kHz, Stereo
- Bitrate: VBR, 2 pass, Target 5.00 Mbps, Max 5.00 Mbps
- Encoding Time: 00:00:12
06/29/2014 02:29:14 PM : Encoding Failed
The Operation was interrupted by user
(no need to worry about the above part)
- Source File: C:\Users\Default.BronyGue\Documents\not done\moddedchill_AME\tmpAEtoAMEProject-montage1.aep
- Output File: C:\Users\Default.BronyGue\Videos\chilledup.wmv
- Preset Used: Custom
- Video: 1280x720 (1.0), 29.97 fps, Progressive
- Audio: Windows Media Audio 10 Professional, 96000 Hz, Stereo, 24 bit
- Bitrate: CBR, 2 pass, Max 10000.00 kbps
- Encoding Time: 00:01:42
11/22/2014 12:24:39 AM : Encoding Failed
The Operation was interrupted by user
- Source File: C:\Users\Default.BronyGue\Documents\not done\moddedchill_AME\tmpAEtoAMEProject-montage1.aep
- Output File: C:\Users\Default.BronyGue\Videos\chilledup.mpg
- Preset Used: Custom
- Video: 1280x720, 29.97 fps, Progressive, Quality 75
- Audio: MPEG Audio, 384 kbps, 48 kHz, Stereo, 16 bit
- Bitrate: VBR, 1 Pass, Min 4.00, Target 15.00, Max 18.50 Mbps
- Encoding Time: 00:00:11
11/22/2014 12:52:11 AM : Encoding Failed
The Operation was interrupted by user
- Encoding Time: 00:00:51
11/22/2014 12:53:51 AM : Encoding Failed
Export Error
Error compiling movie.
Unknown error.
- Encoding Time: 00:00:46
11/22/2014 08:39:46 AM : Encoding Failed
Export Error
Error compiling movie.
Unknown error.
- Source File: C:\Users\Default.BronyGue\Documents\not done\moddedchill_AME\tmpAEtoAMEProject-montage4.aep
- Output File: C:\Users\Default.BronyGue\Documents\not done\moddedchill_AME\montage.mpg
- Preset Used: Match Source - High bitrate
- Video:
- Audio:
- Bitrate:
- Encoding Time: 00:00:00
11/22/2014 10:06:45 AM : Encoding Failed
Could not read from the source. Please check if it has moved or been deleted.
I need some help! Any solutions?.
Computer Specs:
AMD FX-6300
8GB 1600MHz DDR3 RAM
NVIDIA GeForce GTX 650 Ti BOOST
1TB 7200RPM Hard Drive
Windows 8.1 Update 1(with latest updates)
EDIT(11/23/2014 8:31PM PST): For some reason, other projects work for me just fine. I am not sure why it is not working on one project.
Screenshot of a new project other than this I am rendering at the time of writing this edit:Can other projects can output to the same output location? Yes
Can other projects render with the same render settings (codec, format, etc.)? Yes.
If you create a new composition and just add a solid layer to it with no effects in the same project does it render? No. I still get the error.
Can you render that brand new comp with the same render settings, output settings, output location etc.? Yes.
If so, what effects are present in the offending comp? Twixtor Pro in all the cinematics/clips, Motion Tile and Transform for pan/crop & wiggle, Magic Bullet Looks and Bad TV Warping preset with just Wave Warp & Venetian Blinds for color correction, Gradient Ramp for text, Bad TV Warping preset with everything for effect, Transform for fade in/out, and ReelSmart Motion Blur v4.1.2 for motion blur.
Also, what scripts are you using? Just the Move Anchor Point script I found from one of Mt. Mograph's videos, Summit 16 - 2.5D Minecraft Steve - After Effects - YouTube.
Have you ever installed any third-party codec packs? (I've heard of some codec packs causing weird issues like this.) Yes, (not everything I have, just everything I can think of and find) I have K-Lite codec pack, Fraps, x264vfw, and Xvid MPEG-4 codec. -
Need Help With File Matching Records
I need help with my file matching program.
Here is how it suppose to work: FileMatch class should contain methods to read oldmast.txt and trans.txt. When a match occurs (i.e., records with the same account number appear in both the master file and the transaction file), add the dollar amount in the transaction record to the current balance in the master record, and write the "newmast.txt" record. (Assume that purchases are indicated by positive amounts in the transaction file and payments by negative amounts.)
When there is a master record for a particular account, but no corresponding transaction record, merely write the master record to "newmast.txt". When there is a transaction record, but no corresponding master record, print to a log file the message "Unmatched transaction record for account number ..." (fill in the account number from the transaction record). The log file should be a text file named "log.txt".
Here is my following program code:
// Exercise 14.8: CreateTextFile.java
// creates a text file
import java.io.FileNotFoundException;
import java.lang.SecurityException;
import java.util.Formatter;
import java.util.FormatterClosedException;
import java.util.NoSuchElementException;
import java.util.Scanner;
import org.egan.AccountRecord;
import org.egan.TransactionRecord;
public class CreateTextFile
private Formatter output1; // object used to output text to file
private Formatter output2; // object used to output text to file
// enable user to open file
public void openTransFile()
try
output1 = new Formatter("trans.txt");
catch (SecurityException securityException)
System.err.println("You do not have write access to this file.");
System.exit(1);
} // end catch
catch (FileNotFoundException filesNotFoundException)
System.err.println("Error creating file.");
System.exit(1);
} // end method openTransFile
// enable user to open file
public void openOldMastFile()
try
output2 = new Formatter("oldmast.txt");
catch (SecurityException securityException)
System.err.println("You do not have write access to this file.");
System.exit(1);
} // end catch
catch (FileNotFoundException filesNotFoundException)
System.err.println("Error creating file.");
System.exit(1);
} // end method openOldMastFile
// add transaction records to file
public void addTransactionRecords()
// object to be written to file
TransactionRecord record1 = new TransactionRecord();
Scanner input1 = new Scanner(System.in);
System.out.printf("%s\n%s\n%s\n%s\n\n",
"To terminate input, type the end-of-file indicator",
"when you are prompted to enter input.",
"On UNIX/Linux/Mac OS X type <ctrl> d then press Enter",
"On Windows type <ctrl> z then press Enter");
System.out.printf("%s\n%s",
"Enter account number (> 0) and amount.","? ");
while (input1.hasNext()) // loop until end-of-file indicator
try // output values to file
// retrieve data to be output
record1.setAccount(input1.nextInt()); // read account number
record1.setAmount(input1.nextDouble()); // read amount
if (record1.getAccount() > 0)
// write new record
output1.format("%d %.2f\n", record1.getAccount(), record1.getAmount());
} // end if
else
System.out.println("Account number must be greater than 0.");
} // end else
} // end try
catch (FormatterClosedException formatterClosedException)
System.err.println("Error writing to file.");
return;
} // end catch
catch (NoSuchElementException elementException)
System.err.println("Invalid input. Please try again.");
input1.nextLine(); // discard input so user can try again
} // end catch
System.out.printf("%s %s\n%s", "Enter account number (> 0) ",
"and amount.","? ");
} // end while
} // end method addTransactionRecords
// add account records to file
public void addAccountRecords()
// object to be written to file
AccountRecord record2 = new AccountRecord();
Scanner input2 = new Scanner(System.in);
System.out.printf("%s\n%s\n%s\n%s\n\n",
"To terminate input, type the end-of-file indicator",
"when you are prompted to enter input.",
"On UNIX/Linux/Mac OS X type <ctrl> d then press Enter",
"On Windows type <ctrl> z then press Enter");
System.out.printf("%s\n%s",
"Enter account number (> 0), first name, last name and balance.","? ");
while (input2.hasNext()) // loop until end-of-file indicator
try // output values to file
// retrieve data to be output
record2.setAccount(input2.nextInt()); // read account number
record2.setFirstName(input2.next()); // read first name
record2.setLastName(input2.next()); // read last name
record2.setBalance(input2.nextDouble()); // read balance
if (record2.getAccount() > 0)
// write new record
output2.format("%d %s %s %.2f\n", record2.getAccount(), record2.getFirstName(),
record2.getLastName(), record2.getBalance());
} // end if
else
System.out.println("Account number must be greater than 0.");
} // end else
} // end try
catch (FormatterClosedException formatterClosedException)
System.err.println("Error writing to file.");
return;
} // end catch
catch (NoSuchElementException elementException)
System.err.println("Invalid input. Please try again.");
input2.nextLine(); // discard input so user can try again
} // end catch
System.out.printf("%s %s\n%s", "Enter account number (> 0),",
"first name, last name and balance.","? ");
} // end while
} // end method addAccountRecords
// close file
public void closeTransFile()
if (output1 != null)
output1.close();
} // end method closeTransFile
// close file
public void closeOldMastFile()
if (output2 != null)
output2.close();
} // end method closeOldMastFile
} // end class CreateTextFile--------------------------------------------------------------------------------------------------
// Exercise 14.8: CreateTextFileTest.java
// Testing class CreateTextFile
public class CreateTextFileTest
// main method begins program execution
public static void main( String args[] )
CreateTextFile application = new CreateTextFile();
application.openTransFile();
application.addTransactionRecords();
application.closeTransFile();
application.openOldMastFile();
application.addAccountRecords();
application.closeOldMastFile();
} // end main
} // end class CreateTextFileTest-------------------------------------------------------------------------------------------------
// Exercise 14.8: TransactionRecord.java
// A class that represents on record of information
package org.egan; // packaged for reuse
public class TransactionRecord
private int account;
private double amount;
// no-argument constructor calls other constructor with default values
public TransactionRecord()
this(0,0.0); // call two-argument constructor
} // end no-argument AccountRecord constructor
// initialize a record
public TransactionRecord(int acct, double amt)
setAccount(acct);
setAmount(amt);
} // end two-argument TransactionRecord constructor
// set account number
public void setAccount(int acct)
account = acct;
} // end method setAccount
// get account number
public int getAccount()
return account;
} // end method getAccount
// set amount
public void setAmount(double amt)
amount = amt;
} // end method setAmount
// get amount
public double getAmount()
return amount;
} // end method getAmount
} // end class TransactionRecord -------------------------------------------------------------------------------------------------
// Exercise 14.8: AccountRecord.java
// A class that represents on record of information
package org.egan; // packaged for reuse
import org.egan.TransactionRecord;
public class AccountRecord
private int account;
private String firstName;
private String lastName;
private double balance;
// no-argument constructor calls other constructor with default values
public AccountRecord()
this(0,"","",0.0); // call four-argument constructor
} // end no-argument AccountRecord constructor
// initialize a record
public AccountRecord(int acct, String first, String last, double bal)
setAccount(acct);
setFirstName(first);
setLastName(last);
setBalance(bal);
} // end four-argument AccountRecord constructor
// set account number
public void setAccount(int acct)
account = acct;
} // end method setAccount
// get account number
public int getAccount()
return account;
} // end method getAccount
// set first name
public void setFirstName(String first)
firstName = first;
} // end method setFirstName
// get first name
public String getFirstName()
return firstName;
} // end method getFirstName
// set last name
public void setLastName(String last)
lastName = last;
} // end method setLastName
// get last name
public String getLastName()
return lastName;
} // end method getLastName
// set balance
public void setBalance(double bal)
balance = bal;
} // end method setBalance
// get balance
public double getBalance()
return balance;
} // end method getBalance
// combine balance and amount
public void combine(TransactionRecord record)
balance = (getBalance() + record.getAmount());
} // end method combine
} // end class AccountRecord -------------------------------------------------------------------------------------------------
// Exercise 14.8: FileMatch.java
import java.io.File;
import java.io.FileNotFoundException;
import java.lang.IllegalStateException;
import java.util.NoSuchElementException;
import java.util.Scanner;
import java.util.Formatter;
import java.util.FormatterClosedException;
import org.egan.AccountRecord;
import org.egan.TransactionRecord;
public class FileMatch
private Scanner inTransaction;
private Scanner inOldMaster;
private Formatter outNewMaster;
private Formatter theLog;
// enable user to open file
public void openTransFile()
try
inTransaction = new Scanner(new File("trans.txt"));
} // end try
catch (FileNotFoundException fileNotFoundException)
System.err.println("Error opening file.");
System.exit(1);
} // end catch
} // end method openTransFile
// enable user to open file
public void openOldMastFile()
try
inOldMaster = new Scanner(new File("oldmast.txt"));
} // end try
catch (FileNotFoundException fileNotFoundException)
System.err.println("Error opening file.");
System.exit(1);
} // end catch
} // end method openOldMastFile
// enable user to open file
public void openNewMastFile()
try
outNewMaster = new Formatter("newmast.txt");
catch (SecurityException securityException)
System.err.println("You do not have write access to this file.");
System.exit(1);
} // end catch
catch (FileNotFoundException filesNotFoundException)
System.err.println("Error creating file.");
System.exit(1);
} // end method openNewMastFile
// enable user to open file
public void openLogFile()
try
theLog = new Formatter("log.txt");
catch (SecurityException securityException)
System.err.println("You do not have write access to this file.");
System.exit(1);
} // end catch
catch (FileNotFoundException filesNotFoundException)
System.err.println("Error creating file.");
System.exit(1);
} // end method openLogFile
// update records
public void updateRecords()
TransactionRecord transaction = new TransactionRecord();
AccountRecord account = new AccountRecord();
try // read records from file using Scanner object
System.out.println("Start file matching.");
while (inTransaction.hasNext() && inOldMaster.hasNext())
transaction.setAccount(inTransaction.nextInt()); // read account number
transaction.setAmount(inTransaction.nextDouble()); // read amount
account.setAccount(inOldMaster.nextInt()); // read account number
account.setFirstName(inOldMaster.next()); // read first name
account.setLastName(inOldMaster.next()); // read last name
account.setBalance(inOldMaster.nextDouble()); // read balance
if (transaction.getAccount() == account.getAccount())
while (inTransaction.hasNext() && transaction.getAccount() == account.getAccount())
account.combine(transaction);
outNewMaster.format("%d %s %s %.2f\n",
account.getAccount(), account.getFirstName(), account.getLastName(),
account.getBalance());
transaction.setAccount(inTransaction.nextInt()); // read account number
transaction.setAmount(inTransaction.nextDouble()); // read amount
else if (transaction.getAccount() != account.getAccount())
outNewMaster.format("%d %s %s %.2f\n",
account.getAccount(), account.getFirstName(), account.getLastName(),
account.getBalance());
theLog.format("%s%d","Unmatched transaction record for account number ",transaction.getAccount());
} // end while
System.out.println("Finish file matching.");
} // end try
catch (NoSuchElementException elementException)
System.err.println("File improperly formed.");
inTransaction.close();
inOldMaster.close();
System.exit(1);
} // end catch
catch (IllegalStateException stateException)
System.err.println("Error reading from file.");
System.exit(1);
} // end catch
} // end method updateRecords
// close file and terminate application
public void closeTransFile()
if (inTransaction != null)
inTransaction.close();
} // end method closeTransFile
// close file and terminate application
public void closeOldMastFile()
if (inOldMaster != null)
inOldMaster.close();
} // end method closeOldMastFile
// close file
public void closeNewMastFile()
if (outNewMaster != null)
outNewMaster.close();
} // end method closeNewMastFile
// close file
public void closeLogFile()
if (theLog != null)
theLog.close();
} // end method closeLogFile
} // end class FileMatch-------------------------------------------------------------------------------------------------
// Exercise 14.8: FileMatchTest.java
// Testing class FileMatch
public class FileMatchTest
// main method begins program execution
public static void main( String args[] )
FileMatch application = new FileMatch();
application.openTransFile();
application.openOldMastFile();
application.openNewMastFile();
application.openLogFile();
application.updateRecords();
application.closeLogFile();
application.closeNewMastFile();
application.closeOldMastFile();
application.closeTransFile();
} // end main
} // end class FileMatchTest-------------------------------------------------------------------------------------------------
Sample data for master file:
Master file
Account Number Name Balance
100 Alan Jones 348.17
300 Mary Smith 27.19
500 Sam Sharp 0.00
700 Suzy Green -14.22Sample data for transaction file:
Transaction file Transaction
Account Number Amount
100 27.14
300 62.11
300 83.89
400 100.56
700 80.78
700 1.53
900 82.17 -------------------------------------------------------------------------------------------------
My FileMatch class program above has bugs in it.
The correct results for the newmast.txt:
100 Alan Jones 375.31
300 Mary Smith 173.19
500 Sam Sharp 0.00
700 Suzy Green 68.09The correct results for the log.txt:
Unmatched transaction record for account number 400Unmatched transaction record for account number 900------------------------------------------------------------------------------------------------
My results for the newmast.txt:
100 Alan Jones 375.31
300 Mary Smith 111.08
500 Sam Sharp 0.00
700 Suzy Green -12.69My results for the log.txt
Unmatched transaction record for account number 700-------------------------------------------------------------------------------------------------
I am not sure what is wrong with my code above to make my results different from the correct results.
Much help is appreciated. Please help.From the output, it looks like one problem is just formatting -- apparently you're including a newline in log entries and not using tabs for the newmast output file.
As to why the numbers are off -- just from glancing over it, it appears that the problem is when you add multiple transaction values. Since account.combine() is so simple, I suspect that you're either adding creating transaction objects incorrectly or not creating them when you should be.
Create test input data that isolates a single case of this (e.g., just the Mary Smith case), and then running your program in a debugger or adding debugging code to the add/combine method, so you can see what's happening in detail.
Also I'd recommend reconsidering your design. It's a red flag if a class has a name with "Create" in it. Classes represent bundles of independant state and transformations on that state, not things to do. -
Win 7 Brightness doesn't work after graphics update
Hey,
I have a late-2010 MacBook Pro running Bootcamp 4.0 with Windows 7 64-bit. My graphics card is the nVidia GeForce 320m. I looked online recently and found that there was an update available for my graphics card (previously I had the one that comes with bootcamp, which is from 2009 I believe--quite outdated you see). So I installed it, hoping for better DX11 support, etc... It installed fine, but now my display is stuck on 100% brightness, when before I could adjust it with the F1 and F2 keys. When I try using the keys it shows the Apple popup with the slider moving, but the brightness doesn't change. I went into Control Panel > Power Settings and tried adjusting it from there, with no luck. The nVidia Control Panel doesn't have any satisfactory controls to do this either. It must be, of course, that the driver update changed things, but I'm not sure how to rectify the situation. I uninstalled the Apple Driver-Display from Control Panel and then re-installed from the Bootcamp files, but it didn't help. I've heard some talk about Apple Cinema Display, but I'm not sure if that's the same thing as the Display and whether I should be looking for a driver for it.
Any help would be greatly appreciated!I've come to the same conclusion. I tried installing different versions of the driver, but they all introduced some problem or other. It seems the only way to have everything work correctly is to use the old driver they provided. Too bad, really. Especially because I tried installing the Windows 8 preview, and unless the release version has more compatibility (unlikely), it won't work on my MacBook Pro.
For my next computer I'll follow Shootist007's advice and just buy a PC. I haven't been impressed by my mac, and OS X needs a little more work IMO.
Sorry I couldn't provide more help to anyone with the same issue! It seems Apple released this computer with an outdated driver and then abandoned support for it. -
Video files captured with FCP 7 appear to be text files in the finder!
I've recently updated to FCP Studio 3 and am having a strange problem with HDV video that I have captured. The video shows up in the browser and plays in the timeline just fine, but I am unable to send any footage to Motion. I get an error saying that the file is missing. I cant even import directly from within Motion because the video files aren't even visible to the program! I am also unable to use any of the video files in drop zones in Master Templates in FCP. If I navigate to my footage in the finder, the files appear as text files. Yet if i double click on one, it opens in Quicktime and plays. This happens whether I capture video with the apple intermediate codec or any of the new Pro Res codecs.
I should mention that I had no problems before i updated. Help!
JerrySee this link:http://discussions.apple.com/thread.jspa?threadID=2108336&tstart=90
Another work around: after capturing in Pro Res, when you look at your clips in the browser, when you label them add .mov to the end of the label. Then modify>rename>file to match clip. This will convert file on your scratch disc from tesxt file to .mov QT file which you can then use in other applications.
Steve -
Canon 650D doesn't support FCP 7 log and transfer...
Canon 650D doesn't support FCP 7 log and transfer...
anyone know how to solve this problem? thanks alotDownload and install the latest version of the E-1 plugin from Canon’s website here:
http://www.usa.canon.com/cusa/support/consumer/eos_slr_camera_systems/eos_digita l_slr_cameras/eos_rebel_t4i#DriversAndSoftware
If this didn't work, follow this creativecow post to modify cameras.plist file; if there's still no go, follow this guide to either modify the .plist file or convert your footage to Apple ProRes, the native editing format of Final Cut Pro.
Hope this helps
John -
Runtime.getRuntime().exec hangs and doesn't print the output
Hi,
I have written the following code to execute the command "psexec ipaddress -u userid -p password -l -c execute.exe >> c:/25_showoutpout.txt" and print the output in 25_showoutpout.txt file.
import java.io.*;
public class ExecTest{
public static void main(String args[]) throws IOException{
String args1 = "psexec ipaddress -u userid -p password -l -c execute.exe >> c:/25_showoutpout.txt";
try{
Process p=Runtime.getRuntime().exec(args1);
int i = p.waitFor();
System.out.println("Done.with time "+i);
}catch(Exception e){
System.out.println("The error is "+e);
But this program hangs and creates a blank 25_showoutpout.txt file.In the process list I can see the process running, but it doesn't redirect the output in the txt file.When i run the command from the command line it runs fine.Please help me.
Thanks in advanceHi,
I have written the following program to get the output.But still the required output is not coming in the console file.Only the messages that gets printed in the parent console that is coming in the file.But the expected output is to get the messages from the child window which gets executed while the .exe runs.
import java.io.*;
public class RuntimeExecTest{
public static void main(String args[]){
String s = null;
String result= null;
int count =0;
try{
// read the output from the command
String cmd = "cmd.exe /c D:/installer/PsTools.zip/PsTools/psexec.exe ipaddress -u userid -p password -l -c excute.exe >> C:/RuntimeExec_25.txt";
Process p = Runtime.getRuntime().exec(cmd);
InputStream is = p.getInputStream();
// Get the std in to the process.
OutputStream os = p.getOutputStream();
// Get the std err from the process.
InputStream es = p.getErrorStream();
// Create readers for those streams.
BufferedReader reader = new BufferedReader(new InputStreamReader(is));
BufferedReader errReader = new BufferedReader(new InputStreamReader(es));
String line;
// Read STDOUT into a buffer.
// If no STDOUT check STDERR.
while((line = errReader.readLine()) != null){
// Do something with data here if you wish.
System.out.println( line );
while((line = reader.readLine()) != null){
// Do something with data here if you wish.
System.out.println( line );
System.exit(0);
catch( Exception ex )
ex.printStackTrace();
} -
Modifying output file to access video file
I have a project in multiple languages. One of the topics
accesses several video files (.html). Due to the multiple
languages, these video files, including the underlying .swf and
AC_RunActiveContent.js files, are located on the installation CD in
every language folder causing too many CDs. To reduce the number of
CDs, we'd like those files on the CD once.
I talked to RoboHelp support and the only way to accomplish
this is to modify the path in the output file....redirecting it to
a parent folder. This worked on image files but doesn't with the
video files. When I test it, I'm getting runtime errors. The only
reference listed in the output file is the .html file; there's no
code referencing the underlying .swf or.js files. Does anyone know
if there's some other embedded path somewhere that needs to be
modified to make this work?Just open the original project FLA, file->export movie->AVI (uncompressed) and set the dimensions as you mentioned. After you get the movie exported from flash, convert that AVI (already the proper size) to the format you need.
If you have the Adobe Suite then you have Adobe Media Encoder. It supports MPEG2 (HDV-HD1 is just a specific set of settings for MPEG2). It's pretty darn easy to set up. No reason to pay for more software if you already have it.
Maybe you are looking for
-
How do I create a folder in the root of the server and put the file in it.
I have seen this talked about but no detailed instructions on how to do that. Thanks
-
How to restrict user to open inbox task
Hi All, I have a workflow for vendor master and user will log into portal as well as sap inbox to process the approval process. Now my client want to restrict the user to do the same from sap inbox.Please tell what should i do. Thanks, Krish.
-
How to remove 'Empty Demarcation' in Text Elements.
Dear All, To remove 'Empty demarcation' in the WAD output, I had modified the standard program - SAPLRSSV (for this i took access key from SAP). The text element : 301 was changed to blank and it worked. Recently we had a support package upgrade t
-
Hi all What are the statutory forms that are required to be submitted by Employees and Employers. We need the correct templates of these forms. (Eg., Form 16 in India) where we get other country's (Nigeria) statutory forms list ? thanks srinu
-
How can I print a topic in in Firefox and Netscape?
I'm having trouble getting topics to print when webhelp is viewed in Netscape or Firefox. They print just fine in IE. I created a print link on the toolbar and used the following code --- javascript:parent.frames[1].bsscright.focus();window.print();