For Linux and macOS this can be done in one line, using parameter expansion to change the filename extension of the output file:
for i in *.avi; do ffmpeg -i "$i" "${i%.*}.mp4"; done
More Related Contents:
- How to concatenate two MP4 files using FFmpeg?
- Vertically or horizontally stack (mosaic) several videos using ffmpeg? [closed]
- FFMPEG (libx264) “height not divisible by 2”
- Rotating videos with FFmpeg
- How to output fragmented mp4 with ffmpeg?
- Text on video ffmpeg
- Post processing in ffmpeg to move ‘moov atom’ in MP4 files (qt-faststart)
- How can I extract audio from video with ffmpeg?
- Can ffmpeg show a progress bar?
- How to install and run phpize
- Using ffmpeg to change framerate
- Remove sequentially duplicate frames when using FFmpeg
- How to resize a picture using ffmpeg’s sws_scale()?
- How to convert RGB from YUV420p for ffmpeg encoder?
- adding silent audio in ffmpeg
- Is there a way to use ffmpeg to determine the encoding of a file before transcoding?
- Use ffmpeg to add text subtitles [closed]
- Live streaming dash content using mp4box
- How to control key-frame generation of ffmpeg?
- FFmpeg: How to split video efficiently?
- How to add album art with ffmpeg?
- Image sequence to video quality [closed]
- Getting green screen in ffplay: Streaming desktop (DirectX surface) as H264 video over RTP stream using Live555
- FFMPEG: get last 10 seconds [closed]
- Batch update/delete EF5
- Execute “ffmpeg” command in a loop [duplicate]
- FFmpeg C API documentation/tutorial [closed]
- Use FFMPEG on Android [closed]
- Android: How to configure FFMPEG latest version in android studio?
- FFmpeg – Overlay one video onto another video?