The following command
ffmpeg -f alsa -ac 2 -i plughw:0,0 -f video4linux2 -s vga -i /dev/video0 -f ogg - > video.mp4
Does not produce a .mp4 video.
I want to replace -f ogg with -f <mp4 format> where <mp4 format> is the right format to generate a video in .mp4.
To make thinks clear, I want to have:
# file video.mp4
video.mp4: ISO Media, MP4 Base Media v1 [IS0 14496-12:2003]
PS: I want to use pipe, since it is used for other pipe operations