strip_tags PHP API

A Programming API


<?php $string= strip_tags($row['post_content']); ?>

An Explanation
strip_tags — Strip HTML and PHP tags from a string

string strip_tags ( string $str [, string $allowable_tags ] )

This function tries to return a string with all NUL bytes, HTML and
PHP tags stripped from a given  str. It uses the same tag stripping
state machine as the fgetss() function.


orepiyaclip sandb Sun Oct 16 2011

[audio:http://www.beautifulwork.org/wp-content/uploads/2011/10/orepiyafull.mp3]

Audio Recorder
: gnome-sound-recorder 2.30.0 Details : recorded as a wav file.
Play

$yatm orepiyafull.wav
$

MP3 Conversion
: pacpl Details : $pacpl orepiyafull.wav -t mp3 Perl Audio Converter - 4.0.5 Converting: [orepiyafull.wav] -> [mp3] ..done. Total files converted: 1, failed: 0 $
File Details
$file orepiyafull.*
orepiyafull.mp3: Audio file with ID3 version 2.3.0, contains: MPEG ADTS, layer III, v1, 128 kbps, 44.1 kHz, Monaural
orepiyafull.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 32 bit, mono 22050 Hz
$


beatclip Sat Oct 15 cover

[audio:http://www.beautifulwork.org/wp-content/uploads/2011/10/beat.mp3]

Audio Recorder
: gnome-sound-recorder 2.30.0 Details : recorded as a wav file.
Play
 $mplayer beat.wav
MPlayer SVN-r33057 (C) 2000-2010 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing beat.wav.
Audio only file format detected.
Load subtitles in ./
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 22050 Hz, 1 ch, s32le, 705.6 kbit/100.00% (ratio: 88200->88200)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [alsa] 48000Hz 1ch s32le (4 bytes per sample)
Video: no video
Starting playback...
A:  24.9 (24.8) of 24347.0 ( 6:45:47.0)  0.6%


Exiting... (End of file)
$




MP3 Conversion
: pacpl Details : $pacpl beat.wav -t mp3 Perl Audio Converter - 4.0.5 Converting: [beat.wav] -> [mp3] ..done. Total files converted: 1, failed: 0 $
File Details
$file beat.*
beat.mp3: Audio file with ID3 version 2.3.0, contains: MPEG ADTS, layer III, v1, 128 kbps, 44.1 kHz, Monaural
beat.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 32 bit, mono 22050 Hz
$


songclip Munbe Va cover Oct 12 2011

[audio:http://www.beautifulwork.org/wp-content/uploads/2011/10/munbeva.mp3]

Audio Recorder
: gnome-sound-recorder 2.30.0 Details : recorded as a wav file.
Play
 $aplay munbeva.wav
Playing WAVE 'munbeva.wav' : Signed 32 bit Little Endian, Rate 22050 Hz, Mono
$mpg123 munbeva.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
	version 1.12.1; written and copyright by Michael Hipp and others
	free software (LGPL/GPL) without any warranty but with best wishes

Playing MPEG stream 1 of 1: munbeva.mp3 ...
Title:                                   Artist:
Comment:                                 Album:
Year:
MPEG 1.0 layer III, 128 kbit/s, 44100 Hz mono

[0:51] Decoding of munbeva.mp3 finished.



MP3 Conversion
: pacpl Details : $pacpl munbeva.wav -to mp3 Perl Audio Converter - 4.0.5 Converting: [munbeva.wav] -> [mp3] ..done. Total files converted: 1, failed: 0
File Details
$file munbeva.*
munbeva.mp3: Audio file with ID3 version 2.3.0, contains: MPEG ADTS, layer III, v1, 128 kbps, 44.1 kHz, Monaural
munbeva.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 32 bit, mono 22050 Hz
$

gnome-sound-recorder from gnome-media

Connected From

File
gnome-sound-recorder
$whereis gnome-sound-recorder
gnome-sound-recorder: /usr/bin/gnome-sound-recorder /usr/share/gnome-sound-recorder /usr/share/man/man1/gnome-sound-recorder.1.gz
$

Find
$apt-file find gnome-sound-recorder | grep bin
gnome-media: /usr/bin/gnome-sound-recorder
$

Debian Package
$apt-cache  show gnome-media
Package: gnome-media
Version: 2.30.0-1
Installed-Size: 640
Maintainer: Debian GNOME Maintainers 
Architecture: amd64
Depends: libatk1.0-0 (>= 1.29.3), libc6 (>= 2.2.5), libcairo2 (>= 1.2.4), libcanberra-gtk0 (>= 0.4), libcanberra0 (>= 0.2), libfontconfig1 (>= 2.8.0), libfreetype6 (>= 2.2.1), libgconf2-4 (>= 2.27.0), libglib2.0-0 (>= 2.24.0), libgnome-media0, libgstreamer-plugins-base0.10-0 (>= 0.10.23), libgstreamer0.10-0 (>= 0.10.23), libgtk2.0-0 (>= 2.18.0), libpango1.0-0 (>= 1.14.0), libpulse-mainloop-glib0, libpulse0 (>= 0.9.21), libunique-1.0-0 (>= 1.0.0), libxml2 (>= 2.7.4), zlib1g (>= 1:1.1.4), gstreamer0.10-alsa | gstreamer0.10-audiosink, gnome-media-common (>= 2.30), gnome-media-common (<= 0.10.3), gstreamer0.10-plugins-good, x11-utils
Recommends: alsa-utils
Suggests: pulseaudio
Description: GNOME media utilities
 This package contains a few media utilities for the GNOME desktop:
  * the GNOME GStreamer-based audio mixer;
  * the GNOME Sound Recorder;
  * the GStreamer properties capplet.
Homepage: http://live.gnome.org/GnomeMedia
Tag: hardware::storage, hardware::storage:cd, interface::x11, role::program, scope::utility, sound::{mixer,player,recorder}, suite::gnome, uitoolkit::gtk, use::playing, works-with::audio, x11::application
Section: gnome
Priority: optional
Filename: pool/main/g/gnome-media/gnome-media_2.30.0-1_amd64.deb
Size: 223672
MD5sum: d8fa3604c2cfd2efb5e7ea5dfd669d0b
SHA1: abb8085d01597c3859ac968b94bdd86cd8db42a6
SHA256: 48b62b4776acc43026c005478b66291ad615523b5bb7ca37e100cc6d3d0a721d3

$

songclip rolling in the deep cover Oct 10 2011

[audio:http://www.beautifulwork.org/wp-content/uploads/2011/10/rollinnew.mp3]

Audio Recorder
: gnome-sound-recorder 2.30.0 Details : recorded as a wav file.
Play
$aplay rollinnew.wav
Playing WAVE 'rollinnew.wav' : Signed 32 bit Little Endian, Rate 22050 Hz, Mono
$

MP3 Conversion
: pacpl Details : $pacpl rollinnew.wav -to mp3 Perl Audio Converter - 4.0.5 Converting: [rollinnew.wav] -> [mp3] ..done. Total files converted: 1, failed: 0 $ls roll roll1.mp3 roll1.wav roll2.wav rollin.mp3 rollinnew.mp3 rollinnew.wav rollin.wav $
File Details
$file rollinnew.*
rollinnew.mp3: Audio file with ID3 version 2.3.0, contains: MPEG ADTS, layer III, v1, 128 kbps, 44.1 kHz, Monaural
rollinnew.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 32 bit, mono 22050 Hz
$



songclip rolling in the deep cover Oct 9 2011

[audio:http://www.beautifulwork.org/wp-content/uploads/2011/10/rollin.mp3]

Audio Recorder
: gnome-sound-recorder 2.30.0 Details : recorded as a wav file.
Play
$mplayer rollin.wav
MPlayer SVN-r33057 (C) 2000-2010 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing rollin.wav.
Audio only file format detected.
Load subtitles in ./
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 22050 Hz, 1 ch, s32le, 705.6 kbit/100.00% (ratio: 88200->88200)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [alsa] 48000Hz 1ch s32le (4 bytes per sample)
Video: no video
Starting playback...
A:  20.9 (20.8) of 24347.0 ( 6:45:47.0)  0.6%


Exiting... (End of file)
$



MP3 Conversion
: ffmpeg Details : $ffmpeg -i rollin.wav -ab 160k rollin.mp3 FFmpeg version git-6a7e074, Copyright (c) 2000-2011 the FFmpeg developers built on Mar 8 2011 09:54:27 with gcc 4.5.2 configuration: --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis libavutil 50. 39. 0 / 50. 39. 0 libavcodec 52.113. 2 / 52.113. 2 libavformat 52.102. 0 / 52.102. 0 libavdevice 52. 2. 3 / 52. 2. 3 libavfilter 1. 76. 0 / 1. 76. 0 libswscale 0. 12. 0 / 0. 12. 0 libpostproc 51. 2. 0 / 51. 2. 0 [wav @ 0x2049800] max_analyze_duration reached Input #0, wav, from 'rollin.wav': Duration: 06:45:47.14, bitrate: 0 kb/s Stream #0.0: Audio: pcm_s32le, 22050 Hz, 1 channels, s32, 705 kb/s Incompatible sample format 's32' for codec 'libmp3lame', auto-selecting format 's16' Output #0, mp3, to 'rollin.mp3': Metadata: TSSE : Lavf52.102.0 Stream #0.0: Audio: libmp3lame, 22050 Hz, 1 channels, s16, 160 kb/s Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop encoding size= 412kB time=21.08 bitrate= 160.0kbits/s video:0kB audio:412kB global headers:0kB muxing overhead 0.008064% $
File Details
 $file rollin.*
rollin.mp3: Audio file with ID3 version 2.4.0, contains: MPEG ADTS, layer III, v2, 160 kbps, 22.05 kHz, Monaural
rollin.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 32 bit, mono 22050 Hz
$

$mp3info2 rollin.mp3
File: /home/jeffrin/rollin.mp3
Title:   rollin                                             Track:
Artist:
Album:                                                      Year:
Comment:                                                    Genre:
$


songclip rolling in the deep cover Oct 8 2011

[audio:http://www.beautifulwork.org/wp-content/uploads/2011/10/scars.mp3]

Audio Recorder
: gnome-sound-recorder 2.30.0 Details : recorded as a wav file.
Play
$mplayer scars.wav
MPlayer SVN-r33057 (C) 2000-2010 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing scars.wav.
Audio only file format detected.
Load subtitles in ./
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 22050 Hz, 1 ch, s32le, 705.6 kbit/100.00% (ratio: 88200->88200)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [alsa] 48000Hz 1ch s32le (4 bytes per sample)
Video: no video
Starting playback...
A:  18.7 (18.7) of 24347.0 ( 6:45:47.0)  0.6%


Exiting... (End of file)
$

MP3 Conversion
: ffmpeg Details : $ffmpeg -i scars.wav -ab 160k scars.mp3 FFmpeg version git-6a7e074, Copyright (c) 2000-2011 the FFmpeg developers built on Mar 8 2011 09:54:27 with gcc 4.5.2 configuration: --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis libavutil 50. 39. 0 / 50. 39. 0 libavcodec 52.113. 2 / 52.113. 2 libavformat 52.102. 0 / 52.102. 0 libavdevice 52. 2. 3 / 52. 2. 3 libavfilter 1. 76. 0 / 1. 76. 0 libswscale 0. 12. 0 / 0. 12. 0 libpostproc 51. 2. 0 / 51. 2. 0 [wav @ 0x10e1800] max_analyze_duration reached Input #0, wav, from 'scars.wav': Duration: 06:45:47.14, bitrate: 0 kb/s Stream #0.0: Audio: pcm_s32le, 22050 Hz, 1 channels, s32, 705 kb/s Incompatible sample format 's32' for codec 'libmp3lame', auto-selecting format 's16' Output #0, mp3, to 'scars.mp3': Metadata: TSSE : Lavf52.102.0 Stream #0.0: Audio: libmp3lame, 22050 Hz, 1 channels, s16, 160 kb/s Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop encoding size= 369kB time=18.91 bitrate= 160.0kbits/s video:0kB audio:369kB global headers:0kB muxing overhead 0.008989%
File Details
$file scars.*
scars.mp3: Audio file with ID3 version 2.4.0, contains: MPEG ADTS, layer III, v2, 160 kbps, 22.05 kHz, Monaural
scars.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 32 bit, mono 22050 Hz
$

songclip rolling in the deep cover Oct 6 2011

[audio:http://www.beautifulwork.org/wp-content/uploads/2011/10/roll1.mp3]

Audio Recorder
: gnome-sound-recorder 2.30.0 Details : recorded as a wav file.
Merging
: $cat roll2.wav >> roll1.wav
MP3 Conversion
: ffmpeg Details : $ffmpeg -i roll1.wav -ab 320k roll1.mp3 FFmpeg version git-6a7e074, Copyright (c) 2000-2011 the FFmpeg developers built on Mar 8 2011 09:54:27 with gcc 4.5.2 configuration: --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis libavutil 50. 39. 0 / 50. 39. 0 libavcodec 52.113. 2 / 52.113. 2 libavformat 52.102. 0 / 52.102. 0 libavdevice 52. 2. 3 / 52. 2. 3 libavfilter 1. 76. 0 / 1. 76. 0 libswscale 0. 12. 0 / 0. 12. 0 libpostproc 51. 2. 0 / 51. 2. 0 [wav @ 0xa5d800] max_analyze_duration reached Input #0, wav, from 'roll1.wav': Duration: 06:45:47.14, bitrate: 0 kb/s Stream #0.0: Audio: pcm_s32le, 22050 Hz, 1 channels, s32, 705 kb/s Incompatible sample format 's32' for codec 'libmp3lame', auto-selecting format 's16' Output #0, mp3, to 'roll1.mp3': Metadata: TSSE : Lavf52.102.0 Stream #0.0: Audio: libmp3lame, 22050 Hz, 1 channels, s16, 320 kb/s Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop encoding size= 441kB time=22.60 bitrate= 160.0kbits/s video:0kB audio:441kB global headers:0kB muxing overhead 0.007523% $ $file roll1.wav roll1.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 32 bit, mono 22050 Hz $file roll1.mp3 roll1.mp3: Audio file with ID3 version 2.4.0, contains: MPEG ADTS, layer III, v2, 160 kbps, 22.05 kHz, Monaural $

songclip O Re Piya Cover October 4 2011

[audio:http://www.beautifulwork.org/wp-content/uploads/2011/10/second.mp3]

Audio Recorder
: gnome-sound-recorder 2.30.0 Details : recorded as a wav file.
MP3 Conversion
: ffmpeg Details : $ffmpeg -i second.wav -ab 320k second.mp3 FFmpeg version git-6a7e074, Copyright (c) 2000-2011 the FFmpeg developers built on Mar 8 2011 09:54:27 with gcc 4.5.2 configuration: --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis libavutil 50. 39. 0 / 50. 39. 0 libavcodec 52.113. 2 / 52.113. 2 libavformat 52.102. 0 / 52.102. 0 libavdevice 52. 2. 3 / 52. 2. 3 libavfilter 1. 76. 0 / 1. 76. 0 libswscale 0. 12. 0 / 0. 12. 0 libpostproc 51. 2. 0 / 51. 2. 0 [wav @ 0x1898800] max_analyze_duration reached Input #0, wav, from 'second.wav': Duration: 06:45:47.14, bitrate: 1 kb/s Stream #0.0: Audio: pcm_s32le, 22050 Hz, 1 channels, s32, 705 kb/s Incompatible sample format 's32' for codec 'libmp3lame', auto-selecting format 's16' Output #0, mp3, to 'second.mp3': Metadata: TSSE : Lavf52.102.0 Stream #0.0: Audio: libmp3lame, 22050 Hz, 1 channels, s16, 320 kb/s Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop encoding size= 1135kB time=58.12 bitrate= 160.0kbits/s video:0kB audio:1135kB global headers:0kB muxing overhead 0.002925% $file second.wav second.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 32 bit, mono 22050 Hz $file second.mp3 second.mp3: Audio file with ID3 version 2.4.0, contains: MPEG ADTS, layer III, v2, 160 kbps, 22.05 kHz, Monaural $