Please look carefully.
In the post above, I gave you
We differ in the echo.AVISource^("%sourcevideo%\%%x"^)Code:for %%x in (*.ogm) do ( echo.AVISource^("%encodedvideo%\%%~nx.avi"^) echo.%resize%Resize^(%width%,%height%^,0,1,560,430^) echo.AddBorders^(%leftright%,%topbottom%,%leftright%,%topbottom%^) echo.ConvertToYUY2^(^) ) > "%%~nx.avs"
you are using %SOURCEVIDEO%, while OGM needs %ENCODEDVIDEO%
+ Reply to Thread
Results 121 to 150 of 481
-
-
Look at the bolded text.
::CCE Encoding Batch Generator!
@echo off
:::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::
:: Lines beginning with 2 colons are comment line. They are ignored,::
:: so you can safely copy this. ::
:: Change the value after the equal sign ::
:::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::
:: Pulldown file? (yes if your videos are 23.976fps, no if your videos are 29.970fps)
@set applypulldown=yes
:: Resize type (Bicubic, Lanczos, Lanczos4).
@set resize=Lanczos
:: Resize Value (Fullscreen is 660, 440 - Widescreen is 660, 330)
@set width=688
@set height=352
:: AddBorders Value (Fullscreen is 20, 30 - Widescreen is 75, 30)
@set topbottom=64
@set leftright=16
:: Audio Bitrate (The one you chose when calculating)
@set audiobitrate=192
:: Audio type (ogg or WAV)
@set audiotype=mp3
:: Path for source videos (The video you want to encode should reside in there)
@set sourcevideo=C:\OGMSource
:: CCE Template Name (The template you made in step 3)
@set template=Gundam
:: Path to your encoder. Select CCEFRONT.exe if you have CCE SP.
@set cce=C:\Program Files\Custom Technology\CCE SP Trial Version\CCEFRONT.exe
:: Path for DVD2SVCD (The folder where DVD2SVCD is located)
@set dvd2svcd=C:\Program Files\DVD2SVCD
:: Path to OGM Demuxer
@set ogmdemuxer=C:\program files\ogm tools\ogmdemuxer.exe
:::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::
:: DO NOT CHANGE ANYTHING BELOW UNLESS YOU KNOW WHAT YOU'RE DOING!! ::
:::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::
:: Define variable path for programs that is included with DVD2SVCD
@set besweetdir=%dvd2svcd%\besweet
@set besweetexe=%besweetdir%\besweet.exe
@set pulldown=%dvd2svcd%\pulldown\pulldown.exe
@set mplex=%dvd2svcd%\dvdauthor\mplex.exe
@set encodedvideo=%sourcevideo%\EncodedVideo
echo Generating Batch, tutututut - please be patient.
echo ::MAIN ENCODING BATCH > mainencoding.bat
echo @echo off >> mainencoding.bat
MKDIR %encodedvideo%\Batch
for %%x in (*.ogm) do (
echo.AVISource^("%sourcevideo%\%%x"^)
echo.%resize%Resize^(%width%,%height%^, 0,1,560,430^)
echo.AddBorders^(%leftright%,%topbottom%,%leftrigh t%,%topbottom%^)
echo.ConvertToYV12^(^)
) > "%%~nx.avs"
if %applypulldown%==yes (
for %%x in (*.ogm) do (
echo."%ogmdemuxer%" tracks "%sourcevideo%\%%~nx.ogm" 0:"%encodedvideo%\%%~nx.avi" 1:"%encodedvideo%\%%~nx_audio1.%audiotype%" 2:"%encodedvideo%\%%~nx_audio2.%audiotype%" 3:"%encodedvideo%\%%~nx_subs.srt"
echo."%cce%" -t "%template%" "%encodedvideo%\%%~nx.avs" -batch
echo.MOVE "%encodedvideo%\batch\%%~nx.mpv" "%encodedvideo%"
echo.REN "%encodedvideo%\%%~nx.mpv" %%~nx.m2v
echo."%pulldown%" %encodedvideo%\%%~nx.m2v %encodedvideo%\encoded%%~nx.m2v -run -exit
echo."%besweetexe%" -core^( -input "%encodedvideo%\%%~nx_audio1.%audiotype%" -output "%encodedvideo%\%%~nx_audio1.mp2" -logfilea "%besweetdir%\BeSweet.log" ^) -ssrc^( --rate 48000 ^) -toolame^( -m s -b %audiobitrate% ^)
echo."%besweetexe%" -core^( -input "%encodedvideo%\%%~nx_audio2.%audiotype%" -output "%encodedvideo%\%%~nx_audio2.mp2" -logfilea "%besweetdir%\BeSweet.log" ^) -ssrc^( --rate 48000 ^) -toolame^( -m s -b %audiobitrate% ^)
echo.DEL "%encodedvideo%\%%~nx.m2v"
echo.DEL "%encodedvideo%\%%~nx.avi"
echo.DEL "%encodedvideo%\%%~nx_audio1.%audiotype%"
echo.DEL "%encodedvideo%\%%~nx_audio2.%audiotype%"
echo.REN "%encodedvideo%\encoded%%~nx.m2v" %%~nx_video.m2v
) > "batch_for_%%~nx.bat"
) ELSE (
for %%x in (*.ogm) do (
echo."%ogmdemuxer%" tracks "%sourcevideo%\%%~nx.ogm" 0:"%encodedvideo%\%%~nx.avi" 1:"%encodedvideo%\%%~nx_audio1.%audiotype%" 2:"%encodedvideo%\%%~nx_audio2.%audiotype%" 3:"%encodedvideo%\%%~nx_subs.srt"
echo."%cce%" -t "%template%" "%encodedvideo%\%%~nx.avs" -batch
echo.MOVE "%encodedvideo%\batch\%%~nx.mpv" "%encodedvideo%"
echo.REN "%encodedvideo%\%%~nx.mpv" %%~nx.m2v
echo."%besweetexe%" -core^( -input "%encodedvideo%\%%~nx_audio1.%audiotype%" -output "%encodedvideo%\%%~nx_audio1.mp2" -logfilea "%besweetdir%\BeSweet.log" ^) -ssrc^( --rate 48000 ^) -toolame^( -m s -b %audiobitrate% ^)
echo."%besweetexe%" -core^( -input "%encodedvideo%\%%~nx_audio2.%audiotype%" -output "%encodedvideo%\%%~nx_audio2.mp2" -logfilea "%besweetdir%\BeSweet.log" ^) -ssrc^( --rate 48000 ^) -toolame^( -m s -b %audiobitrate% ^)
echo.DEL "%encodedvideo%\%%~nx.m2v"
echo.DEL "%encodedvideo%\%%~nx.avi"
echo.DEL "%encodedvideo%\%%~nx_audio1.%audiotype%"
echo.DEL "%encodedvideo%\%%~nx_audio2.%audiotype%"
) > "batch_for_%%~nx.bat"
)
for %%x in (*.ogm) do (
echo.CALL "%encodedvideo%\batch\batch_for_%%~nx.bat"
) >> mainencoding.bat
for %%x in (*.ogm) do (
MOVE "%sourcevideo%\%%~nx.avs" "%encodedvideo%"
MOVE "batch_for_%%~nx.bat" "%encodedvideo%\batch"
)
move "mainencoding.bat" "%encodedvideo%\batch"
echo.
echo.
echo.
echo.
echo Batch Creation Finished! hehe - Now you just have to open MainEncoding.bat !!
pause
:::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::
:: END OF BATCH ::
:::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::
echo.AVISource^("%encodedvideo%\%%~nx.avi"^)
but you got
echo.AVISource^("%sourcevideo%\%%x"^) -
I'm baaaaaaack!
But only with an encoding question:
Seems I've been doing really well, and have even been able to adjust the bicubic back to lanczos and it plays fine. I found that even though it doesn't play right in Zoom player, it does play in sync with Media Player Classic..... I don't know WHY that is.... and would've saved me all those headaches weeks ago...
Anyway, I've run into a problem encoding 1 episode from a series. I've downloaded 2 different streams from 2 seperate fansub sites, so they're different files, but both will not convert to mpg correctly. The video runs to like 21 minutes, then stops. (24 min. episode). The whole rest of the series converts fine, but 3 frickin minutes of 1 episode doesn't convert!!! Any ideas what to look at for a source of the problem? Here's Mediainfo's rundown of episode 6, 7, and 7a, the alternate version
6
Codec : XviD
Bit rate : 854 Kbps
Width : 704
Height : 396
Aspect ratio : 16/9
Frame rate : 23.98
7
Codec : XviD
Bit rate : 853 Kbps
Width : 704
Height : 396
Aspect ratio : 16/9
Frame rate : 23.98
7A
Codec : XviD
Bit rate : 1145 Kbps
Width : 768
Height : 432
Aspect ratio : 16/9
Frame rate : 23.98
I figured since the bitrate and screen size were both different in ep 7 + 7A that I'd get a different result, but nope, at EXACTLY the same spot, it stops. 21:00. -
Heyhey Kodaikun, been a while.
the sources should not give you any problem.
How did you know it misses the last 3 minutes?
Did you check the entire file (without skipping and gliding the bar) or did you just check the timer in Media Player?
If there was any prob with the encoding, it would be because of the encoder..
but hey, try opening the encoded video, with VirtualDubMod.
Then press CTRL + RIGHT ARROW. It will go to the last frame.
Just check below, it should show something like
"Frame 25000 (0:24:00.000) -
I've watched the AVI from start to finish, and it goes through the 24 minutes. Once converted, I've moved the slider to 19 minutes, and played it from there. It gets to 21:00 even, and even though MPC says 21:00 / 24:30 it just stops.
The last time I encoded it I got the following, which may answer the question:
++ WARN: [???] Stream e0: data will arrive too late sent(SCR)=13980086 required(DTS)=0
++ WARN: [???] Video e0: buf= 174157 frame=003721 sector=00019284
++ WARN: [???] Audio c0: buf= 3059 frame=006466 sector=00001844
++ WARN: [???] Stream e0: data will arrive too late sent(SCR)=14024118 required(DTS)=0
++ WARN: [???] Video e0: buf= 235543 frame=003731 sector=00019579
++ WARN: [???] Audio c0: buf= 4096 frame=006484 sector=00001849
++ WARN: [???] Stream e0: data will arrive too late sent(SCR)=14068150 required(DTS)=0
++ WARN: [???] Video e0: buf= 235543 frame=003743 sector=00019873
++ WARN: [???] Audio c0: buf= 4096 frame=006505 sector=00001855
++ WARN: [???] Stream e0: data will arrive too late sent(SCR)=14115108 required(DTS)=0
++ WARN: [???] Video e0: buf= 193950 frame=003757 sector=00020186
++ WARN: [???] Audio c0: buf= 2987 frame=006529 sector=00001862
++ WARN: [???] Stream e0: data will arrive too late sent(SCR)=15226294 required(DTS)=0
++ WARN: [???] Video e0: buf= 180878 frame=004053 sector=00024218
++ WARN: [???] Audio c0: buf= 2111 frame=007045 sector=00002009
++ WARN: [???] Stream e0: data will arrive too late sent(SCR)=15270180 required(DTS)=0
++ WARN: [???] Video e0: buf= 235543 frame=004063 sector=00024514
++ WARN: [???] Audio c0: buf= 4096 frame=007059 sector=00002013
++ WARN: [???] Stream e0: data will arrive too late sent(SCR)=15314212 required(DTS)=0
++ WARN: [???] Video e0: buf= 235543 frame=004071 sector=00024809
++ WARN: [???] Audio c0: buf= 4096 frame=007077 sector=00002018
++ WARN: [???] Stream e0: data will arrive too late sent(SCR)=15358244 required(DTS)=0
++ WARN: [???] Video e0: buf= 235543 frame=004080 sector=00025105
++ WARN: [???] Audio c0: buf= 4096 frame=007091 sector=00002022
++ WARN: [???] Stream e0: data will arrive too late sent(SCR)=15402276 required(DTS)=0
++ WARN: [???] Video e0: buf= 235543 frame=004089 sector=00025401
++ WARN: [???] Audio c0: buf= 4096 frame=007105 sector=00002026
++ WARN: [???] Stream e0: data will arrive too late sent(SCR)=15446162 required(DTS)=0
++ WARN: [???] Video e0: buf= 235543 frame=004100 sector=00025695
++ WARN: [???] Audio c0: buf= 4096 frame=007126 sector=00002032
That was after pulldown and transcoding.
I have had errors like this in other files, and have seen no adverse effects from them in the converted files so I don't get it.
Anyway, if you have any ideas.... I'll try the VirtualDubMod, and let you know what I find. -
Ah-Ah!
Moving the glider is okay with AVI.. but not with MPEG2.
Unlike AVI, mpeg2 files does not have a precise header. In the header, it does not say the lenght of the video...
That's why you need Vdubmod, it will load the entire file.
And that's an MPLEX error... I'm not so sure what it is about.. -
Couples of questions/concerns:
I have read your guide and I have these questions:
1. What if I DON"T want to multiplex the audio and video together. I just want to leave them as audio and video streams. As you may know....most of the good authoring softwares uses elementary streams.
2. "I may be wrong" But it looks like the output video is just one BIG file right ?? All the episodes are merged together ?? So is there a way to encode in batch that each episode are ouput separately not merged together ??
3. Just to save time....is there a way to encode the audio .mp2 files into .ac3 in the same process ?? If not then I guess I have to encode them separately when they're done... Just curious to see if it's possible or not.. -
Originally Posted by Ekin
echo."%mplex%"
In the batchconvert.bat
_OR_ (this one is simpler)
replace the word MPLEX in the line
@set mplex=%dvd2svcd%\dvdauthor\mplex.exe
to
@set mplex1=%dvd2svcd%\dvdauthor\mplex.exe
If you feel that it is going to be permanent, use the first method.
2. "I may be wrong" But it looks like the output video is just one BIG file right ?? All the episodes are merged together ?? So is there a way to encode in batch that each episode are ouput separately not merged together ??
3. Just to save time....is there a way to encode the audio .mp2 files into .ac3 in the same process ?? If not then I guess I have to encode them separately when they're done... Just curious to see if it's possible or not..
Put this
Code:echo."%besweetexe%" -core^( -input "%sourcevideo%\%%~nx.avi" -output "%encodedvideo%\%%~nx.ac3" -logfilea "%besweetdir%\BeSweet.log" ^) -ssrc^( --rate 48000 ^) -ac3enc^( -b %audiobitrate% ^)
Code:echo."%besweetexe%" -core^( -input "%sourcevideo%\%%~nx.avi" -output "%encodedvideo%\%%~nx.mp2" -logfilea "%besweetdir%\BeSweet.log" ^) -ssrc^( --rate 48000 ^) -toolame^( -m s -b %audiobitrate% ^)
-
aktee: thank you for the fast reply...I will definitely try your way and see if it works or not...It'll take me some time because I just bought an Abit motherboard...and it requires me to have a power supply of 3.3V with an minium of 30Amps output....wow... I am suprise that 90% of PSU are under 30Apms.....soo gotta find a cheap PSU
But I will definitely post my out come....thanks...
-
aktee: just tried with the first part with creating .avs file...when I play it...i got this error in window media player. " ACM failed to suggest a compatible PCM format " did a search and people are telling me to demux it with VirtulaDub...If so..then I guess this way won't save me alot of time and playing around with softwares....I know how to do it with other softwares..I just don't know how to use CCE to convert avi/ogm to mpeg. I know CCE is weird on the audio part..but I thought it should be fix by now. I have used CCE 3 years ago. I thought that dummy audio file would be fix my now....
I am currently using CCE 2.7.
-
aktee: I will ignore the error " ACM failed to suggest a compatible PCM format " and just start the encoding...when I get home from work. But just curious... let say my avi have .ac3 as audio...I don't want Besweet to encode it into .mp2...then that would be just a waste of time since I want .ac3. So I have 2 questions:
1. Can I use a demuxed .ac3 from an .avi file and use it to author ? I haven't tested it yet.
2. If question 1 is possible, then how could I edit the code so that it would demux all the episodes' audio into .ac3 and stop there. Leave them as .ac3 for future authoring... -
Apologies for the LONG post:
Aktee, run virtual dub mod, and loaded one of the files I'm having the problem with, and right away it displayed the following errors:
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 1060882, from 13019 to 283289. This may indicate an improper
join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 1601554, from 283289 to 373379. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 37115922, from 10173669 to 10263759. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 37926930, from 10669164 to 10804299. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 67069970, from 19250237 to 19340327. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 105941010, from 30763739 to 30853829. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 111190034, from 32310284 to 32400374. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 112787474, from 32985959 to 33076049. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 113790994, from 33481454 to 33571544. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 114298898, from 33796769 to 33886859. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 114771986, from 34021994 to 34112084. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 116076562, from 34562534 to 34697669. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 116578322, from 34742714 to 34967939. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 117264402, from 35238209 to 35328299. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 119844882, from 36229199 to 36319289. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 134375442, from 42275739 to 42365829. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 134514706, from 42365829 to 42455919. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 136794130, from 43436399 to 43514477. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 138043410, from 43931894 to 44021984. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 139603986, from 44618079 to 44708169. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 153012242, from 49024982 to 49115072. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 158601234, from 51322277 to 51457412. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 164210706, from 53229182 to 53319272. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 164390930, from 53319272 to 53409362. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 165556242, from 53859812 to 53949902. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 166361106, from 54265217 to 54355307. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 167542802, from 54850802 to 54940892. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 167899154, from 55030982 to 55121072. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 188020754, from 60455901 to 60591036. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 188866578, from 61029474 to 61119564. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 189128722, from 61209654 to 61299744. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 189298706, from 61299744 to 61389834. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 189507602, from 61389834 to 61524969. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 221837330, from 69419856 to 69509946. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 228843538, from 71870304 to 71960394. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 229001234, from 71960394 to 72050484. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 231639058, from 73176609 to 73266699. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 232306706, from 73491924 to 73582014. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 237318162, from 75563994 to 75654084. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 238540818, from 76066997 to 76157087. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 249434130, from 79550477 to 79640567. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 249712658, from 79640567 to 79775702. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 275824658, from 86371791 to 86461881. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 327837714, from 99562469 to 99652559. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 333830162, from 102152556 to 102242646. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 338501650, from 103954356 to 104044446. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 338849810, from 104089491 to 104224626. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 342249490, from 105440841 to 105530931. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 365029394, from 112966359 to 113056449. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 365418514, from 113146539 to 113236629. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 365613074, from 113236629 to 113326719. This may indicate an
improper join.
[!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
byte position 367243282, from 113867259 to 113957349. This may indicate an
improper join.
I am converting some episodes of Bleach, and this is the first one to have a problem, #26, but from here forward they all do the same converted, regardless of bicubic, lanczos, or lanczos4. For these it cuts the last 30 seconds or so off the video. The clip in Media Player Classic reads 23:14 in length, but the last frame as shown in vdubmod is Frame 32288 (0:22:26.679) [P]
Ideas? -
Originally Posted by Ekin
I am converting some episodes of Bleach, and this is the first one to have a problem, #26, but from here forward they all do the same converted, regardless of bicubic, lanczos, or lanczos4. For these it cuts the last 30 seconds or so off the video. The clip in Media Player Classic reads 23:14 in length, but the last frame as shown in vdubmod is Frame 32288 (0:22:26.679) [P]
Ideas?
what fansubbers is that? Lunar or Hell-Fansusb? Hmm.
can you tell me exactly what is the codec for video used? the specific name, and the 4code.. -
All through 34 are done by Lunar...... Problem here only starts at 26. Once I get to 35, it's bleach society fansubs. Here is the mediainfo for 26:
Codec : XviD
Bit rate : 913 Kbps
Width : 640
Height : 480
Aspect ratio : 4/3
Frame rate : 23.98
then the bleach society subs: 35
Codec : XviD
Bit rate : 949 Kbps
Width : 640
Height : 480
Aspect ratio : 4/3
Frame rate : 23.98
Let me know if that's not the info you want. -
hmm hmm.
So episode 26 is by lunar. Great, I still have 26 to 47 =)).
I'll try converting and gives you heads up.
Does the AVS play nicely? hmmm.. Might be some kind of error in the encoding process.. maybe maybe. -
Originally Posted by Ekin
I just found the problem to the Incompatible PCM format.
It happened to me on a video with a DTS audio...
Just add
AVISource("D:\NarutoDVD\batch\darkwater.avi", false)
It will disable the audio.
I'm currently trying to find a way to demux the audio using command-line programs.
=) -
aktee:
You're right...by adding the ,false in the .avs file will trigger no audio but my .avs will play.
But I started the batch encode...I got this error "Fram size 816x56 is not supported. Supported frame size is up 720x576" why...? my source according to Gspot :
Video:
Runtime: 0:21:35 (32,369 fr)
x:y: 512x384 (1.33:1) [=4:3]
Bitrate: 943 kb/s
FPS: 25.000
Qf: 0.192 bits/pixel
Audio:
Name: ac3 (0x2000) Dolby Laboratories, Inc
Bitrate: 192 kb/s (96/ch, stereo) CBR
Fs: 48000Hz
Well after testing...I figure out that the error "Frame size 816x56 is not supported. Supported frame size is up 720x576" is the .avs itself... Here is my avs:
AVISource("E:\AviSource\Futurama S01E01 - The Space Pilot 3000.avi",false)
LanczosResize(660,440)
AddBorders(30,20,30,20)
ConvertToYUY2()
After a few test encoding.....I found out that if I take out the ",false" CCE would pop up the above error...So I guess CCE doesn't like having audio ..not to say it's .ac3 as audio...So I got mine to work everything seems to start.....So I"ll update when I finish with 1 encoding -
Well, for the heckuvit, I re-downloaded 26 + 27 from another subber, Anime-Keep, and they both converted with no errors at all. So I'm guessing there has to be something wrong with the Lunar subs ones, even though through mediainfo, there is no difference..
Lunar - Bleach 26
Codec : XviD
Bit rate : 913 Kbps
Width : 640
Height : 480
Aspect ratio : 4/3
Frame rate : 23.98
Keep - Bleach 26
Codec : XviD
Bit rate : 915 Kbps
Width : 640
Height : 480
Aspect ratio : 4/3
Frame rate : 23.98
Think that may be it? -
-
Originally Posted by Ekin
If you take ou the ",false" in the AVS, it will output an error when playing the AVS (Red Text saying something about PCM)
When opened with CCE, CCE wil think that the <> IS the video. Hence the value of 56 for height..
Just encode with the sound. I'll tell you when I find a way to batch-convert DTS streams.. -
aktee: I finally work the batch the way that I wanted it to. After editing the batch file I was able to encode my .avi into .m2v without multiplex and without besweet transcoding my audio since I want the audio to stay as .ac3. So pretty much everything works for me..thanks for the help...I will continue on encoding ...I'll update when I am done. But let me know if you do find a way to batch with dts audio. Or probably add in some codes for Besweet to extract the audio and leave the option to the user to encode the audio or not. Because in my situation I would like to extract the audio and leave it as it is. But I don't really want to use multiple software. So if possible I think if you add some line for Besweet to extract and encode or Not would be helpful to others as well. Currently I am not using CCE to encode my audio...but hey...CCE as far as I know is only good for video..there're other softwares that I know that are really good for audio...
later....
P.S. what is the ",false" do to the avs ?? just curious why would CCE error out for that ?? What's the function for the ,false in the avs ??? -
Originally Posted by Ekin
the ",false" will disable audio.
Since we're only using the AVS to frameserve CCE, we don't need audio.. =D.
And.. Avisynth doesn't not really decode DTS Audio. Hence the PCM error.
I'm searching for a plain demuxer, I can't seem to find it. All demuxer are using GUI. -
KODAIKUN!!
Hey.
I just encoded ep 26 and 27 from Lunar.
Ep26 gives me.. 23:14 with 33440 frames
Ep27 gives me.. 23:14 with 33439 frames
Both are correct with the AVI.
So I encoded successfully. It must be the codecs you are using. -
Hmm, the codec may be bad? hmmmm..
Which one(s) are you using? I installed the pack you have listed in your tutorial. What are the best codecs to have?
Very odd that it only just started being a problem. What a pain.
I just did 26-33 from Hell fansubs and they came out fine, but as soon as I hit 34, which is back to Lunar subs, they failed again. Let me try the new Gspot and tell you what it finds different....
Thanks for being so helpful! -
uninstall your current codec.. (or uninstall k-lite codec pack)
http://home.hccnet.nl/h.edskes/mirror.htm
take the "mega" one.
it's 24.8mb.. or something like that.
when installing, choose profile #7 (i think it's.. Super-user 1)...
and try encoding again.
It really seems like a codec thing.. unless you got corrupt version? which I doubt =).
No problem for the help. I just can't sleep when it doesn't work for someone. -
Ok, I'll give that a try. I had the K-lite mega codec pack 1.34 installed, and I see the current is 1.37.
I'll let you know the results.
Well, I installed profile 7, and there was no difference in the encoding. It all goes fine until the end, where you get several WARN lines, than it exits. When you play the file, you get through the episode until the end credits, about 30sec. left and it ends. -
hey....I have encoded 9 episodes using the batch and CCE....Everything goes fine for the video but somehow the audio and video is not in sync after authoring. The audio seems to be faster and faster as the video plays....I have tried many ways to fix this...I didn't encode the .ac3 audio with CCE because CCE doesn't like that...so I put the ",false" to disable it. After getting all the video encoded. I have tried using Virtual Dub to demux the audio as .wav, since VirtualDub doesn't let me save it as .ac3. But I have read here that I can just rename the .wav as .ac3...After authoring, the audio is like 30 sec ahead.
So then I try anther way....I modified your batch file to just run Besweet to transcode the audio into .mp2...That still doesn't work...audio and video doesn't sync up...
Next I switch over to TMPGenc to encode 1 episode.... Same result, audio is faster then video.
Finally I tried NeroExpress....and it work !!! everything are in sync. Audio and Video are fine...Sooo why is that ?? All of this seems really odd to me.....Some how the 2 most popular encoders can't handle avi files with .ac3 audio. On the other hand...Nero does it....
Similar Threads
-
How to convert matroska MKV to AVI or OGM to AVI
By Baldrick in forum User guidesReplies: 211Last Post: 13th Apr 2012, 00:56 -
Batch convert mkv to avi possible?
By dude112 in forum Video ConversionReplies: 5Last Post: 6th Jul 2010, 02:56 -
Need a Program to convert avi/mkv/ogm to dvd that is free for winxp
By animefanx in forum Newbie / General discussionsReplies: 1Last Post: 30th Aug 2009, 03:22 -
HOW-TO - CONVERT AVI, OGM or MKV to DVD
By Ecko_Blue in forum User guidesReplies: 44Last Post: 19th Sep 2008, 09:10 -
batch convert mkv to avi
By projecttemp in forum Video ConversionReplies: 7Last Post: 14th May 2008, 06:19