Donnerstag, 20. Dezember 2012

PogoPlug Pro + ArchLinuxARM + Motion

 Status: motion detection funktioniert bild wird noch nicht angezeigt



Quelle:
http://downloads.sourceforge.net/project/motiongui/motion-gui%28source%29/motion-Gui-1.1.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fmotiongui%2F&ts=1356038786&use_mirror=ignum





Now it’s worth changing the root password and setting up a new user (which I’ll name “pi”):
passwd root
adduser
# Add a user named pi - accept default options
We’ll stay logged in as root, for now, as we still have some work to do to get things ready to have effective use of the device as a standard user.
Linux distributions have different command-line tools for installing approved component packages – much as some of you may be used to with NuGet in recent versions of Visual Studio. Raspbian has apt-get, Arch Linux ARM has pacman. To make sure pacman is installed and (along with the OS itself) up-to-date, run these operations:
pacman -Syu
pacman-key --init
pacman -Syu
Now you can use pacman to install the various packages we want to use. We’ll start with sudo (which stands for “super-user do” rather than being a mis-spelling of “pseudo” :-), which will allow our pi user to perform operations as root.
pacman -S sudo
It’s one thing to have sudo installed, it’s another to be able to use it. You can edit the sudo privileges directly using this command, which unfortunately uses the vi editor to open the file (I’ve mostly switched over to the much more intuitive nano editor, at this stage):
visudo
# Scroll down to "root ALL=(ALL) ALL", i to insert:
pi ALL=(ALL) ALL
Esc ZZ # (to quite & save)
At this stage it’s worth logging out (you can type exit or logout to do so) and logging back in via a new ssh session as the “pi” user:
ssh pi@192.168.1.110
One last step is helpful but not strictly necessary, in that it enables command-completion via the Tab key when executing commands using sudo:
sudo pacman -S bash-completion
Now we basically have our OS up and ready. If we were on “wheezy” we’d now be thinking about installing (or building) a webcam driver. That happens to be built into Arch Linux ARM, so we can skip on ahead to installing Motion:
sudo pacman -S motion
At this stage we have most of the packaged components in place that we need to run our motion-detecting security cam. Now we’ll start configuring Motion.
We’re going to ask Motion to save it's running process ID in a file in the /var/run/motion folder. First, though, we need to create that folder:
sudo mkdir -p /var/run/motion
[As mentioned last time, it’s helpful – but not necessary – to set up a killmotion script that uses this ID to kill the motion process (which is really only for when you’re running in daemon mode). That said, it’s also simple enough to run the “pstree –p” command to see the running process tree with the IDs at each node, and then just use “kill 1234” (assuming the process ID is 1234).]
Next we’re going to install Python and the GData component we need to access GMail and Google Drive.
sudo pacman -S python2 python2-pip
sudo pip2 install gdata
We’re going to ask Motion to save one frame per event – that we can use as an email attachment in our email, to help recipients – especially those on a mobile device – decide whether it’s worth watching the uploaded video. Both the capture frame and the video will be stored to /home/pi/motion, which we need to create:
mkdir /home/pi/motion
We might also have kept the default location – which I believe is under /var/tmp – but that’s a folder that gets cleared between sessions (when the device is rebooted). When my device was regularly being reset – back when I was using “wheezy” – I moved across to this folder, so I could see when images/videos were captured successfully. So far I haven’t seen the need to switch back.
Now we can download and install the Uploader.py file, which I’ve adapted from the one in this post (with the help of the information in this page). You might download the file and FTP it across, or you could use the following approach to download it directly using the Pi (and then make it executable):
cd /etc/motion
sudo wget "http://through-the-interface.typepad.com/files/uploader.py"
sudo chmod +x uploader.py
You’ll also need an uploader.cfg file in the same location. The simplest approach is to run “sudo nano uploader.cfg” and paste the contents in (after having modified them with your login information, of course):
[gmail]
# GMail account credentials
name = Kean Walmsley
user = keanrw@gmail.com
password = this_is_not_really_my_password
sender = keanrw@gmail.com

