Re: [FFmpeg-user] encode to RAW video

2022-11-02 Thread Clay
> Clay via ffmpeg-user (12022-11-02): >> Doesn't this serial ordering of the same command (-c:v ) twice just >> drive cpu workload up for no actual benefit?  >> >> To clarify:  executing -c:v and then executing -c:v just >> causes one output: .   Thus you are forcing the CPU to

Re: [FFmpeg-user] encode to RAW video

2022-11-02 Thread Nicolas George
Clay via ffmpeg-user (12022-11-02): > Doesn't this serial ordering of the same command (-c:v ) twice just > drive cpu workload up for no actual benefit?  > > To clarify:  executing -c:v and then executing -c:v just > causes one output: .   Thus you are forcing the CPU to >

Re: [FFmpeg-user] encode to RAW video

2022-11-02 Thread Clay via ffmpeg-user
> Le 31/10/2022 à 14:23, Naveen.B a écrit : >> I observed some weird behaviour with fast and medium preset, >> >> fast preset: >> *ffmpeg -pixel_format gray10le -s 1600x1300 -r 30 -i >> CapturedImage-%03d.raw >> -c:v rawvideo -pixel_format yuv420p -f rawvideo -c:v libx264 -preset >> fast >> -crf

Re: [FFmpeg-user] encode to RAW video

2022-11-02 Thread pehache
Le 01/11/2022 à 00:01, Carl Zwanzig a écrit : -c:v rawvideo -pixel_format yuv420p Use the video codec "rawvideo" with that pixel format for output, except AFAICT that there is no video encoder "rawvideo" (that should throw an error, which because of the missing command output, we don't see).

Re: [FFmpeg-user] encode to RAW video

2022-11-02 Thread pehache
Le 31/10/2022 à 14:23, Naveen.B a écrit : I observed some weird behaviour with fast and medium preset, fast preset: *ffmpeg -pixel_format gray10le -s 1600x1300 -r 30 -i CapturedImage-%03d.raw -c:v rawvideo -pixel_format yuv420p -f rawvideo -c:v libx264 -preset fast -crf 18 test.raw* "-c:v

Re: [FFmpeg-user] encode to RAW video

2022-11-01 Thread Carl Zwanzig
(all attributions are missing in Naveen's response, please don't do that) On 11/1/2022 3:00 AM, Naveen.B wrote: What do you really want? Why this insistence on "raw" output, either as an "encoding" or output file? That's making life difficult and likely obscuring other issues. I am doing

Re: [FFmpeg-user] encode to RAW video

2022-11-01 Thread Reindl Harald
Am 01.11.22 um 11:00 schrieb Naveen.B: What do you really want? Why this insistence on "raw" output, either as an "encoding" or output file? That's making life difficult and likely obscuring other issues. I am doing some compression analysis, So I need raw output whatever that

Re: [FFmpeg-user] encode to RAW video

2022-11-01 Thread Naveen.B
> > > > I observed some weird behaviour with fast and medium preset, > > We've observed that you're -still- top-posting, please stop it. > > > (reformatted) > > fast preset: > > *ffmpeg -pixel_format gray10le -s 1600x1300 -r 30 -i > CapturedImage-%03d.raw > Specifies the input file(s) and their

Re: [FFmpeg-user] encode to RAW video

2022-10-31 Thread Clay via ffmpeg-user
Carl Zwanzig wrote on 10/31/22 19:01: > On 10/31/2022 6:23 AM, Naveen.B wrote: >> I observed some weird behaviour with fast and medium preset, > > We've observed that you're -still- top-posting, please stop it. > > Reminder:  Top Posting:  Replying ABOVE the Quote... :-) *Don't ask me how I know

Re: [FFmpeg-user] encode to RAW video

2022-10-31 Thread Carl Zwanzig
On 10/31/2022 6:23 AM, Naveen.B wrote: I observed some weird behaviour with fast and medium preset, We've observed that you're -still- top-posting, please stop it. (reformatted) fast preset: *ffmpeg -pixel_format gray10le -s 1600x1300 -r 30 -i CapturedImage-%03d.raw Specifies the input

