Quantcast Mencoder Has No Sound - digitalFAQ.com Forums [Archives]
  #1  
04-06-2004, 10:26 AM
itcth itcth is offline
Free Member
 
Join Date: Nov 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
I use "makeAVIS.exe" to create fake avi(fake.avi) from avisynth script(Source.avs).VirtualDub can detect both Video and sound from fake.avi but when i try to encode fake.avi with mencoder there is no sound detected.Is this is normal or i made something wrong.

regards,
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
04-06-2004, 10:40 AM
bilu bilu is offline
Free Member
 
Join Date: Jan 2004
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
I don't know if anyone has experience in that field yet

Bilu
Reply With Quote
  #3  
04-06-2004, 02:34 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
@itcth,
Sorry buddy but if you're using a DVD2AVI and makeAVIS it doesn't support sound.
In fact the problem is not with makeAVIS. The *.d2v file created by DVD2AVI doesn't have any sound on it at all.
Though if you created the *.d2v file I expected DVD2AVI to have created a big 300Mb~500Mb file with the audio on it.
That file must be either an *.ac3 file or a *.wav file.
That's because after encoding the video with mencoder (or the libavcodec of your preference encoder) you will have to encode your audio to MP2.
Use either headAC3he or BeSweet to encode the audio track.
Then you can mux video and audio together with bbmpeg or mplex.
Only then you can use the authoring tool of your choice.
Please bear in mind that although using this method it takes quite some time to have the final product, this seems to be the only true reliable method to encode.
BTW this is the method already used with TmpgENC/CCE/MCE for a long time now.
One more thing: are you aiming for KSVCD or KDVD? With KDVD you can use the *.ac3 file with the encoded video, mux it, and burn it on a DVD . No need to encode the audio to MP2.
You'll have less space for the video encoded file on your DVD, but you'll have 5.1 Dolby Surround
Cheers

@bilu,
Hi Bruno. Nice to see you're still around
I myself have been absent for the past few weeks for SEVERAL reasons.
Hope you're feeling better already
Cheers.
__________________
Rui
Reply With Quote
  #4  
04-06-2004, 11:09 PM
itcth itcth is offline
Free Member
 
Join Date: Nov 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
@rds_correia

Many thanks for your help.Let me explain you more details,i am trying to encode from DV type 2 avi to VCD.Below are my script(C:\Source.avs);

AviSource("C:\DV.avi")
ConvertToYV12()
ResampleAudio(44100)

By feeding to makeAVIS and convert to Fake.avi.Both video and sound can be deteced by virtualdub.then i use mencoder to encode.This is my commandline;

mencoder.exe -forceidx -of mpeg -passlogfile -ovc lavc -lavcopts vcodec=mpeg1video:vqmin=2:vqmax=24:vmax_b_frames=2 :mbd=0:keyint=18:vpass=1:aspect=4/3:vbitrate=1000:vratetol=1000:vrc_maxrate=1150:vrc _buf_size=328:vb_qfactor=1.2:vi_qfactor=0.8:inter_ matrix=16,20,24,28,32,36,40,44,20,24,28,32,36,40,4 4,48,24,28,32,36,40,44,48,52,28,32,36,40,44,48,52, 56,32,36,40,44,48,52,56,58,36,40,44,48,52,56,58,60 ,40,44,48,52,56,58,60,62,44,48,52,56,58,60,62,62:i ntra_matrix=8,16,19,22,26,27,29,34,16,16,22,24,27, 29,34,35,19,22,26,27,29,34,35,38,22,22,26,27,29,34 ,35,40,22,26,27,29,32,35,40,48,26,27,29,32,35,40,4 8,50,26,27,29,35,40,48,50,60,27,29,35,40,48,50,60, 62 -ofps 25 -oac lavc -lavcopts acodec=mp2:abitrate=224 -srate 44100 "C:\Fake.avi"
-o "C:\Fake1.mpg"


Mencoder complains "can not find audio codec for audio format 0x3313" and "Read DOC/HTML/eng/codecs/html!" and continue encoding only video.

One more question.I found mplex.exe in bbmpeg forum.Is there a commandline version of mplex.exe.

Thank again.
Reply With Quote
  #5  
04-08-2004, 10:59 AM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by itcth
@rds_correia

Many thanks for your help.Let me explain you more details,i am trying to encode from DV type 2 avi to VCD.Below are my script(C:\Source.avs);

