Ok, some news …
On the server, I try this command :
ffmpeg -re -i /var/local/PAP-test.mp4 -c copy -f flv “rtmp://5.135.188.49:1935/kLive/test”
The encoding process good without any error message :
ffmpeg version 3.2 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8.2 (GCC) 20140120 (Red Hat 4.8.2-16)
configuration: --prefix=/opt/kaltura/ffmpeg-3.2 --libdir=/opt/kaltura/ffmpeg-3.2/lib --shlibdir=/opt/kaltura/ffmpeg-3.2/lib --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC' --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I/opt/kaltura/include' --extra-ldflags=-L/opt/kaltura/lib --disable-devices --enable-bzlib --enable-libgsm --enable-libmp3lame --enable-libschroedinger --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-avisynth --enable-libxvid --enable-filter=movie --enable-avfilter --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libvpx --enable-libspeex --enable-libass --enable-postproc --enable-pthreads --enable-static --enable-shared --enable-gpl --disable-debug --disable-optimizations --enable-gpl --enable-pthreads --enable-swscale --enable-vdpau --enable-bzlib --disable-devices --enable-filter=movie --enable-version3 --enable-indev=lavfi --enable-x11grab
libavutil 55. 34.100 / 55. 34.100
libavcodec 57. 64.100 / 57. 64.100
libavformat 57. 56.100 / 57. 56.100
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/local/PAP-test.mp4':
Metadata:
major_brand : mp42
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : HandBrake 0.10.0 2014112200
Duration: 00:01:48.08, start: 0.080000, bitrate: 103 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 97 kb/s, 25 fps, 25 tbr, 90k tbn, 180k tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 1 kb/s (default)
Metadata:
handler_name : Mono
Output #0, flv, to 'rtmp://5.135.188.49:1935/kLive/test':
Metadata:
major_brand : mp42
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.56.100
Stream #0:0(und): Video: h264 (Main) ([7][0][0][0] / 0x0007), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 97 kb/s, 25 fps, 25 tbr, 1k tbn, 90k tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) ([10][0][0][0] / 0x000A), 48000 Hz, mono, 1 kb/s (default)
Metadata:
handler_name : Mono
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 2700 fps= 25 q=-1.0 Lsize= 1437kB time=00:01:48.05 bitrate= 109.0kbits/s speed= 1x
video:1280kB audio:20kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 10.562756%
But nothing in the folder /var/tmp/hlsme.
The permissions for the folder /var/tmp/hlsme are :
> drwxr-xr-x 2 kaltura apache 4096 Jun 16 11:38 hlsme
The kaltura_nginx_access.log and the kaltura_nginx_errors.log are empty.
The service kaltura-nginx is running good.
service kaltura-nginx status
Redirecting to /bin/systemctl status kaltura-nginx.service
● kaltura-nginx.service - nginx - high performance web server
Loaded: loaded (/usr/lib/systemd/system/kaltura-nginx.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2017-06-14 12:58:14 CEST; 2 days ago
Docs: http://nginx.org/en/docs/
Process: 28986 ExecReload=/bin/kill -s HUP $MAINPID (code=exited, status=0/SUCCESS)
Main PID: 899 (nginx)
CGroup: /system.slice/kaltura-nginx.service
├─ 899 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
├─28987 nginx: worker process
├─28988 nginx: worker process
├─28989 nginx: worker process
├─28990 nginx: worker process
└─28991 nginx: cache manager process
Jun 14 12:58:08 vodyou.fr systemd[1]: Starting nginx - high performance web server...
Jun 14 12:58:13 vodyou.fr nginx[322]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
Jun 14 12:58:14 vodyou.fr nginx[322]: nginx: configuration file /etc/nginx/nginx.conf test is successful
Jun 14 12:58:14 vodyou.fr systemd[1]: Started nginx - high performance web server.
Jun 15 03:35:45 vodyou.fr systemd[1]: Reloaded nginx - high performance web server.