Hello. Absolute amateur here. Had about 5 days with a pi so far and I'm in love with it all. I need some help. I've read and tried everything I could find online. What I am trying to do is use the pi zero was a live stream cam. Pi zero w paired with a v2 camera module. So far I have had great results with Motion eye , mjpg streamer and FFmpeg. Here is my problem. This is it in 1280x720. Nice and wide although the focus is off slightly. The command I run in
Code:$ raspivid -o - -t 0 -w 1280 -h 720 -fps 25 -b 4000000 -g 50 | ffmpeg -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i - -vcodec copy -acodec aac -ab 128k -g 50 -strict experimental -fflags +genpts -f flv rtmp://a.rtmp.youtube.com/live2/MYKEY
[Attachment 55730 - Click to enlarge]
However, when I change it to 1080 with this command
I get thisCode:raspivid -o - -t 0 -w 1920 -h 1080 -fps 25 -b 4000000 -g 50 | ffmpeg -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i - -vcodec copy -acodec aac -ab 128k -g 50 -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/MYKEY
[Attachment 55731 - Click to enlarge]
It's cropped the image. It's the same if I stream to youtube, or locally to VLC etc. It's probably something stupid but I just don't know where to go from here!
Kindest regards,
Stay safe,
E.S
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 4 of 4
Thread
-
-
did you try the ffmpeg documentation ?? - https://ffmpeg.org/ffmpeg.html#Video-Options
-
Similar Threads
-
FFMPEG Interlaced MPEG2 video to x264 Issue
By Rizoko in forum Video ConversionReplies: 20Last Post: 16th May 2020, 22:39 -
is raspberry pi an video editing alternative?
By oduodui in forum LinuxReplies: 12Last Post: 4th Jan 2019, 09:56 -
video settings for a raspberry pi with the official pi camera.
By damienbourgeois in forum Newbie / General discussionsReplies: 0Last Post: 27th May 2018, 11:02 -
what video format is the least cpu intensive to play (Raspberry PI)
By ole_thor1 in forum Software PlayingReplies: 4Last Post: 13th Feb 2018, 04:47 -
FFMPEG -F Concat Video, Audio Sync Issue
By Shohag_ifas in forum EditingReplies: 2Last Post: 30th Nov 2016, 01:31