2
이 명령은 물론 작업의 것이다mpg를 2 채널 aac으로 인코딩하는 방법을 설명합니다.
avconv -i input.mpg -c:v libx264 -s 852x480 -c:a libfaac output.mp4
그러나 이러한 오디오 설정을 파일로 MPG 인코딩 :
Resolution: 480p
Ratio: 1.78
Audio: 2 channel AAC
Video Bitrates: 600/800/1200/2000
Audio Bitrates: 96
Codec: H.264 - High
I을 :
{
"index": 1,
"codec_name": "mp2",
"codec_long_name": "MP2 (MPEG audio layer 2)",
"codec_type": "audio",
"codec_time_base": "1/48000",
"codec_tag_string": "mp4a",
"codec_tag": "0x6134706d",
"sample_fmt": "s16",
"sample_rate": "48000",
"channels": 2,
"bits_per_sample": 0,
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/48000",
"start_time": "0.000000",
"duration": "60.000000",
"nb_frames": "2500",
"tags": {
"language": "und",
"handler_name": ""
}
}
이 내가해야 할 것입니다 시도 :
avconv -i input.mpg -c:v libx264 -s 852x480 -c:a libfaac output.mp4
하지만 얻을 오류 : (avconv) 기본적으로는 FAAC로 구축되지
sudo apt-get install libfaac-dev
굉장! 완성도 +1! – heltonbiker
또는 대신'libvo_aacenc'를 사용할 수 있습니다. –