Changes between Version 1 and Version 2 of notes/media


Ignore:
Timestamp:
2020-03-29T14:44:07Z (5 years ago)
Author:
root
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • notes/media

    v1 v2  
    11= multimedia notes
    2 == вырезать кусок видео с помощью `ffmpeg`:
     2== cut video by time with `ffmpeg`:
    33{{{#!sh
    44ffmpeg -ss 00:00:11.500 -t 48 -i "couch throne.mpg" -c:v libx264 cut.avi
     
    99[[br]]
    1010
    11 == слепить видео с помощью `ffmpeg`:
     11== concatenate video with `ffmpeg` with no encode:
    1212{{{#!sh
    1313ffmpeg -i myfile1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1.ts
     
    1818[[br]]
    1919
    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`:
    2126{{{#!sh
    2227shntool split -t "%n - %t" -m /- -o wav -f file.cue file.flac
    2328}}}
    24 а ещё можно сразу в `mp3`:
     29instant to `mp3`:
    2530{{{#!sh
    2631shntool split -t "%n - %t" -m /- -o "cust ext=mp3 lame -m s -b 320 - %f" -f file.cue file.flac