AviSource("C:\DV.avi")
ConvertToYV12()
ResampleAudio(44100)

By feeding to makeAVIS and convert to Fake.avi.Both video and sound can be deteced by virtualdub.then i use mencoder to encode.This is my commandline;

mencoder.exe -forceidx -of mpeg -passlogfile -ovc lavc -lavcopts vcodec=mpeg1video:vqmin=2:vqmax=24:vmax_b_frames=2 :mbd=0:keyint=18:vpass=1:aspect=4/3:vbitrate=1000:vratetol=1000:vrc_maxrate=1150:vrc _buf_size=328:vb_qfactor=1.2:vi_qfactor=0.8:inter_ matrix=16,20,24,28,32,36,40,44,20,24,28,32,36,40,4 4,48,24,28,32,36,40,44,48,52,28,32,36,40,44,48,52, 56,32,36,40,44,48,52,56,58,36,40,44,48,52,56,58,60 ,40,44,48,52,56,58,60,62,44,48,52,56,58,60,62,62:i ntra_matrix=8,16,19,22,26,27,29,34,16,16,22,24,27, 29,34,35,19,22,26,27,29,34,35,38,22,22,26,27,29,34 ,35,40,22,26,27,29,32,35,40,48,26,27,29,32,35,40,4 8,50,26,27,29,35,40,48,50,60,27,29,35,40,48,50,60, 62 -ofps 25 -oac lavc -lavcopts acodec=mp2:abitrate=224 -srate 44100 "C:\Fake.avi"
-o "C:\Fake1.mpg"


Mencoder complains "can not find audio codec for audio format 0x3313" and "Read DOC/HTML/eng/codecs/html!" and continue encoding only video.
Hi there,
Let me see if I got a clear picture since I don't know much about DV.
That's basically an AVI right?
And you say that VDUB can actually detect the audio right?
So use makeAVIS+Mencoder to encode the video and use VDUBMOD to extract the audio from the AVI.
Then you can encode it to MP2 with HeadAC3he/BeSweet.
Mux them with mplex/bbmpeg.
But...I see you're not using rawvideo=1 in mencoder.
I don't know if you forgot about it or if your build of mencoder doesn't support it.
Anyway, without it, you'll have a problem with your encoded video stream: you'll have to demux it prior to muxing video and audio back together. Use bbdmux from bbtool19 package

Quote:
Originally Posted by itcth
One more question.I found mplex.exe in bbmpeg forum.Is there a commandline version of mplex.exe.

Thank again.
Don't actually know my friend. I never tried it on a dos-box.
Give it a shoot. Since it's based on bbmpeg it may work because you can use bbmpeg from a dos-box.

Cheers
__________________
Rui
Reply With Quote
  #6  
04-27-2004, 11:40 AM
Fluffbutt Fluffbutt is offline
Free Member
 
Join Date: Apr 2004
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by rds_correia
<snip>

One more thing: are you aiming for KSVCD or KDVD? With KDVD you can use the *.ac3 file with the encoded video, mux it, and burn it on a DVD . No need to encode the audio to MP2.
You'll have less space for the video encoded file on your DVD, but you'll have 5.1 Dolby Surround
Cheers
<snip>
I believe svcd (and hence ksvcd?) can also contain ac3, I may be wrong it might have to be mpg5.1, which does exist.

Have to try it one day..
__________________
|
Meeow!
Reply With Quote
  #7  
04-28-2004, 02:25 AM
Abond Abond is offline
Free Member
 
Join Date: Mar 2003
Posts: 243
Thanks: 0
Thanked 0 Times in 0 Posts
Standart SVCD cannot contain ac3 regarding the specs. It can contain multichannel mp2, but you should search very hard for the player which support such output.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Mencoder: MPV encoded with no sound? oxycotton420 Video Encoding and Conversion 7 06-08-2004 11:48 PM
Mencoder: Sound in .m2v? maurus Video Encoding and Conversion 8 05-26-2004 08:08 AM
Mencoder: No sound Adam Video Encoding and Conversion 11 05-17-2004 05:24 PM
Mencoder: No Sound in file Adam Video Encoding and Conversion 2 05-16-2004 04:45 PM
Sound problem on kvcd, SOUND IS VERY SLOW? khusru Video Encoding and Conversion 2 02-05-2004 11:10 AM

Thread Tools



 
All times are GMT -5. The time now is 07:48 AM  —  vBulletin Jelsoft Enterprises Ltd