digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Mencoder: Mpv only readable by mplayer (http://www.digitalfaq.com/archives/encode/10092-mencoder-mpv-readable.html)

Koekies 06-05-2004 08:05 AM

Mpv only readable by mplayer
 
Today I tried encoding mencoder with a different build (from mplayerHQ). It encoded the movie 2 times as fast 8O 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 :?:

bigggt 06-05-2004 08:30 AM

Can't you just reanme it

rds_correia 06-05-2004 08:59 AM

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

Koekies 06-05-2004 09:00 AM

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 :)

bigggt 06-05-2004 10:13 AM

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 :D

rds_correia 06-05-2004 10:20 AM

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 :D

:D
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 :wink:
Otherwise your advise would have been pretty "workable", bigggt :wink:
Cheers

Koekies 06-05-2004 11:33 AM

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 :D 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 :)

Koekies 06-05-2004 11:37 AM

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 :D 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 :BangHead:

Dialhot 06-05-2004 12:53 PM

Quote:

Originally Posted by Koekies
The only difference was one encoded at 47fps :D 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.

Encoder Master 06-05-2004 01:04 PM

@ 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

Koekies 06-05-2004 01:43 PM

Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by Koekies
The only difference was one encoded at 47fps :D 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

rds_correia 06-05-2004 01:50 PM

Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by Koekies
The only difference was one encoded at 47fps :D 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

Dialhot 06-05-2004 02:40 PM

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.

rds_correia 06-05-2004 04:22 PM

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 :wink: 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 :oops:
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

Dialhot 06-05-2004 06:42 PM

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 :-)

jorel 06-06-2004 02:29 AM

8O

hey........................your................... ......posts....................................are .............................too.................. .........................large.................... :!:

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

now,.............................................. . i have to read.............................................. .................................................. .......all again! :stickouttongue:

Fluffbutt 06-07-2004 09:30 AM

Oh my god Jorel!!!

<Fluffbutt hastily looks for a "PUKE' emoticon>

Oh, we have one..
:puke: :puke: :puke: :puke: :puke: :puke:

Dialhot 06-07-2004 09:40 AM

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 :-).


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

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.