The task was quite easy to convert a bunch of video files in a Folder to webm format .

There are several free so called free software who announce to do that but most are bumpy and even my so loved miro convertor produce a webm files that don’t play in google chrome . the ffmpeg package inside was outdated.

First check if you have ffmpeg installed on your mac , open the terminal and enter

Try to debug the Trello 2 WordPress Plugin , a wonderful idea but sadly the Plugin is not updated or supported by the developer now for quite a time .

Why is the concept of using a Trello board to edit & rearrange content on your website sweet ? Trello offers a very intuitive drag and drop style card system with a json api . This way we can reorganise content by simply dragging it from one place to a other we can assign multiple user to the board as editor , no WordPress skills or admin Editor rights are needed.

What the Plugin supports : Trello List and Cards

Shortcut Parameter : ID , type , link

How to find the Trello Board ID

To get temporary get the plugin work on the front endIf your Board have a link like

Solution : Was to simple to believe , after a lot of code change and Trello APi Responds later . You need a Organization in your trello Board. as my Board was Private only the Plug don’t work in this mode and fail to update the Trello Ids in the admin screen .

Work path for Mac Screen recording with VLC screen recording per command line to a Social Platform via FFmpeg. The task: I’m looking for is to capture the screen with VLC Command line and stream the result with FFmpeg as video RTSP live stream to Facebook youtube or any other Platform without the need of additional expensive or complicated software. Some Examples can be found for Linux but not so much for MAC, it should work for El Capitan. This is mostly a work log . Here I will document what worked for me and what problems occur. Later on allow those snippets to create a bash script to auto stream on an interval to facebook for example a Birdsnest, Weather camera, or any IPTV Camera . Even some simple Video Effect Switcher like CAmTwist can be used to stream and manage video sources for the Facebook Lifestream.

The idea behind is that sometimes you need to stream some short piece of video where a full Stream software like Wirecast or OBS is an Overkill . One core reason Live stream is very CPU process intensive the less additional software you run the more you have to process and stream your Video.It makes streaming with the desktop so simple once the procedure is ready.

This will add the Recording into the virtual playlist Que of our VLC CLI , to start capturing we need the command play and quit to stop the stream .

VLC CLI Parameter

To limit the area being captured we add parameter to the screen
Video crop (right,left,top,bottom) Number of pixels to crop at the right of the video.

--screen-index 1 --screen-width 500 --screen-height 500 --screen-top 95 --screen-left 0
One example we will capture a screen at 25 fps – cropping 500 x 500 the top, left ZERO , a window at the top left of our screen where we can place what we whant to show without the Chrome & mac window boarders.
The output video is encoded into mp4 video as file “metaout.mp4” into the same dir you CD in the Terminal .
vlc screen:// -I rc --screen-fps 25 --screen-index 1 --screen-width 500 --screen-height 500 --screen-top 95 --screen-left 0 ":sout=#transcode{vcodec=h264}:std{access=file,dst=metaout.mp4"}

FFMpeg live Stream to Facebook Live with Terminal

Here are some snippets to live stream your previous screen recording to Facebook .

Lets change the Input source we would like to stream the desktop instead for that we use the little Free Tool called Camtwist
Avfoundation show us all available input sources
OSX ffmpeg -f avfoundation -list_devices true -i ""
WIN ffmpeg -y -f vfwcap -i list

Optional Loop many Videos Files to Facebook like a Set of Timeline Videos

VLC Mixing Audio and Silent Video
Now we add a Audio source in this case a test.mp3 to our silent metaout.mp4 video , outputing the result to the GUI Player with macosx important is the -noaudio parameter it will abort if not present ,defining Audio codec acodec=mp3 with the audio specs we like.
vlc -vvv -I macosx metaout.mp4 --noaudio --input-slave=test.mp3 --audio-track=1 --sout="#transcode{vcodec=mp4v,vb=800,acodec=mp3,ab=128,channels=2,samplerate=44100}:duplicate{dst=display}"

Same just save the final new mixed File we use h264 codec
vlc -vvv -I macosx test2.mp4 --noaudio --input-slave=test.mp3 --audio-track=1 --sout="#transcode{vcodec=h264,vb=1024,acodec=mp3,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=file,mux=mp4,dst="test1outsound.mp4"},dst=display}"

Now Streaming our Desctop like described above this example is full Desctop vlc -I rc screen:// --sout '#transcode{vcodec=h264,vb=300,fps=25,scale=1,acodec=mp4a,ab=64,channels=2}:std{access=rtmp,mux=ffmpeg{mux=flv},dst=rtmp://rtmp-api.facebook.com:80/rtmp/XXXXXXXXXXXXXXX?ds=1&s_l=1&XXXXXXXXXXXXXXXXX}'

Facebook Stream FAQ

Can we have multiple live streams on one page ? yes, its possible if you don’t terminate them you can even continue with the same key on the stream.

Can we interrupt a Livestream and continue later on ? Yes that’s possible as the last test show in the Video overview the Videos stay Live even if there is no more stream (probably a bug or concept for future functions)

