[FFmpeg-user] HLS - Insert timed metadata or timed event into HLS
Is there a way to insert in a timed metadata or timed event into HLS content? For example, at 5 seconds into the movie, the player (Android exoplayer) can receive a timed metadata or timed event, so that the player can offer the user to skip the introduction. So far, I used ffmpeg to take an MP4 movie and create an HLS format with fragmented mp4 segment. ffmpeg -y \ -i Allied.mp4 \ -force_key_frames "expr:gte(t,n_forced*2)" \ -s 1280x720 \ -c:v libx264 -b:v 1500k \ -c:a copy \ -hls_flags single_file \ -hls_time 6 \ -hls_playlist_type vod \ -hls_segment_type fmp4 \ -hls_segment_filename "single_file.m4s" \ prog_index.m3u8 But now I need to insert some timed metadata or timed event in to it. What options does ffmpeg have that can support this? ___ 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 "unsubscribe".
[FFmpeg-user] ffmpeg for transcoding a stream into web pag
Hello, this probably has been asked a million times before. I have a few IP cameras (onvif) that I can get stills and video out of with scriprts. What I would want to do is put a stream into a web page, html document. I'd prefer to used "something different" than rtsp, to be used by the browser because rtsp seems to be blocked more and more (people watching baby monitors crashing networks). From what I read is that ffmpeg can be used to 'transcode' an rtsp stream, to a format that directly can be used in a browser (firefox)? If so, is there an exam[le or write up for how to do that? thanks, Ron ___ 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 "unsubscribe".
Re: [FFmpeg-user] ffmpeg 32 bit or 64 bit
Am Mi., 1. Mai 2019 um 14:07 Uhr schrieb Moritz Barsnick : > > On Wed, May 01, 2019 at 17:24:45 +0545, Remo Rayamajhi wrote: > > Well i have installed 64 bit of Os but someone told me even I compile from > > compilation guide I would get 32 bit of ffmpeg ..that's why I asked Only if "gcc" defaults to a compiler for 32 bit which is possible but unlikely. Iirc, gcc -v tells you. > That's most likely nonsense. While it's not impossible, you'd have to > jump though quite a few hoops to get a 32 bit ffmpeg on a "standard" > system. The "hoop" would be to do: $ ./configure --cc='gcc -m32' Note that it is possible to install a compiler that defaults to i686 on an x86_64 system as default compiler, it is unusual though. Carl Eugen ___ 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 "unsubscribe".
Re: [FFmpeg-user] ffmpeg 32 bit or 64 bit
Am 01.05.19 um 13:39 schrieb Remo Rayamajhi: > Well i have installed 64 bit of Os but someone told me even I compile from > compilation guide I would get 32 bit of ffmpeg ..that's why I asked cross compile don't happen by accident and needs additional work especially you need the libraries and devel-packages in 32bit installed which also don't happen by magic > On Wed, May 1, 2019, 5:20 PM Reindl Harald wrote: >> >> Am 01.05.19 um 12:39 schrieb Remo Rayamajhi: >>> If i compile the ffmpeg from ubuntu compilation guide .. how can i know >> is >>> it 32 bit ffmpeg or 64 bit ??? >> >> well, you should know if you have a 32 bit or 64 bit system installed... ___ 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 "unsubscribe".
[FFmpeg-user] Element...exceeds containing master element... : Does it matter ?
I'm getting this at the end of encoding mkv files: [matroska,webm @ 0x1001d00] Element at 0x17f67179e ending at 0x17f6bce77 exceeds containing master element ending at 0x17f671797 Is this an error ? Is there anything I/someone should do ? This happens for file output, not just /dev/null. sean ffmpeg -i title00.mkv -r 24000/1001 -c:v libvpx-vp9 -b:v 0 -crf 29 -row-mt 1 -threads 8 -tile-columns 6 -frame-parallel 1 -pass 1 -speed 4 -g -aq-mode 0 -an -f webm /dev/null -y ffmpeg version git-snapshot-20190430-RPMFusion Copyright (c) 2000-2019 the FFmpeg developers built with gcc 8 (GCC) configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O3 -ffast-math -march=native -ftree-vectorize -fomit-frame-pointer -pipe -fPIC' --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libcdio --disable-libdav1d --enable-libfdk-aac --enable-nonfree --enable-indev=jack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-openal --enable-opencl --disable-libopencv --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --enable-version3 --enable-nonfree --disable-debug --enable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect libavutil 56. 26.100 / 56. 26.100 libavcodec 58. 52.100 / 58. 52.100 libavformat58. 27.103 / 58. 27.103 libavdevice58. 7.100 / 58. 7.100 libavfilter 7. 50.100 / 7. 50.100 libswscale 5. 4.100 / 5. 4.100 libswresample 3. 4.100 / 3. 4.100 libpostproc55. 4.100 / 55. 4.100 Input #0, matroska,webm, from 'title00.mkv': Metadata: title : title00 encoder : libmakemkv v1.14.3 (1.3.5/1.4.7) x86_64-redhat-linux creation_time : 2019-04-30T21:35:53.00Z Duration: 02:29:20.45, start: 0.00, bitrate: 5743 kb/s Chapter #0:0: start 0.00, end 687.887200 Metadata: title : Chapter 01 Chapter #0:1: start 687.887200, end 1093.092000 Metadata: title : Chapter 02 Chapter #0:2: start 1093.092000, end 1642.974667 Metadata: title : Chapter 03 Chapter #0:3: start 1642.974667, end 2147.979167 Metadata: title : Chapter 04 Chapter #0:4: start 2147.979167, end 2542.706833 Metadata: title : Chapter 05 Chapter #0:5: start 2542.706833, end 3252.082167 Metadata: title : Chapter 06 Chapter #0:6: start 3252.082167, end 3575.905667 Metadata: title : Chapter 07 Chapter #0:7: start 3575.905667, end 3906.402500 Metadata: title : Chapter 08 Chapter #0:8: start 3906.402500, end 4252.915333 Metadata: title : Chapter 09 Chapter #0:9: start 4252.915333, end 4626.121500 Metadata: title : Chapter 10 Chapter #0:10: start 4626.121500, end 5053.915533 Metadata: title : Chapter 11 Chapter #0:11: start 5053.915533, end 5467.161700 Metadata: title : Chapter 12 Chapter #0:12: start 5467.161700, end 6119.613500 Metadata: title : Chapter 13 Chapter #0:13: start 6119.613500, end 6357.017333 Metadata: title : Chapter 14 Chapter #0:14: start 6357.017333, end 6783.276500 Metadata: title : Chapter 15 Chapter #0:15: start 6783.276500, end 7132.125000 Metadata: title : Chapter 16 Chapter #0:16: start 7132.125000, end 7437.43 Metadata: title : Chapter 17 Chapter #0:17: start 7437.43, end 7872.531333 Metadata: title : Chapter 18 Chapter #0:18: start 7872.531333, end 8250.442200 Metadata: title : Chapter 19 Chapter #0:19: start 8250.442200, end 8960.451500 Metadata: title : Chapter 20 Stream #0:0(eng): Video: mpeg2video (Main), yuv420p(tv, smpte170m, progressive), 720x480 [SAR 32:27 DAR 16:9], SAR 186:157 DAR 279:157, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc Metadata: BPS-eng : 5097604 DURATION-eng: 02:29:20.45150 NUMBER_OF_FRAMES-eng: 214836 NUMBER_OF_BYTES-eng: 5709604304 SOURCE_ID-eng : 0100E0 _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.3 linux(x64-release) _STATISTICS_WRITING_DATE_UTC-eng: 2019-04-30 21:35:53 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fl
Re: [FFmpeg-user] ffmpeg 32 bit or 64 bit
On Wed, May 01, 2019 at 17:24:45 +0545, Remo Rayamajhi wrote: > Well i have installed 64 bit of Os but someone told me even I compile from > compilation guide I would get 32 bit of ffmpeg ..that's why I asked That's most likely nonsense. While it's not impossible, you'd have to jump though quite a few hoops to get a 32 bit ffmpeg on a "standard" system. To go sure, you can check your resulting binary (or library) e.g. with the tool "file": My 32 bit system: $ file ffmpeg ffmpeg: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.9, BuildID[sha1]=e46979b5bf2553f343c522d8a5752eff179c9bab, stripped My 64 bit system: $ file ffmpeg ffmpeg: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=6fafd8ac8dcd60c4a4172d05c82754e8342766b2, stripped Cheers, Moritz ___ 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 "unsubscribe".
Re: [FFmpeg-user] ffmpeg 32 bit or 64 bit
Well i have installed 64 bit of Os but someone told me even I compile from compilation guide I would get 32 bit of ffmpeg ..that's why I asked On Wed, May 1, 2019, 5:20 PM Reindl Harald wrote: > > > Am 01.05.19 um 12:39 schrieb Remo Rayamajhi: > > If i compile the ffmpeg from ubuntu compilation guide .. how can i know > is > > it 32 bit ffmpeg or 64 bit ??? > > well, you should know if you have a 32 bit or 64 bit system installed... > ___ > 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 "unsubscribe". ___ 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 "unsubscribe".
Re: [FFmpeg-user] ffmpeg 32 bit or 64 bit
Am 01.05.19 um 12:39 schrieb Remo Rayamajhi: > If i compile the ffmpeg from ubuntu compilation guide .. how can i know is > it 32 bit ffmpeg or 64 bit ??? well, you should know if you have a 32 bit or 64 bit system installed... ___ 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 "unsubscribe".
[FFmpeg-user] ffmpeg 32 bit or 64 bit
Hello If i compile the ffmpeg from ubuntu compilation guide .. how can i know is it 32 bit ffmpeg or 64 bit ??? ___ 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 "unsubscribe".