作者powerg5 (mac)
看板AVEncode
標題Re: [請問] 轉檔出現怪現象
時間Sun Dec 1 09:50:19 2013
由於之前都在想辦法上傳檔案,但無奈小水管上傳一直失敗
就未做後續的測試了
這次我決定試著同時並行這2種做法
首先相關的檔案我都放在115這個大陸的網路硬碟了
有興趣下載除錯的人請找我索取下載連結
---
再來是再度試著測試時看到的錯誤訊息
(這次使用這動畫的劇場版測試
底下給出的錯誤訊息已不是同一部影片的了
音軌也變為5.1聲道)
雖然製作ffindex會因為audio decodcing error而中斷
所以這次改用avs script creator中的directshow source開啟檔案
沒有讀取音軌所以正確開啟畫面了
但使用HD streams extractor想將原影片檔的音軌解出來時
和之前一樣解不出來,只有在avs script creator中選ffindex時
才能順利將音軌取出
那麼到這邊影片的avs檔有了,音軌檔也取出來了
為什麼還製作不了呢?
因為我發現音軌都是flac檔
取出後的flac檔高達2.6G
我想將其重新壓成AAC格式以節省容量
結果在使用autoencode時出現"stream is not seekable"的錯誤訊息
我有用media player classic測試過取出來的flac檔,可正常播放時間長度也正常
請問一下,都到了這個只差臨門一腳的地步了(應該啦?),有辦法解決這問題嗎?
底下分別附上2個操作的錯誤訊息
=====HD streams extractor的=====
-[Information] Log for job10 (ext,
Mobile_Police_Patlabor_Movie_1st_BD_Simu.mkv
-> )
--[Information] [2013/12/1 上午 08:18:42] Started handling job
--[Information] [2013/12/1 上午 08:18:42] Preprocessing
--[Information] [2013/12/1 上午 08:18:42] MediaInfo
---[Information] File: I:\MOVIES\Mobile_Police_Patlabor_Movie_1st_BD_Simu.mkv
---[Information] General
----[Information] Format: Matroska
----[Information] FormatString: Matroska
----[Information] FileSize: 5838684240
----[Information] PlayTime: 01:39:03.772
---[Information] Video
----[Information] ID: 1
----[Information] StreamOrder: 0
----[Information] Width: 1920
----[Information] Height: 1080
----[Information] FrameCount: 142508
----[Information] FrameRate: 23.976
----[Information] FrameRateOriginal:
----[Information] FrameRateMode: CFR
----[Information] ScanType: Progressive
----[Information] Codec: V_MPEG4/ISO/AVC
----[Information] CodecString: AVC
----[Information] Bits Depth: 8
----[Information] Format: AVC
----[Information] AspectRatio: 1.778
----[Information] AspectRatioString: 16:9
----[Information] Delay: 0
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default: Yes
----[Information] DefaultString: Yes
----[Information] Forced: No
----[Information] ForcedString: No
---[Information] Audio
----[Information] ID: 2
----[Information] StreamOrder: 1
----[Information] Format: FLAC
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2:
----[Information] BitRateMode: VBR
----[Information] Delay: 0
----[Information] Title: Main
----[Information] Language: ja
----[Information] LanguageString: Japanese
----[Information] Default: Yes
----[Information] DefaultString: Yes
----[Information] Forced: No
----[Information] ForcedString: No
--[Information] [2013/12/1 上午 08:18:42] Job commandline: "M:\暫存用軟體
\MEGUI\MeGUI_2356_x86\tools\mkvmerge\mkvextract.exe" tracks
"I:\MOVIES\Mobile_Police_Patlabor_Movie_1st_BD_Simu.mkv" --ui-language en
1:"I:\MOVIES\Mobile_Police_Patlabor_Movie_1st_BD_Simu - [0] Japanese.flac"
--[Information] [2013/12/1 上午 08:18:42] Process started
--[Information] [2013/12/1 上午 08:18:42] Standard output stream
---[Information] [2013/12/1 上午 08:18:42] Extracting track 1 with the CodecID
'A_FLAC' to the file 'I:\MOVIES\Mobile_Police_Patlabor_Movie_1st_BD_Simu - [0]
Japanese.flac'. Container format: raw data
---[Information] [2013/12/1 上午 08:18:46]
I:\MOVIES\Mobile_Police_Patlabor_Movie_1st_BD_Simu.mkv: Error in the Matroska
file structure at position 2742529595. Resyncing to the next level 1 element.
---[Information] [2013/12/1 上午 08:18:46] The last timecode processed before
the error was encountered was 00:47:53.173666665.
---[Information] [2013/12/1 上午 08:18:47] Resyncing successful at position
2743248731.
---[Information] [2013/12/1 上午 08:18:48]
The first cluster timecode after the
resync is 00:47:54.121000000.
---[Information] [2013/12/1 上午 08:19:44]
I:\MOVIES\Mobile_Police_Patlabor_Movie_1st_BD_Simu.mkv: Error in the Matroska
file structure at position 5658700807. Resyncing to the next level 1 element.
---[Information] [2013/12/1 上午 08:19:44]
The last timecode processed before
the error was encountered was 01:34:55.829333331.
---[Information] [2013/12/1 上午 08:19:44]
Resyncing successful at position
5658770167.
---[Information] [2013/12/1 上午 08:19:44]
The first cluster timecode after the
resync is 01:34:57.025000000.
---[Information] [2013/12/1 上午 08:19:44]
I:\MOVIES\Mobile_Police_Patlabor_Movie_1st_BD_Simu.mkv: Error in the Matroska
file structure at position 5677208607. Resyncing to the next level 1 element.
---[Information] [2013/12/1 上午 08:19:44]
The last timecode processed before
the error was encountered was 01:35:13.919666665.
---[Information] [2013/12/1 上午 08:19:46]
Resyncing successful at position
5678647859.
---[Information] [2013/12/1 上午 08:19:46]
The first cluster timecode after the
resync is 01:35:15.456000000.
--[Information] [2013/12/1 上午 08:18:42] Standard error stream
--[Information] [2013/12/1 上午 08:19:48] Postprocessing
---[Information] [2013/12/1 上午 08:19:48] Deleting intermediate files
--[Information] [2013/12/1 上午 08:19:48] Job completed
=====AUTO encode的=====
-[Error] Log for job12 (audio, Mobile_Police_Patlabor_Movie_1st_BD_Simu - [0]
Japanese.flac -> Mobile_Police_Patlabor_Movie_1st_BD_Simu - [0] Japanese.m4a)
--[Information] [2013/12/1 上午 08:23:30] Started handling job
--[Information] [2013/12/1 上午 08:23:30] Preprocessing
--[Information] [2013/12/1 上午 08:23:30] MediaInfo
---[Information]
File: I:\MOVIES\Mobile_Police_Patlabor_Movie_1st_BD_Simu - [0]Japanese.flac
---[Information] General
----[Information] Format: FLAC
----[Information] FormatString: FLAC
----[Information] FileSize: 2842649443
----[Information] PlayTime: 01:39:03.771
---[Information] Audio
----[Information] ID:
----[Information] StreamOrder:
----[Information] Format: FLAC
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2:
----[Information] BitRateMode: VBR
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
--[Information] [2013/12/1 上午 08:23:30] Trying to open the file with NicAudio
--[Information] [2013/12/1 上午 08:23:30] Failed opening the file with
NicAudio()
--[Information] [2013/12/1 上午 08:23:30] Trying to open the file with
BassAudioSource()
--[Information] [2013/12/1 上午 08:23:33] Failed opening the file with
BassAudioSource(). File could not be opened!
--[Information] [2013/12/1 上午 08:23:33] Trying to open the file with
FFAudioSource()
--[Information] [2013/12/1 上午 08:24:05] Successfully opened the file with
FFAudioSource()
--[Information] [2013/12/1 上午 08:24:05] Avisynth script
---[NoImage] LoadPlugin("M:\暫存用軟體
\MEGUI\MeGUI_2356_x86\tools\ffms\ffms2.dll")
---[NoImage] FFAudioSource("I:\MOVIES\Mobile_Police_Patlabor_Movie_1st_BD_Simu
- [0] Japanese.flac")
---[NoImage] return last
--[Information] [2013/12/1 上午 08:24:05] Commandline used: -ignorelength -q
0.5 -if - -of "{0}"
--[Information] [2013/12/1 上午 08:24:05] Avisynth script environment opened
--[Information] [2013/12/1 上午 08:24:05] Script loaded
--[Information] [2013/12/1 上午 08:24:05] Output Decoder
---[Information] [2013/12/1 上午 08:24:05] Channels: 6
---[Information] [2013/12/1 上午 08:24:05] Bits per sample: 32
---[Information] [2013/12/1 上午 08:24:05] Sample rate: 48000
--[Information] [2013/12/1 上午 08:24:05] Job commandline: M:\暫存用軟體
\MEGUI\MeGUI_2356_x86\tools\eac3to\neroAacEnc.exe -ignorelength -q 0.5 -if -
-of "I:\MOVIES\Mobile_Police_Patlabor_Movie_1st_BD_Simu - [0] Japanese.m4a"
--[Information] [2013/12/1 上午 08:24:05] Process started
--[Information] [2013/12/1 上午 08:24:05] Standard output stream
--[Information] [2013/12/1 上午 08:24:05] Standard error stream
--[Error] [2013/12/1 上午 08:24:06] An error occurred
---[Error] [2013/12/1 上午 08:24:06] Exception message:
FFAudioSource: Audio
stream is not seekable
---[Error] [2013/12/1 上午 08:24:06] Stacktrace: 於
MeGUI.AviSynthAudioEncoder.encode()
---[Error] [2013/12/1 上午 08:24:06] Inner exception: null
--[Information] [2013/12/1 上午 08:24:06] Job completed
=========
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.187.176.132
※ 編輯: powerg5 來自: 218.187.176.132 (12/01 09:51)
※ 編輯: powerg5 來自: 218.187.176.132 (12/01 09:59)
→ katy50306:你有foobar嗎? 12/01 10:32
→ katy50306:另外megui用音訊轉檔直接壓不要經過AVS看看 12/01 10:34
→ powerg5:有foobar,怎了?你是想問有試過先用foobar轉wav再轉aac嗎? 12/01 12:59
→ powerg5:如果是這個測試的話倒還沒試過,我稍後就會去試的 12/01 12:59
→ powerg5:謝謝你的提醒,另外我在轉檔時直接就是輸入FLAC了 12/01 13:00
→ powerg5:沒有經過AVS檔 12/01 13:00
→ y3k:拍寫最近忙到忘記幫你試了= = 我這兩天找時間看看 12/01 14:45
→ katy50306:有foobar幹嘛還轉wav再轉aac 直接aac不好嗎... 12/01 18:25
→ powerg5:因為是舊版的,擴充套件不好找,只好先轉wav 12/01 21:44
→ powerg5:再讓MEGUI轉AAC 12/01 21:44
→ y3k:我幫你測過了 mkvextractGUI=>音訊直接foobar+neroaac轉aac=> 12/02 12:23
→ y3k:MeGUI重壓h264=>MeGUI包成mkv 這樣是沒問題的 至少ep22沒有 12/02 12:24
→ y3k:雖然我沒這方面的處理經驗 但是我猜問題出在音效流的包裝 解出 12/02 12:25
→ y3k:來後的音效流只有foobar的解碼器可以正常處理 12/02 12:25
→ powerg5:請問一下,ep22在filter頁籤source type偵測到是 12/03 13:03
→ powerg5:M-in-5 decimation,其它的欄位應該怎麼選? 12/03 13:04
→ powerg5:如果什麼都不選,只打勾deinterlace(自動選tritical 12/03 13:05
→ powerg5:Decimate)、Source is animate、Noise Filter三項的話 12/03 13:06
→ powerg5:影音將會不同步,例如第二部劇場版及其它無法製作ffindex 12/03 13:08
→ powerg5:的檔案就是這樣,你恐怕是看了前面幾分鐘都有同步所以 12/03 13:08
→ powerg5:覺得沒問題,可以試試一小段一小段的跳轉到後面 12/03 13:09
→ powerg5:很快就會發現其實同步只到前面幾分鐘的時間長度而已 12/03 13:09
→ powerg5:我在想會不會是它判斷錯了,或判斷對了但我漏選了什麼? 12/03 13:10
→ y3k:我自己轉的一份沒有問題 傳給你看看好了... 12/03 15:21
→ y3k:你這票影片檔完全不需要deinterlace 直接在最上面那項選progre 12/03 15:26
→ y3k:ssive即可y 12/03 15:26
→ powerg5:謝謝傳檔,看了一下發現你的audio欄位有設delay 12/04 08:20
→ powerg5:而我正常轉好的檔案,則一個也沒有這種欄位 12/04 08:21
→ powerg5:請問你是如何得知delay要設9ms的? 12/04 08:22
→ powerg5:而且reference frame又是如何得知要改為5呢? 12/04 08:23
→ powerg5:之前的討論中你是說要設為4才會正常 12/04 08:23
→ y3k:9ms不是我的傑作 應該是mkvmerge雞婆給的@@ 12/04 08:42
→ y3k:ref的設定只是經驗而已 因為我知道DXVA硬體解碼遇到ref高過4的 12/04 08:45
→ y3k:1080p或ref高過9的720p就可能出現撥放瑕疵 12/04 08:47
→ y3k:另外你這影片有些元檔的聲音本身就沒有對的很準 像這個ep22如 12/04 08:49
→ y3k:果我要調的話應該不會調這麼小 9ms人類根本感覺不出來明顯差異 12/04 08:51
→ y3k:你可以自己用播放軟體的音效delay功能多嘗試幾下再針對理想值 12/04 08:53
→ y3k:去調整設定 12/04 08:53
→ powerg5:剛才試著照你的設定將reframe設5,audio delay設9ms 12/04 09:00
→ powerg5:結果竟然仍然是影音不同步的,而原始檔並沒有不同步情況 12/04 09:01
→ powerg5:難道這和我都用2PASS來轉有關嗎? 12/04 09:02
→ powerg5:因為你轉出來的只比原始檔小一截而已 12/04 09:02
→ powerg5:所以我想你並沒用到2PASS來轉 12/04 09:03
→ y3k:這個檔我是用crf=18的設定處理的 你的影音是用什麼方式處理? 12/04 09:23
→ y3k:通常會出現影音不同步的問題 有幾個可能性:1.音效解碼出錯 12/04 09:24
→ y3k:2.元音效和影片對不上且沒有正確設定delay 3.影像解碼fps設錯 12/04 09:25
→ y3k:4.元影像本身非constant fps而且你沒拿到元編碼者用的timecode 12/04 09:26
→ y3k:造成"拉時間軸的瞬間會對到 但是影片播放時就會慢慢跑掉" 12/04 09:26
→ y3k:5.元影像包裝有問題 6.元影像解包不正確 12/04 09:27
→ y3k:諸如上述等等 原因通常都是出在"元檔案的處理"上做錯 12/04 09:28
→ y3k:至於ref=5那個只是解決色塊的問題 音效延遲只是放個通知讓撥放 12/04 09:30
→ y3k:器知道要這麼做 你該focus的點並不是在"生出檔案"這邊而是"處 12/04 09:31
→ y3k:理元檔案" 這才是你目前需要深入一點了解的課題 12/04 09:32
→ y3k:我補述一下 上面第四點應該不是問題 因為我看過元檔案的fps似 12/04 09:33
→ y3k:乎沒有變動的跡象(有些動畫片會用VFR把OP部分和本片部分的FPS 12/04 09:34
→ y3k:設不一樣以增進儲存效率) 只是照你的敘述症狀卻很像他 我建議 12/04 09:35
→ y3k:你先試試不要deinterlace吧 12/04 09:36