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.
Thanks *Canberk Demirsoy* B.Sc. Electrical Engineering, Sabancı University M.Sc. Computer Engineering, Munich Technical University On Thu, Jan 26, 2017 at 11:09 AM, Kieran O Leary <kieran.o.le...@gmail.com> wrote: > Hi, > > > On Thu, Jan 26, 2017 at 9:25 AM, Canberk Demirsoy (Alumni) < > cdemir...@sabanciuniv.edu> wrote: > > > Hi guys even though i make lots of settings i still see yuv format in > debug > > file. How to correctly get h264 format from c920 using raspberry pi? And > i > > wanna transfer file without encoding or decoding by copying vcodec. > > > > > It looks like your output file is H264 though? What are you seeing that > makes you think otherwise? YUV420p is the pixel format that H264 is using > in your case. I also wasn't familiar with the -pix_fmt H264 option as I am > used to seeing YUV/RGB/XYZ type pixel formats in there, but I'm not > familiar with -f vl42 commands. > > > > Output #0, mp4, to 'logging.mp4': > > Metadata: > > encoder : Lavf57.60.100 > > Stream #0:0, 0, 1/10240: Video: h264 (Constrained Baseline), 1 > > reference frame ([33][0][0][0] / 0x0021), yuvj420p(pc, progressive, > left), > > 1920x1080 (0x0) [SAR 1:1 DAR 16:9], 0/1, q=2-31, -3 kb/s, 20 fps, 20 tbr, > > 10240 tbn, 20 tbc > > > > I see H264 here as your codec. > > Best, > > 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". _______________________________________________ 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".