Quantcast Mencoder: MPV only Readable by Mplayer - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Video Encoding and Conversion

Reply
 
LinkBack Thread Tools
  #1  
06-05-2004, 08:05 AM
Koekies Koekies is offline
Free Member
 
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
Today I tried encoding mencoder with a different build (from mplayerHQ). It encoded the movie 2 times as fast but the result is a mpv that i can only open with mplayer :P . If I use the other mencoder build with the same bat file it does give a working mpv. Any suggestions what I could do to make the mpv work
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  
06-05-2004, 08:30 AM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Can't you just reanme it
Reply With Quote
  #3  
06-05-2004, 08: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 bigggt
Can't you just rename it
This time renaming hardly can make a difference here.
Koekies is telling us that he tried the same *.bat file with both builds where one produced perfect video for any
player but the other one only plays inside Mplayer.
Mplayer is know to be very stable and very much compliant with almost any type of video file you feed it with.
Though that's very strange mencoder behaviour your advising us.
Koekies, what build did you download from MplayerHQ?
Maybe I can try it also and maybe you could tell us your *.bat file contents.
Cheers
__________________
Rui
Reply With Quote
  #4  
06-05-2004, 09:00 AM
Koekies Koekies is offline
Free Member
 
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
Renaming doesn't change the contents of the file :P powerdvd reads m2v the same as mpv. But now I used pulldown.exe and it works
Reply With Quote
  #5  
06-05-2004, 10:13 AM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
sorry Koekies,i am not computer samrt its just i know when i got a mpv file i couldn't play i just renamed it and it worked,obviously a different situation
Reply With Quote
  #6  
06-05-2004, 10:20 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 bigggt
sorry Koekies,i am not computer samrt its just i know when i got a mpv file i couldn't play i just renamed it and it worked,obviously a different situation

That's right.
When we encode the video we can as well name the extension whatever we want because afterwards we can
change that extension to one that is supported by our soft player.
Some players don't know the extension *.mpv thus they don't show files named like that as readable by the player.
But in fact Koekies problem was ahead of that.
With the exact same command line but using 2 different builds of mencoder, one was readable by his soft player
but the other one was not.
And that's why I posted
Otherwise your advise would have been pretty "workable", bigggt
Cheers
__________________
Rui
Reply With Quote
  #7  
06-05-2004, 11:33 AM
Koekies Koekies is offline
Free Member
 
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
One mencoder is the one you get with mencode me and the other is http://www.mplayerhq.hu/MPlayer/rele...32-1.0pre4.zip I did the exact same script and bat file. The only difference was one encoded at 47fps and needed pulldown.exe to work.

bat file
Code:
Mencoder.exe -include 2temp.conf -lavcopts vbitrate=796:vpass=1 "C:\CI3\VIDEO_TS\sample.vob" -o "C:\CI3\VIDEO_TS\sample.m2v"
Mencoder.exe -include 2temp.conf -lavcopts vbitrate=796:vpass=2 "C:\CI3\VIDEO_TS\sample.vob" -o "C:\CI3\VIDEO_TS\sample.m2v"
pulldown.exe "C:\CI3\VIDEO_TS\sample.m2v" "C:\CI3\VIDEO_TS\sample3.m2v" -framerate 23.976 -prog_seq p prog_frames -drop_frame true -aspect_ratio 16:9
conf file
Code:
vf=kerndeint=15:0:1yuvcsp,pullup,softskip,scale=720:480::0:9,crop=672:378:24:16,unsharp=l3x3:0.6,hqdn3d=3:6:8,unsharp=l3x3:-0.7:c3x3:-1.5,noise=3th,expand=704:480 
of=rawvideo=1 
ovc=lavc=1 
nosound=1 
sws=9 

lavcopts=vcodec=mpeg2video:vstrict=-1:vmax_b_frames=2:vrc_maxrate=2200:aspect=1.3333:keyint=18:vrc_buf_size=1835:preme=2:precmp=2:autoaspect=1:vrc_eq=tex:scplx_mask=0.01:vqmin=1:mbqmin=1:lmin=0.01: 
intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,12,14,18,27,29,34,37,38,22,26,27,31,36,37,38,40,26,27,29,36,39,38,40,48,27,29,34,37,38,40,48,58,29,34,37,38,40,48,58,69,34,37,38,40,48,58,69,79: 
inter_matrix=16,18,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22,24,26,28,30,32,34,22,24,26,30,32,32,34,36,24,26,28,32,34,34,36,38,26,28,30,32,34,36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44 
ofps=23.976
the source was 29,976fps dvd and my result now is a 23,976 skvcd
but before i did pulldown no windows media player could read it or other programs like mplex and virtualdub mpeg version. After i used pulldown it worked great
Reply With Quote
  #8  
