[XviD-devel] [Feature Request] Global first and second passes

BAHASSINE Abdallah abdallah at gmx.com
Thu Feb 11 07:19:09 CET 2010


I simply dont understand how an encoder software like Virtualdub could 
do this when XviD codec cant stores a "multi first passes file".
I think all the files should be "1st passed" first, before defining 
which bitrate will be used for each file.
> Again, this is NOT XviD's problem.
> You should be asking this feature at an encoder or media player mailing list.
>
> It's like asking a dentist to solve your heart problems or vice vesa. They're both doctors, but it doesn't mean they do the same.
>
> Your problem is completely valid and has a solution, but not in XviD mailing lists.
>
> Cheers
> Dark Sylinc
>
> IMPORTANT:
> The information contained in this email may be commercially sensitive and/or legally privileged.
> It is intended solely for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient, you are on notice of its status and hereby notified that your access is unauthorized, and any review,
> dissemination, distribution, disclose or copying of this message including any attachments is strictly prohibited.
> Please notify the sender immediately by reply e-mail and then delete this message from your system.
>
>
> --- El lun 8-feb-10, BAHASSINE Abdallah<abdallah at gmx.com>  escribió:
>
>    
>> De: BAHASSINE Abdallah<abdallah at gmx.com>
>> Asunto: Re: [XviD-devel] [Feature Request] Global first and second passes
>> Para: xvid-devel at xvid.org
>> Fecha: lunes, 8 de febrero de 2010, 5:43 pm
>> I know I can merge all the AVI files
>> into one big file but if i have to
>> put some subtitles after 2min of each episode then this
>> solution comes
>> unworkable.
>> I think XviD should remember for each pass a "segment
>> number with its
>> name" (like ep01.avi) " and it should be able to output one
>> of the
>> desired segment using a desired total size + the global
>> first pass file.
>>
>>
>>      
>>> Hi,
>>>
>>> I don't think this is something that should be done in
>>>        
>> xvid. This should be
>>      
>>> handled by the application (perhaps as an extension to
>>>        
>> a batch-processing
>>      
>>> feature) or implemented as a seperate tool.
>>>
>>> So what would be needed is a tool that can open
>>>        
>> multiple first pass stats
>>      
>>> files, asks for a global desired size and then outputs
>>>        
>> the optimal file
>>      
>>> sizes that should be used for the single "segments"
>>>        
>> during second pass.
>>      
>>> Another option would be to simply encode the multiple
>>>        
>> episodes as one large
>>      
>>> video and cut the resulting file into pieces
>>>        
>> afterwards. Under windows, you
>>      
>>> can easily concatenate multiple source files so that
>>>        
>> they are opened as one
>>      
>>> long video with avisynth:
>>>
>>> DirectShowSource("test_001.avi",fps=25)+\
>>> DirectShowSource("test_002.avi",fps=25)+\
>>> ...
>>> DirectShowSource("test_020.avi",fps=25)
>>>
>>> You'd then run just one first-pass (over all your
>>>        
>> source files at once),
>>      
>>> then one second-pass (setting your desired overall
>>>        
>> target size) and finally
>>      
>>> cut the resulting avi file into individual avi files
>>>        
>> (e.g. using VirtualDub).
>>      
>>> Regards,
>>> Michael
>>>
>>>
>>> Quoting BAHASSINE Abdallah<abdallah at gmx.com>:
>>>
>>>
>>>        
>>>> Hi @ all !
>>>>
>>>> Sometimes I have to encode a ~26 files pack
>>>>          
>> (episodes) and define a
>>      
>>>> total size (4.7GB). Actually I define a "static"
>>>>          
>> file size (eg. 4700 /
>>      
>>>> 26 = 180MB per file).
>>>> But this is not really optimized for obtaining a
>>>>          
>> constant quality
>>      
>>>> because some episodes needs more bitrate than
>>>>          
>> other ones.
>>      
>>>> This is why I think there is a needed feature on
>>>>          
>> XviD we could call
>>      
>>>> "segmented passes" or "global pass".
>>>>
>>>> We need the ability to concatenate a "first pass
>>>>          
>> file" with another
>>      
>>>> "first pass file" and then we will be able to
>>>>          
>> define a global size for
>>      
>>>> all the segments (4700 MB).
>>>> Then @ second pass, XviD encoder will have to read
>>>>          
>> our "big first pass
>>      
>>>> file" and output these segments.
>>>>
>>>> example :
>>>> - 01.avi (190MB)
>>>> - 02.avi (150MB)
>>>> - ....
>>>> - 26.avi (200MB)
>>>> TOTAL : 4700 MB
>>>> _______________________________________________
>>>> Xvid-devel mailing list
>>>> Xvid-devel at xvid.org
>>>> http://list.xvid.org/mailman/listinfo/xvid-devel
>>>>
>>>>
>>>>
>>>>          
>>>
>>> _______________________________________________
>>> Xvid-devel mailing list
>>> Xvid-devel at xvid.org
>>> http://list.xvid.org/mailman/listinfo/xvid-devel
>>>
>>>        
>> _______________________________________________
>> Xvid-devel mailing list
>> Xvid-devel at xvid.org
>> http://list.xvid.org/mailman/listinfo/xvid-devel
>>
>>      
>
>        Yahoo! Cocina
>
> Encontra las mejores recetas con Yahoo! Cocina.
>
>
> http://ar.mujer.yahoo.com/cocina/
> _______________________________________________
> Xvid-devel mailing list
> Xvid-devel at xvid.org
> http://list.xvid.org/mailman/listinfo/xvid-devel
>    



More information about the Xvid-devel mailing list