Comments (9)
ffmpeg (youtube-dl -g ([link)] | sed "s/.*/-ss 10 -i &/") -t 60 -c copy test3.mkv
from 00self-linux_trial_and_error.
os.system("") – PrinceOfCreation Feb 23 '19 at 18:41
I tried but it is not working os.system("ffmpeg ([link)] | sed 's/.*/-ss 10 -i &/') -t 60 -c copy test3.mkv") – Anish Mazumdar Feb 24 '19 at 5:48
from 00self-linux_trial_and_error.
ffmpeg -ss 12:15 -i "1st-URL" -ss 12:15 -i "2nd-URL" -t 5:15 -map 0:v -map 1:a -c:v libx264 -c:a aac output.mkv
from 00self-linux_trial_and_error.
ffmpeg -ss 00:00:15.00 -i "OUTPUT-OF-FIRST URL" -t 00:00:10.00 -c copy out.mp4
from 00self-linux_trial_and_error.
youtube-dl -g "https://www.youtube.com/watch?v=V_f2QkBdbRI"
from 00self-linux_trial_and_error.
ffmpeg $(youtube-dl -g 'https://www.youtube.com/watch?v=oHg5SJYRHA0' | sed "s/.*/-ss 00:05 -i &/") -t 01:00 -c copy out.mkv
from 00self-linux_trial_and_error.
SET /P url=
FOR /F %%A IN ('youtube-dl.exe -g %url%') DO (
ffmpeg.exe -ss 00:41:55 -i "%%A" -c copy -t 00:03:00 output.mp4
)
from 00self-linux_trial_and_error.
ffmpeg $(youtube-dl -g 'https://www.youtube.com/watch?v=NnW5EjwtE2U' | sed "s/.*/-ss 10 -i &/") -t 60 -c copy test3.mkv
from 00self-linux_trial_and_error.
성공
# from pytube import YouTube
from __future__ import unicode_literals
import os
import youtube_dl
import urllib
import shutil
TEXT_DIR = '/home/ivcl/Desktop/git/video-captioning/text_files/'
Vid2Url = eval(open(TEXT_DIR + 'Vid2Url_Full.txt').read())
video_id = str(Vid2Url['vid1547'])
video_url = 'https://www.youtube.com/watch?v='+ video_id
print('https://www.youtube.com/watch?v='+ video_id)
ydl_opts = {
'format' : 'best/best',
'outtmpl': ("/home/ivcl/Desktop/git/video-captioning/Data/YouTubeClips/test"),
'merge_output_format' : 'ffmpeg',
}
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
ydl.download([video_url])
os.chdir('/home/ivcl/Desktop/git/video-captioning/Data/YouTubeClips/')
os.system('ffmpeg -ss 00:01:44 -i test -t 00:00:06 -vcodec copy -acodec copy test_m.mp4')
os.chdir('/home/ivcl/Desktop/git/video-captioning')
from 00self-linux_trial_and_error.
Related Issues (20)
- [SOLVED]ImportError: No module named _tkinter, please install the python-tk package
- [TIP][github]깃허브 다크 테마
- [SOLVED][pytorch]THCudaCheck FAIL file=/pytorch/aten/src/THC/THCGeneral.cpp line=405 error=11 : invalid argument
- [TIP][ubuntu] 우분투 대용량파일 전송하기 ( rsync ) HOT 2
- [TIP][docker] 도커 >>> 로컬로 파일 옮기기
- [TIP] 윈도우 UEFI 포맷할 때, GRUB이 없어졌을 때
- [TIP][ubuntu] 풀더 내의 파일을 다른 풀더로 이동
- [TIP][Linux] 구글 드라이브 파일 다운로드받기 shell 명령어
- [TIP][Linux] 압축,해제
- [TIP]Linux 외장하드 마운트 (현 : 18.04)
- [TIP]Caffe 그래픽할당
- [TIP][Linux] grub repair 후에 윈도우가 안보일때
- [TIP][Linux][DeepLearning] nvidia-smi 으로 GPU사용중인 python 종료
- [TIP][Linux][DeepLearning]nvidia-smi실시간
- [TIP][Linux]크롬원격설정(18.04)
- [TIP][Anaconda3] 아나콘다 가상환경 복제하여 새로 생성 HOT 1
- [TIP] ssh 연결경우 Network:Connection timed out 오류 HOT 1
- [TIP] 아나콘다3 다른 계정에서 사용하기 HOT 1
- [TIP] LINUX SSD 추가
- [TIP] ANACONDA3 (Ubuntu 18.04 LTS) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 00self-linux_trial_and_error.