# Recipient email address (could be same as from_addr)
recipient = kean.walmsley@autodesk.com

# Subject line for email
subject = You have a visitor

# First line of email message
message = See attachment. Video of visitor uploaded to:

[docs]
# Folder (or collection) in Docs where you want the videos to go
folder = motion

[options]
# Delete the local video file after the upload
delete-after-upload = true

# Send an email after the upload
send-email = true
You should now be able to test the script, to see that it works:
cd ~
wget "http://through-the-interface.typepad.com/files/VidTest.avi"
wget "http://through-the-interface.typepad.com/files/VidTest.jpg"
/etc/motion/uploader.py /etc/motion/uploader.cfg ./VidTest.avi
[I had previously thought to post instructions to use fswebcam to capture a still and ffmpeg to capture a video, but the former involved installing an additional component and the latter didn’t actually work when called directly on my Pi (even though Motion uses it successfully to encode video, as far as I can tell)].
Once you’ve executed the uploader script, you should receive an email with a link to the video on Google Drive (assuming it’s enabled for your Gmail account) and the image as an attachment:
Test email with attachmentNow the various pieces are in place, it should be a simple matter of getting and adjusting the Motion configuration file. To get the one that I have working with my webcam, you can:
cd /etc/motion
sudo wget "http://through-the-interface.typepad.com/files/motion.conf"
Motion has a lot of settings that you may want to adjust – it’s a really flexible, powerful component – but I won’t go into the details on that, here.
To run Motion simply type “sudo motion” at the command-line. The configuration I’ve provided will run it in daemon (i.e. as a background service) mode, but if you hit problems you may want to run it in interactive mode, or even with the –s flag. A couple of handy features provide the ability to change configuration options at runtime via a URL (in my case this is http://192.168.1.110:7071) and to view the live webcam output via another (http://192.168.1.110:7070).
If all is working well, you should start to get emails with detected motion events:
Email on motion detection - with attachment
Once you’re ready to have it enter daemon mode on boot, you can edit the /etc/rc.conf file (using sudo nano …) to add it to the list of startup daemons on the very last line of the file.
One thing to note about this particular configuration: as mentioned, we save a single .jpg to accompany the .avi file that gets recorded (both files will appear in the same /home/pi/motion folder with the same name). The uploader script gets called when the .avi gets saved but assumes the .jpg will be there.
These files get created once motion has fully stopped (and there’s a configurable 60 delay to make sure that’s the case) which means that at some point we’ll want to change the configuration to have Motion take more regular snapshots – and use a different naming convention, as we’ll have more .jpg files per .avi – as that will allow us to run them through the facial recognition system and present the results without waiting for 60 seconds after the person has left. A change will also be needed for the uploader module, of course. But all that’s for another day and another series of posts. :-)
Update:
Alex Fielder reminded me that the uploader will look for a folder called "motion" in your Google Drive - be sure to make that folder before you try uploading. Thanks, Alex! :-)

PogoPlug Pro + ArchLinuxARM

PogoPlugPro ArchLinuxARM VS. Debian (alarm geht Debian noch nicht)


ArchLinuARM
------------------------------------------------------------

Quelle:
http://archlinuxarm.org/platforms/armv6/pogoplug-provideov3



Download and extract the root filesystem tarball onto the new ext3 partition as the root user, not just sudo.

sudo bash

tar xvfz /home/XXXXX/Downloads/ArchLinuxARM-oxnas-latest.tar.gz

 Create a file at /usr/local/mac_addr and place in it your Pro's MAC address (its on the bottom of the unit) in the format XX:XX:XX:XX:XX:XX. Safely umount the drive from the computer, plug it back in to the powered-off Pogoplug, and then plug in the Pogoplug.

#######################################################################

Debian (funktioniert nicht)
----------------------------------------------------------
Quelle:
http://forum.doozan.com/read.php?3,6336

Varkey has created and hosted a Debian rootfs for those who want to skip the manual step installation. Just grab Varkey's rootfs, untar it to a USB drive and you're done! See this post for Varkey's Debian rootfs:
http://forum.doozan.com/read.php?3,6336,6371#msg-6371


