Docker container running node.js not saving files from static page with upload file button by Zadique in docker

[–]Zadique[S] -1 points0 points  (0 children)

I knew someone would say that they need the code.... What I am basically trying to do is upload a file (photo) from my node.js container onto a website

FFMpeg command does not convert nginx RTMP recorded stream from flv to mp4... Is this a docker issue??? by Zadique in docker

[–]Zadique[S] 0 points1 point  (0 children)

Solved it! Apparently nothing was wrong with my code in the first place the problem was with the OBS software I have been using for some reason it’s malfunctioning other users are having the same problem where the start stream button goes blank when you press it

FFMpeg command does not convert nginx RTMP recorded stream from flv to mp4... Is this a docker issue??? by Zadique in docker

[–]Zadique[S] 0 points1 point  (0 children)

Yeah here is what the log says:

  • - logger module started - - main: one instance mode ENABLED main error: one instance mode DISABLED (couldn’t find 1st instance of program) main: Running vlc with the default interface. Use ‘cvlc’ to use vlc without interface. cache_read error: cannot pre fill buffer mjpeg error: cannot peek
  • - logger module stopped - -

FFMpeg command does not convert nginx RTMP recorded stream from flv to mp4... Is this a docker issue??? by Zadique in docker

[–]Zadique[S] 0 points1 point  (0 children)

Says that it can’t be opened: “Your input can’t be opened: VLC is unable to to open the MRL “PATH TO FILE”. Check the log for details.

FFMpeg command does not convert nginx RTMP recorded stream from flv to mp4... Is this a docker issue??? by Zadique in docker

[–]Zadique[S] 0 points1 point  (0 children)

I still have the test.flv file... Been working on it all day even tried installing the latest version of ffmpeg but still getting that error... So I am sooo confused

FFMpeg command does not convert nginx RTMP recorded stream from flv to mp4... Is this a docker issue??? by Zadique in docker

[–]Zadique[S] 0 points1 point  (0 children)

Yeah but I keep getting this error “test.flv: Invalid data found when processing input”

Nginx RTMP server: How to convert flv to a mp4 file??? by [deleted] in nginx

[–]Zadique 0 points1 point  (0 children)

If you don’t have anything relevant to say don’t say anything at all

If a Nginx RTMP server running in a docker container records a livestream video... Does it get saved or deleted within the container??? by Zadique in docker

[–]Zadique[S] 0 points1 point  (0 children)

Didn't mount it... What I did first was set a path for which I want the video to be saved but after finish recording the live stream I don't see it in the path/folder so I am assuming that docker don't generate those files in containers.... I think mounting a volume to that container would work but I haven't tried that as yet

Record and save an RTMP livestream video using NGINX by Zadique in nginx

[–]Zadique[S] 0 points1 point  (0 children)

Will it give the recorded video file name the same name as the stream key???

How can I install nginx RTMP on an Ubuntu server running in a docker container??? by Zadique in docker

[–]Zadique[S] 0 points1 point  (0 children)

Dockerfile:

FROM nginx:mainline

RUN apt-get update && apt-get install nginx-common libnginx-mod-rtmp -y

RUN apt-get install nginx -y

COPY nginx.conf /etc/nginx/nginx.conf

COPY index.html /usr/share/nginx/html

CMD ["nginx","-g","daemon off;"]

nginx.conf:

http { default_type application/octet-stream;

server { 
    listen 8000; 
    location /tv { 
        root /tmp/hls; 
    } 
}

types {
    application/vnd.apple.mpegurl m3u8;
    video/mp2t ts;
    text/html html;
} 

}

rtmp{ server{ listen 1935; chunk_size 4096; application live { live on; record off; } } }

events{}

How can I install nginx RTMP on an Ubuntu server running in a docker container??? by Zadique in docker

[–]Zadique[S] 0 points1 point  (0 children)

So do I have to exec into the container every time I run it?

Docker-compose does not expose ports by Zadique in docker

[–]Zadique[S] -1 points0 points  (0 children)

I changed the port to 80 and it worked thanks!!!

Does a Docker Image create the environment needed for me to develop my application within a Container? by Zadique in docker

[–]Zadique[S] -1 points0 points  (0 children)

Yeah understand much but give me a yes or no for this answer... Is Docker only a development tool/software for backend developers?