Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
11th January 2011, 06:14 | #1 | Link |
Registered User
Join Date: Dec 2010
Posts: 45
|
Converting a .m2ts containing VFR AVC into mp4/mkv
I feel like an idiot when it comes to this stuff. After sorting out my other issues, I came across an odd video file: a 4GB, 1080p .m2ts that contained a variable-framerate H.264 stream and an AC3 track. The video plays fine in VLC (although seeking and time are completely broken, video appears as 00:00:00 in length and dragging the seek bar has no effect), and even plays fine in Windows Media Player (seeks fine and shows correct length).
I can't figure out how to turn this into a CFR mp4 or mkv. Every .m2ts converter I've tried seems to be looking for a large Bluray-format video stream and fails to load the file. Demuxing the .m2ts only gives me a raw .h264 file without timecodes or anything--useless, as I can only specify constant framerates when muxing. I tried loading the .m2ts directly into MeGUI to convert to constant-framerate, and it loads fine...using DirectShowSource, which has been so-far useless to me, since the encoded files do not seek or play properly on Android phones or in MPC. Attempting to use FFmpegSource with the file just crashes MeGUI. Is there any other method of turning this .m2ts file into any constant-framerate format? |
11th January 2011, 23:49 | #4 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,251
|
Where exactly did you get that kind of file?
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
12th January 2011, 00:34 | #6 | Link | |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
Quote:
What I find strange is that he says that using DirectShowSource will make the output not seek or play properly while the source filter used in an AviSynth script shouldn't have any impact on things like these at all. |
|
13th January 2011, 20:02 | #7 | Link | |
Registered User
Join Date: Dec 2010
Posts: 45
|
I had a friend at my dorm rip some of my Blurays for me and put them on my external hard drive, since I don't have a PC Bluray drive for ripping stuff myself. I should ask him what the hell he did.
Quote:
I think this is weird myself. However, testing on 2 different PC's for encoding and 2 different phones for playback, the same exact source video had serious playback and seek issues if encoded with DirectShowSource, but had no problems if encoded with the same settings (H.264, resolution, quality, framerate, etc.) using FFVideoSource instead. The problem remained for any source videos I tried (and I tried a good 20 or so videos before I realized that using FFVideoSource resolved the problems). Last edited by GG-Xtreme; 13th January 2011 at 20:05. |
|
Tags |
convert, demux, h264, m2ts, vfr |
Thread Tools | Search this Thread |
Display Modes | |
|
|