Hi Board,
this is my first post here, I used the search function and checked out the guides, but I had no luck. Perhaps you can help
Here's the point.
I have a mkv file (H264, 1080i with 24fps) and I want to covert it to a DVD compilant mpeg2 (720x576; 25fps).
Why I want to do that? In one location I have a HTPC with an LCD screen and blu-ray ROM. At the other location I have an old fashioned TV and a XBOX1 with XBMC. The XBOX is too weak to play the H264 codec - so I'll need to convert to something different like MPEG2 (or XVID).
Here are my first thoughts:
I want to use AviSynth, VirtualDub and perhaps eac3to.
Step 1: Demux the mkv file with TSMuxer that I have a dts and a 264 file.
Step 2: Convert and speed up the dts file to a ac3 file (eac3to.exe "<SOURCE>" "<DESTINATION>" -448 -speedup)
Step 3: Make an AviSynth Script to resize the video and speed up the video
Then "somehow" load that stuff into virtualdub and reencode the video (to MPEG2 with ffdshow or XVID), and just add the audio directly.Code:DirectShowSource("<SOURCE-VIDEO>", audio=false) Spline36Resize(720,576).Sharpen(0.2) AssumeFPS(25, 1)
Does that work? Are there better alternatives? I didn't get it to work yet, because VirtualDub doesn't accept ac3 files.
Can I add the audio via AviSynth?
Thanks in advance!!!
+ Reply to Thread
Results 1 to 10 of 10
-
-
Xvid4PSP can do most of this in a program, outputting a DVD compliant mpeg-2 program stream. It even has LimitedFastSharpen as an optional filter.
However if the Xbox can output NTSC I would avoid the conversion to PAL/25 fps and keep it NTSC 23.976 fps.
Other options include FAVC, DVD Flick and ConvertXtoDVD.Read my blog here.
-
Originally Posted by guns1inger
Originally Posted by Nightwalker_z -
Thank you for your replies. I'll try the tool Xvid4PSP first.
Yes - I have to convert the FPS to 25. My TV doesn't support 24 fps. Otherwise I see some lagging during the movie.
Why isn't it recommended to convert the FPS. What I want to do is to speed up the movie - not adding additional / duplicate frames to achive 25fps. So, it should not lower the movie-watching experience. Am I right? -
Originally Posted by manono
I meant, that I could use XVid as an alternative to MPEG2. But regarding the MPEG2 topic. I thought, that I can encode video with ffdshow using VDub, right? And I configure ffdshow to use MPEG2 for encoding. So I can encode video with MPEG2 using VDub -
Originally Posted by Nightwalker_z
If you can encode MPEG-2 using ffdshow through VDub, then fine. But if HCEnc is a much better MPEG-2 encoder, then I might ask why not use it? -
[quote="manono"]
Originally Posted by Nightwalker_z -
Originally Posted by Nightwalker_z
-
Ok ... SUPER wasn't the right choice.
Here's my personal solution to convert a H264 MKV (24fps) file to a DVD compilant PAL MPEG2 (25fps).
1.) Demux the mkv file (for example with tsMuxer). The result is one or multiple audio files (for example .dts) and one video file (.264).
2.) Convert the desired audio track with eac3to:
Code:eac3to.exe "<SOURCE>" "<DESTINATION>" -448 -speedup
3.) Encode the h264 movie with henc. Windows dummies like me use the GUI (HCgui_023.exe)
First create an AVISynth script:
Code:DirectShowSource("C:\Temp\movie.264",audio=false) Spline36Resize(720,576).Sharpen(0.2) AssumeFPS(25, 1, true)
- Set an output filename in HCGui
- Set an output filesize or define an average bitrate
Do other settings if you wish and click "encode"
After a while you'll get a result-file with the extension .m2v
4.) Mux the audio and video stream again using ffmpeg:
Code:ffmpeg -i c:\temp\movie.m2v -i C:\temp\movie.ac3 -acodec copy -vcodec copy -f mpeg C:\temp\movie.mpeg
Similar Threads
-
Trouble converting 25FPS MKV file to 24FPS
By dave in or in forum Video ConversionReplies: 3Last Post: 29th Jul 2011, 21:46 -
Converting MKV (H264/DTS) + Speedup to 25fps for PS3 Playback > Help Needed
By flexx in forum Video ConversionReplies: 3Last Post: 17th Nov 2010, 06:28 -
25fps 1080i mkv convert to 24fps 1080p or 720p mkv?
By brent1a in forum Video ConversionReplies: 6Last Post: 9th Feb 2010, 09:57 -
Audio adjustment for 25fps to 24fps
By ranosb in forum Video ConversionReplies: 29Last Post: 12th Aug 2009, 20:17 -
25fps to 24fps
By manzico in forum ffmpegX general discussionReplies: 20Last Post: 7th Sep 2008, 22:33