Tags » Ffmpeg

How to fix low-volume audio/video files with FFMPEG (for normalization) and/or Audacity (for Dynamic Range Compression)

Because my Internet connection is very cranky, I download online videos and play them offline on my WDTV media player. The WDTV remote does not have volume control. 301 more words

Software

How to generate a fmp4 hls live stream with FFMPEG


ffmpeg -re -stream_loop -1 -i voweb.mp4 -hls_fmp4_init_filename init.mp4 -vf "settb=AVTB,setpts='trunc(PTS/1K)*1K+st\(1,trunc(RTCTIME/1K))-1K*trunc(ld(1)/1K)',\
drawtext=fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf: \
text='%{localtime}.%{eif\:1M*t-1K*trunc(t*1K)\:d}': fontcolor=red: box=1: boxcolor=0x00000000@1: fontsize=50: x=500: y=100" -c:a aac -b:a 128k -ar 44100 -c:v libx264 -max_muxing_queue_size 400 -x264opts no-scenecut -force_key_frames "expr:gte(t,n_forced*2)" -crf 23 -start_number 0 -hls_time 4 -hls_list_size 3 -use_localtime 1 -hls_segment_type fmp4 -hls_segment_filename voweb_%s.mp4 -hls_flags delete_segments -b:v 5000k -maxrate 5350k -bufsize 7500k -f hls hls_cmaf.m3u8

FFMPEG

FFMPEG and h.265

I’ve noticed that YouTube transcodes my videos after I upload them and wanted to know more. It turns out that they are internally using a form of h.265 video encoding, which reduces the data size significantly without reducing perceived quality over h.264 video compression. 445 more words

Photography

Raspberry Pi Security Camera

This tutorial will explain how to install and setup your own security camera. It has steps to install and configure operating system, ffserver as well as stream raspberry pi camera via ffmpeg. 700 more words

Projects

How to cut first x seconds of a video using ffmpeg

ffmpeg -i source_video.mp4 -t 50 -c copy output_video.mp4

This cuts the first 50 seconds of the video named source_video.mp4 and outputs them without any re-encoding to output_video.mp4… 7 more words

Linux

FFMPEG command line examples for audio-video capture

Here, keeping some ffmpeg commands handy as I tend to forget if I don’t use them quite often. (please pardon me if links dont work) 616 more words

Tips

Compile FFMPEG + openH264 on Window/Mingw

Because x264 encoder license, openH264 is other choice for free h264 software to encode/decode video. We can use openH264 with ffmpeg.  Today’ s post,  I note some tips relating to enable openh264 option when compiling ffmpeg on Window/Mingw. 211 more words

Ffmpeg