smoothbad.blogg.se

Ffmpeg extract audio from mts to mp3
Ffmpeg extract audio from mts to mp3







How can I keep the original framerate/timebase values (fps/tbr/tbn/tbc) when I convert the container with ffmpeg and its -vcodec copy switch.mp4 by ffmpeg without re-encoding H264 video stream correctly? The video is played back with having its frame forward and backward quiveringly repeatedly. The audio has no problem, however, the video stream is not played correctly.

ffmpeg extract audio from mts to mp3

So, when I open and playback the output file with QuickTime Player or VLC Player, Look at the part of framerate/timebase: 59.94 fps, 59.94 tbr, 90k tbn, 59.94 tbc.Īlthough ffmpeg just copied the video stream, framerate and timebase has been changed to twice value. mp4 file, without re-encoding H264 video stream, on the other hand, with transcoding its audio stream to AAC.įfmpeg -i 140612_Canon-00000.MTS -t 60 -y -vcodec copy -acodec libfaac -ab 128k 140612_4Īnd output file’s specification is as shown below: $ ffprobe 140612_4 Pay attention to the part of framerate/timebase: 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc

ffmpeg extract audio from mts to mp3

Its specification is as shown below: $ ffprobe 140612_Canon-00000.MTSįfprobe version 2.2.1 Copyright (c) 2007-2014 the FFmpeg developers MTS (AVCHD format) files recoreded with my AVCHD camera. I repost this since the question is more suitable to this community. Note: I posted same question to stackoverflow a short time before, when I have not found this comunity yet.









Ffmpeg extract audio from mts to mp3