Hi, 0n 06/09/[EMAIL PROTECTED]:14 T told me:
> I want to use "--export_prof dvd" to set encoding to DVD compliant first, > for those many many parameters that I don't have a clue how to set on the > command line. However, that comes with a price that the destination frame > size is fixed. I don't think that there are that much parameters included. It basicly takes care of: - size (ok, fixed to 720x576) - audio sample rate (48000 Hz) - probably it sets a rational bit-rate But IMHO that's all. > I really wish that transcode comes with a switch that allows me to disable > zooming, ie, encode to the original frame size. Don't use export_prof. > I have this 352x288 sized video, and want the transcoded frame side to be > that as well. I was having a hard time circumventing the currently transcode > limitation that imposes the frame size. How can I do that? > > This is what I've been trying: > > First, I tell transcode to zoom to 352x288, but it gave me 352x576: > > $ transcode -i "test.mpg" --ext none,none --export_prof dvd -Z > 352x288,fast --export_asr 2 -M 4 -s 2 -o "test-.m2v" -m "test-.mpa" -M 2 -y > mpeg2enc,ffmpeg -N 0x2000 -E 48000 -b 128 -F 3,'-b 2600 -I 1' -I 2 --pre_clip > off -c 0:0-00:5:0 On a first view there is no detail missing (assuming fps_in==fps_out). Just skip the export_prof and you should receive a file that meets dvd specs. BTW: However, it will lack in nav-sectors and therefore it could give problems when muxing that file using mplex. Exchanging -F 3 by -F 8 should fix this issue. BTW2: If you still have problems with interlacing, skip -I 2 of the transcode command, -I 1 you forward to mpeg2enc and include --encode_fields t instead. BTW3: IMHO you could skip --ext none,none and -m and instead using "-o test-" will give the same result and is less to type ;). BTW4: Does the double -M [2|4] makes sense? I would skip both at least in a first shot and let transcode decide. BTW5: Ok, too much BTW ;). I would reduce it to the minimum first: transcode -i test.mpeg -Z 352x288 -E 48000,16,2 -s 2 -o test-\ -y mpeg2enc,mp2enc -F 8,"-b 2600" -c 0:0-00:5:0 Note: As I see no major benefit from using 2 chanel [EMAIL PROTECTED] kbit I exchanged it to mp2 audio. > [transcode] V: import frame | 352x288 1.22:1 encoded @ 4:3 > XXX: zoom=yes pre_clip=yes > [transcode] V: pre clip frame | 352x288 (0,0,0,0) > [transcode] V: de-interlace | (mode=2) handled by encoder (if available) > [transcode] V: fast resize | Using -B 0,0,8 -X 36,0,8 > [transcode] V: new aspect ratio | 352x576 0.61:1 (-X) > > On seeming above, I gave my own -B & -X, but transcode (mystically) zooms to > 720x576: > > $ transcode -i "test.mpg" --ext none,none --export_prof dvd -B 0,0,8 -X > 0,0,8 --export_asr 2 -M 4 -s 2 -o "test-.m2v" -m "test-.mpa" -M 2 -y > mpeg2enc,ac3 -N 0x2000 -E 48000 -b 128 -F 3,'-b 1380 -I 1' -I 2 --pre_clip > off -c 0:0-00:5:0 > [transcode] V: import frame | 352x288 1.22:1 encoded @ 4:3 The input is already 4:3, so I droped --export_asr 2 above, too. IMHO the file you have on the hand is already suiting for dvd, so a differnt approach could be (see my previous mail): mplayer -dumpvideo -dumpfile video.m2v test.mpg mplayer -dumpaudio -dumpfile audio.ac3 test.mpg sox (resample to 48000, dunno syntax, sorry) mplex -f8 -o video.mpeg video.m2v audio.ac3 Following this route you will not have to reencode (==quality loss) at all. HTH -- bye maik
signature.asc
Description: Digital signature