[FFmpeg-user] Combining -copyts with segmentation gives unexpected results

2022-12-18 Thread Jarno Suni
I try to record an opus stream into segment files while retaining timestamps. But ffmpeg creates a lot of very small files much faster than what I set for -segment_time. Latest ffmpeg version that I tested was 5.1.1. My command is something like ffmpeg -i somestream.opus -c copy -copyts -f segmen

Re: [FFmpeg-user] Combining -copyts with segmentation gives unexpected results

2022-12-20 Thread Jarno Suni
Ok, here is an example command: $ ffmpeg -i http://volosatoff.ru:8008/euro.opus -c copy -copyts -t 25 -f segment -segment_time 10 -reset_timestamps 0 -strftime 0 recording-%05d.opus Output in terminal: ffmpeg version 4.4.2-1sergeyd9.9~18.04.1 Copyright (c) 2000-2021 the FFmpeg developers built

Re: [FFmpeg-user] Combining -copyts with segmentation gives unexpected results

2022-12-22 Thread Jarno Suni
I also tried by ffmpeg version N-109444-geef763c705 and the same thing happened. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org

Re: [FFmpeg-user] Combining -copyts with segmentation gives unexpected results

2022-12-25 Thread Jarno Suni
I created a ticket: https://trac.ffmpeg.org/ticket/10120#ticket ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "un

[FFmpeg-user] Meaning of duration

2022-12-30 Thread Jarno Suni
Suppose you have recorded an Opus stream with -copyts. Then ffprobe -v error -show_entries format=start_time,duration -- recording.opus shows non-zero start_time and possibly huge duration that does not reflect to the file size. I think you get the actual duration of the recording by subtracting

Re: [FFmpeg-user] Meaning of duration

2022-12-30 Thread Jarno Suni
On Fri, Dec 30, 2022 at 3:34 PM Reindl Harald wrote: > the days where duration and filesize are hard connected are long gone, > even for MP3 everybody with soime basic knowledge is using VBR because > it saves 16% stoarge while keep identical or even better quality Yes I know, but the duration t

Re: [FFmpeg-user] Meaning of duration

2023-01-01 Thread Jarno Suni
On Fri, Dec 30, 2022 at 6:54 PM Ferdi Scholten wrote: > Try using this together with -copyts > > -start_at_zero > > When used with copyts, shift input timestamps so they start at zero. I do not see what is the use of using -copyts, if that resets the timestamps anyway with -start_at_zero. I w

[FFmpeg-user] Handling alternating stream title and similar metadata

2023-01-01 Thread Jarno Suni
Some audio streams may have StreamTitle metadata that will change from time to time. How do you record that changing information so that you can later show the title when the recording is being played? Are there some standard tags that can be used to denote e.g. current program name or current song

[FFmpeg-user] Ssegment with ogg/oga?

2023-10-09 Thread Jarno Suni via ffmpeg-user
Is it better to use stream_segment than segment muxer with oga or ogg? What is the advantage? -- Jarno Suni - http://iki.fi/8/  ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit

[FFmpeg-user] Recording audio streams from network using segmentation

2023-11-09 Thread Jarno Suni via ffmpeg-user
? The documentation says: "The segment muxer works best with a single constant frame rate video." Some of the recorded audio-only streams may have variable bitrate. What kind of issues you may expect from that? --  Jarno Suni - http://iki.fi/8/  ___