No such errors for me as well. Anyway if anyone needs the debian rootfs with all the above modifications done, here it is -- http://www.varkey.in/files/debian-rootfs-pogopro-varkey.tar.gz

als root auf den usb-stick navigieren

sudo bash

tar xvfz /home/XXXXX/Downloads/debian-rootfs-pogopro-varkey.tar.gz

Just extract it to an ext3 formatted disk. After extracting update your correct ethernet MAC address in /etc/network/interfaces

sudo cp /home/XXXXX/Arbeitsfläche/debian-pogo/interfaces /media/debian/etc/network

Also regenerate your SSH keys once you are logged it to the debian system as given here -- http://www.cyberciti.biz/faq/howto-regenerate-openssh-host-keys/
The default login is root / root and the md5sum of the file is e77e6cfb585c1df7f0f0b0ab6c8796bc



Mittwoch, 12. Dezember 2012

Windows 8 + Samsung NC10

Quelle:
http://www.early-adopter.info/2012/10/windows-8-apps-bei-1024x600-netbook-aufloesung-ausfuehren-so-gehts/



Windows 8 lässt sich auch auf einem Netbook problemlos installieren und ein Großteil des Systems läuft auch einwandfrei. Die neuen Windows 8 Apps (und diese machen das System ja gerade aus) verweigern allerdings den Dienst und können erst gar nicht gestartet werden. Es erscheint lediglich die Meldung:
“Diese App kann nicht geöffnet werden. Die Bildschirmauflösung ist für die Ausführung dieser App zu niedrig.”
Klickt man auf den “Bildschirmauflösung ändern” Link, lässt sich die Auflösung jedoch nicht erhöhen. Klar: 1024x600 ist bereits das Maximum.
Wer seine Windows 8 Apps trotzdem auf dem Netbook ausführen möchte, muss nach folgender Anleitung vorgehen (funktioniert nur bei Intel Grafikchips!).
  1. Startet den Registrierungseditor: Windows-Taste drücken und “regedit” eingeben. Achtung, falsche Änderungen im Registrierungseditor können euer System beschädigen. Beachtet die folgenden Angaben also ganz genau.
  2. Drückt Strg+F um die Suchmaske zu öffnen / alternativ im Menü auf “Bearbeiten” und “Suchen” klicken
  3. Sucht nach “Display1_DownScalingSupported”.
  4. Sobald der Eintrag gefunden wurde, klickt ihr doppelt auf diesen und ändert den Wert von 0 auf 1.
  5. Weitersuchen bis alle Display1_DownScalingSupported Einträge gefunden wurden und auf 1 stehen.
  6. Abschließend den Computer neustarten.
Nach dem Neustart wechselt ihr zum Desktop und wählt per Rechtsklick auf diesen den Punkt “Bildschirmauflösung”. Et voilà: Ab sofort könnt ihr eure Auflösung erhöhen. Ihr solltet diese nun auf den nächst höheren Wert 1024x768 ändern.
Einziger Nachteil:
Da diese neue Auflösung nicht der nativen Auflösung eures Netbooks entspricht, sieht alles etwas gequetscht

Sonntag, 21. Oktober 2012

Huawei X3 CustomRom flashen

http://www.android-hilfe.de/root-hacking-modding-fuer-huawei-ideos-x3/145672-how-root-your-ideos-x3-clockworkmod-recovery-systemapps-entfernen.html#post1983531



Was wird gemacht?

-> Als erstes wird die ClockworkMod Recovery geflasht um ein Backup des gesamten Systems anzulegen, um danach alle Änderungen am System, wie Root, Custom ROMs etc. wieder rückgängig zu machen

-> Als zweites wird gerootet.

-> Als drittes und letztes werde ich noch erklären wie man nicht benötigte Systemprogramme entfernt




1. Flashen der ClockworkMod Recovery

Zum flashen der ClockworkMod Recovery benötigt ihr erstmal zwei Dateien:

