Videoforum - форум о видео и не только!

Videoforum - форум о видео и не только! (http://videoforums.ru/index.php)
-   Секреты видеосъемки и монтажа. Мастер-классы. (http://videoforums.ru/forumdisplay.php?f=55)
-   -   Конвертация видео (http://videoforums.ru/showthread.php?t=8712)

sergvg 29.12.2019 09:48

Конвертация видео
 
Приветствую всех. В кодировании видео я не силён. Подскажите, пожалуйста, с какими параметрами нужно запустить ffmpeg (а можно и mencoder), чтобы получить на выходе видеофайл с такими параметрами (видео с камеры):
Mediainfo
Код:

General
ID                                      : 0 (0x0)
Complete name                            : 00034.MTS
Format                                  : BDAV
Format/Info                              : Blu-ray Video
File size                                : 94.7 MiB
Duration                                : 46 s 713 ms
Overall bit rate mode                    : Variable
Overall bit rate                        : 17.0 Mb/s
Maximum Overall bit rate                : 18.0 Mb/s

Video
ID                                      : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                  : AVC
Format/Info                              : Advanced Video Codec
Format profile                          : High@L4
Format settings, CABAC                  : Yes
Format settings, ReFrames                : 2 frames
Format settings, GOP                    : M=2, N=13
Codec ID                                : 27
Duration                                : 46 s 200 ms
Bit rate mode                            : Variable
Bit rate                                : 16.0 Mb/s
Width                                    : 1 920 pixels
Height                                  : 1 080 pixels
Display aspect ratio                    : 16:9
Frame rate                              : 25.000 FPS
Color space                              : YUV
Chroma subsampling                      : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan type, store method                  : Separated fields
Scan order                              : Top Field First
Bits/(Pixel*Frame)                      : 0.309
Stream size                              : 88.4 MiB (93%)

Audio
ID                                      : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                  : AC-3
Format/Info                              : Audio Coding 3
Mode extension                          : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                : 129
Duration                                : 46 s 816 ms
Bit rate mode                            : Constant
Bit rate                                : 256 kb/s
Channel(s)                              : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 kHz
Frame rate                              : 31.250 FPS (1536 spf)
Bit depth                                : 16 bits
Compression mode                        : Lossy
Delay relative to video                  : -608 ms
Stream size                              : 1.43 MiB (2%)

Text
ID                                      : 4608 (0x1200)
Menu ID                                  : 1 (0x1)
Format                                  : PGS
Codec ID                                : 144
Duration                                : 45 s 695 ms
Delay relative to video                  : -80 ms


sergvg 29.12.2019 13:34

А если точнее, то мне нужно в начало ролика с камеры добавить ролик-вступление, и в конце ролик-окончание. А чтобы сработала команда конкатенации, надо, чтобы форматы совместимы были. Вот, подскажите, пожалуйста, как это сделать.


Часовой пояс GMT +1, время: 10:18.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод: zCarot