ladycas.blogg.se

Ffmpeg convert mpg to mp4
Ffmpeg convert mpg to mp4










ffmpeg convert mpg to mp4 ffmpeg convert mpg to mp4

The output from ffprobe for both files is as follows: I somehow suspect that the issue lies with a lack of complete bit rate metadata, but am out of my depth. Am I doing something wrong? Is there additional metadata that QuickTime needs? The codecs look compatible, and the file length looks fine. I can't understand why QuickTime won't play the file. The video plays fine in VLC and MPlayerX. I used the following command: ffmpeg -i vlc-output.ts -acodec copy -vcodec copy car-free\ tourism.mp4Īll seemed fine, but whilst the resulting file can be opened in QuickTime, after playing 1s of the file, it jumps back to the beginning and then plays the audio only, with the video staying black.

ffmpeg convert mpg to mp4

The codecs within the file are h.264/AAC, so I thought it would be trivial to use ffmpeg to convert the file from a TS container to MP4 container, so that I can play the file in QuickTime. I have a video stream I captured with VLC and saved as a TS file.












Ffmpeg convert mpg to mp4