Should we stream over Wifi or Lan ? It’s all time better to stream over Lan as on wifi you will generate more packet errors in your stream

What is the lowest Frame rate we can stream to Facebook ? FB recommend 30 Frames (for US NTSC ) 25 Frames is standard in Europe PAL Norm . For lower Frame Rates we need some more experiments. It reduce your bandwidth usage and left space for quality. Facebook Live Event log will complain if Framerate drops below 16 frames , but still stream

How to find coordinates of screen in Mac OS X and crop position to Capture ?Press CTR SHIFT 4 to pixel exact position and Screen capture size for the VLC crop settings. It’s the same shortcut you use for a single screen capture to disk. The Crosshair shows the pixel position and window size

How long is the delay to the Livestream ?

How long is the live stream Key Valid ? ? ?

Record Periscope Livestream with FFMpeg

ffmpeg -i HLS_URL out.mp4

Control the VLC from the Command Line.

After we executed the command line we can start and stop the recording from the CLI with play and quit . The command stop would not work as expected as the stream can’t be continued . To see the Playlist Elements you can use playlist there shoud be your cli command visible .

playlist : to get the playlist position

start

help

vlc -lUse --list or --list-verbose to list available modules.

vlc -p [module_name] --advanced display help for each module

Mac Terminal Commands

Show which processes are listening to which ports Socketslsof -i | grep LISTEN

VLC Terminal Errors to clear out

the Lua interface gave us some errors when we start Screen capturing and when we quite the process but it don’t affect our recording , probably the CLI and HTTP interface don’t work together as they should , so we don’t see our CLI executed commands on the web interface . We can live with that for now.

[http] core interface error: socket bind error: Permission denied

vlc is trying to use is always 8080, if you have something other running it will result in a error .Dosent matter what port you define for VLC

If your blog get agged probably it get slow . To clean up old SQL entrys there are several plugins but some time like in my case you need to delete millions of outdated Orphaned Post Meta , than plugins will timeout your SQL Database.

Especially if you experiment with post plugins loops can cause very fast tausend of duplicated post and metas.

This is the first try to explore and dig a bit deeper into the Developer World , not only from the code and benefit side but also to learn more about the style and thinking that build the red line thru all his work . Many times phantastic people nearly disappear online and there Blogs get abandoned . Most likely one of the Big 5 IT cooperation already hired him and no time for free plugins or Blogging .

Wp- Sweep is from the Developer Lester Chan a well known high profile WordPress Developer . The Plugin works smooth and clean following WordPress Tables and Terms as long they stay below 100.000 entry then it still works but can take extremely long and outtime your SQL Database on a shared host

PHP 5.3.14 (MAMP PRO only) you can change this if you compile your own php

PHP 5.4.4

MySQL 5.5.25

phpMyAdmin 3.5.1

SQLiteManager 1.2.4

Alternative PHP Cache (APC) 3.1.9

curl 7.24.0

eAccelerator 0.9.6.1

Expat XML Parser 2.0.1

FreeType 2.4.8

gettext 0.18.1.1

jpeg 8d

libiconv 1.14

Libidn 1.17

libmcrypt 2.6.8

libpng 1.5.7

libxml2 2.7.8

libxslt 1.1.26

Sablotron XML processor 1.0.3

t1lib 5.1.2

XCache 1.2.2

XCache 1.3.2

Xdebug 2.2.0

PHP/YAZ 1.0.14

YAZ 4.0.1

Upgrading my OSX php to 5.5 not recommended need a upgrade to MAMP3 . Wy we dont upgrade to the new version ? Settings and custom Build for this version was a lot of work and not documented that well like i log now every change on the system that was the main reason i stuck for very long on the running MAMP 2.2 .

Since i just learn to work with brew and debug some build problems this is a little resoruce to help beginner who like compile there builds. This resource was created by experimenting with a custom MLT build. Read also the Formula Cookbook to learn more . Some note

Xcode is required for adding PHP modules

Brew install all kegs in a Cellar /usr/local/Cellar/[FORMULA]/ and simlink them

How to modify brew scripts ?

Once downloaded all brew scripts can be found following dir . The ruby Install scripts can be edited or extended as you like

Edit PATH environment vars

Will open the bash_profile with your default editor , in our case with sublime text 2

touch ~/.bash_profile; open ~/.bash_profile

Apache Mac Terminal Commands

start apache Server

sudo apachectl start

Stop Terminate apache

sudo apachectl stop

Restart Apache from Terminal

sudo apachectl restart

Show Apache Version

httpd -v

apache start with terminal output for Error and debugging

apachectl -t

Common Brew install messages

Even after insalling a package dont mean its available for the system if its keg-only its not linked as the system have already a version. If you whant to build with that lib or package you must include the LDFLAGS and CPFLAGS in your make file or you can try to –force linking for your compile .

keg-Only

This formula is keg-only, which means it was not symlinked into /usr/local.
OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/curl/lib
CPPFLAGS: -I/usr/local/opt/curl/include