简体   繁体   中英

avconv on Ubuntu 14.04 to convert .mp4 to .h264 with as is configuration

I am trying to use avconv on Ubuntu 14.04 to convert a .mp4 stream (which I am sure is intra coded) to .h264 (raw compressed stream). What are the options I should be using in avconv to ensure that I get the .h264 in exactly the same configuration as the .mp4 file.

avconv -i DJI_0028.mp4 DJI_0028.h264

When I do the above it seem to take a long time to get the raw stream out of the container mp4. This I think changes the encoding configuration of the file.

Additionally how is it possible to check all the encoding options (number of I frame, P frames etc) for a file.

如果avconv与ffmpeg的语法相同,请使用

avconv -i DJI_0028.mp4 -c copy -f h264 DJI_0028.h264

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM