Hi,
I have thousands of files that I would like to serve as HLS streams to a
very small number of users (3-5), without having to process them all
upfront. So I'm looking for a way to generate single HLS chunks (as opposed
to a full HLS package) only when they are requested.
My problem is the result
764972 sample_part1.ts
383896 sample_part2.ts
582424 sample0.ts
764972 sample1.ts
401004 sample2.ts
...
What is the reason for that difference, and how can I make sure I generate
a valid segment for those 4 seconds ?
Kind regards,
Vincent
On Fri, Jan 20, 2023 at 5:44 PM Vincent Deconinck
wr
utput seeking. The
> former is achieved by specifying -ss before -i in your command line,
> whereas you're doing the latter by specifying -ss after -i.
> See https://trac.ffmpeg.org/wiki/Seeking
>
> HTH
> Cyril
>
> Le lun. 23 janv. 2023 à 09:15, Vincent Deconinck a
> é
Hi German,
Thanks for your reply.
> Do not use -ss and -t parameters simultaneously. FFmpeg cannot form an
> output container well in that case.
>
I also think the -ss and -t options are the root cause of my issues, but I
cannot see another way to generate only some segments (or are there
"star
Hi German
So, my advice is the following:
> 1. Produce a full set of HLS segments for your source file and save
> them in some folder that is not accessible to your users (archive).
> ...
>
Yes, that is the traditional way of doing it, but it would basically mean
keeping a low res version of each
Hi,
OK, I made some progress, so replying to self :
So although I'm forcing keyframes, the durations are actually not 4 seconds
> (the EXT-X-TARGETDURATION field even says 5)
> Is there another way to force all segments to be exactly the same duration
> ?
>
After a bit of reading, the -g option
know where the 0.02 comes from).
So it seems it all boils down to frame accurate splicing indeed.
Any help in that regard would be greatly appreciated...
KR,
Vincent
On Thu, Jan 26, 2023 at 5:42 PM Vincent Deconinck
wrote:
> Hi,
>
> OK, I made some progress, so replying to self
difference.
So I believe the difference lies in the hls muxer details, but I have no
idea how to get a single slice using the hls muxer.
Any idea ?
Kind regards,
Vincent
On Fri, Jan 27, 2023 at 1:38 PM Vincent Deconinck
wrote:
> Hi all,
>
> I tried analyzing the differences between the
Hi Cyril,
I remember that in the first tests I made before answering your first email
> in this thread, I tried to use -ss and -t params with both ts and mp4
> output formats. The ts segments were seemingly random length whereas the
> mp4 seemed strictly of the same length.
Good to know.
In fact
Hi all,
Re-reading this thread and German's first answer in particular, I realized
that there are two diffierent "segment" muxers: '-f segment' and '-f
ssegment' (with double 's', for 'stream-segment') and decided to try
playlists of ts files built by each of them, but none of them plays back OK.
Hi,
Here is my progress report.
I wanted to understand why files (even the ones created with the hls muxer)
cannot be played smoothly one after the other if they were generated by
different runs.
So I executed 13 HLS encodings (A-M) of different parts of the first 36
seconds of my sample file.
I
Could we please stop polluting this mailing list ?
If you want to continue discussing this, please do it off the list using
private mails.
Thank you.
Vincent.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-u
Hi Jeff,
struggling with the correct syntax to use for "input_filename".
>
The simplest syntax for a file conversion is
ffmpeg -i
> I keep getting the message on my Ubuntu terminal; file as "Input_.avi">.
>
Could you please copy/paste the exact command you are typing and the full
ffmpeg out
Hi Jeff,
I'll copy and paste as you requested but could you confirm you
> mean " ...-1" and not "...-i" please.
>
I mean -i
See https://ffmpeg.org/
Please post more details if you need more help :-)
Vincent
___
ffmpeg-user mailing list
ffmpeg-user@ff
could you confirm you mean " ...-1" and not "...-i" please..
>
Oh, I realize you may now hesitate on the syntax of "ls" and not the one of
ffmpeg.
The option I requested was -l as in "long format". If you copy/paste from
my mail, you'll be sure to get it right.
Vincent
___
On Mon, Feb 27, 2023 at 5:33 PM William Jones wrote:
> Yeah ive treid in that and thats good but but was really hoping for a fix
> in ffmpeg as than can be better added into our existing pipeline.
>
Hi,
I read that "This is due to MPEG-2 video format, which requires the number
of coded luma pixe
Hi,
I will probably get flamed because I'm for jumping into this conversation
while being a complete newbie :-), but I think nobody replied with an
answer to Mark's question "why".
All I know is the ffmpeg page on seeking -
https://trac.ffmpeg.org/wiki/Seeking - ends with a paragraph saying:
"Usi
Oh no, please don't ask for moderation !
I unsubscribed from Netflix since I have my series on this mailing list
every night!
A beer, some chips, and 30 minutes of daily laughter watching the smartest
guys on the planet waste time arguing like they're in a kindergarten
playground is hilarious, much
Hi,
I have a few videos that have been shot upside down but lack the rotate
flag so they play upside down in e.g. VLC.
Here is an example :
https://www.swisstransfer.com/d/48602faa-73aa-4c6d-b3bf-d2db6b2ffe9c
I'd like to add the rotation information without reencoding. Many pages
indicate it can
Hi,
A few months ago, my GoPro randomly started creating some corrupt (or
partly-corrupt) video files, mixing up frames and causing jaggy playback.To
illustrate the case, here is an excerpt I generated with "ffmpeg -c copy"
from a corrupt source file :
https://drive.google.com/file/d/1GD7YiVS2z8h0
On Sat, Jul 13, 2024 at 4:26 AM Rick Keniuk wrote:
> I have tried the following simple concatenation command which worked
> perfectly only it outputs just the video and the first audio stream.
> ffmpeg -f concat -i videos.txt -c copy output.mp4
>
Hi Rick,
By default only the first audio stream
On Fri, Jul 12, 2024 at 1:04 AM Mark Filipak
wrote:
> Try this:
> -filter_complex "shuffleframes="
> It's worked for me.
>
Hi Mark and Paul,
Sorry for the delay.
Thanks very much for the "shuffleframes" filter tip, this seems the right
tool to use, even if it implies reencoding.
My tests co
On Thu, Jul 18, 2024 at 12:26 AM Mark Filipak
wrote:
> Have you tried appealing to the manufacturer for a repair?
>
Well, the camera is a GoPro Hero8, it's out of warranty and basically
outdated so I doubt they do anything except charge me for more than the
price of a brand new one.
[Off-topic]
On Fri, Jul 19, 2024 at 3:59 AM Mark Filipak
wrote:
> My bad. I assumed you knew more.
Oh, no-one should over-estimate my knowledge :-)
> Try this:
> ffprobe -flags2 +showall -sexagesimal -select_streams v -show_frames -of
> flat -dn -i
> in_bad_frame_order.mp4
>
Thanks.
ffprobe does not see
On Sat, Jul 20, 2024 at 9:55 PM Mark Filipak
wrote:
> I don't know of any tool where you can simply pick up a frame and move it
> while you're watching a stream. You might be able to use shuffleframes for
> uniform runs, but when the pattern changes you're stuck with making
> intermediate shuffle
>
> The following logs show that the async cannot request the ts files of the
> m3u8 playlist.
>
Hi Ali,
Before anyone else asks in rude terms ;-), could you please copy and paste
here the *full*, *unedited* command line *and* log ?
Kind regards,
Vincent
>
> In that case, what are some video editor software does with the videos?
> They can cut some frames from the original video and create a new MP4 file.
> Are these software just decode and uncompress everything, then remove some
> frames, then re-encode and re-compress the remaining video?
>
Tha
> I have tried the following commands
>
> ffmpeg -err_detect ignore_err -i old.mp4 -c copy new.mp4
> ...
> [mov,mp4,m4a,3gp,3g2,mj2 @ 00158b00] stream 1, contradictionary STSC and
> STCO
> [mov,mp4,m4a,3gp,3g2,mj2 @ 00158b00] error reading header
Hmm, I see.
Maybe one last "cheap" attempt: if yo
>
> I look up the ffmpeg document
You have probably missed the part of https://trac.ffmpeg.org/wiki/Seeking that
says 'Note when "-ss" used before "-i" only: ("-ss" as input option) the
timestamps will be reset according to 0.͏ So "-t" and "-to" shall be the
same.' :-)
[Q1] Is this really intent
>
> This indicates that it should be rotated 90 degress clock-wise (I
think). Something in ffmpeg's chain is taking that into consideration,
> and rotating the image, but not reporting it in the console output
>
Moritz is right.
With ffmpeg, you can get that "orientation" info with :
ffprobe -v e
On Fri, Jan 3, 2025 at 4:26 PM Ferdi Scholten wrote:
> Well overlaying both images on top of each other clearly shows the face
> did not get wider, however because the transcoded image lacks some fine
> details it appears to look wider.
>
Well, I think the OP meant that the aspect ratio changed.
Masaru Nomiya wrote:
Non-monotonic DTS (Decoding Time Stamp) errors are a common problem
> that occurs when processing video and audio files with FFmpeg. This
> error occurs when the timestamps of the output stream are not
> monotonically increasing.
>
Please refrain from using AI generated answ
> I have version 7.0.2-5, but when I start with the command it does not
> start, but on older version starts.
Hi,
This sounds like a basic shell usage issue...
If you want to start a specific version, type the full path to ffmpeg, e.g.
:
/volume1/@appstore/ffmpeg7/bin/ffmpeg -i
/volume1/video/
We are almost there. I have two notes:
> - the output file has different permissions (this way Plex could not read
> it just after I modified perissions like other files have)
> - my tv only plays it as HDR10+ instead of Dolby Vision, this is the main
> point of converting. mk4s are played in HDR10
34 matches
Mail list logo