[FFmpeg-user] FFmpeg process is not ending when streaming .mpeg through upd

2021-03-18 Thread Mar Andrés López
Dear All, The issue I am facing is the following. When I perform this command to stream through udp an .mpeg file and also a determined duration of the video: ffmpeg -re -ss 00:00:00.000 -t 00:00:08.000 -i klv.mpeg -map 0 -vcodec h264 -pix_fmt yuv420p -f mpegts udp://127.0.0.1:9000?pkt_size=

[FFmpeg-user] Timestamps are unset in a packet for stream 1. UDP Streaming

2021-04-05 Thread Mar Andrés López
Dear all, My video which has KLV metadata on stream 1, is not timestamped properly, when streaming udp. ¿Is there anyway to recreate the timestamps? I am doing something wrong when streaming by udp. The command employed is the following: >>ffmpeg -re -i klv.mpeg -map 0 -codec copy -f mpegts >

[FFmpeg-user] FFmpeg vsync option

2021-04-07 Thread Mar Andrés López
Dear all, I have a video with two streams, a video stream and a metadata stream, I would like to set the vsync option to set the time stamps according to the video stream. In the documentation ffmpeg of vsync says that: -vsync parameter Video sync method. For compatibility reasons old valu

[FFmpeg-user] -b:v option

2021-04-08 Thread Mar Andrés López
Dear all, Is posible to specify bitrate option -b:v as the bitrate from the input? instead of doing -b:v 300k is posible for example -b:v source, which would output the bitrate from original video? Aa lot of thanks. P Please consider the environment before printing this e-mail. _

Re: [FFmpeg-user] -b:v option

2021-04-08 Thread Mar Andrés López
?? De: ffmpeg-user en nombre de Carl Eugen Hoyos Enviado: jueves, 8 de abril de 2021 12:47:25 Para: FFmpeg user questions Asunto: Re: [FFmpeg-user] -b:v option > Am 08.04.2021 um 12:45 schrieb Mar Andrés López : > > Is posible to specify bitrate option -b:v as the bit

[FFmpeg-user] FFmpeg DASH Optional Adaptation Set

2021-07-15 Thread Mar Andrés López
Dear All, I am using the following FFmpeg command for dash generation, ffmpeg -i video.mpeg -preset superfast -r 30 -vcodec libx264 -acodec aac -b:a 128k -ac 1 -ar 44100 -map v:0 -b:v:0 150 -s:v:0 768x432 -map v:0 -b:v:1 75 -s:v:1 640x360 -map v:0 -b:v:2 50 -s:v:2 512x288 -map 0:a

Re: [FFmpeg-user] FFmpeg DASH Optional Adaptation Set

2021-07-15 Thread Mar Andrés López
Then, is possible to make an audio adaptation set optional? De: Mar Andrés López Enviado: jueves, 15 de julio de 2021 15:51:49 Para: ffmpeg-user@ffmpeg.org Asunto: FFmpeg DASH Optional Adaptation Set Dear All, I am using the following FFmpeg command for dash

Re: [FFmpeg-user] FFmpeg DASH Optional Adaptation Set

2021-07-15 Thread Mar Andrés López
The version I am using is 4.3.1 De: ffmpeg-user en nombre de Dennis Mungai Enviado: jueves, 15 de julio de 2021 16:30:21 Para: FFmpeg user questions Asunto: Re: [FFmpeg-user] FFmpeg DASH Optional Adaptation Set On Thu, 15 Jul 2021 at 16:52, Mar Andrés López

[FFmpeg-user] KLV in ffmpeg

2020-09-23 Thread Mar Andrés López
Dear all, I am having so many issues trying to clip a video with KLV. When I edit a video with KLV I lose the KLV. I have read about -map 0 option, from my understading it copies all the streams of a video from the input 0. The command I have tried and it is not working is the following:

Re: [FFmpeg-user] KLV in ffmpeg

2020-09-23 Thread Mar Andrés López
25 tbr, 90k tbn, 50 tbc Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 1130496 vbv_delay: N/A Stream #0:1[0x101]: Data: klv (KLVA / 0x41564C4B) ________ De: Mar Andrés López Enviado: miércoles, 23 de septiembre de 2020 11:11:24 Para: ffmpeg-user@f

[FFmpeg-user] MPEGTS changes the duration of my video

2020-09-24 Thread Mar Andrés López
Dear all, When I process my video with ffmpeg and I set the format to mpegts, ¿why It changes the duration of my video from 00:00:04.56 to 00:00:04.00? ffmpeg -i video.mpg -map 0 -f mpegts out.mpg ffmpeg output for video.mpg: Duration: 00:00:04.56, start: 6916.00, bitrate: 4617 kb/s

[FFmpeg-user] av_interleaved_write_frame(): Invalid argument

2020-09-24 Thread Mar Andrés López
Dear all, I want to set the same timestamps in my video.mpg which has a video stream and a klv data stream, when I perform this command: ffmpeg -vsync drop -i video.mpg -map 0 -codec copy -f mpegts output.mpg [mpegts @ 01ee5461df40] Timestamps are unset in a packet for stream 1. This is

[FFmpeg-user] Streaming DASH with ffmpeg

