13:10
When I concat videos in this command:
ffmpeg -f concat -safe 0 -i filelist.txt -c copy -y new.mp4
And filelist.txt is:
file 'video1_new.mp4'
file 'new3.mp4'
file 'video2_new.mp4'
I got
[mov,mp4,m4a,3gp,3g2,mj2 ⓐ 0x7fe0eec052c0] Auto-inserting h264_mp4toannexb bitstream filter
[mp4 ⓐ 0x7fe0eea04380] Non-monotonic DTS in output stream 0:1; previous: 9188352, current: 9187776; changing to 9188353. This may result in incorrect timestamps in the output file.
This warning results in unpredictable things while (...)
10:43
I try to generate thumbnail from video mp4 using Golang+ffmpeg.
Let me provide some steps:
Tried to generate using terminal ffmpeg -i test.mp4 -ss 00:00:00 -vframes 1 thumbnail.jpg - all works successfully
Tried to generate from golang and put result into stdout cmd := exec.Command("ffmpeg", "-i", "test.mp4", "-ss", "00:00:00", "-vframes", "1", "-f", "image2pipe", "-") - all works successfully
Trying to open video using os.ReadFile and bytes.NewReader and after that - cmd := exec.Command("ffmpeg", "-i", "pipe:", "-ss", "00:00:00", "-vframes", "1", "-f", (...)
10:50
I am runnig following command to forward webcam using ffmpeg to a remote IP over a cellular network
ffmpeg -i /dev/video0 -c:v libx264 -crf 35 -preset ultrafast -vf "eq=gamma=0.8" -f rtp "rtp://10.78.253.19:51372"
following command generate an sdp file which I can save in a txt file and its icon chane into vlc which I can run on remote desktop to play/see video
here is my sdp file view_camera.sdp
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 10.78.253.19
t=0 0
a=tool:libavformat 58.29.100
m=video 51372 RTP/AVP 96
a=rtpmap:96 (...)