Die ClockworkMod Recovery selbst: RecoveryClockmodByZaDkYn.zip
und die Treiber, damit das X3 im FastbootMode erkannt wird: Treiber.zip
Ladet diese beiden Dateien runter und entpackt sie.

Zum Flashen:

1. Zuerst müssen wir das Handy zum flashen vorbereiten. Dazu geht ihr in die Einstellungen unter Anwendungen und acht das Häkchen bei "Schnellstart" weg.

2. Schaltet das Handy aus und wartet ein paar sekunden (eventuell müsst ihr den Akku kurz rausnehmen und wieder reinmachen)

3. Bootet in den Fastboot Modus (VolDown+PowerButton drücken und gedrückt halten)
Jetzt sollte das Huawei Logo erscheinen und auch bleiben. Wenn das Handy normal bootet habt ihr etwas falsch gemacht. Probiert es dann einfach noch einmal.

4. Verbindet nun euer X3 mit dem PC. Windows wird euch eventuell mitteilen, dass er keine Treiber für das neu angeschlossene Gerät gefunden hat. Wenn das der Fall ist, geht in den Gerätemanager und installiert die vorher heruntergeladenen Treiber manuell. Das Gerät sollte nun als Android Sooner Single ADB Interface erkannt werden und ist bereit, Fastbootbefehle zu empfangen. Sollte Windows die Treiber automatisch installieren ist das auch kein Problem und ihr könnt getrost fortfahren ( auch wenn euer Telefon nicht als Android Sooner Single ADB Interface erkannt wird).

5. Navigiert nun auf eurem PC in das Verzeichnis RecoveryClockmodByZaDkYn und startet die darin enthaltene Instalador.bat.

Es öffnet sich ein DOS Fenster in dem etwas mit grüner Schrift auf schwarzem Hintergrund geschrieben ist. Ins englische übersetzt heißt das ungefähr

Zitat:
echo --------------------------------------------------------------------
echo # Installer by ZaDkYN #
echo # Instructions #
echo --------------------------------------------------------------------
echo $ Turn on your phone in fastboot mode $
echo $ (phone turned off press volume down and power on) $
echo $ Connect the phone to pc with usb cable $
echo $ Wait for the installer installs the recovery $
echo $ The phone will reboot and its ready $
echo $ Press any key to continue... $
echo --------------------------------------------------------------------
6. Drückt irgendeine Taste und das Programm fängt an durchzulaufen. Ist das geschehen, drück ihr ein zweites Mal eine beliebige Taste und das Programm schließt sich. Schaut auf euer Handy und ihr seht, dass es in die ClockworkMod Recovery gebootet hat.

Achtung: Wenn euer Telefon ausgeschaltet ist und ihr verbindet es via USB Kabel mit dem PC ist es normal, dass ihr in die CWM Recovery kommt. Das ist kein Fehler, sondern gewollt!








UPDATE 16.9.2011 - Neue (einfachere) Methode zum Rooten

Mit dieser Methode könnt ihr euer X3 rooten ohne eine andere FW aufzuspielen:

