Note to myself. When you try to use the DoctrineObject as Hydrator in a Zend\Form don’t forget to have setter-methods in your Entity. A magic __call will not be sufficient
Category Archives: Allgemein
Capture a HLS-Stream using ffmpeg
Another ffmpeg one: This time to capture a HLS-Stream into any wanted format.
ffmpeg -i http://hls.example.com/playlist.m3u8 -vcodec copy -acodec libfaac myCapturedVideo.mp4
Convert AAC-Files to MP3 preserving ID3-tags
Took me not long, but before I forget how to do it:
find . -name "*.m4a" -exec ffmpeg -i "{}" -acodec libmp3lame -ab 196k -map_meta_data 0:0 "{}.mp3" \;
newer versions of ffmpeg seem to use -map_metadata 0.
“Update” Cached User-Information from Apples OpenDirectory
TLDR
There is no way of Updating Cached informations. You have to delete the cached User and recreate it.
The Story
The other day we had a problem with an OpenDirectory-User that was working on a mobile account on a laptop running MacOS 10.7. The user got a new laptop and to configure everything for the user we had to change the password to one we knew. So the password was changed in the OpenDirectory. We configured everything and the user changed his password back to a new one.
Everything fine – we thought.
Until the user went back home with his shiny new laptop, opened it up and tried to log in with the new password. the login-dialog shook and denied access. So the user was clever and tried the intermediate password we also knew. And voila – access was granted.
Continue reading “Update” Cached User-Information from Apples OpenDirectory
A great job well done
Thanks to the great work of a great number of developers Zend Framework 2 has been declared stable today. Have a look at http://bit.ly/zf2stable for more information.