You are not logged in.

#1 2014-03-01 13:57:25

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

"undf" format

Hi,

VLC refuses to play an avi file: "undf" format. I tried mediainfo:

$ mediainfo -f Able.avi
General
Count                                    : 284
Count of stream of this kind             : 1
Kind of stream                           : General
Kind of stream                           : General
Stream identifier                        : 0
Complete name                            : Able.avi
File name                                : Able
File extension                           : avi
File size                                : 185957158
File size                                : 177 MiB
File size                                : 177 MiB
File size                                : 177 MiB
File size                                : 177 MiB
File size                                : 177.3 MiB
Stream size                              : 185957158
Stream size                              : 177 MiB (100%)
Stream size                              : 177 MiB
Stream size                              : 177 MiB
Stream size                              : 177 MiB
Stream size                              : 177.3 MiB
Stream size                              : 177 MiB (100%)
Proportion of this stream                : 1.00000
File last modification date              : UTC 2014-01-02 10:52:27
File last modification date (local)      : 2014-01-02 14:52:27

This is said to be 'full' info. Is there a way to locate the format?

Offline

#2 2014-03-01 15:50:13

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: "undf" format

http://answers.yahoo.com/question/index … 339AARcDVT

Undf is not a file format as such. It stands for undefined, meaning the player was unable to recognise the file format and hence decode it using the correct codec.



When posting configs, code or command output, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and - in case of longer listings - more convenient to scroll through.



Edit: See also http://superuser.com/questions/96794/wh … at-is-undf . Google around.

Last edited by karol (2014-03-01 15:55:57)

Offline

#3 2014-03-01 16:11:18

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: "undf" format

You could try:

mplayer --msglevel=identify=6 --really-quiet=0 -ao null -vo null -endpos 0 Able.avi
mplayer --msglevel=all=6 --really-quiet=0 --identify -ao null -vo null -endpos 0 Able.avi

Offline

#4 2014-03-01 18:53:01

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: "undf" format

Are you sure that the file is not damaged? There is no codec or duration in mediainfo's output.

Last edited by x33a (2014-03-01 18:53:11)

Offline

#5 2014-03-01 18:54:05

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: "undf" format

karol: Already got the general answer. "undf" means undefined format; a format unknown to VLC, presumably.

emeres: "Unknown option" error, in both cases (--msglevel= ).

Offline

#6 2014-03-01 18:55:51

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: "undf" format

x33a wrote:

Are you sure that the file is not damaged? There is no codec or duration in mediainfo's output.

Anybody's guess. It's a torrent.

Offline

#7 2014-03-01 18:56:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: "undf" format

Did you read the link I posted?


http://superuser.com/questions/96794/wh … at-is-undf

Usually downloaders from BitTorrent sites will download a movie and try to preview it and receive this error. Just wait till the download completes.

Last edited by karol (2014-03-01 18:58:30)

Offline

#8 2014-03-01 18:59:48

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: "undf" format

If neither vlc nor mplayer could play it, I suppose you are out of luck. You could try mpv, but I doubt if it'll work either.

Offline

#9 2014-03-01 19:01:26

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: "undf" format

karol wrote:

Did you read the link I posted?


http://superuser.com/questions/96794/wh … at-is-undf

Usually downloaders from BitTorrent sites will download a movie and try to preview it and receive this error. Just wait till the download completes.

Yes, I did. Download is complete, recheck OK.

Offline

#10 2014-03-01 19:03:52

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: "undf" format

What's the output of

file Able.avi

Offline

#11 2014-03-01 19:19:08

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: "undf" format

karol wrote:

What's the output of

file Able.avi
$ file Able.avi
Able.avi: RIFF (little-endian) data, AVI, 720 x 480, video: XviD, audio: MPEG-1 Layer 3 (stereo, 48000 Hz)

Offline

#12 2014-03-01 20:51:56

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: "undf" format

msglevel might be different for mplayer (legacy) and mplayer2 (which I am using), you can just drop this option or look it up in manual. If nothing works, you could try to transcode it with ffmpeg or similar (preferably not whole file, just a part of it). Since it is a torrent: is it from an unknown source or is this a confirmed file? It might not be a video file at all, although file recognizes it, you could rename a copy of it to rar, 7z, iso or zip and try to unpack it (sometimes vice versa). Bittorrent is full of fakes.

Offline

#13 2014-03-02 19:36:41

DrZaius
Member
Registered: 2008-01-02
Posts: 193

Re: "undf" format

What does ffmpeg say?

ffmpeg -analyzeduration 2G -probesize 2G -i Able.avi

Offline

Board footer

Powered by FluxBB