Re: [FFmpeg-user] Concatenating mp4 files rotates the video

2024-05-22 Thread Ferdi Scholten
Anyways, what do I need to do to avoid these unrequested rotations? Remove the rotation metadata of the original files if they have the same rotation, Then concatenate the original video's using codec copy without loss of quality. (Converting to MPEG-2 does reduce quality (a lot) while creating

Re: [FFmpeg-user] ffmepg mipi csi video cpature

2024-05-22 Thread Ferdi Scholten
On 22-05-2024 08:46, Nikhil via ffmpeg-user wrote: I need to test video record using ov5640 camera with mipi-csi interface, video record is working fine with usb wbcam with the same ffmpeg version but not with mipi camera On 22/05/24 12:22 pm, Paul B Mahol wrote: Not sure what you trying to s

Re: [FFmpeg-user] ffmepg mipi csi video cpature

2024-05-22 Thread Nikhil via ffmpeg-user
i have updated from 4.x to 5.0 here is the output requested ~#  ffmpeg -devices ffmpeg version n5.0.3-18-gd6bec7f83e Copyright (c) 2000-2022 the FFmpeg developers   built with gcc 11.3.0 (GCC)   configuration: --enable-gpl --enable-libx264   libavutil  57. 17.100 / 57. 17.100   libavcodec 

[FFmpeg-user] Low FPS with H.264 Encoding When Using -pix_fmt yuv420p

2024-05-22 Thread Lisa
Hello, when I use the following command in Raspberry Pi 4 model B, I am getting only 8 fps for 1080p resolution. *ffmpeg -use_wallclock_as_timestamps 1 -t 60 -i /dev/video0 -c:v h264_v4l2m2m -b:v 8M -maxrate 2M -vsync 2 -bufsize 4M -r 30 -s hd1080 -pix_fmt yuv420p -g 30 -qmin 20 -qmax 50 output_10

Re: [FFmpeg-user] Low FPS with H.264 Encoding When Using -pix_fmt yuv420p

2024-05-22 Thread Carl Zwanzig
Please post the complete command output with all the options and error messages, otherwise it's only guessing (see section 6 of https://ffmpeg.org//mailing-list-faq.html). z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailm

Re: [FFmpeg-user] ffmepg mipi csi video cpature

2024-05-22 Thread Carl Zwanzig
On 5/22/2024 5:09 AM, Nikhil via ffmpeg-user wrote: i have updated from 4.x to 5.0 here is the output requested Save some hassle and get a 7.x version. (Or at least 6.x.) z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mail

Re: [FFmpeg-user] Low FPS with H.264 Encoding When Using -pix_fmt yuv420p

2024-05-22 Thread Lisa
Certainly! I completely understand your request. I'll make sure to include the complete command output with all options and error messages for clarity. Thank you for bringing it to my attention! 1. command with -pix_fmt yuv420p pi@raspberrypi:~/H.264 $ */home/pi/ffmpeg-4.0.6/ffmpeg -use_wallclock_

Re: [FFmpeg-user] Low FPS with H.264 Encoding When Using -pix_fmt yuv420p

2024-05-22 Thread Carl Zwanzig
Hi, On 5/22/2024 11:16 AM, Lisa wrote: ffmpeg version 4.0.6 Copyright (c) 2000-2020 the FFmpeg developers First thing is to try a modern version of ffmpeg, that one is positively ancient and pretty much unsupported. Later, z! ___ ffmpeg-user mai

Re: [FFmpeg-user] ffmepg mipi csi video cpature

2024-05-22 Thread Paul B Mahol
On Wed, May 22, 2024 at 2:09 PM Nikhil wrote: > i have updated from 4.x to 5.0 here is the output requested > But what is full command line you use (the ffmpeg parameters to the device)? I do not see it being posted. > ~# ffmpeg -devices > > ffmpeg version n5.0.3-18-gd6bec7f83e Copyright (c)

Re: [FFmpeg-user] ffmepg mipi csi video cpature

2024-05-22 Thread Ferdi Scholten
On 23-05-2024 06:16, Nikhil via ffmpeg-user wrote: This is the command i used ffmpeg -f v4l2 -i /dev/video0 -c:v libx264 -crf 23 -preset medium output.mp4 Also i used command suggested by ferdi, no progress ffmpeg -pix_fmt bayer_bggr8 -f v4l2 -s 1280x960 -i /dev/video0 -c:v libx264 -prese