[FFmpeg-user] Issues regarding Ffmpeg video HLS conversion command

2024-02-07 Thread Aditya Singh via ffmpeg-user
The Ffmpeg command used to convert a video to HLS format can be also executed via php's exec() function. We can dump the log in a php variable using following syntax with flag '2>&1' command: exec('ffmpeg -y -i "D:/HlsEncryptionProject/encTestVideo.mp4" -preset slow -g 48 -sc_threshold 0 -map

Re: [FFmpeg-user] Why are these different?

2024-02-07 Thread Paul B Mahol
On Wed, Feb 7, 2024 at 2:43 AM Mark Filipak wrote: > Why are these different? > > Looking only at the first 5 video frames: > > ffmpeg -ss 20.061708333 -copyts -i %SOURCE% -map 0 -c copy -sn -dn > -muxdelay 0 %TARGET% > produces this: > 0,2846606,2854113, 3753, 640646, 0x3a5a0c45 >

Re: [FFmpeg-user] Why are these different?

2024-02-07 Thread Mark Filipak
On 07/02/2024 10.06, Paul B Mahol wrote: On Wed, Feb 7, 2024 at 2:43 AM Mark Filipak wrote: Why are these different? This is all about seeking, and that depends 10% on internal demuxer implementation of container. Okay. Why are they different?

Re: [FFmpeg-user] Why are these different?

2024-02-07 Thread Carl Zwanzig
On 2/7/2024 10:34 AM, Mark Filipak wrote: Okay. Why are they different? Because the containers are different? An mp4 container is not the same as an mkv (or avi or mpeg), they must have different demuxers. z! ___ ffmpeg-user mailing list

[FFmpeg-user] h264_mp4toannexb does not store a proper frame-rate.

2024-02-07 Thread Wodzu
Hi, I have an mp4 file, that I want to convert to Annex B. The file properties are:   Duration: 01:59:59.97, start: 0.00, bitrate: 1221 kb/s     Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuvj420p(pc, bt470bg/bt470bg/smpte170m), 1280x720, 1221 kb/s, 15 fps, 15 tbr, 15360

Re: [FFmpeg-user] Why are these different?

2024-02-07 Thread Mark Filipak
Hi Carl, On 07/02/2024 13.56, Carl Zwanzig wrote: On 2/7/2024 10:34 AM, Mark Filipak wrote: Okay. Why are they different? Because the containers are different? An mp4 container is not the same as an mkv (or avi or mpeg), they must have different demuxers. They are the same source, same

Re: [FFmpeg-user] Why are these different?

2024-02-07 Thread Paul B Mahol
On Wed, Feb 7, 2024 at 10:28 PM Mark Filipak wrote: > Hi Carl, > > On 07/02/2024 13.56, Carl Zwanzig wrote: > > On 2/7/2024 10:34 AM, Mark Filipak wrote: > >> Okay. Why are they different? > > > > Because the containers are different? An mp4 container is not the same > as an mkv (or avi or

Re: [FFmpeg-user] Why are these different?

2024-02-07 Thread Mark Filipak
On 07/02/2024 16.53, Paul B Mahol wrote: On Wed, Feb 7, 2024 at 10:28 PM Mark Filipak wrote: Hi Carl, On 07/02/2024 13.56, Carl Zwanzig wrote: On 2/7/2024 10:34 AM, Mark Filipak wrote: Okay. Why are they different? Because the containers are different? An mp4 container is not the same

Re: [FFmpeg-user] Why are these different?

2024-02-07 Thread Mark Filipak
-sorted -- because it's impossible to correlate 'framecrc' results and 'showinfo' results. use -v debug Here ya go, Paul. Logs are attached. ffmpeg started on 2024-02-07 at 19:09:53 Report written to "ffmpeg-20240207-190953.log" Log level: 48 Command line: "C:\\CMD & tiny apps\