What does "no crop padd module matched 'any'" mean?

*nix specific usage questions
yKevin
Blank Cone
Blank Cone
Posts: 25
Joined: 31 Jul 2008 11:14

What does "no crop padd module matched 'any'" mean?

Postby yKevin » 08 Sep 2008 08:59

Hi, everyone

I'm working on transcoding of VLC, it's from "mp4v" to "h264".
And when I finished the codec, I try to use the transcoding part to test my codec module,
it seems not work, and the error is like:

[XXXXX]main private debug: looking for crop padd module: 0 candidates
[XXXXX]main private erroe: no crop padd module matched "any"
... ... ... ... ...
Now, my question is:
what is crop, padd?(Sorry, I'm new to the VLC)
And how can I resolve that problem?(I find that many vlc users sufferred it :mrgreen: .)
BTW, I used VLC-0.8.6e.

And thanks
Regard

yKevin

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: What does "no crop padd module matched 'any'" mean?

Postby dionoea » 08 Sep 2008 16:02

Did you specify a crop, padd or canvas option in transcode?
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

yKevin
Blank Cone
Blank Cone
Posts: 25
Joined: 31 Jul 2008 11:14

Re: What does "no crop padd module matched 'any'" mean?

Postby yKevin » 09 Sep 2008 04:41

Did you specify a crop, padd or canvas option in transcode?
Thanks for your reply, dionoea.
And I know nothing about the crop, padd or canvas options in transcode, so I need your help :mrgreen: .
Please give me more details, it'll be better if there are some docs(linkage) about these options :D .

Thanks again.
Regards
yKevin

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: What does "no crop padd module matched 'any'" mean?

Postby dionoea » 09 Sep 2008 13:53

Hum ... can you paste the full debug log from your transcode line? (make sure to include -vvv on your command line)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

yKevin
Blank Cone
Blank Cone
Posts: 25
Joined: 31 Jul 2008 11:14

Re: What does "no crop padd module matched 'any'" mean?

Postby yKevin » 10 Sep 2008 08:41

OK, here comes the full debug info... :mrgreen:

Code: Select all

[00000001] main private debug: checking plugin modules [00000001] main private debug: loading plugins cache file /root/.vlc/cache/plugins-04041e.dat [00000001] main private debug: recursively browsing `modules' [00000001] main private debug: recursively browsing `/vlc/lib/vlc' [00000001] main private debug: recursively browsing `plugins' [00000001] main private debug: module bank initialized, found 171 modules [00000001] main private debug: opening config file /root/.vlc/vlcrc [00000001] main private warning: config file /root/.vlc/vlcrc does not exist yet [00000001] main private debug: CPU has capabilities [00000001] main private debug: looking for memcpy module: 1 candidate [00000001] main private debug: using memcpy module "memcpy" [00000215] main playlist debug: waiting for thread completion [00000215] main playlist debug: thread 1085383952 (playlist) created at priority 0 (playlist/playlist.c:184) [00000216] main private debug: waiting for thread completion [00000216] main private debug: thread 1093772560 (preparser) created at priority 0 (playlist/playlist.c:210) [00000217] main interface debug: looking for interface module: 1 candidate [00000217] main interface debug: using interface module "hotkeys" [00000217] main interface debug: thread 1102214416 (interface) created at priority 0 (interface/interface.c:231) [00000215] main playlist debug: adding playlist item `test.mp4' ( test.mp4 ) [00000219] main interface debug: looking for interface module: 1 candidate Remote control interface initialized. Type `help' for help. [00000219] main interface debug: using interface module "rc" [00000219] main interface debug: thread 1110680848 (manager) created at priority 0 (interface/interface.c:216) [00000215] main playlist debug: creating new input thread [00000221] main input debug: waiting for thread completion [00000221] main input debug: thread 1119069456 (input) created at priority 0 (input/input.c:265) [00000221] main input debug: creating statistics handler status change: ( new input: test.mp4 ) status change: ( audio volume: 256 ) status change: ( play state: 1 ) [00000223] main stream output debug: stream=`transcode' [00000224] main private debug: looking for sout stream module: 1 candidate [00000223] main stream output debug: stream=`standard' [00000227] main private debug: looking for sout stream module: 1 candidate [00000227] main private debug: set sout option: sout-standard-access to udp [00000227] main private debug: set sout option: sout-standard-mux to ts [00000227] main private warning: Option sout-standard-url is deprecated. You should use sout-standard-dst instead. [00000227] main private debug: set sout option: sout-standard-dst to 192.168.2.57 [00000227] main private debug: set sout option: sout-standard-name to test.out [00000227] stream_out_standard private debug: creating `udp/ts://192.168.2.57' [00000227] stream_out_standard private debug: extension is 57 SoundHandler [00000240] mp4 private debug: found Box: minf size 324 [00000240] mp4 private debug: found Box: smhd size 16 [00000240] mp4 private debug: read box: "smhd" balance 0.000000 [00000240] mp4 private debug: found Box: dinf size 36 [00000240] mp4 private debug: found Box: dref size 28 [00000240] mp4 private debug: found Box: url size 12 [00000240] mp4 private debug: read box: "url" url: (null) [00000240] mp4 private debug: out of bound child [00000240] mp4 private debug: read box: "dref" entry-count 1 [00000240] mp4 private debug: out of bound child [00000240] mp4 private debug: found Box: stbl size 264 [00000240] mp4 private debug: found Box: stsd size 72 [00000240] mp4 private debug: found Box: .mp3 size 56 [00000240] mp4 private debug: read box: "soun" mp4 or qt1/2 (rest=20) [00000240] mp4 private debug: found Box: glbl size 20 [00000240] mp4 private warning: unknown box type glbl (incompletely loaded) [00000240] mp4 private debug: out of bound child [00000240] mp4 private debug: read box: "soun" in stsd channel 2 sample size 16 sample rate 48000.000000 [00000240] mp4 private debug: out of bound child [00000240] mp4 private debug: read box: "stsd" entry-count 1 [00000240] mp4 private debug: found Box: stts size 24 [00000240] mp4 private debug: read box: "stts" entry-count 1 [00000240] mp4 private debug: found Box: stsc size 52 [00000240] mp4 private debug: read box: "stsc" entry-count 3 [00000240] mp4 private debug: found Box: stsz size 20 [00000240] mp4 private debug: read box: "stsz" sample-size 384 sample-count 348 [00000240] mp4 private debug: found Box: stco size 88 [00000240] mp4 private debug: read box: "co64" entry-count 18 [00000240] mp4 private debug: out of bound child [00000240] mp4 private debug: out of bound child [00000240] mp4 private debug: out of bound child [00000240] mp4 private debug: out of bound child [00000240] mp4 private debug: out of bound child [00000240] mp4 private debug: found Box: mdat size 691351 [00000240] mp4 private debug: skip box: "mdat" [00000240] mp4 private debug: found Box: free size 51 [00000240] mp4 private debug: skip box: "free" [00000240] mp4 private debug: out of bound child [00000240] mp4 private debug: dumping root Box "root" [00000240] mp4 private debug: | + ftyp size 20 [00000240] mp4 private debug: | + moov size 2221 [00000240] mp4 private debug: | | + mvhd size 108 [00000240] mp4 private debug: | | + trak size 1595 [00000240] mp4 private debug: | | | + tkhd size 92 [00000240] mp4 private debug: | | | + mdia size 1495 [00000240] mp4 private debug: | | | | + mdhd size 32 [00000240] mp4 private debug: | | | | + hdlr size 46 [00000240] mp4 private debug: | | | | + minf size 1409 [00000240] mp4 private debug: | | | | | + vmhd size 20 [00000240] mp4 private debug: | | | | | + dinf size 36 [00000240] mp4 private debug: | | | | | | + dref size 28 [00000240] mp4 private debug: | | | | | | | + url size 12 [00000240] mp4 private debug: | | | | | + stbl size 1345 [00000240] mp4 private debug: | | | | | | + stsd size 137 [00000240] mp4 private debug: | | | | | | | + mp4v size 121 [00000240] mp4 private debug: | | | | | | | | + esds size 35 [00000240] mp4 private debug: | | | | | | + stts size 24 [00000240] mp4 private debug: | | | | | | + stss size 20 [00000240] mp4 priva[00000243] main packetizer debug: using packetizer module "packetizer_mpeg4video" [00000221] main input debug: stream out mode -> no decoder thread [00000257] main packetizer debug: looking for packetizer module: 14 candidates [00000257] main packetizer debug: using packetizer module "mpeg_audio" [00000221] main input debug: stream out mode -> no decoder thread [00000221] main input debug: starting in sync mode [00000221] main input debug: `test.mp4' successfully opened [00000241] mp4 demuxer debug: track[Id 0x1] using Sync Sample Box (stss) [00000241] mp4 demuxer debug: stts gives 0 --> 0 (sample number) [00000241] mp4 demuxer debug: track[Id 0x2] does not provide Sync Sample Box (stss) [00000243] packetizer_mpeg4video packetizer warning: waiting for VOL [00000243] packetizer_mpeg4video packetizer warning: waiting for VOL [00000223] main stream output debug: adding a new input [00000224] stream_out_transcode private debug: creating video transcoding from fcc=`mp4v' to fcc=`h264' [00000266] main decoder debug: looking for decoder module: 18 candidates [00000266] main decoder debug: using decoder module "vpu_codec" [00000267] main encoder debug: looking for encoder module: 3 candidates [00000267] main encoder debug: using encoder module "vpu_codec" [00000267] main encoder debug: removing module "vpu_codec" [00000257] mpeg_audio packetizer debug: MPGA channels:2 samplerate:48000 bitrate:128 [00000223] main stream output debug: adding a new input [00000224] stream_out_transcode private debug: not transcoding a stream (fcc=`mpga') [00000232] main private debug: adding a new input [00000232] mux_ts private debug: adding input codec=mpga pid=68 [00000232] mux_ts private debug: new PCR PID is 68 [00000232] main private warning: late buffer for mux input (177135) [00000232] main private warning: late buffer for mux input (153748) [00000232] main private warning: late buffer for mux input (130585) [00000232] main private warning: late buffer for mux input (107162) [00000232] main private warning: late buffer for mux input (84569) [00000232] main private warning: late buffer for mux input (61285) [00000232] main private warning: late buffer for mux input (37856) [00000232] main private warning: late buffer for mux input (14421) Some printf messages have no relationship with the VLC but my own module. [00000224] stream_out_transcode private debug: decoder aspect is 0:432000 [00000224] stream_out_transcode private debug: source pixel aspect is 0.000000:1 [00000224] stream_out_transcode private debug: scaled pixel aspect is 0.000000:1 [00000224] stream_out_transcode private debug: source 320x240, crop 320x240, destination 320x240, padding 320x240 [00000224] stream_out_transcode private debug: encoder aspect is 0:432000 [00000267] main encoder debug: looking for encoder module: 3 candidates [00000267] main encoder debug: using encoder module "vpu_codec" [00000232] main private debug: adding a new input [00000232] mux_ts private debug: adding input codec=h264 pid=69 [00000232] mux_ts private debug: new PCR PID is 69
[00000278] main private debug: looking for crop padd module: 0 candidates
[00000278] main private error: no crop padd module matched "any"

Code: Select all

[00000224] stream_out_transcode private debug: no video filter found This comes from the decoder closer..... [00000266] main decoder debug: removing module "vpu_codec" This comes from the encoder closer..... [00000267] main encoder debug: removing module "vpu_codec" [00000221] main input debug: EOF reached [00000221] main input debug: closing input [00000241] mp4 demuxer debug: freeing all memory [00000241] main demuxer debug: removing module "mp4" [00000235] main access debug: removing module "access_file" [00000243] main packetizer debug: removing module "packetizer_mpeg4video" [00000243] main packetizer debug: killing decoder fourcc `mp4v', 0 PES in FIFO [00000223] main stream output debug: removing an input [00000232] mux_ts private debug: removing input pid=69 [00000232] mux_ts private debug: new PCR PID is 68 [00000257] main packetizer debug: removing module "mpeg_audio" [00000257] main packetizer debug: killing decoder fourcc `mpga', 0 PES in FIFO [00000223] main stream output debug: removing an input [00000232] mux_ts private debug: removing input pid=68 [00000232] mux_ts private debug: new PCR PID is 8191 [00000232] main private warning: no more input streams for this mux [00000221] main input debug: destroying sout [00000224] main private debug: destroying chain... (name=transcode) [00000227] main private debug: destroying chain... (name=standard) [00000232] main private debug: removing module "mux_ts" [00000231] main private debug: thread 1127630096 joined (udp.c:316) [00000229] access_output_udp private debug: udp access output closed [00000229] main private debug: removing module "access_output_udp" [00000227] main private debug: removing module "stream_out_standard" [00000227] main private debug: destroying chain done [00000224] main private debug: removing module "stream_out_transcode" [00000224] main private debug: destroying chain done [00000221] main input debug: thread 1119069456 joined (input/input.c:412) [00000215] main playlist: nothing to play status change: ( stop state: 0 )
Thanks again to dionoea and all the other people who pay the attention to this problem.
ANY info about this is welcomed.

Regards
yKevin

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: What does "no crop padd module matched 'any'" mean?

Postby dionoea » 10 Sep 2008 11:49

These lines look severely wrong:

Code: Select all

[00000224] stream_out_transcode private debug: decoder aspect is 0:432000 [00000224] stream_out_transcode private debug: source pixel aspect is 0.000000:1 [00000224] stream_out_transcode private debug: scaled pixel aspect is 0.000000:1
Do you use your own module to encode only or also to decode? (btw, what does VPU mean?)

Cheers,
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

yKevin
Blank Cone
Blank Cone
Posts: 25
Joined: 31 Jul 2008 11:14

Re: What does "no crop padd module matched 'any'" mean?

Postby yKevin » 10 Sep 2008 12:23

I use my own encoder and decoder both.
Actually, I choose the "transcode" function of VLC is to test the two modules. :mrgreen:
OK, and I'm surprised that why do you think the log you quoted is the key point of my problem?

PS. VPU means Video Process Unit or something like that, it doesn't matter. :D

Regards
yKevin

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: What does "no crop padd module matched 'any'" mean?

Postby dionoea » 10 Sep 2008 12:58

Well it looks like your decoder forgot to set the aspect ratio. This 0 aspect ratio can in turn trigger a request for the crop padd module in transcode (if I remember correctly).
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

yKevin
Blank Cone
Blank Cone
Posts: 25
Joined: 31 Jul 2008 11:14

Re: What does "no crop padd module matched 'any'" mean?

Postby yKevin » 11 Sep 2008 03:47

Greate, you are the man. :mrgreen:
I'll check about that and post a reply about the result.
Thank you.

Regards
yKevin

yKevin
Blank Cone
Blank Cone
Posts: 25
Joined: 31 Jul 2008 11:14

Re: What does "no crop padd module matched 'any'" mean?

Postby yKevin » 11 Sep 2008 08:52

And another question I want to get the answer:
Is it correct that I put the decoder and encoder in the same module(.so file), and I'll invoke them in the same process?

Thank you.
Regards
yKevin

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: What does "no crop padd module matched 'any'" mean?

Postby dionoea » 12 Sep 2008 18:20

Sure, that's correct (and it's the way we do it for most encoder modules).
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