06-05-2004, 11:37 AM
Koekies Koekies is offline
Free Member
 
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Koekies
One mencoder is the one you get with mencode me and the other is http://www.mplayerhq.hu/MPlayer/rele...32-1.0pre4.zip I did the exact same script and bat file. The only difference was one encoded at 47fps and needed pulldown.exe to work.

bat file
Code:
Mencoder.exe -include 2temp.conf -lavcopts vbitrate=796:vpass=1 "C:\CI3\VIDEO_TS\sample.vob" -o "C:\CI3\VIDEO_TS\sample.m2v"
Mencoder.exe -include 2temp.conf -lavcopts vbitrate=796:vpass=2 "C:\CI3\VIDEO_TS\sample.vob" -o "C:\CI3\VIDEO_TS\sample.m2v"
pulldown.exe "C:\CI3\VIDEO_TS\sample.m2v" "C:\CI3\VIDEO_TS\sample3.m2v" -framerate 23.976 -prog_seq p prog_frames -drop_frame true -aspect_ratio 16:9
conf file
Code:
vf=kerndeint=15:0:1yuvcsp,pullup,softskip,scale=720:480::0:9,crop=672:378:24:16,unsharp=l3x3:0.6,hqdn3d=3:6:8,unsharp=l3x3:-0.7:c3x3:-1.5,noise=3th,expand=704:480 
of=rawvideo=1 
ovc=lavc=1 
nosound=1 
sws=9 

lavcopts=vcodec=mpeg2video:vstrict=-1:vmax_b_frames=2:vrc_maxrate=2200:aspect=1.3333:keyint=18:vrc_buf_size=1835:preme=2:precmp=2:autoaspect=1:vrc_eq=tex:scplx_mask=0.01:vqmin=1:mbqmin=1:lmin=0.01: 
intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,12,14,18,27,29,34,37,38,22,26,27,31,36,37,38,40,26,27,29,36,39,38,40,48,27,29,34,37,38,40,48,58,29,34,37,38,40,48,58,69,34,37,38,40,48,58,69,79: 
inter_matrix=16,18,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22,24,26,28,30,32,34,22,24,26,30,32,32,34,36,24,26,28,32,34,34,36,38,26,28,30,32,34,36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44 
ofps=23.976
the source was 29,976fps dvd and my result now is a 23,976 skvcd
but before i did pulldown no windows media player could read it or other programs like mplex and virtualdub mpeg version. After i used pulldown it worked great
EDIT renaming isn't necessary in the open screen show all files or double click on you mpv and m2v and select a player like power dvd


Whoops :P wrong button
Reply With Quote
  #9  
06-05-2004, 12:53 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Koekies
The only difference was one encoded at 47fps and needed pulldown.exe to work.
If you refer to the speed on the screen, this speed is a bullcrap. Sometimes it displays the double of the actual speed.
Reply With Quote
  #10  
06-05-2004, 01:04 PM
Encoder Master Encoder Master is offline
Free Member
 
Join Date: Mar 2003
Location: (^_^)
Posts: 504
Thanks: 0
Thanked 0 Times in 0 Posts
@ Koekies


Short question: Is your Video encode in CBR mode which you will join in MEncoder?
Perhaps we have the same problems:

http://www.kvcd.net/forum/viewtopic....156833460cd236
Reply With Quote
  #11  
06-05-2004, 01:43 PM
Koekies Koekies is offline
Free Member
 
Join Date: May 2004
Location: Amsterdam
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
Quote:
Originally Posted by Koekies
The only difference was one encoded at 47fps and needed pulldown.exe to work.
If you refer to the speed on the screen, this speed is a bullcrap. Sometimes it displays the double of the actual speed.
Ah wel it only took me 2 hours and 6 minutes to encode 2 pass so its not total bullcrap
Reply With Quote
  #12  
