Problems exporting 16:9 project
Hi there
This has probably been answered elsewhere, but....
I'm working on a project in FCE shot in PAL 16:9. I set up FCE for these settings and all looks OK in the canvas. All item properties show the clips are anamorphic.
I'm trying to export the edit using Quicktime Conversion in the Export menu. Whichever settings I seem to use, the final export doesn't retain 16:9 proportions. I'm trying DV-PAL, 16:9 and have tried with and without letterboxing, and have also tried 3:4 with and without letterboxing, to no avail.
I will be creating a 16:9 project in iDVD so it needs to work there too.
Could someone give me some idiot proof steps to get this right once and for all please?!
Hi(Bonjour)!
Try to open your movie in quicktime player pro.
Use the command-J shortcut to open movie properties. There is a little local menu that allows to set the presentation mode for your movie. There are 4 choices like "cleaned", "production" etc. Choose the one that presents the correct aspect ratio in quicktime player window.
Michel Boissonneault
Similar Messages
-
Help - Problems exporting my first project - missing clips
Hi all,
I've been a sound engineer for close to 20 years and I'm just finishing my first ever video edit, a project to help my wife. Naturally our deadline is tomorrow morning....
I've got my edit done and it plays perfectly in Final Cut Pro X viewer. When I export in any format (Youtube or just as a file to Quicktime) certain clips do not appear in the exported movie, the audio is there but the video is blacked out. They are the same clips every time.
I imported most of the clips from the same camera, albeit in a few different batches. When I look at the inspector info for some clips that play and some that don't they are exactly the same Codec - H.264, Linear PCM.
Any ideas on what could be causing this?
Thanks,
RuairiTry this (might work).
Select one of the offending clips in the storyline and hit Shift+F to find it in the browser.
Hit Cmd+C to copy it.
Create a new project (Cmd+N) and paste the clip in there.
Export the clip with it's current settings, then re-import that clip into the storyline and try your export again.
Does the clip show up?
If so, repeat as necessary.
The only other thing I can think of is to trash your preferences:
Download Digital Rebellion's Preference Manager (free, simple to use, and perfectly safe, both to download and use).
Andy -
Problems exporting a stereo-project.
Hi,
i'm using premiere Elements 8.0 and have the problem, that the sound of the finished movie is only in mono and not stereo. The input-file is in stereo and while working on the project i get an stereo-signal as well, but after encoding it, that won't work.
I tried different (nearly all) of the usable file-types but the result doesn't differ. Two projects ago, it all worked fine (regarding the soundquality) but then it suddenly stopped and i have not the slightest cue, where i might have made a mistake.
I am running PE 8.0 on a windows7-pc, if this might help anybody.
Thanks in Advance.OK, I have figured it out. When I initally installed Creator I did not pay attention to what the dialogs said. I just pushed the "Finish" button when it came up. After re-installing as root and my user I realized thet the last dialog said "Application Server could not be installed correctly. The following RPM packages need to be installed: compat-libstdc++, compat-libstdc++-devel"
I had compat-libstdc++-33-3.2.3-47installed.
I installed compat-libstdc++-296-2.96-132.
Afterwards I installed Creator under "root" without an error, and I was able to create a new project.
I hope this help some others. I saw several posts concerning Fedora.
KLR -
Sound problems exporting a 16:9 project to my DV camcorder (FCE HD)
I was ready to "print" my video to my DV camcorder, Final Cut rendered my video and audio and I hit play and the camera started to record. But immediatly when the camera began recording the project, weird "Digital" disorted sounds were playing on the camera during export. The project was fully rendered. I switched out firewire cables, but still the same problem; I even switched out cameras and the distortions remained, almost as if they were on the video. I then exported my 16:9 project to a high-quality DV file and it played fine. I even imported the video file from my project into iMovie HD and it played fine. What could the distortions be? I know for a fact its not my camera, tape or firewire because I mixed them up. Please assist.
gategoer-
Greetings and welcome to the Apple boards.
I don't know for sure if this will fix your problem, but this document about no audio from certain multimedia content references a fix that has been known to solve many audio issues. Maybe it is worth trying.
Luck-
-DaddyPaycheck -
Project manager - problem exporting a project with AE compositions.
I have a problem exporting my project to another disk, this is what happens:
I needed to move the project from the windows partition of my Mac to the Mac partition, in order to be able to continue my edit under MacOS, my sequences include a series of After Effects compositions of footage that has been stabilized in warp stabilizer using the option "replace with AE composition" from the timeline.
Using the project manager I started my backup operation, with these options:
Source: all sequences selected
Resulting Project: Collect files and copy to new location
Include Audio conform files
Destination: a folder in the Mac partition
The resulting project had a message popping up saying that AE rpject file is missing (it was, I had to manually copy and paste it from ithe win partition to the mac) and once copied obviously AE couldn't find the source video clips of its compositions, so I had to manually re-link them all (quite difficult job to do among almost two years of footage).
What have I done wrong ?
Why AE lose the connection with the fils?
ThanksThanks Jim,
I understand that Adobe Anywhere solves this, but there should be this fairly basic functionality (which exists in Avid and FCP) in a non-enterprise edition of the software. I have submitted a couple different feature requests about this, going back to CS5, so hopefully enough people make similar requests for a fix to be implemented. Adobe Anywhere is really not a solution for our small shop as currently configured/priced, especially when we can have editors working remotely with very affordable USB 3 drives. The only hangup is the markers, which just isn't worth a 5 figure fix. As such it's hard to consider the problem solved for either us or any small shop or post crew.
Best,
Jon -
How can I export a finished project from iMovie when the "share" function will not respond?
Hopefully someone might have an answer for me. I am trying to export a finished project to You Tube. However, when trying to choose the file, it does not show up in the finished project list. I have gone back to iMovie to see if I've made a mistake with finalizing it. It seems to be finalized, but I cannot share it to anything (You Tube, Facebook, iTunes). I click on share and it does not respond. I click on File, scroll down to share, it does nothing. Has anyone else had this problem? How did you reslove it?
I experienced the same problem as mreingrover. The Share features of iMovie appear to be completely unimplemented.
I had had MacKeeper installed for a short while on my previous Mac; never on my new MacBook Pro. I could not find any trace of it in Application Support, Launch Daemons, or LaunchAgents, in either my user Library or the root Library. But I figured maybe there was some trace somewhere that had been copied over from the old system, so I deleted iMovie and went to reinstall it from the App Store.
Now the App Store wants $14.95 for an app that has never worked right, and which is (I think) supposed to be free with my new MacBook Pro Retina. -
Cannot export or share project error (-50)??
I've made a 4 minutes 31 seconds video and tried to export and exporting through quicktime then this message occurred:
Unable to prepare project for publishing
The project could not be prepared for publishing because an error occurred. (-50)
I've even tried to share via itunes and youtube; still didn't work. I've made only 3 videos in the past and all of them were under 5 minutes long; there's never been any problem exporting or sharing, or even finalizing. I've checked the space on the system, there's still A LOT left. I'm using iMovie version 9.0.4
I did download the most up to date iMovie, however it said that my Mac OS X version is not supported. I'm all out of solutions here...Thanks Russ. Yes, the frame rate is different. I shoot in 720p 60 and for some reason the output of the smaller file was 29.97p. It Looks good, does it matter if I change the timeline to 29.97? Or should i just shoot in 720p30? I shoot a sports show and stream it on the web. All looks good, but I am trying to keep the file size down a bit, so the smaller bit rate seems to help. I am an old Betacam shooter and still confused by all of the different formats. Any insight will really help. www.northcoastgameoftheweek.com
Best.
Tom -
The subject line of this post pretty much explains everything.
I use a MacBook White from 2009 which I upgraded to Snow Leopard earlier this year. I use iMovie 8.0.6, have never upgraded to iLife '11 (iMovie 9.0).
I've never in these 3 years had a problem exporting videos to YouTube, I have 62 on there and just now have an issue. Every time I try to view a project full screen AND try to export a video iMovie crashes and shuts down fairly quickly (after about 20 seconds when attempting export).
Today I went to the Apple store about this, didn't get much resolution on it. They couldn't determine what was wrong. The attempted fix they were going to suggest I had already done (deleting the plist and restarting iMovie). And that fix didn't help. They checked my hard drive and it was fine.
Has anyone had this same problem? What did you do to fix it (if anything)?
One solution, which is what I'll probably do, is to buy and upgrade to iLife '11 (iMovie 9.0)... but without backing things up as I don't have an external hard drive and can't afford to buy one anytime soon (am unemployed). Where my videos are on YouTube may serve as my "backup" and "hard drive" (you can take videos form online, put them on your computer and into iMovie).
What do you suggest for fixing this? Is there another way to do it without upgrading to iMovie 9.0? What are your expriences with this issue?Turns out I'm going to have to BUY iLife '11 (from Best Buy) because the download version on Apple's site is for those with Lion only and I have Snow Leopard. This is becoming a major PAIN. Apple shoudl continue to offer its older products online at least (if not in their stores) rather than just dropping them completely.
-
IMovie on iOS 8 crashes whenever I try to export the video project to iTunes
I need to transfer several iMovie projects from iPad to iMac to free lots of disk space.
But whenever I atempt to export an iMovie project to iTunes, the iMovie iOS app crashes.
Is there any other way how to transfer the project file?I'm sorry, but it still doesn't work. I deleted all Apple software off my computer and redownleaded the latest version of iTunes, but when I tried to sign in I still got this error:
Source
iTunes
Summary
Stopped working
Date
1/11/2012 4:15 PM
Status
Report sent
Description
Faulting Application Path: C:\Program Files (x86)\iTunes\iTunes.exe
Problem signature
Problem Event Name: BEX
Application Name: iTunes.exe
Application Version: 10.5.2.11
Application Timestamp: 4ee0844d
Fault Module Name: MSVCR80.dll
Fault Module Version: 8.0.50727.6195
Fault Module Timestamp: 4dcddbf3
Exception Offset: 00026b72
Exception Code: c000000d
Exception Data: 00000000
OS Version: 6.1.7601.2.1.0.768.3
Locale ID: 1033
Additional Information 1: efd8
Additional Information 2: efd88cbfd00a9ce0b0d647b39da62ec8
Additional Information 3: 8aaa
Additional Information 4: 8aaa4df80c1c69cc54d9f7ecd1699852
Extra information about the problem
Bucket ID: 2632024235
Any suggestions? -
Resolution problems exporting to DVD
I am brand new to FCP 5 and everything I have learned has been within the past two weeks. I have read MANY posts on resolution settings, square pixels vs. retangular pixels, iDVD problems, exporting problems, etc. However I have not found an answer to my problem, but many helped.
I am currently trying to project video from a DVD. The projection needs to be an EXACT size. After exporting and viewing with projection in QT Fullscreen, the video is exactly what I want.
However, when I burn a DVD using iDVD and project it from a DVD player, the projection is slightly stretched horizontally. Why is that?
The sequence is originally from HD and the export settings are -
-Frame Size: 640x480 (4:3)
-Pixel Aspect Ratio: 1440x1080
-Exported using QT Conversion NO COMPRESSION
(There are many other combinations of frame size and pixel aspect ratio's that also work initially, but they project with the same problem.)
I had to have missed something.
ANY suggestions are greatly appreciated.
Eric
Power MAC G5 Mac OS X (10.4.7)The footage did come from an HDV from Sony.
I use QT Conversion because if I export it as an QT Movie, the video is distorted. However, when exported through Quicktime conversion/quicktime movie/no compression, the movie is exported in the correct dimensions, though the DVD play back issue still persists.
I am running off of iDVD v 5.0.1 and could not find a place where I could choose a 16:9 option, if that is what you meant.
The sequence does include a PSD mask which was imported as a Layered Graphic Sequence. That shouldn't have any impact on the burning issue though. -
Problems exporting video to AVI TYPE 1 format
Hello
I use the Final Cut Version ProHd for editing my videos but I'm having problems when exporting the final project.
The file is exported in the .mov format but I need it exported as AVI type 1 since it is going to be played in a PC.
If I export it as a regular AVI, it comes out without sound.
Anybody knows of a plugin that could solve my problem or another way to solve this situation?
Thanks
AlexBoxx Technologies
Windows 7
Premiere Pro CS6
Black Magic Capture
No Mercury Playback
CS6 is updated
I am running magic bullet and Tiffen DFX
Codec: On2 VP6
1920x1080 , 29.97 fps
Also after I hit export, the encoding window says "Not responding"......then it requires me to either wait or close the program. Thanks again for the help. -
Media encode CC2014.2 stops while exporting a premiere project
Hello everybody,
I have a huge problem with media encoder CC 2014.2.
Every time I want to export a premiere project, media encoder stops : "media encoder CC 2014.2 as encountered a problem and needs to close".
I reinstalled everything on a clean and new SSD but the problem is still the same.
My computer specs are :
Windows 8.1 pro
4770k
32Gb RAM ddr3
MB : asus z87 deluxe
780ti
SSD crucial 512Gb
Does somebody have encoutered that kind of bug ?
ThanxLast time I tried that, I was not even able to start encoding - receiving an error message from Adobe Media Encoder - which is what led someone in this forum to suggest to download and install WME, which worked then with the same edit of the project. Now I get all the process going on (with WME), no error message, but as explained : under Vista x64 the final output won't play, and under XP, it will but with no sound.
What's funny now is that I can encode with H.264 (with Adobe MEdia Encoder), it plays out of sync on my Quick Time, but once uploaded to You Tube, it is perfectly synchronized.
I read something on another forum about this syncing problem suggesting to downgrade Quick Time (which I haven't tried yet) - apparently a suggestion by Adobe.
Rob -
Missing Render Files / Problem Exporting Quicktime Movie
Everything was going great on my 21 minute project.
I had exported it to iDVD via a Quicktime movie and it looked great in widescreen format. It worked perfectly.
Now, for whatever reason, when I load my project, I get a message saying the Render Files are missing. I am unable to locate them anywhere. I had them stored along with my project on an external firewire 400 drive.
So I press "continue" without finding the missing files.
Now when I export my movie, it appears 4:3 with gray vertical bars on the side!
When I view the project on the canvas, it looks perfect as 16:9. Everything looks normal in FCE.
Did a render file get corrupted or something? Is there a way to delete all the "old" render files and tell Final Cut Express to re-render my entire new project? Would that solve my problem?
Any help is greatly appreciated!I did what you said and the "exported" file says:
Kind: Final Cut Express Movie File
Under More Info it says:
720x480 Integer (Little Indian) Timecode
Total Bit Rate: 30,313
Why am I trying to export?
Before I ran into trouble, I would export my FCE project using the Export Quicktime Movie command.
I then used iDVD (set to 16:9) to burn to DVD.
It worked perfectly before.
But now, all of a sudden, the same project always shows up at 4:3, whether played in Quicktime or when burned to DVD using iDVD set to 16:9.
The version of FCE is 4.0 and the version of Quicktime is 7.4.5
Thank you again for trying to help me! -
Motion is constantly crashing when exporting a huge project
Hi Folks,
I just started with Motion a few weeks ago.
After making a lot of rookie mistakes, I think I got the basics now.
Motion opened up a new world of working with videos for me.
But I reached a point, where playing around does not help any more.
I need some advise from a skilled Motion designer.
My question:
Generally - What are the limits of a Motion 4 project regarding size and complexity and how I can expand it.
In particular - How can I produce a video of my really big motion project.
My small problem:
When working in Motion, I have to watch the memory usage (I use "istat menus" for this).
When memory becomes almost used up, I save the project then close and re-open Motion.
In the meantime, I have a detailed knowledge of the actions that I should avoid to maximize
the time between the close & re-open actions.
This helps reducing Motion crashes. I think Motion has a bug with memory handling somehow.
Although working with Motion this way is exhausting, this is only my small problem.
My big problem:
Motion does not export (render) my project. I don't mind waiting 24 hours for the result, but there is no result.
Motion 4 always crashes after some time. Typically after 4 to 5 hours. The whole computer gets stuck,
the only thing I can do is recycle power. I can not show the result of my work. All I can do is blame "the software".
For this I need a solution, and I need it ASAP!
What I did so far:
I tried everything. Really…
I do not run any other software parallel with Motion. No Mail, no Safari, no nothing -> this helps a lot while editing !
Disabling render options motion blur, shadows, reflections and DOF helped in the beginning when the project was not finished.
Reducing quality helped in the beginning but I did not tried it again because the results are unusable.
Trashing preferences with "option-CMD Park+Ride" did not help.
Deleting the preference file did help making the software more responsive. Almost no beachballs after that.
Repairing permissions…. Checking filesystem… playing with preferences… nothing helped.
Then I was at a point, where I was mentally prepared for the ultimate step:
I wiped the hard-drive and installed Snow Leopard and FCP from the original DVDs.
Did not help. (BTW this takes a whole working day and half of the night).
Of course, I always apply the latest updates and patches.
Last night, I ordered a new iMAC (27", Quadcore, 8GB Ram) to be sure it is not a hardware defect.
Unfortunately its ETA is 2 weeks.
The machine I am actually using: 24" iMac 3,06MHz core2 duo with 4GB of RAM and GT130.
About my project:
length: 42 seconds
Format: 720p50
Contents: approximately 10 greenscreen videoclips 720p50 ( 10 to 20 seconds long) with Primate RT filter, 100 images (PDF), 500 rectangles.
Camera: one camera with 8 non-overlapping framing behaviors.
plugins: some filters from noise industries and FxFactory. No dubious untested 3-rd party plugins.
Untested ideas:
- Output parts of the project and assemble them in final cut. (I got this idea 1 second ago while writing this post). Anyone tried this?
- Single-stepping through the project and capturing a screenshot of every single frame (42*50 = 2100 oh my god!) Maybe by using a macro?
- Using a new computer with faster graphic-board and more RAM. As far as I know, Motion is a 32bit application and can not address more than 4 GByte of RAM. Also it will not use more than one CPU core. Will it help anyway?
- Installing some secret Pro-App beta-patches to fix Motion. Are there any? If so, how to get them?
- Searching for some hidden file that lists the filter, action or object that caused the last crash. Maybe I only have to rearrange or remove something to make it work perfectly.
Anyone out there who has experience with complex Motion-projects ?
Byebye and Tschüß
ManfredI gave it a try and replaced all *.pdf files by *.psd or *.jpg files, keyed all video clips outside of Motion and replaced the original footage with the assigned keyers, despillers and color-correctors by ready-to-use ProRes4444 files. If this changed anything, then it was very subtle. Without "shadow", "reflections" and "depth of field" applied, I can export the project. This takes 40 minutes or so.
With this three things checked, Motion crashes (see below). The final export also needs to have lights enabled and maybe motion blur.
My big hope is, that the 27" iMac can handle it because of its 8GB Ram and the 4870 Graphics (arrives on Feb,10 thumbs up). The iMac I am using now has only GT130 and 4GB Ram, maybe this is too weak? Otherwise I have to split the project into pieces an assemble them in final cut. There are no cuts, the whole thing is one flow which makes this idea difficult.
Here the latest crash report (although I dont think it makes any sense to anyone but hope dies last):
Process: Motion [436]
Path: /Applications/Motion.app/Contents/MacOS/Motion
Identifier: com.apple.motion
Version: 4.0.1 (698)
Build Info: Motion-6980000~14
Code Type: X86 (Native)
Parent Process: launchd [125]
Date/Time: 2010-01-27 00:00:36.955 +0100
OS Version: Mac OS X 10.6.2 (10C540)
Report Version: 6
Interval Since Last Report: 373471 sec
Crashes Since Last Report: 5
Per-App Interval Since Last Report: 58356 sec
Per-App Crashes Since Last Report: 3
Anonymous UUID: 0F1AA23E-656B-43EC-B8C6-F16DBE334461
Exception Type: EXCBADACCESS (SIGBUS)
Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 com.apple.CoreFoundation 0x900b4413 CFQSortArray + 259
1 com.apple.CoreFoundation 0x900c77ec __CFRunLoopDoObservers + 1020
2 com.apple.CoreFoundation 0x900843e2 __CFRunLoopRun + 1154
3 com.apple.CoreFoundation 0x90083864 CFRunLoopRunSpecific + 452
4 com.apple.CoreFoundation 0x90083691 CFRunLoopRunInMode + 97
5 com.apple.HIToolbox 0x9030ef0c RunCurrentEventLoopInMode + 392
6 com.apple.HIToolbox 0x9030ecc3 ReceiveNextEventCommon + 354
7 com.apple.HIToolbox 0x9030eb48 BlockUntilNextEventMatchingListInMode + 81
8 com.apple.AppKit 0x96a7aac5 _DPSNextEvent + 847
9 com.apple.AppKit 0x96a7a306 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
10 com.apple.AppKit 0x96cf1335 -[NSApplication _realDoModalLoop:peek:] + 720
11 com.apple.AppKit 0x96cf0ab1 -[NSApplication runModalForWindow:] + 273
12 com.apple.ozone.framework 0x00a4b21e -[OZExportProgressController openDialog:withTitle:windowTitle:withDoneMsg:startFrame:lastFrame:] + 366
13 com.apple.ozone.framework 0x00a49660 -[OZExportManager initRender:nodeIndex:range:] + 1088
14 com.apple.ozone.framework 0x00a43ef3 -[OZExportManager initRender:] + 275
15 com.apple.ozone.framework 0x00a3d400 -[OZExportController _exportDidEnd:returnCode:contextInfo:] + 416
16 com.apple.AppKit 0x96f839f6 -[NSSavePanel _didEndSheet:returnCode:contextInfo:] + 295
... many lines removed here ....
Model: iMac9,1, BootROM IM91.008D.B08, 2 processors, Intel Core 2 Duo, 3.06 GHz, 4 GB, SMC 1.45f0
Graphics: NVIDIA GeForce GT 130, NVIDIA GeForce GT 130, PCIe, 512 MB
Memory Module: global_name
AirPort: spairportwireless_card_type_airportextreme (0x14E4, 0x8E), Broadcom BCM43xx 1.0 (5.10.91.26)
Bluetooth: Version 2.2.4f3, 2 service, 1 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: WDC WD1001FALS-40K1B0, 931,51 GB
Serial ATA Device: OPTIARC DVD RW AD-5670S
USB Device: USB2.0 Hub, 0x05e3 (Genesys Logic, Inc.), 0x0608, 0x24100000
USB Device: Composite Device, 0x1604, 0x8007, 0x24140000
USB Device: USB2.0 Hub, 0x05e3 (Genesys Logic, Inc.), 0x0608, 0x24130000
USB Device: Built-in iSight, 0x05ac (Apple Inc.), 0x8502, 0x24400000
USB Device: IR Receiver, 0x05ac (Apple Inc.), 0x8242, 0x04500000
USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x06100000
USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8215, 0x06110000
FireWire Device: d2 quadra (button), LaCie, Up to 800 Mb/sec
FireWire Device: d2 quadra (button), LaCie, Up to 800 Mb/sec
FireWire Device: d2 quadra (button), LaCie, Up to 800 Mb/sec
FireWire Device: d2 quadra (button), LaCie, Up to 800 Mb/sec -
CR4Ev2 problem exporting to PDF containing Turkish characters
I know there are other threads with similar topics but I also know some people get irritated when people jump onto their threads with their own problems.
I am using CR4Ev2 and on my machine which I have installed Eclipse on I have no problems
exporting my reports to PDF, I have Turkish characters which display perfectly (they did not with
CR4Ev1 so thanks so much for that)
I have now exported my project as a WAR file and am trying to run it on another machine with the same
Tomcat and Java versions.
If I view the report via the CrystalReport Viewer the Turkish characters display with no hassel.
But if I try export the report to PDF all the Turksh characters now display as ?, (as they did in CR4Ev1)
Am I missing something, is there something that I am not including in my project that I need
when exporting the PDF.
I have installed Adobe Reader 9 on this new machine incase the Turkish langauge fonts were not in
my version 8, but still get funny ? characters, I even installed the Turksih version of Adobe 9 and still nothing. Is there some other files that I could have installed on my Eclipse machine that I have not installed
on the second machine.
I have tried both the following commands to export to PDF
CRJavaHelper.exportPDF(clientDoc, response, true);
and
CRJavaHelper.exportPDF(clientDoc, response, false);
both dont work.
I have also tried the following (which I used before with CR4Ev1)
ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream)clientDoc.getPrintOutputController().export(ReportExportFormat.PDF);
writeToFileSystem(byteArrayInputStream, EXPORT_OUTPUT); // EXPORT_OUTPUT = "c:\test.pdf"
private void writeToFileSystem(ByteArrayInputStream byteArrayInputStream, String exportFile) throws Exception {
//Use the Java I/O libraries to write the exported content to the file system.
byte byteArray[] = new byte[byteArrayInputStream.available()];
//Create a new file that will contain the exported result.
File file = new File(exportFile);
FileOutputStream fileOutputStream = new FileOutputStream(file);
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(byteArrayInputStream.available());
int x = byteArrayInputStream.read(byteArray, 0, byteArrayInputStream.available());
byteArrayOutputStream.write(byteArray, 0, x);
byteArrayOutputStream.writeTo(fileOutputStream);
//Close streams.
byteArrayInputStream.close();
byteArrayOutputStream.close();
fileOutputStream.close();
But that also does not work.
Please can someone tell me what they think I am missing.
Oh, another note with the CRJavaHelper.exportPDF(clientDoc, response, false); command
It does work but I do get the following error in my console (both the Eclipse machine and the new one).
org.apache.jasper.JasperException: java.lang.IllegalStateException: getOutputStream() has already been called for this response
06-Feb-2009 15:06:52 org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.IllegalStateException: getOutputStream() has already been called for this response
at org.apache.catalina.connector.Response.getWriter(Response.java:610)
at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:198)
at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:125)
at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:118)
at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:188)
at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:118)
at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:77)
at org.apache.jsp.Report_002dviewer_jsp._jspService(Report_002dviewer_jsp.java:263)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
But as I said it seems to work fine apart from the Turkish character issue on the new machine)
Is this part of the problem or a seperate issue??
Thanks all for looking at this.
DarrenTed,
I have double checked the Java version and infact reinstalled jdk6u7 (multilanguage version) just to be
100% sure, but that did not help.
ON my Eclipse machine the Fonts are as follows
Verdana(Embedded Subset)
Type: TrueType
Encoding: Built-In
but on the other machine it is different
Verdana
Type: TrueType
Encoding: Ansi
Actual Font: Verdana
Actual Font Type: TrueType
So that does appear to be the problem, but the question is what controls this?
As I said the project is exactly the same (same WAR file) so what I have done differently or what am I
missing in the new enviroment.
I set the "Text file encoding" for the whole project to UTF-8 before I exported the project (in Eclipse)
but that didnt help. I even set the properties of each report to UTF-8.
I am sure I am missing something simple.
The only other difference is Im running XP Pro on Eclipse machine but W2KSP4 on the other, but
surely that is not the issue.
Cheers
Darren
Maybe you are looking for
-
HT5449 speech to text capability on macbook pro
I have a macbook pro with 10.7.5 Is there any way I can get the dictation and speech capability of 10.8?
-
Conversation view in mail broken
Since updating to 10.9.2, conversation view in mail appears to be broken. Conversations now include random emails with no apparent association. This is in addition to ongoign problems of disapearing gmail emails. Anys solutions?
-
Do I login and rename the product as mine?
-
HT1711 Downloaded an album today, it will not play.what can I do?
Help with an album that will not play please
-
Problems regarding XL Reporter
HELLO SIR, M using XLReporter in sap b1, xl report appears in Main menu of b1 but not execute d report and it shows the error. "Security settings in Microsoft Excel prohibit XL Reporter running". so please tell me how to solve d proble