-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
I tried 3_transcoding.c to transcode audio.
StreamingParams sp = {0};
sp.copy_audio = 0;
sp.copy_video = 0;
sp.video_codec = "libx264";
sp.codec_priv_key = "x264-params";
sp.codec_priv_value = "keyint=60:min-keyint=60:scenecut=0:force-cfr=1";
sp.audio_codec = "aac";
The format of the input video file is as below.
Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1280x720, 1718 kb/s, 30.20 fps, 30 tbr, 15360 tbn (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
Stream #0:1[0x2](und): Audio: mp3 (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 255 kb/s (default)
Metadata:
handler_name : SoundHandler
vendor_id : [0][0][0][0]
when transcoding from mp3 to aac, I got the error msg
[aac @ 0x55e811fab600] nb_samples (1152) > frame_size (1024)
Metadata
Metadata
Assignees
Labels
No labels