Create a .ps file, by printing to file.
$ psbook input.ps output.ps
$ evince output.ps ( or convert to pdf, using $ ps2pdf output.ps)
Print, 2 pages to a side, duplex, short edge binding.
Monday, 25 May 2009
Monday, 18 May 2009
Mounting windows shares with smbfs
http://www.justlinux.com/nhf/Filesystems/Mounting_smbfs_Shares_Permanently.html
worked. Attempts with cifs failed.
worked. Attempts with cifs failed.
Tuesday, 12 May 2009
***ERROR*** IN D55025 MERGING COUPLING MATRIX
***ERROR*** IN D55025 MERGING COUPLING MATRIX
ROW CANNOT BE FOUND FOR FREEDOM 1711
AT NODE 1417 FACE -1417. -1416. -734.0
THE FLUID FREEDOMS CURRENTLY MERGED IN ARE
452.0 0.000 0.000 0.000 0.000
0.000 0.000 445.0 0.000 446.0
447.0 0.000 0.000 0.000 0.000
Occurred when changing a frontal.sinusoidal job, to natural frequencies.
I forgot to include COUPLED.ACOUSTICS in the control module. This was
an acoustics + structure + pzt job.
ROW CANNOT BE FOUND FOR FREEDOM 1711
AT NODE 1417 FACE -1417. -1416. -734.0
THE FLUID FREEDOMS CURRENTLY MERGED IN ARE
452.0 0.000 0.000 0.000 0.000
0.000 0.000 445.0 0.000 446.0
447.0 0.000 0.000 0.000 0.000
Occurred when changing a frontal.sinusoidal job, to natural frequencies.
I forgot to include COUPLED.ACOUSTICS in the control module. This was
an acoustics + structure + pzt job.
Monday, 11 May 2009
Wednesday, 6 May 2009
***ERROR*** IN S60001
***ERROR*** IN S60001
NO RESULTS ARE REQUESTED FOR STORAGE
IN FRONTAL.TRANSIENT ANALYSIS
I added a little to the response module:
RESPONSE
TYPE TIME.STEP FINISH.TIME OUTPUT.TYPE LIST.OF.NODES.AND.DIRECTIONS
2 7E-7 6E-5 123 <'rsn1'> 2
The List of nodes and directions needed filling in.
Note: No masters should be present in a FRONTAL.TRANSIENT job. Also,
removal of LINKS.FOR.DYNAMICS enabled the solution to complete; otherwise, it fell over after many steps in phase 7.
NO RESULTS ARE REQUESTED FOR STORAGE
IN FRONTAL.TRANSIENT ANALYSIS
I added a little to the response module:
RESPONSE
TYPE TIME.STEP FINISH.TIME OUTPUT.TYPE LIST.OF.NODES.AND.DIRECTIONS
2 7E-7 6E-5 123 <'rsn1'> 2
The List of nodes and directions needed filling in.
Note: No masters should be present in a FRONTAL.TRANSIENT job. Also,
removal of LINKS.FOR.DYNAMICS enabled the solution to complete; otherwise, it fell over after many steps in phase 7.
Tuesday, 5 May 2009
Accessing pressure results in PAFEC
Can't convince PAFEC to export pressure at a node? Is it failing in Phase 4, complaining that a node isn't structural and so can't be included in SINUSOIDAL.OUTPUT?
Remove the SINUSOIDAL.OUTPUT module altogether. Results at all nodes will be printed in phase 7.
Cheers Patrick!
Remove the SINUSOIDAL.OUTPUT module altogether. Results at all nodes will be printed in phase 7.
Cheers Patrick!
Sunday, 3 May 2009
.flv playback, ubuntu
First, try gxine. If that fails.....
From http://ubuntuforums.org/showthread.php?t=484750
How to enable lame for FFMPEG (needed to encode FLV with sound)
KINO FLVs silent? You need to recompile FFMPEG with LAME enabled. FFMPEG can be installed via apt-get as a package, but is not able encode MP3, which is the audio stream in FLV video (like Google & YouTube).
* Ensure Ubuntu Universe repository is selected #How to add extra repositories
* Download and install lame liblame-dev and gcc packages (mp3 encoder + GNU compiler collection)
sudo apt-get build-dep ffmpeg
sudo apt-get install liblame-dev libfaad2-dev libfaac-dev libxvidcore4-dev liba52-0.7.4 \
liba52-0.7.4-dev libx264-dev libdts-dev libgsm1-dev libvorbis-dev libdc1394-13-dev \
checkinstall build-essential gcc
libfaac didnt work for me.
* Download and extract FFMPEG source to current working directory
cd /usr/local/src
sudo apt-get source ffmpeg
* Compile FFMPEG from source
cd ffmpeg-*
NOT THIS ONE:
sudo ./configure --enable-gpl --enable-pp --enable-vorbis --enable-libogg \
--enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug \
--enable-mp3lame --enable-faad --enable-faac --enable-xvid --enable-pthreads \
--enable-x264
THIS ONE, without faad
maybe try instead =
sudo ./configure --enable-gpl --enable-pp --enable-libvorbis --enable-libogg \
--enable-liba52 --enable-libdts --enable-dc1394 --enable-libgsm --disable-debug \
--enable-libmp3lame --enable-libfaad --enable-libfaac --enable-xvid --enable-pthreads \
--enable-x264
sudo make
sudo checkinstall [accept defaults, set version to 3:0.cvs20060823-3.1ubuntu2]
If during the make it dies at 'x264.c:147: error: `struct` has no member name `i_rf_constant` you need to do the following. Open libavcodec/x264.c and goto line 147. Change 'i_rf_constant' to 'f_rf_constant' and retry.
If an application you are using employs FFMPEG to encode FLV, it should now work properly. You can also call FFMPEG directly from the command line. The extension/suffix of the outfile tells FFMPEG which audio or video format to encode to.
ffmpeg [-i infile] [outfile]
Then, i removed xine-ui, downloaded the xine core stuff, ./configured, added an LD_LIBRARY_PATH
to .bashrc (as suggested at the end of the ./configure)
Added include /usr/local/lib to ld.so.conf
sudo make install
sudo ldconfig
wget http://prdownloads.sourceforge.net/xine/xine-ui-0.99.5.tar.gz
tar xzf xine-ui
cd xine-ui
./configure
sudo make install
then i couldnt run it, so bottled the process with:
sudo apt-get install xine-ui
and still, no .flv playback, ffs
and then, somehow, gxine worked! Odd.
From http://ubuntuforums.org/showthread.php?t=484750
How to enable lame for FFMPEG (needed to encode FLV with sound)
KINO FLVs silent? You need to recompile FFMPEG with LAME enabled. FFMPEG can be installed via apt-get as a package, but is not able encode MP3, which is the audio stream in FLV video (like Google & YouTube).
* Ensure Ubuntu Universe repository is selected #How to add extra repositories
* Download and install lame liblame-dev and gcc packages (mp3 encoder + GNU compiler collection)
sudo apt-get build-dep ffmpeg
sudo apt-get install liblame-dev libfaad2-dev libfaac-dev libxvidcore4-dev liba52-0.7.4 \
liba52-0.7.4-dev libx264-dev libdts-dev libgsm1-dev libvorbis-dev libdc1394-13-dev \
checkinstall build-essential gcc
libfaac didnt work for me.
* Download and extract FFMPEG source to current working directory
cd /usr/local/src
sudo apt-get source ffmpeg
* Compile FFMPEG from source
cd ffmpeg-*
NOT THIS ONE:
sudo ./configure --enable-gpl --enable-pp --enable-vorbis --enable-libogg \
--enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug \
--enable-mp3lame --enable-faad --enable-faac --enable-xvid --enable-pthreads \
--enable-x264
THIS ONE, without faad
maybe try instead =
sudo ./configure --enable-gpl --enable-pp --enable-libvorbis --enable-libogg \
--enable-liba52 --enable-libdts --enable-dc1394 --enable-libgsm --disable-debug \
--enable-libmp3lame --enable-libfaad --enable-libfaac --enable-xvid --enable-pthreads \
--enable-x264
sudo make
sudo checkinstall [accept defaults, set version to 3:0.cvs20060823-3.1ubuntu2]
If during the make it dies at 'x264.c:147: error: `struct
If an application you are using employs FFMPEG to encode FLV, it should now work properly. You can also call FFMPEG directly from the command line. The extension/suffix of the outfile tells FFMPEG which audio or video format to encode to.
ffmpeg [-i infile] [outfile]
Then, i removed xine-ui, downloaded the xine core stuff, ./configured, added an LD_LIBRARY_PATH
to .bashrc (as suggested at the end of the ./configure)
Added include /usr/local/lib to ld.so.conf
sudo make install
sudo ldconfig
wget http://prdownloads.sourceforge.net/xine/xine-ui-0.99.5.tar.gz
tar xzf xine-ui
cd xine-ui
./configure
sudo make install
then i couldnt run it, so bottled the process with:
sudo apt-get install xine-ui
and still, no .flv playback, ffs
and then, somehow, gxine worked! Odd.
Subscribe to:
Posts (Atom)