yKevin
Blank Cone
Blank Cone
Posts: 25
Joined: 31 Jul 2008 11:14

Re: What does "no crop padd module matched 'any'" mean?

Postby yKevin » 14 Sep 2008 15:59

OK, thank you for your warm-hearted. :mrgreen:
Good Luck to you.

Regards
yKevin

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: What does "no crop padd module matched 'any'" mean?

Postby dionoea » 14 Sep 2008 16:23

Did you get all your errors fixed?
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

yKevin
Blank Cone
Blank Cone
Posts: 25
Joined: 31 Jul 2008 11:14

Re: What does "no crop padd module matched 'any'" mean?

Postby yKevin » 18 Sep 2008 05:28

Not yet, actually.
And the problem is still on the transcoding part.
The issue is:
I don't know every member of the structure picture_t exactly, and when I try to return a picture_t variable in decoder module, it will cause a "segmentation fault".
And I want to know which member of picture_t will store the decoded stream(the yuv format data)? I thought it maybe one of these two:
plane_t p[ VOUT_MAX_PLANES ]; or uint8_t *p_data; , but seems something goes wrong.
Here is the definition of struct picture_t:

Code: Select all

struct picture_t { /** * The properties of the picture */ video_frame_format_t format; /** Picture data - data can always be freely modified, but p_data may * NEVER be modified. A direct buffer can be handled as the plugin * wishes, it can even swap p_pixels buffers. */ uint8_t *p_data; void *p_data_orig; /**< pointer before memalign */ plane_t p[ VOUT_MAX_PLANES ]; /**< description of the planes */ int i_planes; /**< number of allocated planes */ /** \name Type and flags * Should NOT be modified except by the vout thread * @{*/ int i_status; /**< picture flags */ int i_type; /**< is picture a direct buffer ? */ vlc_bool_t b_slow; /**< is picture in slow memory ? */ int i_matrix_coefficients; /**< in YUV type, encoding type */ /**@}*/ /** \name Picture management properties * These properties can be modified using the video output thread API, * but should never be written directly */ /**@{*/ int i_refcount; /**< link reference counter */ mtime_t date; /**< display date */ vlc_bool_t b_force; /**@}*/ /** \name Picture dynamic properties * Those properties can be changed by the decoder * @{ */ vlc_bool_t b_progressive; /**< is it a progressive frame ? */ unsigned int i_nb_fields; /**< # of displayed fields */ vlc_bool_t b_top_field_first; /**< which field is first */ /**@}*/ /** The picture heap we are attached to */ picture_heap_t* p_heap; /* Some vouts require the picture to be locked before it can be modified */ int (* pf_lock) ( vout_thread_t *, picture_t * ); int (* pf_unlock) ( vout_thread_t *, picture_t * ); /** Private data - the video output plugin might want to put stuff here to * keep track of the picture */ picture_sys_t * p_sys; /** This way the picture_Release can be overloaded */ void (*pf_release)( picture_t * ); /** Next picture in a FIFO a pictures */ struct picture_t *p_next; };
Thanks
Regards
yKevin

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: What does "no crop padd module matched 'any'" mean?

Postby dionoea » 18 Sep 2008 18:19

Decoded data is stored in the plane_t structures.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 22 guests