Quantcast Mencoder: Illegal Video Stream Errors - digitalFAQ.com Forums [Archives]
  #1  
05-18-2004, 11:06 AM
shibumi shibumi is offline
Free Member
 
Join Date: Sep 2003
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Im not even sure if this is in the correct forum but heres hopin sum1 can help me.Heres what Im doing-

1)join vobs using dvdlab to create one large vob
2)encode complete vob using mencoderme
3)Try to use the mpv as an asset in dvdlab

The mpv file always comes out looking great,I can open it with vlc,but when i try to use it for anything else i get an error that it is an illegal video stream,dvdlad recommends rewriting the headers but the fix header tool does nothing to it.So Im left with an mpv that looks great but i cant author.What am i missing? Any tips would be appreciated.All my divx/xvid encodes using mencoderme are coming out fine,with no problems authoring them,but any dvd sources are giving me this error.
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  
05-18-2004, 11:15 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by shibumi
Im not even sure if this is in the correct forum
It's not (or maybe it was ) Not sure. But it's more related to authoring. Post moved.

-kwag
Reply With Quote
  #3  
05-18-2004, 11:51 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Can you use avicodec on that file to see if it is identified as a MPEG video stream ? And check all the info that avicodec will give to you to see if they are correct.
Reply With Quote
  #4  
05-18-2004, 12:15 PM
shibumi shibumi is offline
Free Member
 
Join Date: Sep 2003
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Thanx phil,heres what avicodec comes up with-

File : 2.5 GB (2.5 GB), duration: 1:58:00, type: AVI, 0 audio stream(s), quality: 80 %
Video : 2.5 GB, 2491 Kbps, 25.0 fps, 704*576 (4:3), mpg2 = MPEG 2 (SVCD/DVD), Unsupported

The only thing that is wrong in the avicodec log is that it is 2.5GB,when in reality it is 2.05GB,and I can ignore the unsupported report as I use vlc for all mpeg2 stuff.Im at a loss at what to do with the file,dvdlab reports that it is not a 11172-2 or 13818-2 video stream and suggests changing the headers,tho i havent found any way to do this.I have tried to mplex using tmpgenc and it just reports it as an illegal video stream and refuses to accept it as a source.
Reply With Quote
  #5  
05-18-2004, 12:30 PM
shibumi shibumi is offline
Free Member
 
Join Date: Sep 2003
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Okay,heres what gspot came up with-not even sure what it means? Is there anyway to correct what it finds?

An invalid chunk has been encountered in the list containing the A/V frame data. Though not as serious as a corrupt header, it may still be serious enough to prevent the file from rendering correctly.

Details: While processing chunk /RIFF:AVI , found bad length value 4260036286 at file offset 0x83413a6a
Reply With Quote
  #6  
05-18-2004, 01:47 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 shibumi
The only thing that is wrong in the avicodec log is that it is 2.5GB,when in reality it is 2.05GB
Read agin more carefully !
You're mpv file (supposed to be an mpeg, does'nt it ?) is identified as an avi ! I don't know what you did, but you did it badly

Quote:
File : 2.5 GB (2.5 GB), duration: 1:58:00, type: AVI, 0 audio stream(s), quality: 80 %
EDIT: FYI this is what is shown for a file obtained with pack-shot :

File : 1.54 GB (0.0 B), duration: 1:49:50, type: MPG, 0 audio stream(s), quality: 80 %
Video : 3.46 GB, 4500 Kbps, 25.0 fps, 704*576 (16:9), MPG1 = MPEG 1 (VCD), Supported

(note: the file is showned as MPEG1 but DVDlab correctly identified it as mpeg2 and does the authoring).
Reply With Quote
  #7  
05-18-2004, 03:55 PM
shibumi shibumi is offline
Free Member
 
Join Date: Sep 2003
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Thanx phil,yeah,never noticed the avi part should be shown as mpg,so that leaves me a little stuck,this is happening with all my dvd sources in mencodeme,all my avi conversions come out fine,so now it looks like this post should go back to the mencodeme foum,why is mencodeme producing mpeg2 files that are for some reason wrong?,heres my mencodeme log

