I've changed my video recording settings I think - I also updated to android 14. And now the clips all cause VS to crash on import.
I ran them clips through a simple import
ffmpeg -i "C:\Users\zapho\Videos\Projects\random_temp\PXL_20230817_182238171.mp4" -vcodec libx264 -acodec aac -y output.mp4
but VS then merely shows the 1st frame and then psychadelic noise when importing the result even though VLC will playback both files quite happily. Any ffmpeg conversion filters I might try to handle video show on Google Pixel 7 phone?
Crash on import Google Pixel clips
Moderator: Ken Berry
- zaphodikus
- Posts: 288
- Joined: Wed Jul 09, 2014 9:23 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: ROG-X570-F-Asus
- processor: AMD 3950 - 16 core
- ram: 64Gb
- Video Card: AMD RX 6700
- Hard_Drive_Capacity: M2 1TB
- Monitor/Display Make & Model: 4K BenQ
- Corel programs: VS 2023 Ultimate, Painter 2020
- Location: United Kingdom, Cambridge
- Contact:
Re: Crash on import Google Pixel clips
Your Pixel shoots H.265/HEVC and ffmpeg is looking for yuv420p profile to properly convert H.264 mp4.
Try this: ffmpeg -i C:\Users\zapho\Videos\Projects\random_temp\PXL_20230817_182238171.mp4 -c:v libx264 -preset ultrafast -crf 26 -pix_fmt yuv420p -c:a aac -b:a 128k output.mp4
You can change crf to 18 for best quality and the audio bitrate from 128k to whatever you want.
Hope this helps.
Robert
Try this: ffmpeg -i C:\Users\zapho\Videos\Projects\random_temp\PXL_20230817_182238171.mp4 -c:v libx264 -preset ultrafast -crf 26 -pix_fmt yuv420p -c:a aac -b:a 128k output.mp4
You can change crf to 18 for best quality and the audio bitrate from 128k to whatever you want.
Hope this helps.
Robert
- zaphodikus
- Posts: 288
- Joined: Wed Jul 09, 2014 9:23 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: ROG-X570-F-Asus
- processor: AMD 3950 - 16 core
- ram: 64Gb
- Video Card: AMD RX 6700
- Hard_Drive_Capacity: M2 1TB
- Monitor/Display Make & Model: 4K BenQ
- Corel programs: VS 2023 Ultimate, Painter 2020
- Location: United Kingdom, Cambridge
- Contact:
Re: Crash on import Google Pixel clips
You are awesome. The yuv profile thing was and still makes it all a bit black magic for my old noodle bowl of braincells, but I shall bookmark and just pop in a batch file.
I have a bit of time so I'm using the veryslow preset (I get about 2 frames-per-second) and it looks pretty sweet in the output. thanks a mill.
I have a bit of time so I'm using the veryslow preset (I get about 2 frames-per-second) and it looks pretty sweet in the output. thanks a mill.
