DASHEncoder
DASHEncoder copied to clipboard
what(): basic_string::_S_construct null not valid
I have installed x264 and gpac correctly and manually build them
When i try to run ./DASHEncoder it gives me following error.
==========DASH ENCODER=============== current encoder x264 YES terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct null not valid
Here is my DASHEncoder.config file
========================================
Config File for DASH Encoder
========================================
========================================
General Options
========================================
dest-directory : /home/upc1/Desktop/ffmpeg
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 : 384x208
input-res : 352x288
input-res : 1920x1080
========================================
x264 Options
========================================
bitrate : 300
bitrate : 250@480x360|500@480x360|1000
bitrate : 200|400|600|1000
statistics : stat.temp gop : 48 scenecut : 0 profile : baseline preset : slow input : /var/www/html/RND/VideoRnd/res/car-20120827-89.mp4
input : /home/stefan/foreman_cif.y4m
input : /home/stefan/kingkong.mp4
input : /var/www/html/RND/VideoRnd/res/car-20120827-89.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 : 2000 segment-size : 2000 rap-aligned segment-name : sintel folder-prefix : sintel
========================================
MPD Options
========================================
mpd-name : sintel.mpd url-root : http://localhost/RND/VideoRnd/
set-base-url
mpdActStandardPostfix : _actVersion.mpd duration : 9M4S transform-mpd minBufferTime : 2.0S segDuration : 2
========================================
Other Options
========================================
Hi, seems like there is a space somewhere in the config file, we had that several times.
Anyway, DASHEncoder is not maintained anymore and I would really recomment to switch to either x264+MP4Box (www.dash-player.com/blog/2014/11/mpeg-dash-content-generation-using-mp4box-and-x264/) or to our cloud-transcoding service www.bitcodin.com, which gives you also some free credits to test it out and has a great API with a lot of client implementations (http://developer.bitcodin.com/doc).