Hi,

The reencode2.py plugin did display in it's very first version the different options chosen for the compression. After an update, it didn't display these informations (at last on my system !)

I did some investigations, the plugin search for a self.filename ref, who didn't exists. Some lines before was defined a self.source who seems to be the good one.

It does work again with the attached patch.

In fact, I did two modifications : One just to restore the filename and then the whole display, and another to suppress the double extensions : by default, a video.mpeg file would be transcoded in video.mpeg.avi. But I think I read somewhere that this was by design, in case someone want to translate video.avi into video.avi ?

I let the two changes in the patch (the latter is activated).

Thanks,

--
Pascal Schirrmann

--- /home/freevo/svn/freevo/src/video/plugins/reencode2.py      2007-01-23 
20:18:30.000000000 +0100
+++ /usr/lib/python2.4/site-packages/freevo/video/plugins/reencode2.py  
2007-02-03 14:33:15.000000000 +0100
@@ -112,7 +112,12 @@
         if attr == 'disp_title':
             return '%s' % (self.title)
         if attr == 'disp_filename':
-            return '%s' % 
(os.path.split(self.filename)[1])+'.'+self.profile['container']
+            # This line doesn't work
+            # return '%s' % 
(os.path.split(self.filename)[1])+'.'+self.profile['container']
+            # This line works, bur add the new filetype behind the old (eg : 
video.avi.mkv )
+            # return '%s' % 
(os.path.split(self.source)[1])+'.'+self.profile['container']
+            # This line only let one extension ( But what in case of a avi to 
avi transcode ?)
+            return '%s' % 
(os.path.splitext(os.path.split(self.source)[1])[0])+'.'+self.profile['container']
         elif attr == 'disp_container':
             return '%s' % (self.profile['container'])
         elif attr == 'disp_resolution':
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to