croptop,cropbottom,cropleft,cropright do not work in R1.0.3

About encoding, codec settings, muxers and filter usage
yuer1108
Cone that earned his stripes
Cone that earned his stripes
Posts: 103
Joined: 07 Jan 2009 05:12

croptop,cropbottom,cropleft,cropright do not work in R1.0.3

Postby yuer1108 » 01 Feb 2010 15:10

croptop,cropbottom,cropleft,cropright do not work in R1.0.3.

it is work in R0.8.6. looks like it is broken in R1.0.x.
I try 1.0.3, 1.0.5 and some 1.1.0 night builds. all are broken.

is it known?

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: croptop,cropbottom,cropleft,cropright do not work in R1.0.3

Postby funman » 01 Feb 2010 15:17

From http://www.videolan.org/developers/vlc-branch/NEWS

Changes between 0.8.6i and 0.9.0:
...
* Croping and padding in transcode are now done using the croppadd video
filter. For example:
transcode{vcodec=mp2v,vfilter=croppadd{cropttop=20,cropbottom=30,paddleft=100}}

yuer1108
Cone that earned his stripes
Cone that earned his stripes
Posts: 103
Joined: 07 Jan 2009 05:12

Re: croptop,cropbottom,cropleft,cropright do not work in R1.0.3

Postby yuer1108 » 04 Feb 2010 14:54

OK. thanks.
I try new command as below
#transcode{vcodec=h264,vb=1800,scale=1,width=640,height=480,vfilter=croppadd{cropttop=0,cropbottom=0,cropleft=0,cropright=0},acodec=mp4a,ab=128,channels=2,samplerate=44100}:std{access=http,mux=ts,dst=0.0.0.0:8080}

the test result update:
croptop does not work. others work. and looks like vfilter=canvas{width=640,height=480} does not work but "width=,height=" is OK.
such as
:sout=#transcode{vcodec=h264,vb=1800,scale=1,width=640,height=480,vfilter=croppadd{cropttop=10,cropbottom=0,cropleft=0,cropright=0},acodec=mp4a,ab=128,channels=2,samplerate=44100}:std{access=http,mux=ts,dst=0.0.0.0:8080}

client show 640X480
and cropttop=10,cropbottom=10,cropleft=10,cropright=10
client display 620X470.
other combination: 0,0,10,0;0,0,0,10,0,10,0,0 all are OK. only 10,0,0,0 is not OK.

BTW, the value of croped should not be odd. otherwise, vlc show ffmpeg lib error.

yuer1108
Cone that earned his stripes
Cone that earned his stripes
Posts: 103
Joined: 07 Jan 2009 05:12

Re: croptop,cropbottom,cropleft,cropright do not work in R1.

Postby yuer1108 » 04 Mar 2010 13:51

for croptop, is it known issue?

yuer1108
Cone that earned his stripes
Cone that earned his stripes
Posts: 103
Joined: 07 Jan 2009 05:12

Re: croptop,cropbottom,cropleft,cropright do not work in R1.

Postby yuer1108 » 08 Mar 2010 15:56

Do I miss something?

AustinBrock
New Cone
New Cone
Posts: 1
Joined: 15 Jun 2013 18:37

Re: croptop,cropbottom,cropleft,cropright do not work in R1.

Postby AustinBrock » 15 Jun 2013 18:39

Not sure if you figured it out, and I know this post is quite old now, but for the sake of helping people looking for the answer, you spelt croptop with two t's by mistake "cropttop".

yuer1108
Cone that earned his stripes
Cone that earned his stripes
Posts: 103
Joined: 07 Jan 2009 05:12

Re: croptop,cropbottom,cropleft,cropright do not work in R1.

Postby yuer1108 » 11 Jul 2013 10:08

Great!
AustinBrock, Thank you very much!


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 5 guests