Navigation

Converting img, avi, mpg

http://wiki.ubuntu.cz/triky_s_imagemagick_a_ffmpeg

mencoder input.avi -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video -oac copy other_options -o output.mpg
ffmpeg -i file.avi -vcodec mpeg4 -f mpeg output.mp4
avconv -i input.avi -qscale 1 -ac 2 -c:v mpeg2video output.mpg

 

Merge audio music via VLC

https://wiki.videolan.org/Documentation:Streaming_HowTo_New/

"c:\Program Files\VideoLAN\VLC\vlc.exe" -vvv "d:\audio.mp3" "d:\Silence-5seconds.mp3" 
--sout-keep --sout=#gather{} --sout=#standard{access=file,mux=raw,dst=d:\out.mp3} --sout-all

Facebook POST via PHP

APP access tokens are used to get information that your app is privileged to access. And in some cases where publish_stream is granted from an app user, you can use it to post to that user's wall, without needing a USER access token.

Raspberry Pi - input button in pythoon

Raspberry Pi (B)

import RPi.GPIO as GPIO
import time
import os

#adjust for where your switch is connected
buttonPin = 3
GPIO.setmode(GPIO.BCM)
GPIO.setup(buttonPin,GPIO.IN)

while True:
  #assuming the script to call is long enough we can ignore bouncing
  if (GPIO.input(buttonPin)<>1):
    #this is the script that will be called (as root)
    os.system("echo Hello world")
    time.sleep(1)

Blinking SMS symbol Nokia

Řešení:
Menu -> Zprávy -> Volby -> Zprávy SIM -> Smazat vše

Blinking SMS symbol Nokia

Solution:
Messaging>Options>SIM messages->Delete all

Mateřské školky Plzeň

Change internet settings in windows

internet.bat

@echo off
if "%1"=="static" goto static
if "%1"=="dhcp" goto dhcp
echo Usage: %0 (static^|dhcp)
goto end2
:static
echo Setting static IP of 192.168.xxx.xxx
netsh int ipv4 set address "Local Area Connection" static 192.168.xxx.xxx 255.255.255.0 192.168.xxx.xxx 1
echo Setting primary DNS server to 192.168.xxx.xxx
netsh int ipv4 set dnsservers "Local Area Connection" static 192.168.xxx.xxx primary
goto end
:dhcp

Multiwii - GPS and altitude hold

Mobil phone LCD compatibility list

Pages

Subscribe to www.duckd.cz RSS