Changes between Version 1 and Version 2 of notes/media
- Timestamp:
- 2020-03-29T14:44:07Z (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
notes/media
v1 v2 1 1 = multimedia notes 2 == вырезать кусок видео с помощью`ffmpeg`:2 == cut video by time with `ffmpeg`: 3 3 {{{#!sh 4 4 ffmpeg -ss 00:00:11.500 -t 48 -i "couch throne.mpg" -c:v libx264 cut.avi … … 9 9 [[br]] 10 10 11 == слепить видео с помощью `ffmpeg`:11 == concatenate video with `ffmpeg` with no encode: 12 12 {{{#!sh 13 13 ffmpeg -i myfile1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1.ts … … 18 18 [[br]] 19 19 20 == разрезать `cue`/`flac` на пачку `wav`: 20 == download dash video with `ffmpeg' with no encode: 21 ```ffmpeg -i https://url.to/manifest.mpd -map 0:1 -map 0:4 -c copy output.mp4``` 22 23 [[br]] 24 25 == split `cue`/`flac` to `wav`: 21 26 {{{#!sh 22 27 shntool split -t "%n - %t" -m /- -o wav -f file.cue file.flac 23 28 }}} 24 а ещё можно сразу в`mp3`:29 instant to `mp3`: 25 30 {{{#!sh 26 31 shntool split -t "%n - %t" -m /- -o "cust ext=mp3 lame -m s -b 320 - %f" -f file.cue file.flac