- ladet euch diese Datei herunter: su.zip
(https://rapidshare.com/#!download|765tl5|2244779298|su.zip|296|R~6AD0CDE59A825624D0B4EA592A9F8C71|0|0)
- packt diese auf eure SD Karte und geht erneut in die CWM
- wählt mit den Lautstärketasten "install zip from sdcard" und wählt "chose zip from sdcard" wählt dann die su.zip aus (bestätigt wird mit dem Powerknopf)
- durchlaufen lassen und euer X3 ist gerootet





Firmware flashen.... (http://www.android-hilfe.de/root-hacking-modding-fuer-huawei-ideos-x3/211127-ics-cm7-teammat3.html)

ICS CM7 [by teammat3]

Instructions:
1- Do all backups (contact, messages, etc..)
2- Turn off phone
3- Turn phone on by pressing the VOL+ button with the energy button at the same time.
4- Mount and storage
5- Format Boot, Format Cache, Format Data e Format System.
6- Back to the Recovery Clockwork main menu and select wipe data/factory reset e wipe cache partition
7- Select Advanced & wipe dalvik cache.
8- Back to the Recovery Clockwork main menu and select Install zip from sdcard
9- Select the first choice and search for ICS CM7 [by teammat3] DE.zip on your sd card
10- Reboot system

Cubase: M-Audio Oxygen49 als MIDI-Controller

-Öffnet unter Geräte den "Generic controller" (muß man evtl. erst mal aktivieren, weiß jetzt aber gerade nicht mehr wie)

-Stellt oben als MIDI-Eingang Euer Gerät ein (z.B. hier M-Audio)
-Als Ausgang den normalen MIDI-In von Cubase wählen

-Im oberen Fenster wählt Ihr ein Steuerelement (sagen wir mal das erste; wie das heißt ist egal, das kann man noch umbenennen)
-Dann auf "Lernen" drücken, die gewünschte Taste am Controller drücken (sagen wir mal Play) und ggfs. noch mal auf Lernen drücken
-Jetzt müßte sich der bisherige Eintrag geändert haben
-Cubase weiß jetzt, welcher Controller empfangen wird

-Jetzt weist Ihr im unteren Fenster den entsprechenden Befehl zu
-Den selben Controller wählen
-Gerät: Transport
-Aktion: Start
-Flags: Taste/Umschalten

Voila: müßte funktionieren

Das gleiche macht Ihr für die anderen Tasten und VERGESST BLOSS NICHT das Ganze abzuspeichern.

Good luck

Garmin eTrex H Datenkabel basteln


Datenkabel Garmin etrex


(http://www.jens-seiler.de/etrex/datenkabel.html)


 _______________
|  ___________       |
| Garmin etrex |
|                            |
|                            | 
|                            |
|                            |
|                            |
|                            |
 _______________
|            rs232    |
|     Rx Tx Gnd  |
| °    °     °       °    |  
|     or    rt    gn |
 _______________

     
    or rt gn
     \ | /
       ||  
       || 
       || 
       ||      
       || 
       || 
       ||      
_________________
\    3=Tx =or      / rs232 
 \   2=Rx =rt      /  DB9 Buchse
  \  5=GND=gn /
   -----------



AVM: Fritzbox Netzwerkdrucker

USB-Drucker an FRITZ!Box als Netzwerkdrucker einrichten

Einen mit der FRITZ!Box verbundenen USB-Drucker können Sie allen Computern im FRITZ!Box-Netzwerk als Netzwerkdrucker zur Verfügung stellen.
 1 Vorbereitungen
USB-Fernanschluss für Drucker deaktivieren
USB-Drucker mit FRITZ!Box verbinden
Verbinden Sie den USB-Drucker mit dem USB-Anschluss der FRITZ!Box.
2 USB-Drucker am Computer als Netzwerkdrucker einrichten
Windows 7:
Klicken Sie auf "Start" und dann auf "Geräte und Drucker".
Klicken Sie mit der rechten Maustaste auf das Symbol des Druckers und wählen Sie "Eigenschaften" bzw. "Druckereigenschaften".
Hinweis:Wird der Drucker nicht angezeigt, installieren Sie zunächst den passenden Druckertreiber. Informationen zur Installation des Druckertreibers finden Sie in der Bedienungsanleitung oder beim Hersteller des Druckers.
Wechseln Sie auf die Registerkarte "Anschlüsse" und klicken Sie auf die Schaltfläche "Hinzufügen".
Klicken Sie doppelt auf den Anschlusstyp "Standard TCP/IP Port" und dann auf "Weiter".
Tragen Sie im Eingabefeld "Drucker oder IP-Adresse:" fritz.box ein.


Wichtig:
Wenn die FRITZ!Box als WDS-Repeater oder IP-Client eingerichtet ist, tragen Sie statt fritz.box die IP-Adresse ein, unter der die FRITZ!Box im Netzwerk erreichbar ist.
Tragen Sie im Feld "Portname:" einen beliebigen Namen ein und klicken Sie auf "Weiter".
Aktivieren Sie die Option "Benutzerdefiniert" und klicken Sie auf die Schaltfläche "Einstellungen".
Aktivieren Sie im Abschnitt "Protokoll" die Option "Raw", tragen Sie im Feld "Portnummer:" 9100 ein und klicken Sie auf "OK".
"Weiter" > "Fertig stellen" > "Schließen"
Wechseln Sie im Fenster "Eigenschaften von [Druckername]" auf die Registerkarte "Anschlüsse".
Deaktivieren Sie die Option "Bidirektionale Unterstützung aktivieren" und klicken Sie auf "Übernehmen".

Druckmanager aus Taskleite „Drucker offline verwenden“ deaktivieren

Harmony One: +Funksteckdosen ELRO

aktueller stand 200611


Steckdose:    AN    AUS

A (Audio)    13On    13Off
B (TV)        11On    11Off
C (Gitarre)    7On    7Off
DC(Globus)    8On    8Off


##########################################################



Model: "elro AB440S", "Intertechno YCT-100"

1-5: N = ON, F = OFF -- / -- dipcode für 6,7,8 und 9 jeweils die eingeschalteten aufgeführt 6=A, 7=B, usw.


1-5 = NNNNN
-----------------1----------------------------------------------6,7,8,9
-----------------3----------------------------------------------7,8,9
-----------------5----------------------------------------------6,8,9
-----------------7--#C------------------------------------------8,9
-----------------9----------------------------------------------6,7,9
-----------------11-#B------------------------------------------7,9
-----------------13-#A------------------------------------------6,9
-----------------15---------------------------------------------9

1-5 = NNNNF
----2----------------------------------------------6,7,8,9
----4----------------------------------------------7,8,9
----6----------------------------------------------6,8,9
----8--#DC-----------------------------------------8,9
----10---------------------------------------------6,7,9
----12-#DB-----------------------------------------7,9
----14-#DA-----------------------------------------6,9
----16---------------------------------------------9


1-5 = FNNNN
----B1---------------------------------------------6,7,8,9
----B3---------------------------------------------7,8,9

1-5 = FNNNF
----B2---------------------------------------------6,7,8,9
----B4---------------------------------------------7,8,9 

1-5 = NFNNN
----C1---------------------------------------------6,7,8,9
----C3---------------------------------------------7,8,9

1-5 = NFNNF
----C2---------------------------------------------6,7,8,9
----C4---------------------------------------------7,8,9

1-5 = FFNNN
----D1---------------------------------------------6,7,8,9
----D3---------------------------------------------7,8,9

1-5 = FFNNF
----D2---------------------------------------------6,7,8,9
----D4---------------------------------------------7,8,9



Soll eine Steckddose automatisch beim Start einer Aktion einschalten, mach folgendes:
1. Binde diese Steckdose als Gerät YCT-100 ein (Beleuchtungssteuerung --> InterTechno --> YCT-100)
2. In den Betriebs-Einstellungen dieses Gerätes dann folgendes einstellen:
2.1 Ich möchte dieses Gerät ausschalten, wenn es nicht verwendet wird.
2.2 Jeweils eine Taste auf der Fernbedienung zum Ein- und Ausschalten
2.3 Ich habe die Originalfernbedienung nicht, aber ich kenne den gewünschten Befehl: (Hier den ON-Befehl einsetzen)
2.4 Ich habe die Originalfernbedienung nicht, aber ich kenne den gewünschten Befehl: (Hier den OFF-Befehl einsetzen)
3. Dieses Gerät nun in alle gerwünschten Aktionen nachträglich einbinden
4. Fertig. Die Steckdose wird nun beim Start einer Aktion einschalten, eingeschaltet bleiben, wenn sie in einer anderen Aktion auch benutzt wird und abschalten, wenn der OFF-Button gedrückt wird.

Ubuntu: VLC Webcam aufnehmen

Funktioniert mehr oder weniger (EXPERIMENTEL)



vlc -vvv v4l2:///dev/video0 --sout file/raw:/home/cs/Arbeitsfläche/records/test
##########################################
working:

vlc -vvv v4l2:///dev/video0 --sout file/avi:/home/cs/Arbeitsfläche/records/test.avi  //ohne sound
vlc -vvv v4l2:///dev/video0:input-slave=alsa://:v4l2-standard=0 -sout file/avi:/home/cs/Arbeitsfläche/records/test.avi



vlc -vvv v4l2:///dev/video0 --sout '#transcode{venc=x264{subme=7, ref=3, bframes=16, b-adapt=1, bpyramid=none, weightp=0}, vcodec=h264, vb=1300, width=1280, height=720, threads=4}:std{access=file, mux=asf, dst=/home/cs/Arbeitsfläche/records/test.asf}'


vlc -vvv v4l2:///dev/video0 :v4l2-aspect-ratio=16\\:9 :v4l2-width=1280 :v4l2-height=720 :v4l2-fps=30.0 :v4l2-set-ctrls={video_bitrate_mode=1,video_bitrate=4000000,video_peak_bitrate=4000000} --sout '#transcode{venc=x264{subme=7, ref=3, bframes=16, b-adapt=1, bpyramid=none, weightp=0}, vcodec=h264, vb=1300, width=1280, height=720, threads=4}:std{access=file, mux=asf, dst=/home/cs/Arbeitsfläche/records/test.asf}'


vlc -vvv v4l2:///dev/video0 :v4l2-aspect-ratio=16\\:9 :v4l2-width=1280 :v4l2-height=720 :v4l2-fps=30.0 :v4l2-set-ctrls={video_bitrate_mode=1,video_bitrate=4000000,video_peak_bitrate=4000000} :input-slave=alsa://default --sout '#transcode{venc=x264{subme=7, ref=3, bframes=16, b-adapt=1, bpyramid=none, weightp=0}, vcodec=h264, vb=1300, width=1280, height=720, threads=4}:std{access=file, mux=asf, dst=/home/cs/Arbeitsfläche/records/test.asf}'


##############################################



Hi,

after fiddeling around for a while I succeeded to get VLC+JTVLC working under Ubuntu/Mint with audio working and synced for 16:9 video, including a logo. The magic command line is:

vlc -I dummy v4l2:///dev/video1 :v4l2-aspect-ratio=16\\:9 :v4l2-standard=2 :input-slave=alsa://hw:1,0 --logo-file=/home/georg/Downloads/mvlogo.png --logo-x=800 --sout='#transcode{vfilter=canvas{width=320,height=1 80,aspect=16:9},venc=x264{keyint=60,idrint=2},vcod ec=h264,vb=100,acodec=mp4a,ab=32,channels=1,sample rate=22050,sfilter=logo,audio-sync}:duplicate{dst=standard{access=file,mux=mp4,d st=/home/georg/kumma.mpg}, dst=rtp{dst=127.0.0.1,port=1234,caching=2000,rtcp-mux,sdp=file:///home/georg/vlc.sdp}}'

Explanation:

- The stream is not shown (dummy interface). Instead it is dubbed into /home/georg/kumma.mpg.

- The sdp file and jtvlc work as described in the jtvlc-wiki.

- It is important to remove or disable the pulseaudio server in order to have a working alsa interface.

- The v4l2-standard=2 above is PAL, change it at your convenience. The video camera (over a Dazzle USB converter) must be 16:9 as well.

- It is well possible to increase the canvas size and the video bandwidth.

- Important parameters (not in the jtvlc-wiki) are rtcp-mux and caching=2000 in the rtp section. The rtcp-mux prevents the client from complaining about too many reference frames and/or too old video data. The caching=2000 is necessary to have synced audio and video. Without it, video will lag behind in the rtp stream (but not in the saved mpg file).

- Extra hint: When embedding the video in other websites, change the size of the object to 640x360 which is 16:9. So there will be no black bars.

Ubuntu: Virtual box error NS_ERROR_FAILURE (0x80004005)

Nach Migration der VirtualBox von Win7 zu Ubuntu


Virtual box error NS_ERROR_FAILURE (0x80004005)


sudo /etc/init.d/vboxdrv setup


oder besser

I found a solution for this.
In your home folder /home/xxxx/.VirtualBox the file VirtualBox.xml became corrupted so delete it (when you restart virtualbox you will have to re-register).
After that go to virtualbox menu for Virtual Media Manager and add the xxxx.vmdk image to it.
Next step add a new OS for virtualbox and select the first (for me xp) then select for Boot Hard Disk use existing hard disk and select the one you added for media manager.
There your done vbox is now working with your virtual hard disk before the crash and you don't loose anything.

My next step was back in my .Virtualbox folder i copied the 3 files (compreg.dat, VirtualBox.xml and xpti.dat) to .xxxx (copy) in the same folder (just in case this happens again).
The last step was to make another virtualbox snapshot.

Ubuntu: Skype video aufnehmen

video aufnehmen

ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq /tmp/out.mpg

Ubuntu: PST in Thunderbird importieren

Öffnen Sie Pst im Thunderbird

Ich habe eine pst Datei, die alle meine Aussichtunterstützungen enthält. Ich möchte jene Post in meinen Thunderbird in Ubuntu 10,10 importieren. Obwohl ich ihn unter Verwendung des Entwicklungspostkunden importieren kann. Aber ich mag an Thunderbird festhalten. Irgendwelche Ideen, suggestios?
Abdul Kader

Tags - ubuntu-10.10 thunderbird

    Deutsch Übersetzung
    Originaltext (englisch)

Atlast I importierte meine Sicherungsdateien der Aussicht 2007 in Thunderbird unter Verwendung des readpst. Keine anderen Lösungen bearbeitet für mich.

1.sudo apt-get install readpst

2.readpst -r pstfilename

Ändert das Ausgabeformat zu rekursivem. Dieses stellt Ordner her, wie in der PST-Datei genannt und setzt alle E-Mail in eine Datei ein, die „mbox“ innerhalb jedes Ordners genannt wird. Diese Dateien sind dann mit allen mbox-kompatiblen E-Mail-Kunden kompatibel. Dann importierte gerade die mbox Datei in Thunderbird und ich erhielt meine Post hinter

Ich verwende Ubuntu 10,10 Thunderbird 3.1.8
Abdul Kader

    Deutsch Übersetzung
    Originaltext (englisch)

Gut bin ich mit zwei Seiten herausgekommen:

Eine Weise, pst Dateien manuell zu importieren: http://kb.mozillazine.org/Import_.pst_files#Linux

Oder ein addon im Thunderbird verwendend:

http://obm.org/doku.php?id=projects:pst_import

Ubuntu: Install *.run Datei

How to Install a .run File:

1. Open a terminal. In Gnome the terminal is found in Applications>Accessories>Terminal.
2. Navigate to the directory of the .run file. For this example, I have mine on the desktop so I would type in "cd ~/Desktop" and press enter.
3. Type "chmod +x example.run" (press enter).
4. Now type "./example.run", press enter, and the installer will run.

Ubuntu: VirtualBox USB-Geräte

 virtual box keine usb geräte

In "/etc/udev/rules.d/10-vboxdrv.rules" ändere "Mode="0600"" in "MODE="0666"". Das dürfte das Problem lösen. ;)


---------------------------------------------------------------------------------------------------------------------------

USB-Geräte funktionieren nicht?

groups
-> in gruppe vboxusers? wenn nein ->


sudo adduser BENUTERZNAME vboxusers
sudo adduser $USERS vboxusers

Ubuntu: Flash falsche Farben


 Problem: Flashvideos bsp. Youtube Farben verkehrt (Hautfarbe = blau)

-> terminal

-> locate libflashplayer.so

     nehme sich den pfad(ohne den Dateinamen und setze ihn hier ein:

-> cd <hier muss der pfad hin>

    und nun nur noch

-> sudo perl -pi.bak -e 's/libvdpau/lixvdpau/g' libflashplayer.so

    machen, ggf. den browser neustarten und sich freuen.