Hi, On Thu, Jan 26, 2017 at 10:23 AM, Canberk Demirsoy (Alumni) < cdemir...@sabanciuniv.edu> wrote:
> Hi, i need input codec as h264 rather than yuvj420 because i am using > raspberry pi and c920 webcam so i need to handle encoding with onboard > encoder of c920 to make things easier. Yes my output is h264 but i also > need input as h264. > > yuvj420 is not a codec, it is the pixel format that a video codec uses. It is saying that your H264 encoding is: yuv - Using the YUV colour space j - using full, rather than broadcast range 420 - using 4:2:0 chroma subsampling I can't really help any further but hopefully someone more knowledgeable can assist you. According to this, your input is h264: Input #0, video4linux2,v4l2, from '/dev/video0': Duration: N/A, start: 2409.495782, bitrate: N/A Stream #0:0, 8, 1/1000000: Video: h264 (Constrained Baseline), 1 reference frame, yuvj420p(pc, progressive, left), 1920x1080 (1920x1088) [SAR 1:1 DAR 16:9], 0/1, -3 kb/s, 20 fps, 20 tbr, 1000k tbn, 40 tbc I'm not sure if some other configuration is required for ffmpeg to be able to use hardware acceleration from a webcam, which sounds like your intent. -Kieran. _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".