FFMPEG MP4 to HLS M3U8 TS Streaming

HTTP Live Streaming (HLS) is very popular for live-streaming and on-demand video (VOD) technology by Apple. HLS need HTTP/HTTPS protocol which allows to stream from a regular web server. FFmpeg is multimedia framework used for stream play, decode, encode, mux, demux, stream, transcode and filter. Install FFMPEG on Ubuntu # apt install ffmpeg How to … Read more

FFMPEG make Video Lyrics using JPG MP3 SRT File

FFMPEG make Video Lyrics using JPG MP3 SRT File Input Files – Image (test.jpg) – MP3 File (test.mp3) – SRT Lyrics (test.srt) FFMPEG Command # ffmpeg -loop 1 -y -i test.jpg -i test.mp3 -vf subtitles=”f=test.srt:force_style=’FontName=Arial,FontSize=14″ -shortest test1.mp4 Output File: test1.mp4 SRT Lyrics Preview 1 00:00:00,330 –> 00:00:04,936 Hello Feifei. I didn’t know you shopped at … Read more

How to add MP3 audio delayed in MP4 video?

FFMPEG Command: Add MP3 Audio file delayed in MP4 video file # ffmpeg.exe -i “fox-story.mp4” -itsoffset 5.00 -i “fox-story.mp3” -map 0:v -map 1:a -vcodec copy -acodec copy “The Fox and Crow Story.mp4” Input: fox-story.mp4 and fox-story.mp3 Output: The Fox and Crow Story.mp4 -itsoffset 5.00 -i “movie.mp3” Offsets timestamps of audio streams by 5.00 seconds -map … Read more

Record Live Streaming Radio to MP3

Sometime you want to record Live Radio Stream to MP3 file, you can find many online linux tools for recording radio stream to server and then download to your local computer. You can use Linux “wget” or “curl” CURL # curl -sS -o stream.mp3 –max-time 150 http://Radio-Server:Port/stream Bitrate: 128 kb/s [it will make approx 2MB … Read more

Live Transcoder for Nimble Streamer

WMSPanel’s Transcoder for Nimble Streamer is a premium add-on for Nimble Streamer which can decode, transform and encode live streaming media. The Transcoder use H.264, MPEG2 video and AAC, MP3, MP2, Speex audio as Input. It support RTMP pulled and published, RTSP pulled and announced, MPEG-TS via HTTP and UDP as input protocols. The Transcoder … Read more

Wowza Live Audio Video Mixing

Wowza doesn’t do transcoding. So, we highly recommend to use FOSS solutions Where we need Wowza Live Audio Video Mixing? 1) Live event is broadcasting through Wowza 2) We need a multi lingual setup somewhere and comment or transcode that live event with voice. 3) Flash client might receive the stream where Output Video Stream … Read more

FFMpeg Video to Image Gallery

1. FFMpeg create images using video source # ffmpeg -i video.mp4 -s 560×315 images/image%d.jpg 2. Create image sequence gallery <?php $files = array(); foreach (glob(“images/*.jpg”) as $filename) { $files[] = $filename; } natsort($files); ?> <div id=”slideshow”> <?php $i=1; foreach ($files as $filename) { if($i%15==0) { ?> <img src=”<?php echo $filename; ?>” <?php if($i==15) { ?> … Read more

Red5 figure out audio/video out of sync issue

I had worked Red5 WebCam application that lets users to record video clips from their webcams. The users could talk while they record clips. I was using PHP with Zend Gdata for uploading recorded video clips to YouTube. But I had issue in FLV files generated by Red5 server, the clip’s audio / video content … Read more

FFmpeg

# ffmpeg is a command line tool to convert one video file format to another. It can also grab and encode in real time from a TV card. # ffserver is an HTTP and RTSP multimedia streaming server for live broadcasts. It can also time shift live broadcast. # ffplay is a simple media player … Read more

Couldn’t find video filter ‘x264’

x264 is a free software library for encoding video streams into the H.264/MPEG-4 AVC format. It is released under the terms of the GNU General Public License. x264 itself provides a command line interface as well as a library-level interface. x264 is used to encode video files in mp4, m4v, h.264 (HD) output format. Install … Read more