J'essaie depuis un bon moment d'encoder en 264/SVC avec JSVM mais rien
J'essaie d'encoder une video FLV source de 854 x 480 (H.264/AVC Video) 24 fps en Video scalable 264/SVC, la vidéo d'origine est de 18,4 MO
Fichiers de config
main.cfg
Code : Tout sélectionner
# JSVM Main Configuration File
OutputFile sortie.264 # Bitstream file
FrameRate 24.0 # Maximum frame rate [Hz]
FramesToBeEncoded 48 # Number of frames (at input frame rate)
GOPSize 8 # GOP Size (at maximum frame rate)
BaseLayerMode 2 # Base layer mode (0: AVC w larger DPB,
# 1:AVC compatible, 2:AVC w subseq SEI)
SearchMode 4 # Search mode (0:BlockSearch, 4:FastSearch)
SearchRange 32 # Search range (Full Pel)
NumLayers 2 # Number of layers
LayerCfg layer0.cfg # Layer configuration file
LayerCfg layer1.cfg # Layer configuration file
Code : Tout sélectionner
InputFile 352_288.yuv # Input file
SourceWidth 352 # Input frame width
SourceHeight 288 # Input frame height
FrameRateIn 24 # Input frame rate [Hz]
FrameRateOut 24 # Output frame rate [Hz]
Code : Tout sélectionner
# JSVM Layer Configuration File
InputFile 854_480.yuv # Input file
SourceWidth 854 # Input frame width
SourceHeight 480 # Input frame height
FrameRateIn 24 # Input frame rate [Hz]
FrameRateOut 24 # Output frame rate [Hz]
#InterLayerPred 2 # Inter-layer Pred. (0: no, 1: yes, 2:adap.)
Code : Tout sélectionner
./H264AVCEncoderLibTestStatic -pf main.cfg
la commande
Code : Tout sélectionner
./BitStreamExtractorStatic sortie.264
Code : Tout sélectionner
Layer Resolution Framerate Bitrate MinBitrate DTQ
0 352x288 3.0000 38.70 38.70 (0,0,0)
1 352x288 6.0000 49.70 49.70 (0,1,0)
2 352x288 12.0000 60.20 60.20 (0,2,0)
3 352x288 24.0000 72.10 72.10 (0,3,0)
4 864x480 3.0000 139.30 139.30 (1,0,0)
5 864x480 6.0000 182.50 182.50 (1,1,0)
6 864x480 12.0000 224.60 224.60 (1,2,0)
7 864x480 24.0000 271.40 271.40 (1,3,0)
Code : Tout sélectionner
./BitStreamExtractorStatic sortie.264 test6.264 -sl 7
Si vous avez une idée ça serait le bien venu
Merci de m'avoir lu