I have series of gray-scale 8-bit frames and I want to convert them into AVI video. How can I do this? Is there any existing converting utils or products for this type of task? I even do not understand how my format is called, is what I have (digitized stream from analogue interlaced PAL TV-camera) could be considered as RAW video?

Example of what I have in my .bin file: (do not pay attention to sliced frame, I will fix this with preconversion processing, and I still have to deinterlace this frames)

enter image description here

  • $\begingroup$ I think that ffmpeg should be able to do this. $\endgroup$
    – MBaz
    Nov 12 '18 at 14:56
  • $\begingroup$ Have you tried to open the file in VLC which supports quite many formats? videolan.org $\endgroup$
    – Juha P
    Nov 12 '18 at 15:23
  • $\begingroup$ @MBaz , thank you! your lead was very helpfull! $\endgroup$ Nov 13 '18 at 10:59
  • $\begingroup$ @stronk_kisik You're welcome! $\endgroup$
    – MBaz
    Nov 13 '18 at 14:01

My format is called Y-only or GRAY video.

I do it this way:

ffmpeg -f rawvideo -pix_fmt gray -s:v 640x200 -i orbita_data.y -c:v rawvideo -pix_fmt yuv420p out.avi

The really good part is that I even do not need to deinterlace it myself, ffmpeg could do it for me too.

P.S. many thanks MBaz for this lead


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.