2012-08-29 45 views
0

我得到「分段錯誤」錯誤,當我播放以下RTSP插件:RTSP錯誤 - Segmenation故障

./TEST "(v4l2src always-copy=FALSE input-src=composite ! video/x-raw-yuv,format=\(fourcc\)NV12, width=320,height=240 ! queue ! dmaiaccel ! dmaienc_h264 encodingpreset=2 ratecontrol=2 intraframeinterval=23 idrinterval=46 targetbitrate=1000000 ! rtph264pay name=pay0 pt=96)" 

測試從RTSP實例測試啓動應用程序。我收到以下錯誤:

davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124 
vpfe-capture vpfe-capture: IPIPE Chained 
vpfe-capture vpfe-capture: Resizer present 
tvp514x 1-005d: tvp5146 (Version - 0x03) found at 0xba (DaVinci I2C adapter) 
vpfe-capture vpfe-capture: dma_alloc_coherent size 7168000 failed 
Segmentation fault 

任何人都可以告訴我什麼是錯的。

感謝, 馬茲

回答

0

見VPFE捕獲VPFE捕獲:dma_alloc_coherent大小7168000失敗

內存分配已經在您的採集驅動某處失敗。這個問題更適合TI的e2e列表,不是嗎?我不認爲這是gstreamer通用問題,而是嵌入式硬件特有的問題。

爲什麼你不能得到一個簡單的filesrc! h264parse! rtph264pay管道首先,然後慢慢地變得越來越複雜。 [用yuv替換比特流並進行編碼,然後添加捕捉]

+0

嗨,感謝您的回覆。我厭倦了使用「videotestsrc!video/x-raw-yuv,format = \(fourcc \)NV12,width = 640,height = 480!queue!dmaiaccel!dmaienc_h264!rtph264pay name = pay0 pt = 96」但是當我用上面的管道替換它時,它就會失敗。 – user1481832

+0

那麼你將不得不在ti e2e得到這個答案。這看起來像捕獲的一些內存分配問題。也許連續記憶沒有得到分配或類似的東西。你知道這是捕獲是問題,因爲另一個管道正在工作。 – av501