Direct copy of pre-encoded file:
$ ffmpeg -i filename.mp4 -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls filename.m3u8
from dotenv import dotenv_values | |
import os | |
from typing import List, Tuple | |
from langchain.callbacks.tracers import ConsoleCallbackHandler | |
from langchain_core.output_parsers import StrOutputParser | |
from langchain_core.prompts import ChatPromptTemplate, MessagesPlaceholder | |
from langchain_core.pydantic_v1 import BaseModel, Field | |
from langchain_core.runnables import ( | |
RunnableParallel, |
from moviepy.editor import * | |
from moviepy.video.tools.subtitles import SubtitlesClip | |
generator = lambda txt: TextClip(txt, font='Arial', fontsize=16, color='white') | |
subtitles = SubtitlesClip("somet.srt", generator) | |
video = VideoFileClip("some.mp4") | |
result = CompositeVideoClip([video, subtitles.set_pos(('center','bottom'))]) | |
result.write_videofile("out.mp4", fps=video.fps, temp_audiofile="temp-audio.m4a", remove_temp=True, codec="libx264", audio_codec="aac") |
/* | |
* Your Stylesheet | |
* | |
* This stylesheet is loaded when Atom starts up and is reloaded automatically | |
* when it is changed. | |
* | |
* If you are unfamiliar with LESS, you can read more about it here: | |
* http://www.lesscss.org | |
*/ |
ffmpeg -f avfoundation -i "2" -f avi - | mpv - --screen=1 | |
ffmpeg -f avfoundation -i "2:none" -vcodec libx264 -preset ultrafast -tune zerolatency -pix_fmt yuv422p -f mpegts - | mpv - --fs --screen=1 | |
ffmpeg -f avfoundation -i "2:none" -vcodec libx264 -fflags nobuffer -qp:v 26 -bf 0 -tune zerolatency -pix_fmt yuv422p -f mpegts - | mpv - demuxer-lavf-o-add=fflags=+nobuffer --fs --screen=1 --no-cache --untimed --no-demuxer-thread --video-sync=audio --vd-lavc-threads=1 |
Direct copy of pre-encoded file:
$ ffmpeg -i filename.mp4 -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls filename.m3u8
mkdir dash && \ | |
ffmpeg -hide_banner -i original.mkv -c:v libvpx-vp9 -row-mt 1 -keyint_min 150 -g 150 -tile-columns 4 -frame-parallel 1 \ | |
-movflags faststart -f webm -dash 1 -speed 3 -threads 4 -an -vf scale=426:240 -b:v 400k -r 30 -dash 1 dash/426x240-30-400k.webm && \ | |
ffmpeg -hide_banner -i original.mkv -c:v libvpx-vp9 -row-mt 1 -keyint_min 150 -g 150 -tile-columns 4 -frame-parallel 1 \ | |
-movflags faststart -f webm -dash 1 -speed 3 -threads 4 -an -vf scale=426:240 -b:v 600k -r 30 -dash 1 dash/426x240-30-600k.webm && \ | |
ffmpeg -hide_banner -i original.mkv -c:v libvpx-vp9 -row-mt 1 -keyint_min 150 -g 150 -tile-columns 4 -frame-parallel 1 \ | |
-movflags faststart -f webm -dash 1 -speed 3 -threads 4 -an -vf scale=640:360 -b:v 700k -r 30 -dash 1 dash/640x360-30-700k.webm && \ | |
ffmpeg -hide_banner -i original.mkv -c:v libvpx-vp9 -row-mt 1 -keyint_min 150 -g 150 -tile-columns 4 -frame-parallel 1 \ | |
-movflags faststart -f webm -dash 1 -speed 3 -threads 4 -an -vf scale=640:360 -b:v 900k -r 30 -dash 1 dash/640x360-30-900k.we |
{ | |
"database": { | |
"host": "127.0.0.1", | |
"user": "root", | |
"passwd": "", | |
"db": "dejavu" | |
} | |
} |
@font-face{ | |
font-family:icomoon; | |
src:url(/static/media/icomoon.5a607ab9.eot); | |
src:url(/static/media/icomoon.5a607ab9.eot#iefix) format("embedded-opentype"),url(/static/media/icomoon.cb4d6797.ttf) format("truetype"),url(/static/media/icomoon.ae37fc8e.woff) format("woff"),url(/static/media/icomoon.48533d8d.svg#icomoon) format("svg"); | |
font-weight:400; | |
font-style:normal | |
} | |
[class*=" icon-"],[class^=icon-]{ | |
font-family:icomoon!important; | |
speak:none; |
SOLON CR is indicated for the short-term treatment of psychological unease grounded in obsession with thinking about the near future. By severing the link between the present moment and a patient’s perceived future state, researchers have found a pronounced and significant drop in all forms of anxiety. As well, researchers have found that disengagement with “the future” has allowed many patients complaining of persistent loneliness to live active and productive single lives with no fear or anxiety. |
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%> | |
<%@ tag import="java.util.*" %> | |
<%@ tag import="com.github.jknack.handlebars.io.TemplateLoader" %> | |
<%@ tag import="com.github.jknack.handlebars.io.ServletContextTemplateLoader" %> | |
<%@ tag import="com.github.jknack.handlebars.Handlebars" %> | |
<%@ tag import="com.github.jknack.handlebars.Template" %> | |
<%@ tag import="com.github.jknack.handlebars.Context" %> | |
<%@ attribute name="template" required="true" %> | |
<%@ attribute name="context" required="true" type="javax.servlet.jsp.PageContext" %> | |
<% |