OSDN Git Service

fix aac getting bug.
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Sun, 9 May 2010 02:48:54 +0000 (02:48 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Sun, 9 May 2010 02:48:54 +0000 (02:48 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@592 4e526526-5e11-4fc0-8910-f8fd03428081

rec10/trunk/src/tv2audio.py
rec10/trunk/src/tv2mp4.py

index 41b9d51..8286370 100644 (file)
@@ -63,6 +63,8 @@ def ts2single_audio(pts):
                 tv2audio.wav2mp3_lame(ain,aout)
         else:
             os.waitpid(p0.pid, 0)
+            logt=unicode(p0.communicate()[0], "UTF-8")
+            recdblist.addlog(pts,logt, "FFmpeg-getAudio-Log")
 def ts2singlewav(pts):
     bontsdemux = configreader.getpath('bontsdemux')
     bonpin = "Z:\\" + pts[1:]
index fe16101..27c2928 100644 (file)
@@ -116,7 +116,6 @@ def addCaption(pts,pmp4):##字幕の追加を試みる。
             #else:\r
             os.waitpid(p0.pid, 0)\r
             logt=unicode(p0.communicate()[0], "UTF-8")\r
-            recdblist.printutf8(logt)\r
             recdblist.addlog(pts,logt, "Caption-Log")\r
         if os.path.getsize(pincap)>1000:\r
             exe = configreader.getpath("mp4box")\r