【问题标题】:MPEG-DASH Encoder errorMPEG-DASH 编码器错误
【发布时间】:2013-07-06 19:03:08
【问题描述】:

我已经在 ubuntu 10.04(在 vwware 上)成功安装了 x264、gpac 修订版 3744、ffmpeg 和 DashEncoder,但是当我使用以下配置文件运行 DashEncoder 时,我收到了这个错误:

当前编码器 x264 是的 在抛出“std::logic_error”实例后调用终止 what(): basic_string::_S_construct NULL 无效 中止(核心转储)

(注意:我可以直接使用 MP4Box 生成 mpd 文件,但 DASH 编码器不起作用。我还用新版本的 gpac 对其进行了测试)

请帮帮我

谢谢

#========================================
# Config File for DASH Encoder
#========================================

#========================================
# General Options
#========================================

dest-directory : /home/pardis/Downloads/DASHEncoder-master/out

video-encoder : x264
audio-encoder : ffmpegAAC
multiplexer : mp4box

#store-psnr
#sql-host : localhost
#sql-user : root
#sql-pw :
#sql-database : dash

add-non-segmented

use-ffmpeg-pipe
ffmpeg-opt : -f rawvideo
#input-res : 384×208
#input-res : 352×288
input-res : 320×240
#========================================
# x264 Options
#========================================

bitrate : 300

#bitrate : 250@480×360|500@480×360|1000
#bitrate : 200|400|600|1000
statistics : stat.temp
gop : 48
scenecut : 0
profile : baseline
preset : slow
input : /home/pardis/sample.m4v
#input : /home/stefan/foreman_cif.y4m
#input : /home/stefan/kingkong.mp4
#input : /media/Volume/MI200802010028-video_newsroom_hd_1080_p29_97-channelSelectionT0C0_T0C1.mp4
passes : 1
const-filesize : 0

#Additional Options for Encoding

#pass1 : –frames 500 –fps 29.970029
pass1 : –verbose –fps 24
pass2 : –verbose –psnr

#========================================
# FFMPEG AAC Options
#========================================

# [channels, samplerate, bitrate]
#audio-quality : 2,44100,48|2,44000,128
#audio-quality : 2,44100,48
#audio-quality :

#audio-input : /home/stefan/sintel_trailer-audio.flac
#audio-codec : libfaac

#========================================
# MP4Box Options
#========================================

#AV Muxing
#mux-combi : 300@48|600@128
#mux-combi :

fragment-size : 200
segment-size : 200
rap-aligned
segment-name : test
folder-prefix : test

#========================================
# MPD Options
#========================================
mpd-name : test.mpd
url-root : http: //localhost:8080/test/
#set-base-url
mpdActStandardPostfix : _actVersion.mpd
duration : 5S
#transform-mpd
minBufferTime : 2.0S
segDuration : 1
#========================================
# Other Options
#========================================

【问题讨论】:

  • 您好 MSH,我看到您自己解决了问题。您能否回答您自己的问题,以便其他人可以从中受益?如您所见,@user3805122 遇到了同样的问题,正在寻找解决方案。
  • @user3805122,请看答案。

标签: mpeg-dash


【解决方案1】:

问题在于 DASHEncoder 假设您要同时编码视频和音频文件。因此,如果您只想对视频文件进行编码,则应注释 DASHEncoder 代码中与处理音频文件相关的某些部分。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-07-24
    • 2017-06-01
    • 1970-01-01
    • 1970-01-01
    • 2015-05-18
    • 2014-07-27
    相关资源
    最近更新 更多