Outputting to tape - setting the right audio level on the camera?
Hey there,
I'm using FCP 4.5 on OS 10.4 on a 1.8gHZ Powermac.
I'm recording a mini-DV tape to be played in a theatre. I think I'm setting the reference tone to around 18dbs. However, I'm outputting the tape through a consumer camera.
My question is, do I have to worry about setting the audio levels on the camera to reflect the reference tone of the sequence (ie the basic sound level of the sequence)? I'm not sure the camera even has that function - is it more something that needs attention on a pro deck?
Any advice here would be much appreciated!
Best
Richard O'Sullivan
UK
In your scenario, the only thing you have to worry about during recording is that your audio level is below 0 dB (-12 dB is always a good level). Anything above 0 dB is pretty much unusable.
If in doubt, its always better to record softer than louder.
-Alexi
Similar Messages
-
The right audio channel is no longer heard after effect assignment in the timeline
Sorry, but my English is not so good, but I try to explain the problem:
Once I clip any one assigns an effect in the timeline, works when playing only the left audio channel channel. Once I pull the clip from the timeline into the project window again, then works again the left and the right channel. How do I get the right audio channel in the interface window active again?When I look at the properties of the file in QuickTime, here's what it shows:
DV/DVCPRO - NTSC, 720 x 480 (640 x 480)
Linear PCM, 16 bit little-endian signed integer, 32000 Hz, Left
Linear PCM, 16 bit little-endian signed integer, 32000 Hz, Unused
Linear PCM, 16 bit little-endian signed integer, 32000 Hz, Unused
Linear PCM, 16 bit little-endian signed integer, 32000 Hz, Unused
Why it's telling me the other 3 channels are unused, I have no idea. They certainly are getting used. The footage was shot in stereo and Final Cut plays it in stereo.
Here's what VLC says about the very same file:
Stream 0:
Type: Audio
Codec:PCM S16 LE (sowt)
Channels: Mono
Sample Rate: 32000 Hz
Bits per sample: 16
Stream 1:
Type: Audio
Codec:PCM S16 LE (sowt)
Channels: 1
Sample Rate: 32000 Hz
Bitrate: 512 kb/s
Stream 2:
Type: Audio
Codec:PCM S16 LE (sowt)
Channels: 1
Sample Rate: 32000 Hz
Bitrate: 512 kb/s
Stream 3:
Type: Audio
Codec:PCM S16 LE (sowt)
Channels: 1
Sample Rate: 32000 Hz
Bitrate: 512 kb/s
Stream 4:
Type: Video
Codec: (DV Video (dvc)
Resolution: 720 x 480
Frame Rate: 29.970030
Decoded Format: Planar 4:1:1 YUV -
How can I convert the download.m4a and Info.plist into the right audio file
The topic is actually the problem that I have.
I have bought music and it was downloaded successful (all of it) but iTunes had a strange freeze while converting the files into the right audio file. Some files were converted but after the freeze no more.
I'm now left with these .tmp folders in the downloads folder which have the download.m4a and Info.plist files.
My iTunes is able to play these download.m4a files, but they show no information and covers and this is really annoying. I could write and change it all by myself, but than I would still miss some information (and covers).
Is there any way for me to convert or combine these files?
Note: I'm not able to restart any downloads, because they were successful.Hello ed2345,
Thanks for the help, but this is not the problem.
It's hard to describe the problem, but I'll try it again, this time with pictures.
I was left with the following folders in the iTunes Downloads folder.
http://www.picfront.org/d/7yb3
These TMP Folders have a download.m4a and a Info.plist file.
After moving the audio files in iTunes a bit I get this.
http://www.picfront.org/d/7yb2
As you can see no other Information for the download.m4a than the length.
That's how the .m4p file looks like
http://www.picfront.org/d/7yb1
And this is how the same .m4a file currently looks
http://www.picfront.org/d/7yb0
Like I said, I could edit all these download.m4a files by myself but that would leave some information out.
Note: Sorry, I hope the links do not spam you with annoying ads. I don't get any but I was told that there can be some annoying one. -
Setting the property "Cache Level" of the pcd object to "None".
Hi all
I have an EP 6.0 on NW04 SPS 17. I need to solve a problem and found note 960975. My question is, how could we change the setting the property "Cache Level" of the pcd object to "None"? Where should I go? Is it on the NWA, Visual Admin, Configtool or somewhere else?
Many thanks before.
Regards
Agoes
Message was edited by:
Agoes Boedi PoerwantoHi Agoes,
By using the tool Support Desk -> Portal Content Directory -> PCD Administration you can do this. Please note that this tool should only be used in debugging situations.
There is a new section "Release a Unit from the cache cluster wide" in this tool. With this new functionality, you can remove an object from the cache on all nodes in the cluster. If the object is still in use, it will be reread immediately from the database
Releasing the entire PCD cache can severely affect performance. Hence, if there are inconsistencies suspected with a single object, e.g. a role or an iview, the new section "Release a Unit from the cache cluster wide" can be used to evict the given object from the cache on all nodes in the cluster.
Cheers,
shyam -
Audio levels different from camera to Premiere Pro
Why is it that the audio levels on the camera can show the subject peaking right above -10dB, but when I bring the clips into Premiere, they are below -12dB and I always have to boost them?
Just to test this, I cranked up the volume on our camera's inputs to the point where it was clipping. When I took this clip into Premiere it still wasn't hitting 0dB. It was peaking into the yellow, even though the clip was completely distorted because of the clipping coming into the camera.
Is there a way to calibrate either Premiere Pro or our camera so that they match, so when you are peaking at -6dB on the camera, it's the same in Premiere Pro?
I know the solution probably involves a tone generator being used with the camera, which we have, but I'm not exactly sure what to do.>I cranked up the volume on our camera's inputs to the point where it was clipping. When I took this clip into Premiere it still wasn't hitting 0dB. It was peaking into the yellow, even though the clip was completely distorted because of the clipping coming into the camera.
What I think is you have run into is definitions of the dB. One has dBm and dBV in the electrical world, among a lot of others (for example sound pressure/power and different types like dBA, dBC, and so on within sound levels).
Anyway, to make this not to be a too deep lesson in deciBel (dB), it seem like your cameras define 0dB to be something different than what Premiere defines it to be. The dB presentation (what the display shows) is a logarithmic number depending on a reference level, meaning in this case, if the voltage (sound turned into electricity) hits for example 1 Vrms then we'll call that 0dB (which is probably what Premiere does, and maybe your camera uses 0,775 Vrms as 0dB reference).
Clear as mud so far, right, just wait for the following. Just kidding, but look up decibel in google, and you'll find a pretty complex world.
Bottom line:
I don't think you can get the dB levels in Premiere and your cameras to match, unless your cameras have a setting that defines the 0dB level. The best you can do, in my opinion, is to learn the difference and go from there as you have ("I always have to boost them"). But, also remember that if you do some audio stuff in Premiere that you want to record back onto tape, you'll have to go the other way, lessen the audio level.
Reference levels made by a tone generator is a fine way to learn the differences.
Dag
EDIT: Allthough it probably is a definition question, just never let your camera go over 0dB. As you have noticed, it will be distorted sound. The electric circuits on your camera won't handle over 0dB well. -
In pages, when I get to the end of a line, the text refuses to start again in the left, it continues on the right and goes down the page, anyone know a solution?
Does this occur in all of your Pages documents? Are you certain that you haven't formatted the type to run flush right? (Align right I mean - sorry old typographer lingo). Look at the ruler at the top and check the Align setting.
Have you tried quitting Pages completely and the restart the iPad?
Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of your recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Restart the iPad.
Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button. -
Imprumut = loan
I have 6 tables:
I have one combobox(from where I select utilizatori(users)) and 2 CheckedListBox(Between first box and second box I have 2 buttons:imprumuta(loan) and restituie(return))
This c# code works just for first user: Utilizator, but something's not good. When I add new utilizator(user) and select it, the loan will be add in my SQL DataBase, but... the book who I selected doesn't move to the right in CheckedListBox and the reason
is that I can't make an return
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MySql.Data.MySqlClient;
namespace proiect
public partial class Imprumut : Form
MySqlConnection con = new MySqlConnection("DataSource=localhost;UserID=root;database=biblio1");
//stabilim conexiunea
MySqlCommand comUser;//interogarea pe baza careia umplem comboBox
MySqlDataAdapter adaptu;
DataTable userT = new DataTable();
MySqlCommand cmdCarti;//interogarea pe baza careia umplem checkListBox
MySqlDataAdapter adaptCarti;
DataTable CartiTabel = new DataTable();
MySqlCommand cmdCartiImprumutate;//interogarea pe baza careia umplem checkListBox
MySqlDataAdapter adaptCartiImprumutate;
DataTable CartiImprumutateTabel = new DataTable();
public int UserId
get
return Convert.ToInt32(user.SelectedValue.ToString());
void Completez_Combo_User()
try
comUser = new MySqlCommand("SELECT n.userid, CONCAT(n.UserName) as UserN FROM users n left join userroles us on n.userid=us.userid left join roles r on r.roleid=us.roleid WHERE r.roleid='3'",
con);
adaptu = new MySqlDataAdapter(comUser);
adaptu.Fill(userT);
user.Items.Clear();
user.DataSource = userT;
//DataTable din care sunt preluate datele pentru ComboBox user
user.ValueMember = "UserID";
//Valoarea din coloana UserID nu se afiseaza in combobox
user.DisplayMember = "UserN";
//Eelementele afisate in combobox, preluate din concatenarea mai multor coloane
catch (Exception ex)
MessageBox.Show(ex.Message);
void Completez_CheckList_Carti()
try
cmdCarti = new MySqlCommand("SELECT BookID, CONCAT(title, ' ', ISBN,' ',author)as date_carte FROM books WHERE NumberLeft > 0 ORDER BY BookID", con);
adaptCarti = new MySqlDataAdapter(cmdCarti);
adaptCarti.Fill(CartiTabel);
imp.Items.Clear();
//carti.DataSource=null;
imp.DataSource = CartiTabel;
//DataTable din care sunt preluate datele pentru ComboBox carte
imp.ValueMember = "BookID";
//Valoarea din coloana BookID nu se afiseaza in combobox
imp.DisplayMember = "date_carte";
//Eelementele afisate in combobox, preluate din concatenarea mai multor coloane
catch (Exception ex)
MessageBox.Show(ex.Message);
void Completez_CheckList_Cartires()
try
cmdCartiImprumutate = new MySqlCommand(string.Format("SELECT b.BookID, CONCAT(title, ' ', ISBN,' ',author) as date_carte FROM books b inner join userbooks ub on ub.bookid = b.bookid
WHERE ub.userid = {0} ORDER BY BookID", UserId), con);
adaptCartiImprumutate = new MySqlDataAdapter(cmdCartiImprumutate);
adaptCartiImprumutate.Fill(CartiImprumutateTabel);
res.Items.Clear();
//carti.DataSource=null;
res.DataSource = CartiImprumutateTabel;
//DataTable din care sunt preluate datele pentru ComboBox carte
res.ValueMember = "BookID";
//Valoarea din coloana BookID nu se afiseaza in combobox
res.DisplayMember = "date_carte";
//Eelementele afisate in combobox, preluate din concatenarea mai multor coloane
catch (Exception ex)
MessageBox.Show(ex.Message);
void Inregistrez_imprumut_in_BD()
int useridu = Convert.ToInt32(user.SelectedValue.ToString()); //useridu = id book
int bookidi;
try
DateTime azi = System.DateTime.Now; // Data imprumutului
DateTime atunci = termenul.Value; // Data restituirii
MySqlTransaction tranzactie = con.BeginTransaction();
MySqlCommand adaugImpr = new MySqlCommand("INSERT INTO bookshistory(UserID, BookID,BorrowDate) VALUES(@UserID, @BookID, CAST(@BorrowDate as datetime))", con);
MySqlCommand scadCarti = new MySqlCommand("UPDATE books SET numberleft=numberleft-1 WHERE bookid=@bookid", con);
MySqlCommand adauga_userbooks = new MySqlCommand("INSERT INTO userbooks(userId,bookID)VALUES(@userID,@bookID)", con);
adauga_userbooks.Transaction = tranzactie;
adaugImpr.Transaction = tranzactie;
scadCarti.Transaction = tranzactie;
try
foreach (int i in imp.CheckedIndices)
imp.SelectedIndex = i;
bookidi = Convert.ToInt32(imp.SelectedValue.ToString());
MessageBox.Show(bookidi.ToString());
//bookidi va fi id-ul cartea bifata, pe rand din checklistBox
//Inregistrez in tabela imprumut
adaugImpr.Parameters.AddWithValue("@UserID", useridu);
adaugImpr.Parameters.AddWithValue("@BookID", bookidi);
adaugImpr.Parameters.AddWithValue("@BorrowDate", azi);
adaugImpr.ExecuteNonQuery();
adaugImpr.Parameters.Clear();
adauga_userbooks.Parameters.AddWithValue("@userID", useridu);
adauga_userbooks.Parameters.AddWithValue("@bookID", bookidi);
adauga_userbooks.ExecuteNonQuery();
adauga_userbooks.Parameters.Clear();
//Scad numarl de carti disponibile pentru cartea imprumutat
scadCarti.Parameters.AddWithValue("@bookid", bookidi);
scadCarti.ExecuteNonQuery();
scadCarti.Parameters.Clear();
tranzactie.Commit();
catch (Exception ex)
tranzactie.Rollback();
string message = ex.Message;
if (ex.Message.ToLower().Contains("duplicate entry"))
message = "Una dintre carti mai exista deja";
MessageBox.Show(message);
catch (Exception ex)
MessageBox.Show(ex.Message);
void Inregistrez_restituire_in_BD()
int useridu = Convert.ToInt32(user.SelectedValue.ToString()); //useridu = id book
int bookidi;
try
DateTime azi = System.DateTime.Now; // Data imprumutului
DateTime atunci = termenul.Value; // Data restituirii
MySqlTransaction tranzactie = con.BeginTransaction();
MySqlCommand modificIstoric = new MySqlCommand("UPDATE bookshistory SET returndate = @returnDate WHERE userID = @userID AND bookID = @bookID", con);
MySqlCommand adaugCarti = new MySqlCommand("UPDATE books SET numberleft = numberleft + 1 WHERE bookID = @bookID", con);
MySqlCommand sterge_userbooks = new MySqlCommand("DELETE FROM userbooks WHERE userID = @userID AND bookID = @bookID", con);
sterge_userbooks.Transaction = tranzactie;
modificIstoric.Transaction = tranzactie;
adaugCarti.Transaction = tranzactie;
try
foreach (int i in res.CheckedIndices)
res.SelectedIndex = i;
bookidi = Convert.ToInt32(res.SelectedValue.ToString());
MessageBox.Show(bookidi.ToString());
//bookidi va fi id-ul cartea bifata, pe rand din checklistBox
//Inregistrez in tabela imprumut
modificIstoric.Parameters.AddWithValue("@UserID", useridu);
modificIstoric.Parameters.AddWithValue("@BookID", bookidi);
modificIstoric.Parameters.AddWithValue("@returnDate", termenul.Value);
modificIstoric.ExecuteNonQuery();
modificIstoric.Parameters.Clear();
sterge_userbooks.Parameters.AddWithValue("@UserID", useridu);
sterge_userbooks.Parameters.AddWithValue("@BookID", bookidi);
sterge_userbooks.ExecuteNonQuery();
sterge_userbooks.Parameters.Clear();
//Scad numarl de carti disponibile pentru cartea imprumutat
//adaugCarti.Parameters.AddWithValue("@bookid", bookidi);
adaugCarti.Parameters.AddWithValue("@bookid", bookidi);
adaugCarti.ExecuteNonQuery();
adaugCarti.Parameters.Clear();
tranzactie.Commit();
catch (Exception ex)
tranzactie.Rollback();
MessageBox.Show(ex.Message);
catch (Exception ex)
MessageBox.Show(ex.Message);
public Imprumut()
InitializeComponent();
try
con.Open();
catch (Exception ex)
MessageBox.Show(ex.Message);
Completez_Combo_User();
Completez_CheckList_Carti();
Completez_CheckList_Cartires();
//selecteaza_carti_utilizator();
// Initializez termenul din dateTimePicker la data de peste 15 zile fata de data sistemului
termenul.Value = System.DateTime.Now.AddDays(15);
private void imprumuta_Click(object sender, EventArgs e)
Confirmare c = new Confirmare("Confirmati imprumutul?");
DialogResult dr = c.ShowDialog();
if (dr == DialogResult.Yes)
try
Inregistrez_imprumut_in_BD();
MessageBox.Show("Imprumutul a fost inregistrat");
//Dupa inregistrarea imprumutului o parte din carti nu mai sunt disponibile pentru imprumut
//Reincarc in CheckList cu Carti noua lista cu carti ramase dupa imprumut
//Pentru asta "resetez" datele din dataTable cartiT (sursa pentru carti.DataSource)
CartiTabel.Clear();
adaptCarti.Fill(CartiTabel);
CartiImprumutateTabel.Clear();
adaptCartiImprumutate.Fill(CartiImprumutateTabel);
catch (Exception ex)
MessageBox.Show(ex.Message);
if (dr == DialogResult.No)
MessageBox.Show("Imprumutul NU a fost inregistrat");
imp.ClearSelected();
//deselecteaza cartea selectat
foreach (int i in imp.CheckedIndices)
imp.SetItemChecked(i, false);
//debifeaza cartile bifate
//if (imp.CheckedItems.Count > 0)
// //res.Items.Clear();
// foreach (string str in imp.CheckedItems)
// res.Items.Add(str);//adauga in partea cealalta, imprumuta
// while (imp.CheckedItems.Count > 0)
// imp.Items.Remove(imp.CheckedItems[0]);
private void restituie_Click(object sender, EventArgs e)
Confirmare r = new Confirmare("Confirmati restituirea?");
DialogResult dr = r.ShowDialog();
if (dr == DialogResult.Yes)
try
Inregistrez_restituire_in_BD();
MessageBox.Show("Restituirea a fost inregistrata");
//Dupa inregistrarea imprumutului o parte din carti nu mai sunt disponibile pentru imprumut
//Reincarc in CheckList cu Carti noua lista cu carti ramase dupa imprumut
//Pentru asta "resetez" datele din dataTable cartiT (sursa pentru carti.DataSource)
CartiTabel.Clear();
adaptCarti.Fill(CartiTabel);
CartiImprumutateTabel.Clear();
adaptCartiImprumutate.Fill(CartiImprumutateTabel);
catch (Exception ex)
MessageBox.Show(ex.Message);
if (dr == DialogResult.No)
MessageBox.Show("Restituirea NU a fost inregistrata");
res.ClearSelected();
//deselecteaza cartea selectat
foreach (int i in imp.CheckedIndices)
res.SetItemChecked(i, false);
//debifeaza cartile bifate
if (res.CheckedItems.Count > 0)
foreach (string str in res.CheckedItems)
imp.Items.Add(str);
while (res.CheckedItems.Count > 0)
res.Items.Remove(res.CheckedItems[0]);
private void button2_Click(object sender, EventArgs e)
con.Close();
this.Close();
//private void selecteaza_carti_utilizator()
// res.Items.Clear();
// MySqlCommand selectcart = new MySqlCommand("select title from books,userbooks where userbooks.userid='" + user.SelectedValue.ToString() + "' and userbooks.bookid=books.bookid", con);
// MySqlDataReader reader = selectcart.ExecuteReader();
// try
// while(reader.Read())
// res.Items.Add(reader["title"]);
// catch(Exception ex)
// MessageBox.Show(ex.Message);
// finally
// reader.Close();Hello Vincenzzo,
This issue seems to be a window form UI implemented related issue, for this i suggest that you could ask it to the windows form forum:
http://social.msdn.microsoft.com/Forums/windows/en-US/home?forum=winforms
The current forum you posted to is used to discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to determine the current update level of the system
How can we determine the current update level of the system. uname -a shows the release but how to obtain the update level through a program?
I have this sample program to display the version
#include <iostream>
#include <sys/utsname.h>
#include <dirent.h>
using namespace std;
int main()
struct utsname osinfo;
// Call uname to get system info, then extract strings.
uname(&osinfo);
if (osinfo.machine) {
cout<<" Machine : "<< osinfo.machine;
if (osinfo.sysname) {
cout << "\nOS Name : " << osinfo.sysname;
if (osinfo.release[0] != '\0') {
cout<<"\nRelease : " << osinfo.release;
}My aim is to check if the Solaris box is 5.10 update 4 or not.
Edited by: nidhish9 on Nov 27, 2007 5:11 AMnidhish9 wrote:
How can we determine the current update level of the system. uname -a shows the release but how to obtain the update level through a program?
I have this sample program to display the version
#include <iostream>
#include <sys/utsname.h>
#include <dirent.h>
using namespace std;
int main()
struct utsname osinfo;
// Call uname to get system info, then extract strings.
uname(&osinfo);
if (osinfo.machine) {
cout<<" Machine : "<< osinfo.machine;
if (osinfo.sysname) {
cout << "\nOS Name : " << osinfo.sysname;
if (osinfo.release[0] != '\0') {
cout<<"\nRelease : " << osinfo.release;
}My aim is to check if the Solaris box is 5.10 update 4 or not.
Edited by: nidhish9 on Nov 27, 2007 5:11 AMIt's in /etc/release...
essapd020-u004$ cat /etc/release
Solaris 10 8/07 s10s_u4wos_12b SPARC
Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 August 2007
essapd020-u004$ It can be processed with some simple commands:
essapd020-u004$ cat /etc/release | head -1
Solaris 10 8/07 s10s_u4wos_12b SPARC
essapd020-u004$ cat /etc/release | head -1 | cut -f2 -d_ | cut -c1,2
u4
essapd020-u004$ Best, -
I just installed Firefox 4. In the previous version you would open a new tab by clicking on the small "Open New Tab" button at the Right Hand Side of the Tabs. This button has now disappeared in my upgrade. Firefox help still says you can open a new Tab by using the "Open New Tab" Button so how do I get it back??
I got it back by going to "customize toolbar" and hitting "restore default set"! Now there is a small tab next to my open tabs with a "+" on it.
-
Why does my text in Indesign start on the right side instead of the left?
I have done something to the newsletter that I am working on, but I don't know what I did.
Whenever I try to write a caption on a picture or try to type a piece of text for the newsletter, the cursor starts on the right side instead of the left and makes weird spacing and never lines up correctly.
The only way I can get text to work now is to use a snipping tool and snip text from another program!With just the text tool selected, but no text boxes selected (or made), any change to the style of paragraphs or fonts etc is 'set' for the document. If you have clicked on the right alignment tool with nothing selected, then everything from then onwards will default to right align.
If every document you've worked on is doing this, then open InDesign with no document open (so just the panels showing, but no file/doc open) and select left align with the text tool in use. Any setting made with InDesign like this, is default for any new document created. Colours, alignment, optical kerning, fonts, sizes, leading etc etc changed in this state, is the new default. -
I would like to disable ssl 3 but need to test what sites only support ssl 3. I keep getting stuck with an error that is over my head. I've tried manipulating the string a dozen different ways and keep getting the same error. I am not familiar with -notin
or how to specify which part of the property its checking: thanks a ton
http://blog.whatsupduck.net/2014/10/checking-ssl-and-tls-versions-with-powershell.html
line with issues:
$ProtocolNames = [System.Security.Authentication.SslProtocols] | gm -static -MemberType Property | where-object{$_.Name -notin @("Default","None") | %{$_.Name}
You must provide a value expression on the right-hand side of the '-' operator.
At S:\scripts\test23.ps1:50 char:126
+ $ProtocolNames = [System.Security.Authentication.SslProtocols] | gm -static -MemberType Property | where-object{$_.Name - <<<< noti
n @("Default","None") | %{$_.Name}
+ CategoryInfo : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : ExpectedValueExpression
<#
.DESCRIPTION
Outputs the SSL protocols that the client is able to successfully use to connect to a server.
.NOTES
Copyright 2014 Chris Duck
http://blog.whatsupduck.net
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.PARAMETER ComputerName
The name of the remote computer to connect to.
.PARAMETER Port
The remote port to connect to. The default is 443.
.EXAMPLE
Test-SslProtocols -ComputerName "www.google.com"
ComputerName : www.google.com
Port : 443
KeyLength : 2048
SignatureAlgorithm : rsa-sha1
Ssl2 : False
Ssl3 : True
Tls : True
Tls11 : True
Tls12 : True
#>
function Test-SslProtocols {
param(
[Parameter(Mandatory=$true,ValueFromPipelineByPropertyName=$true,ValueFromPipeline=$true)]
$ComputerName,
[Parameter(ValueFromPipelineByPropertyName=$true)]
[int]$Port = 443
begin {
$ProtocolNames = [System.Security.Authentication.SslProtocols] | gm -static -MemberType Property | where-object{$_.Name -notin @("Default","None") | %{$_.Name}
process {
$ProtocolStatus = [Ordered]@{}
$ProtocolStatus.Add("ComputerName", $ComputerName)
$ProtocolStatus.Add("Port", $Port)
$ProtocolStatus.Add("KeyLength", $null)
$ProtocolStatus.Add("SignatureAlgorithm", $null)
$ProtocolNames | %{
$ProtocolName = $_
$Socket = New-Object System.Net.Sockets.Socket([System.Net.Sockets.SocketType]::Stream, [System.Net.Sockets.ProtocolType]::Tcp)
$Socket.Connect($ComputerName, $Port)
try {
$NetStream = New-Object System.Net.Sockets.NetworkStream($Socket, $true)
$SslStream = New-Object System.Net.Security.SslStream($NetStream, $true)
$SslStream.AuthenticateAsClient($ComputerName, $null, $ProtocolName, $false )
$RemoteCertificate = [System.Security.Cryptography.X509Certificates.X509Certificate2]$SslStream.RemoteCertificate
$ProtocolStatus["KeyLength"] = $RemoteCertificate.PublicKey.Key.KeySize
$ProtocolStatus["SignatureAlgorithm"] = $RemoteCertificate.PublicKey.Key.SignatureAlgorithm.Split("#")[1]
$ProtocolStatus.Add($ProtocolName, $true)
} catch {
$ProtocolStatus.Add($ProtocolName, $false)
} finally {
$SslStream.Close()
[PSCustomObject]$ProtocolStatus
Test-SslProtocols -ComputerName "www.google.com"V2 version:
function Test-SslProtocols {
param(
[Parameter(
Mandatory=$true,
ValueFromPipelineByPropertyName=$true,
ValueFromPipeline=$true
)]$ComputerName,
[Parameter(
ValueFromPipelineByPropertyName=$true
)][int]$Port = 443
begin {
$protocols=[enum]::GetNames([System.Security.Authentication.SslProtocols])|?{$_ -notmatch 'none|default'}
process {
foreach($protocol in $protocols){
$ProtocolStatus = @{
ComputerName=$ComputerName
Port=$Port
KeyLength=$null
SignatureAlgorithm=$null
Protocol=$protocol
Active=$false
$Socket = New-Object System.Net.Sockets.Socket('Internetwork','Stream', 'Tcp')
$Socket.Connect($ComputerName, $Port)
try {
$NetStream = New-Object System.Net.Sockets.NetworkStream($Socket, $true)
$SslStream = New-Object System.Net.Security.SslStream($NetStream, $true)
$SslStream.AuthenticateAsClient($ComputerName, $null, $protocol, $false )
$RemoteCertificate = [System.Security.Cryptography.X509Certificates.X509Certificate2]$SslStream.RemoteCertificate
$protocolstatus.Active=$true
$ProtocolStatus.KeyLength = $RemoteCertificate.PublicKey.Key.KeySize
$ProtocolStatus.SignatureAlgorithm = $RemoteCertificate.PublicKey.Key.SignatureAlgorithm.Split("#")[1]
catch {
Write-Host 'Failed'
finally {
New-Object PsObject -Property $ProtocolStatus
$SslStream.Close()
Test-SslProtocols -ComputerName www.google.com
¯\_(ツ)_/¯ -
Hi All,
I am trying to activate the Publishing feature for a SharePoint website using a custom Site Definition File. The problem I am getting
is when I try to use the custom site template I get an error message:
New-SPSite : The SharePoint Server Publishing Infrastructure feature must be activated at the site collection level before the Publishing feature can be activated.
The custom
Site Definition File snippet is show below:
<?xml
version="1.0"
encoding="utf-8"?>
<Project
Title="SiteDefinition1"
Revision="2"
ListDir=""
xmlns:ows="Microsoft
SharePoint"
xmlns="http://schemas.microsoft.com/sharepoint/">
<NavBars>
</NavBars>
<Configurations>
<Configuration
ID="0"
Name="SiteDefinitionDelegateControls2">
<Lists/>
<SiteFeatures>
<!--Document
Set-->
<Feature
ID="{3bae86a2-776d-499d-9db8-fa4cdc7884f8}"
Name="FeatureDefinition/15/3bae86a2-776d-499d-9db8-fa4cdc7884f8"
/>
<!--Publishing
Prerequisites-->
<Feature
ID="{a392da98-270b-4e85-9769-04c0fde267aa}"
Name="FeatureDefinition/15/a392da98-270b-4e85-9769-04c0fde267aa"
/>
...Other Site Features
</SiteFeatures>
<WebFeatures>
<!--2
Publishing Web-->
<Feature
ID="{94c94ca6-b32f-4da9-a9e3-1f3d343d7ecb}"
Name="FeatureDefinition/15/94c94ca6-b32f-4da9-a9e3-1f3d343d7ecb"/>
... Other Web Features
</WebFeatures>
<Modules>
<Module
Name="DefaultBlank"
/>
</Modules>
</Configuration>
</Configurations>
<Modules>
<Module
Name="DefaultBlank"
Url=""
Path="">
<File
Url="default.aspx">
</File>
</Module>
</Modules>
</Project>
I hope you can help
ColinAs the error says. The Publishing Infrastructure feature must be activated at the Site Collection level where you are creating a new site PRIOR to turning on the Publishing feature. So if you are trying to use this site definition to create a
new Site Collection then its not going to work. If you are trying to create a sub site then make sure that Publishing Infrastructure is enabled in the site collection before trying to create a sub site with this site definition.
Internally Microsoft does this for the Publishing Portals using custom code. Here's an article that discusses how to do it in SharePoint 2010.
http://msdn.microsoft.com/en-us/library/office/gg615465(v=office.14).aspx
Compare what's in the article to one of the Publishing templates available out of the box in 2013 and you should be able to find the assembly that is used to load the Publishing features.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem. -
Is there a way to open the right click menu on the left side of your pointer?
Whenever I try to right-click an object that's located on the right side of the screen, the pointer always automatically click whatever entry in the right-click menu which just happens to be under the pointer the moment the menu is opened. I noticed that the reason this happens is because the right click menu always forces itself to open on the right side of the pointer, and when there isn't enough space, the right-click menu will open underneath the pointer. Since this is horribly inconvenient, is there a way to open the right-click menu on the left side of your pointer?
Are you saying you have an icon on the far right side and when you rt click on it, your pointer ends up opening wherever it lands? That is a two step process, or normally should be at least a two step process. Do you have a Mouse in your Control Panel? You should check, because there may be some properties with which you can play. For instance, I can switch primary and secondary functions on my mouse buttons by checking a box.
When I rt click on right side, the menu opens on the left.
When I rt click on left side, the menu opens on the right.
In order for me to take an action, I then have to move to an area in that menu and click.
I hope I understood your question correctly. -
Infoset query of vendor payments at the cost distribution level of the document
We would like an infoset query of vendor payments at the cost distribution level of the document. The issue seems to be joining vendor to the document cost distribution lines.
1.) BSAK + BSIK can be combined with an infoset data structure but only contain the vendor line of a document; the cost distribution lines are not in the tables.
2.) BSIS + BSAS can be combined with an infoset data structure but lack vendor data and joins (to a vendor source) are not an option with data structures. Vendor data added with an additional field is too slow to be a primary selection field.
3.) Logical data base KDF in an infoset returns only the vendor line of a document, not the cost distribution lines.
4.) Logical data base BRM in an infoset can have vendor from BSAK/BSIK attached by an additional field but performance is too slow to be useful. Joins are not an option in a logical data base infoset.
5.) Complete data is lacking when table joins between document cost distribution tables and vendor data tables are possible, (SPL actual line item table & BSIP or FMIFIHD & FMIFIIT). BSIP lacks AB documents (reversals). FM tables lack general ledger only documents.
6.) BSAK and BSIK together have complete vendor data but joins of both to a basis table are not an option. Left outer joins are too slow, inner joins won’t work since the tables have mutually exclusive data.
Does anyone know of any other options?Hi,
This is SAP Business one reporting and printing forum. Please find correct forum and repost above discussion to get quick response.
Please close this thread here with helpful answer.
Thanks & Regards,
Nagarajan -
when i take a picture with my ipad 2 lets say im looking to the right and i take the picture and when i go to the gallery my face is looking the other way(left)
The picture in the gallery is correct. The picture you are looking at before you capture it is a mirror image such as you are used to looking at, otherwise you would not be able to handle it. Look at More Like This >>>>>>>
Maybe you are looking for
-
"Discuss and comment" link is bad
The "Discuss and comment on this resource in the BigAdmin Wiki" link at the bottom of this page is bad: [http://www.oracle.com/technetwork/systems/patches/overview/index.html|http://www.oracle.com/technetwork/systems/patches/overview/index.html] Glen
-
Html5 doesn't play online but DOES play offline
Hi, I built a html5/JS animation (using Flash CS6) and put it online to test it. This animation plays perfectly in every browser, except Firefox. One weird thing though, if I right-click the offline html file and choose "open with > Firefox" it DOES
-
Having trouble installing iMovie HD on a new Mac with Mavericks
I am having trouble installing iMovie HD on a new Mac with Mavericks. I know that iMovie HD works with Mavericks because we are using it on other Macs successfully. However, those machines were upgraded starting with OS 10.6. In other words, iMov
-
I have just installed Digital Editions 4.3 but am having poblems downloading digital books as I get an error message stating 'Error! Check Activation'. I have Windows 7 and didn't have any problems using the previous version of Digital Editions. Can
-
Number to exponential format in mapping
Hi Experts, I want to convert number to exponential format. (Example number 254 to 2.5400000000E+01), is this possible using FormatNumber function??? if not can you anyone provide me UDF for this.