06-05-2004, 01:50 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
Quote:
Originally Posted by Dialhot
Quote:
Originally Posted by Koekies
The only difference was one encoded at 47fps and needed pulldown.exe to work.
If you refer to the speed on the screen, this speed is a bullcrap. Sometimes it displays the double of the actual speed.
Hi Phil,
I wouldn't be so sure about the speed reported being innacurate.
At least in all my tests I've taken that into account and it is usually very near to the actual figures.
The problem is that sometimes mencoder has to drop down the speed because of the kind of scene it is encoding.
All encoders do that (tmpg and cce at least) and if you use MA then it's a completely different "deal".
The reported speed is the current encoding speed but not the actual average encoding speed.
So you could start with 45fps because the movie doesn't have any motion in the 1st minutes and you can drop to 30/35 in the more complicated parts of the movie.
At least that's what I've found untill now.
But it seems your experience is different than mine...
Maybe a P4 build of mencoder would convince you of the opposite?
Cheers
__________________
Rui
Reply With Quote
  #13  
06-05-2004, 02:40 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by rds_correia
[Hi Phil,
I wouldn't be so sure about the speed reported being innacurate.
I'm sorry to disapoint you but it's not my habit to tell something just to increase my post counter on the forum

I still have sometimes what I described there :
http://www.kvcd.net/forum/viewtopic.php?t=11342

and I can do snapshots if I need to go in front of a trial to prof my ungiltyness

BTW as explained in private to Inc, I just stop using mencoder. I let you play with this alpha released encoder

Note: I do use a P4 specific build of mencoder.
Reply With Quote
  #14  
06-05-2004, 04:22 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
Quote:
Originally Posted by Dialhot
I'm sorry to disapoint you but it's not my habit to tell something just to increase my post counter on the forum
Of course not, I was just trying to "make conversation" with you while I would raise my personal post counter

Quote:
Originally Posted by Dialhot
and I can do snapshots if I need to go in front of a trial to prof my ungiltyness
Not needed my friend although, as you may agree with me, we are using mencoder in very different ways otherwise we wouldn't have so different results...
I wonder what it is

Quote:
Originally Posted by Dialhot
BTW as explained in private to Inc, I just stop using mencoder. I let you play with this alpha released encoder
Now that's bad news
I always expected that you could give us a push forwards.
Can I assume you will still "pay" us a visit in the mencoder forum once in a while

Quote:
Originally Posted by Dialhot
Note: I do use a P4 specific build of mencoder.
I assumed you were still using a generic one
Since you use a P4 specific there's no reason for such an unsuccessful trial with mencoder.
I would really like to help but I also don't know mencoder that well...
Cheers buddy
__________________
Rui
Reply With Quote
  #15  
06-05-2004, 06:42 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by rds_correia
Can I assume you will still "pay" us a visit in the mencoder forum once in a while
For sure, don't worry, I love beta testing but there is something that I can't deal with : the free space on my HD. I had only 8GB free on two discs (120+160) mainly videos waiting to be put on CD. So I can't continue to wait and test . I need to do real work
Reply With Quote
  #16  
06-06-2004, 02:29 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts


hey........................your................... ......posts....................................are .............................too.................. .........................large....................

........................................use the.................................. "enter" key............................................... ................to ........................................change ........................................the line or................................................ ........i forgot what.....................i ................................read.............. ..............and ............................i'm................... feeling........................................diz zy.................. ...............running............................ .from right.........................to left.........................all the time..........................to read.............................................. ........the phrases........................................... .................................................. .................................................. ....thanks........................................ ........................................

now,.............................................. . i have to read.............................................. .................................................. .......all again!
Reply With Quote
  #17  
06-07-2004, 09:30 AM
Fluffbutt Fluffbutt is offline
Free Member
 
Join Date: Apr 2004
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
Oh my god Jorel!!!

<Fluffbutt hastily looks for a "PUKE' emoticon>

Oh, we have one..
__________________
|
Meeow!
Reply With Quote
  #18  
06-07-2004, 09:40 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Jorel,

When we copy/paste a mencoder command line is problematic to use 'enter' key because people always try to paste it into a text editor to test it and forget to put it again on one line .
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
SUPER, the GUI for ffmpeg, mencoder, mplayer, x264 Dialhot Video Encoding and Conversion 3 11-25-2005 05:27 PM
FFMPEG: New Official MPlayer, MPlayer 1.0pre5 released rds_correia Video Encoding and Conversion 13 05-24-2005 10:34 AM
Mencoder: Mplayer Screenshots Fluffbutt Video Encoding and Conversion 0 06-09-2004 10:49 AM
Mencoder: AC3 decoding with Mplayer/liba52 gives error Fluffbutt Video Encoding and Conversion 2 05-27-2004 10:41 AM
Mencoder: Problems compiling Mplayer/Mencoder rds_correia Video Encoding and Conversion 6 03-18-2004 09:11 AM




 
All times are GMT -5. The time now is 11:19 AM  —  vBulletin © Jelsoft Enterprises Ltd