2020-10-05 Thread Mar Andrés López
Dear All, I am new in ffmpeg, I was Reading the documentation that ffmpeg has available for dash. The given command example is the following: ffmpeg -re -i -map 0 -map 0 -c:a libfdk_aac -c:v libx264 \ -b:v:0 800k -b:v:1 300k -s:v:1 320x170 -profile:v:1 baseline \ -profile:v:0 main -bf 1 -keyi

Re: [FFmpeg-user] Streaming DASH with ffmpeg

2020-10-06 Thread Mar Andrés López
On Tue, Oct 6, 2020 at 8:25 AM Mar Andrés López wrote: > Dear All, > > > I am new in ffmpeg, I was Reading the documentation that ffmpeg has > available for dash. The given command example is the following: > > > ffmpeg -re -i -map 0 -map 0 -c:a libfdk_aac -c:v libx264 \ &

Re: [FFmpeg-user] Streaming DASH with ffmpeg

2020-10-06 Thread Mar Andrés López
De: ffmpeg-user en nombre de andrei ka Enviado: martes, 6 de octubre de 2020 10:09:35 Para: FFmpeg user questions Asunto: Re: [FFmpeg-user] Streaming DASH with ffmpeg On Tue, Oct 6, 2020 at 8:25 AM Mar Andrés López wrote: > I need to stream the video with d

[FFmpeg-user] Video is not reproduced in VLC when streaming in udp with ffmpeg

2020-10-07 Thread Mar Andrés López
Dear all, I am trying to stream a video using the following command ffmpeg -i video.mp4 -map 0 -codec copy -f mpegts udp://127.0.0.1:12000, then I place VLC listening and the video is not reproduced. ¿Is there any help? P Please consider the environment before printing this e-mail. __

Re: [FFmpeg-user] Video is not reproduced in VLC when streaming in udp with ffmpeg

2020-10-08 Thread Mar Andrés López
The problem is not related with multicast. Multicast is for deliver a stream to several devices, and I want test the streaming in my own computer, that is why I am using 127.0.0.1 because it references to my own computer (the localhost ip). It seemed that I needed a buffer in reception. I tried

[FFmpeg-user] Non-mandatory audio

2020-10-13 Thread Mar Andrés López
Dear all, I am using the following command to generate dash content from a file: ffmpeg -i video.mp4 –r 25 -c:v libx264 -c:a aac -b:a 128k -ac 1 -ar 44100 -map v:0 -b:v:0 2M -map v:0 -b:v:1 145k -map v:0 -b:v:2 365k -map 0:a -f dash dash.mpd But sometimes I have streams with audio and somet

[FFmpeg-user] FFMPEG DASH with KLV metadata

2020-10-15 Thread Mar Andrés López
Dear all, I am trying to generate dash content with klv metadata, I tried several combinations for that, the last one it seems to have more sense to me is: ffmpeg -i videompeg -r 25 -c:v libx264 -c:a aac -b:a 128k -ac 1 -ar 44100 -b:d 2M -map v:0 -b:v:0 2M -map v:0 -b:v:1 145k -map v:0 -b:v:2

[FFmpeg-user] DASH content FROM UDP (same bitrate in dash manifest for all adaptation sets)

2020-10-27 Thread Mar Andrés López
Dear all, ffmpeg –i udp://127.0.0.1:12007 –r 25 -c:v libx264 -c:a aac -b:a 128k -ac 1 -ar 44100 –b:d 2M -map v:0 -b:v:0 2M -map v:0 -b:v:1 145k -map v:0 -b:v:2 365k -map 0:a? -f dash dash.mpd 1. First I start streaming my video with UDP and ffmpeg. 2. Then I start to generate dash cont

[FFmpeg-user] Histogram variance of an image

2020-11-20 Thread Mar Andrés López
Dear All, I would like to extract the first frame of a video that contains some 'information', I do not want just one color frames (White,red, black…). In order to achieve that the histogram variance calculation of an image could be a Good starting point. I would like that the variance is low

[FFmpeg-user] Get bitrate from UDP source

2020-11-24 Thread Mar Andrés López
Dear All, Is that possible to get the bitrate from an UDP source? My issue is the same that this one opened ticket?: https://trac.ffmpeg.org/ticket/6470 I stream a video over udp and i try to retrieve its bitrate with ffprobe: ffprobe -i udp://239.192.18.17:1234 but I am obtaining N/A as

[FFmpeg-user] Video recording date with ffprobe

2020-12-11 Thread Mar Andrés López
Dear all, I would like to extract the date in which my video was recorded. Now I am using the following ffprobe command: ffmpeg -i video.mp4 -v quiet -select_streams v:0 -show_entries stream_tags=creation_time -of default=noprint_wrappers=1:nokey=1 Which prints the creation_time and I guess

[FFmpeg-user] Convert to .MP4 using ffmpeg preserving KLV metadata

2021-01-07 Thread Mar Andrés López
Dear All, I have the following video klv.mpeg, composed by two streams, a video stream and a klv data stream. As you can see: [mpegts @ 0146ceeaaec0] start time for stream 1 is not set in estimate_timings_from_pts Input #0, mpegts, from 'klv.mpeg': Duration: 00:01:30.80, start: 0.50

[FFmpeg-user] DASH with Thumbnails

2021-02-02 Thread Mar Andrés López
Dear All, I am building a DASH VideoPlayer and I need the functionality of viewing thumbnails when scrolling de time bar of the video player. ¿Does FFmpeg support this functionality of adding thumbnails to .mpd? My question is the same as this one retrieved from https://stackoverflow.com/que