Re: [FFmpeg-user] encode to RAW video

2022-10-31 Thread Naveen.B
I observed some weird behaviour with fast and medium preset, fast preset: *ffmpeg -pixel_format gray10le -s 1600x1300 -r 30 -i CapturedImage-%03d.raw -c:v rawvideo -pixel_format yuv420p -f rawvideo -c:v libx264 -preset fast -crf 18 test.raw* command output: *frame= 30 fps=0.0 *q=-1.0 Lsize=

Re: [FFmpeg-user] encode to RAW video

2022-10-27 Thread pehache
Le 27/10/2022 à 13:31, Naveen.B a écrit : one last question, any idea on how to know/measure how long the ffmpeg takes to encode the file. The answer depends on too many parameters. i.e, basically I want to know how much time it takes to compress with different presets and how much time it

Re: [FFmpeg-user] encode to RAW video

2022-10-27 Thread Carl Zwanzig
On 10/27/2022 4:31 AM, Naveen.B wrote: one last question, any idea on how to know/measure how long the ffmpeg takes to encode the file. i.e, basically I want to know how much time it takes to compress with different presets and how much time it takes to encode for an uncompressed RAW video. By

Re: [FFmpeg-user] encode to RAW video

2022-10-27 Thread Naveen.B
> > > I tried by giving the input with -pix_fmt, it's the same error. > > > > Yes, I want raw video. I have converted RAW files to .mp4 successfully > with > > uncompressed, the size of the .mp4 format video was less comparatively. > > I have 30 RAW files with each file is around 4Mbps (so, 30 RAW

Re: [FFmpeg-user] encode to RAW video

2022-10-26 Thread pehache
Le 24/10/2022 à 18:36, Naveen.B a écrit : I tried by giving the input with -pix_fmt, it's the same error. Yes, I want raw video. I have converted RAW files to .mp4 successfully with uncompressed, the size of the .mp4 format video was less comparatively. I have 30 RAW files with each file is

Re: [FFmpeg-user] encode to RAW video

2022-10-26 Thread Paul B Mahol
On 10/25/22, Michael Koch wrote: > Am 25.10.2022 um 09:29 schrieb Naveen.B: >>> >>> What do you want to do with the RAW video? You know that you can't play >>> it with most players? >>> >>> Yes, I know it cannot be played with most of th players, I need to see >>> the >>> size of the RAW video

Re: [FFmpeg-user] encode to RAW video

2022-10-26 Thread Paul B Mahol
On 10/25/22, Michael Koch wrote: > Am 25.10.2022 um 09:29 schrieb Naveen.B: >>> >>> What do you want to do with the RAW video? You know that you can't play >>> it with most players? >>> >>> Yes, I know it cannot be played with most of th players, I need to see >>> the >>> size of the RAW video

Re: [FFmpeg-user] encode to RAW video

2022-10-25 Thread Michael Koch
Am 25.10.2022 um 09:29 schrieb Naveen.B: What do you want to do with the RAW video? You know that you can't play it with most players? Yes, I know it cannot be played with most of th players, I need to see the size of the RAW video and make some compression on it for our further analysis.

Re: [FFmpeg-user] encode to RAW video

2022-10-25 Thread Naveen.B
> > > >> Are you sure that there is a file CapturedImage-000.raw ? > >> You forgot to specify the input pixel format. > >> Many parameters are missing for the raw output. But the error message is > >> from the input. > >> > >> Do you really want raw video? That's not the easiest format for a >

Re: [FFmpeg-user] encode to RAW video

2022-10-24 Thread Michael Koch
Am 24.10.2022 um 18:36 schrieb Naveen.B: Are you sure that there is a file CapturedImage-000.raw ? You forgot to specify the input pixel format. Many parameters are missing for the raw output. But the error message is from the input. Do you really want raw video? That's not the easiest format

Re: [FFmpeg-user] encode to RAW video

2022-10-24 Thread Naveen.B
> > Are you sure that there is a file CapturedImage-000.raw ? > You forgot to specify the input pixel format. > Many parameters are missing for the raw output. But the error message is > from the input. > > Do you really want raw video? That's not the easiest format for a beginner. > Everything

