Re: [FFmpeg-user] Raw video conversion

2022-07-12 Thread Carl Zwanzig

Stop top-posting.

On 7/12/2022 4:01 AM, Naveen.B wrote:

I cross checked, the pixel format is RAW10, they are using the YUY2 as the
wrapper.

"raw10" isn't really a format


The make of the camera is omnivision and the model is OV2311.

(And the doc on that is sketchy/minimal)


I tried editing the command with RAW10 and it states no such pixel format,


because it doesn't exist. Try gray10be or gray10le ("ffmpeg -pix_fmts" will 
show you all the formats supported; those two are the only 10 bit 1 
component formats).



BTW, it appears that video4linux supports that camera.

z!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Raw video conversion

2022-07-12 Thread Naveen.B
Are you -sure- that the pixfmt and size are correct for that camera?
(What camera is it? make/model)

I cross checked, the pixel format is RAW10, they are using the YUY2 as the
wrapper.
The make of the camera is omnivision and the model is OV2311.

I tried editing the command with RAW10 and it states no such pixel format,
please find the below information:

C:\Naveen\projects\DMS\software\ffmpeg_full\ffmpeg\bin>ffmpeg -f rawvideo
-pixel_format RAW10 -video_size 1600x1300 -framerate 30 -i raw_video.raw
raw_video.avi
ffmpeg version 2022-06-20-git-56419428a8-full_build-www.gyan.dev Copyright
(c) 2000-2022 the FFmpeg developers
  built with gcc 11.3.0 (Rev1, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static
--disable-w32threads --disable-autodetect --enable-fontconfig
--enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib
--enable-lzma --enable-libsnappy --enable-zlib --enable-librist
--enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth
--enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d
--enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e
--enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl
--enable-libopenjpeg --enable-libvpx --enable-mediafoundation
--enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi
--enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg
--enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec
--enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2
--enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo
--enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug
--enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame
--enable-libshine --enable-libtheora --enable-libtwolame
--enable-libvo-amrwbenc --enable-libilbc --enable-libgsm
--enable-libopencore-amrnb --enable-libopus --enable-libspeex
--enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite
--enable-libmysofa --enable-librubberband --enable-libsoxr
--enable-chromaprint
  libavutil  57. 27.100 / 57. 27.100
  libavcodec 59. 33.100 / 59. 33.100
  libavformat59. 25.100 / 59. 25.100
  libavdevice59.  6.100 / 59.  6.100
  libavfilter 8. 41.100 /  8. 41.100
  libswscale  6.  6.100 /  6.  6.100
  libswresample   4.  6.100 /  4.  6.100
  libpostproc56.  5.100 / 56.  5.100
[rawvideo @ 0275b8aae780] No such pixel format: RAW10.
raw_video.raw: Invalid argument

Could you suggest the right command for converting a RAW file to mp4/avi?


On Mon, Jul 11, 2022, 21:50 Carl Zwanzig  wrote:

> On 7/10/2022 11:53 PM, Naveen.B wrote:
> > [rawvideo @ 029bdbfde780] Packet corrupt (stream = 0, dts =
> > 1).=188745.6kbits/s speed=3.33e+04x
> > raw_video.raw: corrupt input packet in stream 0
> > [rawvideo @ 029bdbffd780] Invalid buffer size, packet size 104 <
> > expected frame_size 312
>
> Are you -sure- that the pixfmt and size are correct for that camera?
> (What camera is it? make/model)
>
> z!
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://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
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Raw video conversion

2022-07-11 Thread Carl Zwanzig

On 7/10/2022 11:53 PM, Naveen.B wrote:

[rawvideo @ 029bdbfde780] Packet corrupt (stream = 0, dts =
1).=188745.6kbits/s speed=3.33e+04x
raw_video.raw: corrupt input packet in stream 0
[rawvideo @ 029bdbffd780] Invalid buffer size, packet size 104 <
expected frame_size 312


Are you -sure- that the pixfmt and size are correct for that camera?
(What camera is it? make/model)

z!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Raw video conversion

2022-07-11 Thread Naveen.B
C:\Naveen\projects\DMS\software\ffmpeg_full\ffmpeg\bin>ffmpeg -f rawvideo
-pixel_format yuv420p -video_size 1600x1300 -framerate 30 -i raw_video.raw
raw_video.avi
ffmpeg version 2022-06-20-git-56419428a8-full_build-www.gyan.dev Copyright
(c) 2000-2022 the FFmpeg developers
  built with gcc 11.3.0 (Rev1, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static
--disable-w32threads --disable-autodetect --enable-fontconfig
--enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib
--enable-lzma --enable-libsnappy --enable-zlib --enable-librist
--enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth
--enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d
--enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e
--enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl
--enable-libopenjpeg --enable-libvpx --enable-mediafoundation
--enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi
--enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg
--enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec
--enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2
--enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo
--enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug
--enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame
--enable-libshine --enable-libtheora --enable-libtwolame
--enable-libvo-amrwbenc --enable-libilbc --enable-libgsm
--enable-libopencore-amrnb --enable-libopus --enable-libspeex
--enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite
--enable-libmysofa --enable-librubberband --enable-libsoxr
--enable-chromaprint
  libavutil  57. 27.100 / 57. 27.100
  libavcodec 59. 33.100 / 59. 33.100
  libavformat59. 25.100 / 59. 25.100
  libavdevice59.  6.100 / 59.  6.100
  libavfilter 8. 41.100 /  8. 41.100
  libswscale  6.  6.100 /  6.  6.100
  libswresample   4.  6.100 /  4.  6.100
  libpostproc56.  5.100 / 56.  5.100
[rawvideo @ 029bdbfde780] Estimating duration from bitrate, this may be
inaccurate
Input #0, rawvideo, from 'raw_video.raw':
  Duration: 00:00:00.03, start: 0.00, bitrate: 998409 kb/s
  Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1600x1300,
748800 kb/s, 30 tbr, 30 tbn
File 'raw_video.avi' already exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
Output #0, avi, to 'raw_video.avi':
  Metadata:
ISFT: Lavf59.25.100
  Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p(progressive),
1600x1300, q=2-31, 200 kb/s, 30 fps, 30 tbn
Metadata:
  encoder : Lavc59.33.100 mpeg4
Side data:
  cpb: bitrate max/min/avg: 0/0/20 buffer size: 0 vbv_delay: N/A
[rawvideo @ 029bdbfde780] Packet corrupt (stream = 0, dts =
1).=188745.6kbits/s speed=3.33e+04x
raw_video.raw: corrupt input packet in stream 0
[rawvideo @ 029bdbffd780] Invalid buffer size, packet size 104 <
expected frame_size 312
Error while decoding stream #0:0: Invalid argument
frame=1 fps=0.0 q=15.2 Lsize= 844kB time=00:00:00.03
bitrate=207485.0kbits/s speed=1.08x
video:839kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.664997%

C:\Naveen\projects\DMS\software\ffmpeg_full\ffmpeg\bin>

the complete text is added.


On Fri, Jul 8, 2022 at 6:01 PM Carl Zwanzig  wrote:

> On 7/8/2022 3:24 AM, Naveen.B wrote:
> > Attaching the screenshot of the console and the complete command,
>
> Please, not a screenshot! put the text right in the email.
>
> > I did not
> > understand what you mean by "do not top post here"
>
> Google, or any other search engine, will tell you (hint- compare this
> message with yours and now where the response text is).  (read the list
> FAQ,
> too, it's on the ffmpeg web site.
>
> z!
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://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
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Raw video conversion

2022-07-08 Thread Carl Zwanzig

On 7/8/2022 3:18 PM, Paul B Mahol wrote:

Perhaps you use too much clones.


Care to explain, or was that just a cheap shot at Phil?

z!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Raw video conversion

2022-07-08 Thread Paul B Mahol
On Fri, Jul 8, 2022 at 10:44 PM Phil Rhodes via ffmpeg-user <
ffmpeg-user@ffmpeg.org> wrote:

>  > I did NOT, I repeat, NOT write the message below.
>
> I had that happen last week, in the thread titled "Re: [FFmpeg-user]
> asubboost and asupercut"
>

Perhaps you use too much clones.


> > On Sun, Nov 29, 2020 at 6:07 PM Phil Rhodes via ffmpeg-user <
> ffmpeg-user@ffmpeg.org> wrote:
> ...no, he didn't.
> P
>
> On Friday, 8 July 2022 at 21:37:43 BST, Bouke / Videotoolshed <
> bo...@videotoolshed.com> wrote:
>
>
> > On 8 Jul 2022, at 12:17, Bouke / Videotoolshed 
> wrote:
> >
> > Please provide full command and console output, and do NOT top post here!
> >>
> >> I have a raw video file captured from the monochrome camera, I need to
> >> convert the raw video file to visualise it in .avi or .mp4.
> >> I tried this command, but this did not worked out to me,
> >> ffmpeg -f rawvideo -pixel_format yuv420p -video_size 1600x1300
> -framerate
> >> 30 -i raw_video.raw raw_video.avi
> >>
> >> Could anyone help me on how to do conversion from raw file to .avi or
> -mp4
> >> file?
> >
> > ___
> > ffmpeg-user mailing list
> > ffmpeg-user@ffmpeg.org
> > https://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
> https://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
> https://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
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Raw video conversion

2022-07-08 Thread Phil Rhodes via ffmpeg-user
 > I did NOT, I repeat, NOT write the message below.

I had that happen last week, in the thread titled "Re: [FFmpeg-user] asubboost 
and asupercut"
> On Sun, Nov 29, 2020 at 6:07 PM Phil Rhodes via ffmpeg-user 
> wrote:
...no, he didn't.
P

On Friday, 8 July 2022 at 21:37:43 BST, Bouke / Videotoolshed 
 wrote:  
 
 
> On 8 Jul 2022, at 12:17, Bouke / Videotoolshed  
> wrote:
> 
> Please provide full command and console output, and do NOT top post here!
>> 
>> I have a raw video file captured from the monochrome camera, I need to
>> convert the raw video file to visualise it in .avi or .mp4.
>> I tried this command, but this did not worked out to me,
>> ffmpeg -f rawvideo -pixel_format yuv420p -video_size 1600x1300 -framerate
>> 30 -i raw_video.raw raw_video.avi
>> 
>> Could anyone help me on how to do conversion from raw file to .avi or -mp4
>> file?
> 
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://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
https://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
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Raw video conversion

2022-07-08 Thread Bouke / Videotoolshed
WTF,
 I did NOT, I repeat, NOT write the message below.
And my mail has not been hacked, so what is going on?

Bouke

> On 8 Jul 2022, at 12:17, Bouke / Videotoolshed  
> wrote:
> 
> Please provide full command and console output, and do NOT top post here!
>> 
>> I have a raw video file captured from the monochrome camera, I need to
>> convert the raw video file to visualise it in .avi or .mp4.
>> I tried this command, but this did not worked out to me,
>> ffmpeg -f rawvideo -pixel_format yuv420p -video_size 1600x1300 -framerate
>> 30 -i raw_video.raw raw_video.avi
>> 
>> Could anyone help me on how to do conversion from raw file to .avi or -mp4
>> file?
> 
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://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
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Raw video conversion

2022-07-08 Thread Carl Zwanzig

On 7/8/2022 3:24 AM, Naveen.B wrote:
Attaching the screenshot of the console and the complete command, 


Please, not a screenshot! put the text right in the email.


I did not
understand what you mean by "do not top post here"


Google, or any other search engine, will tell you (hint- compare this 
message with yours and now where the response text is).  (read the list FAQ, 
too, it's on the ffmpeg web site.


z!

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Raw video conversion

2022-07-08 Thread Naveen.B
[image: image.png]

Attaching the screenshot of the console and the complete command, I did not
understand what you mean by "do not top post here"



On Fri, Jul 8, 2022 at 12:18 PM Bouke / Videotoolshed <
bo...@videotoolshed.com> wrote:

> Please provide full command and console output, and do NOT top post here!
> >
> > I have a raw video file captured from the monochrome camera, I need to
> > convert the raw video file to visualise it in .avi or .mp4.
> > I tried this command, but this did not worked out to me,
> > ffmpeg -f rawvideo -pixel_format yuv420p -video_size 1600x1300 -framerate
> > 30 -i raw_video.raw raw_video.avi
> >
> > Could anyone help me on how to do conversion from raw file to .avi or
> -mp4
> > file?
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://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
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Raw video conversion

2022-07-08 Thread Bouke / Videotoolshed
Please provide full command and console output, and do NOT top post here!
> 
> I have a raw video file captured from the monochrome camera, I need to
> convert the raw video file to visualise it in .avi or .mp4.
> I tried this command, but this did not worked out to me,
> ffmpeg -f rawvideo -pixel_format yuv420p -video_size 1600x1300 -framerate
> 30 -i raw_video.raw raw_video.avi
> 
> Could anyone help me on how to do conversion from raw file to .avi or -mp4
> file?

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".