Mencoder.exe -include temp.conf -lavcopts vbitrate=2409:vpass=1 "C:\VIDEO_TS\joined.VOB" -o "C:\VIDEO_TS\joined.mpv" MEncoder dev-CVS-031124-01:43-3.3.1 (C) 2000-2003 MPlayer Team
Can't open 'C:\Documents and Settings\Desktop\MencodeME023\codecs.ini': No such file or directory

File not found: 'frameno.avi'
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino 1394 MHz (Family: 6, Stepping: 2)
Failed to open frameno.avi
Detected cache-line size is 64 bytes
: No such file or directory
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Option vf: yuvcsp doesn't exist.
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
Error parsing option vf=yuvcsp,scale=704:572:0:0:60,crop=0:0:-1:-1,unsharp=l3x3:0.6,hqdn3d=3:6:8,unsharp=l3x3:-0.7:c3x3:-1.5,noise=2uh,expand=704:576:-1:-1:1 at line 1
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Option of: Unknown suboption rawvideo
Reading C:\Documents and Settings\Stu\Desktop\MencodeME023\codecs.ini: Using built-in default codecs.conf.
Warning unknown option of at line 2
Reading config file C:\Documents and Settings\Stu\Desktop\MencodeME023\mencoder.iniRead ing config file temp.conf
The selected video_out device is incompatible with this codec.
success: format: 0 data: 0x0 - 0xF6DDE000
New_Face failed. Maybe the font path is wrong.
MPEG-PS file format detected.
Please supply the text font file (~/.mplayer/subfont.ttf).
VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 9780.0 kbps (1222.5 kbyte/s)
subtitle font: load_sub_face failed.
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
================================================== ========================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDecoder init failed
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
================================================== ========================
Writing AVI header...
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
videocodec: libavcodec (720x576 fourcc=3267706d [mpg2])


The other problem im having with mencoderme is resizing,Ive tried to create a source as a d2v and use the usual mpegsource line,the i add a resize line-

LanczosResize(512, 542, 0, 2, 720, 572)
AddBorders(104, 17, 104, 17)

but when I go to encode the resolution comes back totally wrong ie 704x576 becomes 704x612 at 4:3 and 704x816 at 16:9.any help with any of this would be greatly appreciated,as I really want to get to grips with mencodeme as its producing such great results with avis,just not with dvd sources.
Reply With Quote
  #8  
05-18-2004, 06:18 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 shibumi
Mencoder.exe -include temp.conf -lavcopts vbitrate=2409:vpass=1 "C:\VIDEO_TS\joined.VOB" -o "C:\VIDEO_TS\joined.mpv" MEncoder dev-CVS-031124-01:43-3.3.1 (C) 2000-2003 MPlayer Team
Hi there,
I haven't check this in deep detail but you're using an oudated beta build of mencoder.
Please download a newer build at www.mplayerhq.hu or at our latest CVS topic.
Some builds (and this one in question was not an official release as it says it's CVS) were know to have a lot of bugs with encoding mpeg streams.
Cheers
__________________
Rui
Reply With Quote
  #9  
05-18-2004, 08:47 PM
shibumi shibumi is offline
Free Member
 
Join Date: Sep 2003
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Thanx rds,your right! have just changed to a newer build and all is working wel now,problem solved.The only thing i ask is about the speeds of the builds,the one i use now gets around 23fps with no filters,but goes down to 3ps or slower as soon as i use any filters,where as the older build was givin me 25fps with the dvd filters on.Thanx anyway,will hunt round for a build that gives speed with working results
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
BeSweet: Illegal audio stream glent2k3 Audio Conversion 1 05-12-2004 01:53 PM
Illegal stream format Nexusfun Convertir y Codificar Video (Español) 10 01-13-2004 03:28 PM
Bitrates: Illegal Stream message? Bud Video Encoding and Conversion 3 07-26-2003 11:14 AM
KVCD: Illegal stream format? CATENA JP Video Encoding and Conversion 14 04-01-2003 03:03 AM
KVCD: Illegal stream format??? brandonjh00 Video Encoding and Conversion 2 05-22-2002 06:46 AM

Thread Tools



 
All times are GMT -5. The time now is 01:20 PM  —  vBulletin © Jelsoft Enterprises Ltd