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. |
6th July 2008, 04:36 | #1 | Link |
Registered User
Join Date: Apr 2008
Posts: 1
|
AVCHD to MPEG2
I've spent months trying to solve what I thought would be a simple problem. I have a Sony HDR-SR1 which records to AVCHD as an MPEG2 Transport Stream. I want to convert these files to play on my Roku HD1000 Photobridges. The HD1000 can only play MPEG2 files, so that is my only option to encode the files as.
What I've come up with so far is as follows:
Avisyth script: Code:
loadplugin("dgavcdecode.dll") load_stdcall_plugin("yadif.dll") video=AVCSource("myvid.dga") audio=DirectShowSource("myvid.ac3") AudioDub(video, audio) yadif() Lanczos4Resize(1920, 1080) If i use: Code:
ffmpeg -i myvid.avs -target ntsc-dvd -s hd1080 myvid-dvd.mpg I've tried Code:
ffmpeg -i myvid.avs -vcodec mpeg2video -b 15000k -acodec ac3 -ab 224000 myvid-hd.mpg I am so confused as to what I could be doing wrong! |
6th July 2008, 05:46 | #2 | Link |
Dolphin Blue
Join Date: Mar 2007
Posts: 336
|
first kill audio import into avisynth,
just use the original audio Code:
loadplugin("dgavcdecode.dll") load_stdcall_plugin("yadif.dll") AVCSource("myvid.dga") yadif() Lanczos4Resize(1920, 1080) Code:
ffmpeg -i myvid.avs -i myvid.ac3 -vcodec mpeg2video -acodec copy -qscale 3 -g 14 -mbd 2 \ -flags trell -maxrate 20000k -bufsize 9781k -f vob myvid-hd.mpg then mux video, audio. tripp
__________________
injected with feelings; with no final fading |
17th July 2008, 03:38 | #3 | Link |
Registered User
Join Date: Jul 2006
Posts: 120
|
There's a thread concerning exactly this topic in the AviSynth forum:
http://forum.doom9.org/showthread.php?t=139102 Basically, scale the image with AviSynth, convert to MPEG2 with HCenc. It's easy to do it quickly and wrong. It's hard to do it right, at a high quality. |
Thread Tools | Search this Thread |
Display Modes | |
|
|