How can I convert a .MXF video file to .MKV with Ubuntu?How to convert mkv to dvd or aviHow can I convert a...
How Could an Airship Be Repaired Mid-Flight
Look at your watch and tell me what time is it. vs Look at your watch and tell me what time it is
How to terminate ping <dest> &
What do Xenomorphs eat in the Alien series?
How to change two letters closest to a string and one letter immediately after a string using notepad++
Use of undefined constant bloginfo
What exactly is this small puffer fish doing and how did it manage to accomplish such a feat?
Is it normal that my co-workers at a fitness company criticize my food choices?
Can a druid choose the size of its wild shape beast?
Is a party consisting of only a bard, a cleric, and a warlock functional long-term?
What is the significance behind "40 days" that often appears in the Bible?
In a future war, an old lady is trying to raise a boy but one of the weapons has made everyone deaf
What's the meaning of “spike” in the context of “adrenaline spike”?
Who is flying the vertibirds?
What options are left, if Britain cannot decide?
How difficult is it to simply disable/disengage the MCAS on Boeing 737 Max 8 & 9 Aircraft?
Is there a data structure that only stores hash codes and not the actual objects?
Can I use USB data pins as power source
Do I need to be arrogant to get ahead?
Why do passenger jet manufacturers design their planes with stall prevention systems?
Python if-else code style for reduced code for rounding floats
How could a scammer know the apps on my phone / iTunes account?
Are ETF trackers fundamentally better than individual stocks?
Why Choose Less Effective Armour Types?
How can I convert a .MXF video file to .MKV with Ubuntu?
How to convert mkv to dvd or aviHow can I convert a .m2ts to .mkv?Convert mkv to mp4 with ffmpegconvert video file to .oggInlcuding subtitle when converting MTS to MKVHow to check the integrity of downloaded big mkv filesHow to convert Softsub Video file to Hardsub Video file?MTS video files - how to merge and convert multiple filesHow to convert a video file from mkv to a format supported by the TV set?Can't play MKV - Ubuntu 12.04
I have some videos recorded on a Sony PXW-X70 camera that I wish to convert to something else, possibly an .mkv file. What program or command line utility can I use to do this?
video media convert mkv
add a comment |
I have some videos recorded on a Sony PXW-X70 camera that I wish to convert to something else, possibly an .mkv file. What program or command line utility can I use to do this?
video media convert mkv
add a comment |
I have some videos recorded on a Sony PXW-X70 camera that I wish to convert to something else, possibly an .mkv file. What program or command line utility can I use to do this?
video media convert mkv
I have some videos recorded on a Sony PXW-X70 camera that I wish to convert to something else, possibly an .mkv file. What program or command line utility can I use to do this?
video media convert mkv
video media convert mkv
edited Nov 26 '16 at 6:40
andrew.46
22.1k1469150
22.1k1469150
asked Nov 25 '16 at 15:20
L42L42
1908
1908
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
Looks like mxf containers usually hold mpeg2video which FFmpeg easily converts, although there are some variations on this codec theme. I illustrate one conversion method with a publicly available sample file:
First download this sample file:
wget http://www.freemxf.org/samples/freeMXF-mxf1.mxf
This converts easily enough with the latest FFmpeg:
ffmpeg -i freeMXF-mxf1.mxf -c:v libx264 -preset slow -crf 22 output.mkv
And then all should be well :)
A few extra points:
If you are troubled by FFmpeg errors with the Repository FFmpeg get the latest version here:
Compile FFmpeg on Ubuntu, Debian, or Mint
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
If you prefer a different container another good choice would be mp4:
ffmpeg -i freeMXF-mxf1.mxf -c:v libx264 -preset slow -crf 22 output.mp4
And if you want to use the aged avi container something like the following should do the trick:
ffmpeg -i freeMXF-mxf1.mxf
-c:v mpeg4 -q:v 2 -vtag XVID -max_muxing_queue_size 1024
-mbd rd -flags +mv4+aic -trellis 2 -cmp 2 -subcmp 2 -g 300
output.avi
References:
- Material Exchange Format (MXF) Wikipedia
Thank you. I tried doing this with my video, but I got these two errors while the program converted:[h264 @ 0x2addce0] PPS changed between slices
,[h264 @ 0x2addce0] decode_slice_header error
. The resulting .mkv file did not have sound, and the lower half of the video was covered with a sort of green band.
– L42
Nov 26 '16 at 11:12
@L42 Can you upload one of your sample mxf files for me to examine?
– andrew.46
Nov 26 '16 at 21:08
1
@TokeFaurby I have added some details regarding this to my answer, avi is not such a good choice...
– andrew.46
Jan 6 '18 at 20:48
1
@TokeFaurby Yes, exactly. Only issue is that with the command line I have suggested: H.264 sits uneasily in avi container, you would have to modify the command line a little...
– andrew.46
Jan 7 '18 at 20:11
1
@TokeFaurby I have added an avi example :)
– andrew.46
Jan 8 '18 at 6:08
|
show 4 more comments
Apparently you can do it with ffmpeg
sudo apt-get install ffmpeg
https://superuser.com/questions/559820/converting-from-mxf-to-mpeg-format-with-ffmpeg
Thank you. I tried that, but just got a lot of these errors:[mpeg @ 0x1e0c7a0] buffer underflow st=0 bufi=397420 size=400525
[mpeg @ 0x1e0c7a0] buffer underflow st=0 bufi=399461 size=400525
. Do you know what I can do to make it work?
– L42
Nov 25 '16 at 15:45
No, I'm sorry, I did not even know that format existed until I read your question
– user186255
Nov 25 '16 at 16:11
add a comment |
Avdshare Video Converter is not only just the professional MXF to MP4 converter but also any video converter which can convert all MXF file from any source, like Sony's XDCAM, Panasonic's P2, Ikegami, Canon, etc to MP4, MOV, AVI, FLV, WMV, MKV, etc.
New contributor
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f853522%2fhow-can-i-convert-a-mxf-video-file-to-mkv-with-ubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Looks like mxf containers usually hold mpeg2video which FFmpeg easily converts, although there are some variations on this codec theme. I illustrate one conversion method with a publicly available sample file:
First download this sample file:
wget http://www.freemxf.org/samples/freeMXF-mxf1.mxf
This converts easily enough with the latest FFmpeg:
ffmpeg -i freeMXF-mxf1.mxf -c:v libx264 -preset slow -crf 22 output.mkv
And then all should be well :)
A few extra points:
If you are troubled by FFmpeg errors with the Repository FFmpeg get the latest version here:
Compile FFmpeg on Ubuntu, Debian, or Mint
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
If you prefer a different container another good choice would be mp4:
ffmpeg -i freeMXF-mxf1.mxf -c:v libx264 -preset slow -crf 22 output.mp4
And if you want to use the aged avi container something like the following should do the trick:
ffmpeg -i freeMXF-mxf1.mxf
-c:v mpeg4 -q:v 2 -vtag XVID -max_muxing_queue_size 1024
-mbd rd -flags +mv4+aic -trellis 2 -cmp 2 -subcmp 2 -g 300
output.avi
References:
- Material Exchange Format (MXF) Wikipedia
Thank you. I tried doing this with my video, but I got these two errors while the program converted:[h264 @ 0x2addce0] PPS changed between slices
,[h264 @ 0x2addce0] decode_slice_header error
. The resulting .mkv file did not have sound, and the lower half of the video was covered with a sort of green band.
– L42
Nov 26 '16 at 11:12
@L42 Can you upload one of your sample mxf files for me to examine?
– andrew.46
Nov 26 '16 at 21:08
1
@TokeFaurby I have added some details regarding this to my answer, avi is not such a good choice...
– andrew.46
Jan 6 '18 at 20:48
1
@TokeFaurby Yes, exactly. Only issue is that with the command line I have suggested: H.264 sits uneasily in avi container, you would have to modify the command line a little...
– andrew.46
Jan 7 '18 at 20:11
1
@TokeFaurby I have added an avi example :)
– andrew.46
Jan 8 '18 at 6:08
|
show 4 more comments
Looks like mxf containers usually hold mpeg2video which FFmpeg easily converts, although there are some variations on this codec theme. I illustrate one conversion method with a publicly available sample file:
First download this sample file:
wget http://www.freemxf.org/samples/freeMXF-mxf1.mxf
This converts easily enough with the latest FFmpeg:
ffmpeg -i freeMXF-mxf1.mxf -c:v libx264 -preset slow -crf 22 output.mkv
And then all should be well :)
A few extra points:
If you are troubled by FFmpeg errors with the Repository FFmpeg get the latest version here:
Compile FFmpeg on Ubuntu, Debian, or Mint
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
If you prefer a different container another good choice would be mp4:
ffmpeg -i freeMXF-mxf1.mxf -c:v libx264 -preset slow -crf 22 output.mp4
And if you want to use the aged avi container something like the following should do the trick:
ffmpeg -i freeMXF-mxf1.mxf
-c:v mpeg4 -q:v 2 -vtag XVID -max_muxing_queue_size 1024
-mbd rd -flags +mv4+aic -trellis 2 -cmp 2 -subcmp 2 -g 300
output.avi
References:
- Material Exchange Format (MXF) Wikipedia
Thank you. I tried doing this with my video, but I got these two errors while the program converted:[h264 @ 0x2addce0] PPS changed between slices
,[h264 @ 0x2addce0] decode_slice_header error
. The resulting .mkv file did not have sound, and the lower half of the video was covered with a sort of green band.
– L42
Nov 26 '16 at 11:12
@L42 Can you upload one of your sample mxf files for me to examine?
– andrew.46
Nov 26 '16 at 21:08
1
@TokeFaurby I have added some details regarding this to my answer, avi is not such a good choice...
– andrew.46
Jan 6 '18 at 20:48
1
@TokeFaurby Yes, exactly. Only issue is that with the command line I have suggested: H.264 sits uneasily in avi container, you would have to modify the command line a little...
– andrew.46
Jan 7 '18 at 20:11
1
@TokeFaurby I have added an avi example :)
– andrew.46
Jan 8 '18 at 6:08
|
show 4 more comments
Looks like mxf containers usually hold mpeg2video which FFmpeg easily converts, although there are some variations on this codec theme. I illustrate one conversion method with a publicly available sample file:
First download this sample file:
wget http://www.freemxf.org/samples/freeMXF-mxf1.mxf
This converts easily enough with the latest FFmpeg:
ffmpeg -i freeMXF-mxf1.mxf -c:v libx264 -preset slow -crf 22 output.mkv
And then all should be well :)
A few extra points:
If you are troubled by FFmpeg errors with the Repository FFmpeg get the latest version here:
Compile FFmpeg on Ubuntu, Debian, or Mint
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
If you prefer a different container another good choice would be mp4:
ffmpeg -i freeMXF-mxf1.mxf -c:v libx264 -preset slow -crf 22 output.mp4
And if you want to use the aged avi container something like the following should do the trick:
ffmpeg -i freeMXF-mxf1.mxf
-c:v mpeg4 -q:v 2 -vtag XVID -max_muxing_queue_size 1024
-mbd rd -flags +mv4+aic -trellis 2 -cmp 2 -subcmp 2 -g 300
output.avi
References:
- Material Exchange Format (MXF) Wikipedia
Looks like mxf containers usually hold mpeg2video which FFmpeg easily converts, although there are some variations on this codec theme. I illustrate one conversion method with a publicly available sample file:
First download this sample file:
wget http://www.freemxf.org/samples/freeMXF-mxf1.mxf
This converts easily enough with the latest FFmpeg:
ffmpeg -i freeMXF-mxf1.mxf -c:v libx264 -preset slow -crf 22 output.mkv
And then all should be well :)
A few extra points:
If you are troubled by FFmpeg errors with the Repository FFmpeg get the latest version here:
Compile FFmpeg on Ubuntu, Debian, or Mint
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
If you prefer a different container another good choice would be mp4:
ffmpeg -i freeMXF-mxf1.mxf -c:v libx264 -preset slow -crf 22 output.mp4
And if you want to use the aged avi container something like the following should do the trick:
ffmpeg -i freeMXF-mxf1.mxf
-c:v mpeg4 -q:v 2 -vtag XVID -max_muxing_queue_size 1024
-mbd rd -flags +mv4+aic -trellis 2 -cmp 2 -subcmp 2 -g 300
output.avi
References:
- Material Exchange Format (MXF) Wikipedia
edited Sep 18 '18 at 22:23
answered Nov 26 '16 at 6:39
andrew.46andrew.46
22.1k1469150
22.1k1469150
Thank you. I tried doing this with my video, but I got these two errors while the program converted:[h264 @ 0x2addce0] PPS changed between slices
,[h264 @ 0x2addce0] decode_slice_header error
. The resulting .mkv file did not have sound, and the lower half of the video was covered with a sort of green band.
– L42
Nov 26 '16 at 11:12
@L42 Can you upload one of your sample mxf files for me to examine?
– andrew.46
Nov 26 '16 at 21:08
1
@TokeFaurby I have added some details regarding this to my answer, avi is not such a good choice...
– andrew.46
Jan 6 '18 at 20:48
1
@TokeFaurby Yes, exactly. Only issue is that with the command line I have suggested: H.264 sits uneasily in avi container, you would have to modify the command line a little...
– andrew.46
Jan 7 '18 at 20:11
1
@TokeFaurby I have added an avi example :)
– andrew.46
Jan 8 '18 at 6:08
|
show 4 more comments
Thank you. I tried doing this with my video, but I got these two errors while the program converted:[h264 @ 0x2addce0] PPS changed between slices
,[h264 @ 0x2addce0] decode_slice_header error
. The resulting .mkv file did not have sound, and the lower half of the video was covered with a sort of green band.
– L42
Nov 26 '16 at 11:12
@L42 Can you upload one of your sample mxf files for me to examine?
– andrew.46
Nov 26 '16 at 21:08
1
@TokeFaurby I have added some details regarding this to my answer, avi is not such a good choice...
– andrew.46
Jan 6 '18 at 20:48
1
@TokeFaurby Yes, exactly. Only issue is that with the command line I have suggested: H.264 sits uneasily in avi container, you would have to modify the command line a little...
– andrew.46
Jan 7 '18 at 20:11
1
@TokeFaurby I have added an avi example :)
– andrew.46
Jan 8 '18 at 6:08
Thank you. I tried doing this with my video, but I got these two errors while the program converted:
[h264 @ 0x2addce0] PPS changed between slices
, [h264 @ 0x2addce0] decode_slice_header error
. The resulting .mkv file did not have sound, and the lower half of the video was covered with a sort of green band.– L42
Nov 26 '16 at 11:12
Thank you. I tried doing this with my video, but I got these two errors while the program converted:
[h264 @ 0x2addce0] PPS changed between slices
, [h264 @ 0x2addce0] decode_slice_header error
. The resulting .mkv file did not have sound, and the lower half of the video was covered with a sort of green band.– L42
Nov 26 '16 at 11:12
@L42 Can you upload one of your sample mxf files for me to examine?
– andrew.46
Nov 26 '16 at 21:08
@L42 Can you upload one of your sample mxf files for me to examine?
– andrew.46
Nov 26 '16 at 21:08
1
1
@TokeFaurby I have added some details regarding this to my answer, avi is not such a good choice...
– andrew.46
Jan 6 '18 at 20:48
@TokeFaurby I have added some details regarding this to my answer, avi is not such a good choice...
– andrew.46
Jan 6 '18 at 20:48
1
1
@TokeFaurby Yes, exactly. Only issue is that with the command line I have suggested: H.264 sits uneasily in avi container, you would have to modify the command line a little...
– andrew.46
Jan 7 '18 at 20:11
@TokeFaurby Yes, exactly. Only issue is that with the command line I have suggested: H.264 sits uneasily in avi container, you would have to modify the command line a little...
– andrew.46
Jan 7 '18 at 20:11
1
1
@TokeFaurby I have added an avi example :)
– andrew.46
Jan 8 '18 at 6:08
@TokeFaurby I have added an avi example :)
– andrew.46
Jan 8 '18 at 6:08
|
show 4 more comments
Apparently you can do it with ffmpeg
sudo apt-get install ffmpeg
https://superuser.com/questions/559820/converting-from-mxf-to-mpeg-format-with-ffmpeg
Thank you. I tried that, but just got a lot of these errors:[mpeg @ 0x1e0c7a0] buffer underflow st=0 bufi=397420 size=400525
[mpeg @ 0x1e0c7a0] buffer underflow st=0 bufi=399461 size=400525
. Do you know what I can do to make it work?
– L42
Nov 25 '16 at 15:45
No, I'm sorry, I did not even know that format existed until I read your question
– user186255
Nov 25 '16 at 16:11
add a comment |
Apparently you can do it with ffmpeg
sudo apt-get install ffmpeg
https://superuser.com/questions/559820/converting-from-mxf-to-mpeg-format-with-ffmpeg
Thank you. I tried that, but just got a lot of these errors:[mpeg @ 0x1e0c7a0] buffer underflow st=0 bufi=397420 size=400525
[mpeg @ 0x1e0c7a0] buffer underflow st=0 bufi=399461 size=400525
. Do you know what I can do to make it work?
– L42
Nov 25 '16 at 15:45
No, I'm sorry, I did not even know that format existed until I read your question
– user186255
Nov 25 '16 at 16:11
add a comment |
Apparently you can do it with ffmpeg
sudo apt-get install ffmpeg
https://superuser.com/questions/559820/converting-from-mxf-to-mpeg-format-with-ffmpeg
Apparently you can do it with ffmpeg
sudo apt-get install ffmpeg
https://superuser.com/questions/559820/converting-from-mxf-to-mpeg-format-with-ffmpeg
edited Mar 20 '17 at 10:18
Community♦
1
1
answered Nov 25 '16 at 15:29
user186255user186255
29317
29317
Thank you. I tried that, but just got a lot of these errors:[mpeg @ 0x1e0c7a0] buffer underflow st=0 bufi=397420 size=400525
[mpeg @ 0x1e0c7a0] buffer underflow st=0 bufi=399461 size=400525
. Do you know what I can do to make it work?
– L42
Nov 25 '16 at 15:45
No, I'm sorry, I did not even know that format existed until I read your question
– user186255
Nov 25 '16 at 16:11
add a comment |
Thank you. I tried that, but just got a lot of these errors:[mpeg @ 0x1e0c7a0] buffer underflow st=0 bufi=397420 size=400525
[mpeg @ 0x1e0c7a0] buffer underflow st=0 bufi=399461 size=400525
. Do you know what I can do to make it work?
– L42
Nov 25 '16 at 15:45
No, I'm sorry, I did not even know that format existed until I read your question
– user186255
Nov 25 '16 at 16:11
Thank you. I tried that, but just got a lot of these errors:
[mpeg @ 0x1e0c7a0] buffer underflow st=0 bufi=397420 size=400525
[mpeg @ 0x1e0c7a0] buffer underflow st=0 bufi=399461 size=400525
. Do you know what I can do to make it work?– L42
Nov 25 '16 at 15:45
Thank you. I tried that, but just got a lot of these errors:
[mpeg @ 0x1e0c7a0] buffer underflow st=0 bufi=397420 size=400525
[mpeg @ 0x1e0c7a0] buffer underflow st=0 bufi=399461 size=400525
. Do you know what I can do to make it work?– L42
Nov 25 '16 at 15:45
No, I'm sorry, I did not even know that format existed until I read your question
– user186255
Nov 25 '16 at 16:11
No, I'm sorry, I did not even know that format existed until I read your question
– user186255
Nov 25 '16 at 16:11
add a comment |
Avdshare Video Converter is not only just the professional MXF to MP4 converter but also any video converter which can convert all MXF file from any source, like Sony's XDCAM, Panasonic's P2, Ikegami, Canon, etc to MP4, MOV, AVI, FLV, WMV, MKV, etc.
New contributor
add a comment |
Avdshare Video Converter is not only just the professional MXF to MP4 converter but also any video converter which can convert all MXF file from any source, like Sony's XDCAM, Panasonic's P2, Ikegami, Canon, etc to MP4, MOV, AVI, FLV, WMV, MKV, etc.
New contributor
add a comment |
Avdshare Video Converter is not only just the professional MXF to MP4 converter but also any video converter which can convert all MXF file from any source, like Sony's XDCAM, Panasonic's P2, Ikegami, Canon, etc to MP4, MOV, AVI, FLV, WMV, MKV, etc.
New contributor
Avdshare Video Converter is not only just the professional MXF to MP4 converter but also any video converter which can convert all MXF file from any source, like Sony's XDCAM, Panasonic's P2, Ikegami, Canon, etc to MP4, MOV, AVI, FLV, WMV, MKV, etc.
New contributor
New contributor
answered 1 min ago
daveclark966daveclark966
1
1
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f853522%2fhow-can-i-convert-a-mxf-video-file-to-mkv-with-ubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown