Timeline for Making pair of two YUV videos (side by side) using FFmpeg
Current License: CC BY-SA 3.0
18 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 28, 2016 at 15:44 | comment | added | mrana | Thanks so much for your help, may Allah (God) bless you. if i see any other problem regarding this i will come back to you. | |
Apr 28, 2016 at 15:41 | comment | added | mrana | i used -pix_fmt yuv422p and it looks the right size. :) | |
Apr 28, 2016 at 15:37 | comment | added | mrana | It works wow! But it looks someting is wrong? because, my input+ output = 64.8+64.8 = ~130MB but the output file is 92.2MB? | |
Apr 28, 2016 at 15:27 | comment | added | Gyan | As an output option !! | |
Apr 28, 2016 at 15:25 | comment | added | mrana | 'ffmpeg -pix_fmt yuv420p -i am_crop.y4m -i am_crop.y4m -filter_complex "[0:v:0]pad=iw*2:ih:color=white[bg]; [bg][1:v:0]overlay=w+10" left-right.y4m' It says "Option pixel_format not found." -------<br> and does not work! i used both yuv420p and yuv422p (as my other command used 422) | |
Apr 28, 2016 at 15:20 | comment | added | Gyan |
Add -pix_fmt yuv420p as an output option.
|
|
Apr 28, 2016 at 15:04 | comment | added | mrana |
yes i did and applied the earlier code to make pair ffmpeg -i am_crop.y4m -i am_crop.y4m -filter_complex "[0:v:0]pad=iw*2:ih:color=white[bg]; [bg][1:v:0]overlay=w+10" left-right.y4m it gives me the following error: dropbox.com/s/c879mk9hq7n36pf/…
|
|
Apr 28, 2016 at 14:56 | comment | added | Gyan | It's the same format but with a header. Just change the extension in step 4. | |
Apr 28, 2016 at 14:52 | comment | added | mrana | how can i do that? also does it lossless? i do not want any loss before the step #5 | |
Apr 28, 2016 at 14:47 | comment | added | Gyan |
So, in step 4, output to .y4m instead of .yuv then no need to supply input params.
|
|
Apr 28, 2016 at 14:43 | comment | added | mrana | With mp4 all those steps are easy, but i am facing problems working with YUV videos | |
Apr 28, 2016 at 14:41 | comment | added | mrana | I got all YUV raw videos from here: ftp.ivc.polytech.univ-nantes.fr/IRCCyN_IVC_1080i_Database/… my working steps are 1. unzip 2. de-interlace 3. down sample from 1920x1080 to 960x540 4. then crop 480x270 5. make side-by-side 6. then convert to mp4. Now i am having problem with step #5 | |
Apr 28, 2016 at 14:36 | comment | added | Gyan | You don't need to know the bitrate. How are the YUVs generated? | |
Apr 28, 2016 at 14:34 | comment | added | mrana | How i can know the bit-rate, frame-rate and ratio of a YUV video? | |
Apr 28, 2016 at 13:57 | comment | added | Gyan | Sorry, you need to supply input params since YUV is a raw stream. Use the framerate of your input. | |
Apr 28, 2016 at 13:56 | history | edited | Gyan | CC BY-SA 3.0 |
added YUV params.
|
Apr 28, 2016 at 13:48 | comment | added | mrana |
i get the same error like before: Picture size 0x0 is invalid input.yuv: Invalid argument
|
|
Apr 28, 2016 at 13:40 | history | answered | Gyan | CC BY-SA 3.0 |