Re: [FFmpeg-user] encode to RAW video

2022-10-24 Thread Carl Zwanzig
On 10/24/2022 8:50 AM, Naveen.B wrote: These files are present in the directory, but still its throwing this error, No such file or directory. Please show us the command output of making an mp4 file. It really sounds as if you haven't studied the documentation very well. Likewise, raw video

Re: [FFmpeg-user] encode to RAW video

2022-10-24 Thread Michael Koch
Am 24.10.2022 um 17:50 schrieb Naveen.B: Hello Team, I have managed to convert raw Images files to .mp4 video, I need to encode to a RAW video instead, could you please let me know the command for this? RAW Image file is, resolution - 1600x1300 fps-30 bit depth-16bit Do not specify a

Re: [FFmpeg-user] encode to RAW video

2022-10-24 Thread Reindl Harald
Am 24.10.22 um 17:50 schrieb Naveen.B: C:\Naveen\projects\DMS\software\ffmpeg_full\ffmpeg\bin>ffmpeg -f rawvideo -s 1600x1300 -r 30 -i CapturedImage-%03d.raw raw_video.raw CapturedImage-%03d.raw: No such file or directory These files are present in the directory, but still its throwing this

Re: [FFmpeg-user] encode to RAW video

2022-10-24 Thread Naveen.B
> > > >>> Hello Team, > >>> > >>> I have managed to convert raw Images files to .mp4 video, > >>> I need to encode to a RAW video instead, could you please let me know > the > >>> command for this? > >>> > >>> RAW Image file is, > >>> resolution - 1600x1300 > >>> fps-30 > >>> bit depth-16bit > >>>

Re: [FFmpeg-user] encode to RAW video

2022-10-24 Thread Michael Koch
Am 24.10.2022 um 14:29 schrieb Naveen.B: On 24 Oct 2022, at 12:52, Naveen.B wrote: Hello Team, I have managed to convert raw Images files to .mp4 video, I need to encode to a RAW video instead, could you please let me know the command for this? RAW Image file is, resolution - 1600x1300

Re: [FFmpeg-user] encode to RAW video

2022-10-24 Thread Naveen.B
> > > >>> Hello Team, > >>> > >>> I have managed to convert raw Images files to .mp4 video, > >>> I need to encode to a RAW video instead, could you please let me know > the > >>> command for this? > >>> > >>> RAW Image file is, > >>> resolution - 1600x1300 > >>> fps-30 > >>> bit depth-16bit > >>>

Re: [FFmpeg-user] encode to RAW video

2022-10-24 Thread Bouke / edit 'B
> On 24 Oct 2022, at 14:29, Naveen.B wrote: > >> >> >> On 24 Oct 2022, at 12:52, Naveen.B wrote: >>> >>> Hello Team, >>> >>> I have managed to convert raw Images files to .mp4 video, >>> I need to encode to a RAW video instead, could you please let me know the >>> command for this? >>>

Re: [FFmpeg-user] encode to RAW video

2022-10-24 Thread Naveen.B
> > > On 24 Oct 2022, at 12:52, Naveen.B wrote: > > > > Hello Team, > > > > I have managed to convert raw Images files to .mp4 video, > > I need to encode to a RAW video instead, could you please let me know the > > command for this? > > > > RAW Image file is, > > resolution - 1600x1300 > >

Re: [FFmpeg-user] encode to RAW video

2022-10-24 Thread Bouke / Videotoolshed
> On 24 Oct 2022, at 12:52, Naveen.B wrote: > > Hello Team, > > I have managed to convert raw Images files to .mp4 video, > I need to encode to a RAW video instead, could you please let me know the > command for this? > > RAW Image file is, > resolution - 1600x1300 > fps-30 > bit

[FFmpeg-user] encode to RAW video

2022-10-24 Thread Naveen.B
Hello Team, I have managed to convert raw Images files to .mp4 video, I need to encode to a RAW video instead, could you please let me know the command for this? RAW Image file is, resolution - 1600x1300 fps-30 bit depth-16bit Thanks and Regards, Naveen B.