Would you like to know how to leave my videos in this identical setting in ffmpeg?

Asked

Viewed 289 times

1

Format : MPEG-4

Format profile : Base Media

Codec ID: Isom (Isom/iso2/avc1/mp41)

File size : 202 Mib

Duration : 22 min 9 s

Overall bit rate : 1 278 kb/s

Writing application : Lavf57.2.100

Video

ID : 1

Format : AVC

Format/Info? : Advanced Video Codec

Format profile : High@l 4

Format Settings : CABAC / 3 Ref Frames

Format Settings, CABAC : Yes

Format Settings, Reframes? : 3 frames

Codec ID: avc1

Codec ID/Info : Advanced Video Coding

Duration : 22 min 8 s

Bit rate: 1 146 kb/s

Width: 1 920 pixels

Height : 1 080 pixels

Display Aspect ratio : 16:9

Frame rate mode: Variable

Frame rate: 23.976 (24000/1001) FPS

Minimum frame rate: 23.974 FPS

Maximum frame rate: 23.981 FPS

Color space : YUV

Chroma subsampling : 4:2:0

Bit Depth : 8 bits

Scan type : Progressive

Bits/(Pixel*Frame) : 0.023

Stream size: 182 Mib (90%)

Color range : Limited

Color primaries : BT.709

Transfer Characteristics : BT.709

Matrix coefficients : BT.709

Audio

ID : 2

Format : AAC

Format/Info? : Advanced Audio Codec

Format profile : LC

Codec ID: mp4a-40-2

Duration : 22 min 9 s

Bit rate mode: Constant

Bit rate: 126 kb/s

Channel(s) 2 Channels

Channel positions : Front: L R

Sampling rate: 44.1 kHz

Frame rate: 43.066 FPS (1024 SPF)

Compression mode : Lossy

Stream size: 19.9 Mib (10%)

Language : The English language

Default : Yes

Alternate group : 1

  • How so ffmpeg, be clearer with your question. For you have only given a technical file but not specified by which means you wish to obtain these adjustments on the acquittal, other than yourself ffmpeg. Are you using any GNU/Linux distro???

  • I’m not an expert at coding videos. I’m pretty layman.. This was a video that I took and had these settings, and I would like to make a video with the same settings. I do not know how to use the right ffmpeg I’m still learning. So I asked the question, I would like to know the command I can use to get this result.

  • thanks friend... use windows 7 64bits

  • thanks friend... use windows 7 64bits I have ffmpeg installed and only do the basic same.

  • Learn how to run Linux commands on Windows. In parallel to this, it is common for many users (you or someone else known) to think something like this: "I’m wanting to learn about Linux, but I don’t want Windows to leave my machine". To try to reach most of this audience of users has been created tools that emulate a Linux environment on the Windows system; Cygwin and Cash are two programs for this purpose.

  • The Cygwin is a DLL that emulates Linux within Windows. The *Cash, not running away from it much, promotes all this and a little more.

  • So to keep my attention I need to have these programs installed on my machine?

  • I installed ffmpeg according to a tutorial and use it in windows CMD Terminal

  • All right, I understand! We’ll see what I can do. I’ll give you a practical example to run a test on your CMD. Okay!? Wait ...

  • OK. I’ll wait.

Show 5 more comments

1 answer

1

Based on the information given in the question. We conclude that:

Video

Resolução: 1920x1080p
Frame rate :  23 FPS
Bit rate : 1146 kb/s
Format : AVC    
Codec : mpeg4   

Audio

Bit rate : 126 kb/s
Format : aac    
Codec: mp4a-40-2
Channel(s) : 2 channels
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)

.. the following pseudo-code may be developed at terminhal CMD:

ffmpeg -y -i "video_original.mpg" -vcodec mpeg4 -r 23.976 -b 1146k -s 1920x1080 -acodec mp4a-40-2 -ab 126k -ar 44100 -map 0.0 -map 1.0 "video_convertido.mp4"

Explaining each parameter:

Video

-vcodec - Faz cópia do vídeo original
-b      - Transferência do bitrate do vídeo
-r      - fps framerate do vídeo[Frames por segundo]
-s      - resolução do vídeo[tela]

Audio

-acodec - Faz cópia do áudio original
-ab     - Transferência do bitrate do áudio
-ar     - Taxa de amostragem frequência em Mega Hertz
-map    - Definir os canais 1 ou 2 [L R] (mono ou estereo)

Note - The most common codecs are MPEG4 and H264 for videos usually in format mp4.

  • Good morning... it’s different.. still the commands were giving error,, in the part -b 1146k he was saying that would be -b:a or -b:v and also in the part -acodec stating that the parameter was wrong, then put -acodec aac there worked.. more like this. Format : MPEG-4 Format profile : Base Media Codec ID : Isom (Isom/iso2/mp41) File size : 247 Mib Duration : 21 min 40 s Overall bit rate mode : Constant Overall bit rate : 1 593 kb/s Writing application : Lavf58.2.103

  • @Alex For more information, I can only pass via Chat. Since, the question may have to apply various modes experimental adjustments[it’s hard work]. Which in their requirement must have a broader, deeper approach.

  • Hello Diego I can not talk to you via chat, does not open any option for me to type or talk to you... More responding to your question the original video is in mp4 too, more with different configuration.. And I ask you a question, which app for android that can do this?

  • Answer show, just wanted to understand this part: Format : AVC

  • 1

    @kaputtz The "MP4", which is the best video format. The MP4 has an audio-video container standard that is part of the MPEG-4 specification developed by ISO/IEC 14496-14. It is similar to the popular AVI, but has some advantages: Native support for built-in caption. Better support for standard H.264 video encoding, also known as MPEG4 AVC. The MP4 file may have been created with several different codec types including Divx and Xvid. It is common for you to find an MP4 that consists of streams created by unusual codecs.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.