Re: [FFmpeg-user] fmpeg exits due to aac error
> Am 17.02.2021 um 01:46 schrieb serge2school : > > I am also attaching ffprobe output below Generally, this is not useful, required is the output of your ffmpeg command. Anyway, please either provide the whole input file or cut it with dd as long (or actually short) as the issue is still reproducible and upload that file. 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".
[FFmpeg-user] fmpeg exits due to aac error
Hi, I have a very long (24 hour) video stream that I am processing in near realtime. And after a while, ffmpeg exits with the following error: [mpegts @ 018aa073f740] PES packet size mismatch [mpegts @ 018aa073f740] Packet corrupt (stream = 1, dts = 2733992293). overread 8 [mpeg2video @ 018aa2355dc0] Warning MVs not available [mpeg2video @ 018aa2355dc0] concealing 6030 DC, 6030 AC, 6030 MV errors in B frame E:\TVRecData\1ch\taskrec_1ch_20210216_121354.ts: corrupt decoded frame in stream 0 [aac @ 018aa2353dc0] TYPE_FIL: Input buffer exhausted before END element found Error while decoding stream #0:1: Invalid data found when processing input frame=218550 fps= 30 q=-0.0 Lsize=N/A time=02:01:33.51 bitrate=N/A speed= 1x video:114397kB audio:1366210kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown I am using the following command: fmpeg -err_detect ignore_err -re -sseof -3 -i 20210216_234639.ts -af silencedetect=noise=0.001:d=0.4 -f null - > 20210216_234639.txt 2>&1 Note: the overall file is written is a particular format with several streams, where some streams (EPG, etc) we cannot read. But, we can play the file, and focusing on stream 0 and stream 1 we can get the video and audio. Yet, when reading audio, we get this error. We see a lot of corrupted packets, but strangely, MediaPlayerClassic has no problem playing it. So info is definitely there. Video and audio seem to be ok when playing. I can replay the whole file (including sound) no problem using MediaPlayerClassic, VLC, etc... I am enclosing the whole ffmpeg log for your enjoyment attached to this post. I am stuck and really need help. Thank you! I am also attaching ffprobe output below: (note garbled characters is because it is East Asian language) ffprobe version N-101088-g6f80953554 Copyright (c) 2007-2021 the FFmpeg developers built with gcc 9.3-win32 (GCC) 20200320 configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --enable-shared --disable-static --disable-w32threads --enable-pthreads --enable-iconv --enable-zlib --enable-libxml2 --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-opencl --enable-libvmaf --disable-vulkan --enable-libvorbis --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-libdavs2 --enable-ffnvcodec --enable-cuda-llvm --disable-libglslang --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-libs=-lgomp libavutil 56. 65.100 / 56. 65.100 libavcodec 58.123.100 / 58.123.100 libavformat58. 67.100 / 58. 67.100 libavdevice58. 11.103 / 58. 11.103 libavfilter 7.106.100 / 7.106.100 libswscale 5. 8.100 / 5. 8.100 libswresample 3. 8.100 / 3. 8.100 libpostproc55. 8.100 / 55. 8.100 [aac @ 01d5562aa880] Multiple frames in a packet. [mpeg2video @ 01d5561d4140] Invalid frame dimensions 0x0. Last message repeated 8 times [mpegts @ 01d5561ce540] Packet corrupt (stream = 1, dts = 8545228101). [mpegts @ 01d5561ce540] Stream #14: not enough frames to estimate rate; consider increasing probesize [mpegts @ 01d5561ce540] start time for stream 0 is not set in estimate_timings_from_pts [mpegts @ 01d5561ce540] start time for stream 3 is not set in estimate_timings_from_pts [mpegts @ 01d5561ce540] start time for stream 4 is not set in estimate_timings_from_pts [mpegts @ 01d5561ce540] start time for stream 14 is not set in estimate_timings_from_pts [mpegts @ 01d5561ce540] start time for stream 15 is not set in estimate_timings_from_pts [mpegts @ 01d5561ce540] start time for stream 16 is not set in estimate_timings_from_pts [mpegts @ 01d5561ce540] PES packet size mismatch [mpegts @ 01d5561ce540] Packet corrupt (stream = 2, dts = 3294556565). [mpegts @ 01d5561ce540] stream 14 : no TS found at start of file, duration not set [mpegts @ 01d5561ce540] stream 15 : no TS found at start of file, duration not set [mpegts @ 01d5561ce540] Could not find codec parameters for stream 5 (Unknown: none ([13][0][0][0] / 0x000D)): unknown codec Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (500) options [mpegts @ 01d5561ce540] Could not find codec parameters for stream 6 (Unknown: none ([13][0][0][0] / 0x000D)): unknown
Re: [FFmpeg-user] Naming chapters in Matroska video
On Wed, Feb 17, 2021 at 1:26 AM Ulf Zibis wrote: > > Am 17.02.21 um 01:20 schrieb Paul B Mahol: > > ffprobe version N-101155-g96b5919034 Copyright (c) 2007-2021 the FFmpeg > > developers > >built with Ubuntu clang version > > 11.1.0-++20210203115409+1fdec59bffc1-1~exp1~20210203230038.161 > >configuration: --cc='ccache clang-11' --as='ccache clang-11' > > --disable-indevs --disable-outdevs --disable-autodetect --enable-sdl2 > > --enable-gpl --enable-libpulse --enable-indev=lavfi --enable-indev=alsa > > --enable-indev=puls > > e --enable-libfdk-aac --enable-nonfree --enable-zlib --enable-openssl > > --enable-outdev=alsa --disable-static --enable-shared --enable-ladspa > > --enable-lv2 --enable-frei0r --enable-liblensfun --enable-version3 > > --enable-libdav1d > > --enable-libbs2b --enable-libtwolame --enable-libmp3lame > > --enable-librubberband --enable-libmysofa --enable-libx264 > > --enable-fontconfig --enable-libfreetype --enable-libass --enable-libzimg > > --enable-librist --disable-stripp > > ing --samples=../fate-suite > >libavutil 56. 65.100 / 56. 65.100 > >libavcodec 58.123.100 / 58.123.100 > >libavformat58. 67.100 / 58. 67.100 > >libavdevice58. 12.100 / 58. 12.100 > >libavfilter 7.107.100 / 7.107.100 > >libswscale 5. 8.100 / 5. 8.100 > >libswresample 3. 8.100 / 3. 8.100 > >libpostproc55. 8.100 / 55. 8.100 > > Input #0, matroska,webm, from 'x.mkv': > >Metadata: > > title : Experiment > > SOURCE_TYPE : dvd > > ENCODER : Lavf58.67.100 > >Duration: 00:00:11.00, start: 0.00, bitrate: 10220 kb/s > >Chapters: > > Chapter #0:0: start 0.00, end 10.911556 > > Chapter #0:1: start 10.911556, end 819.225778 > >Metadata: > > title : 1 - Intro > > Chapter #0:2: start 819.225778, end 1839.369956 > >Metadata: > > title : 2 - Restaurant > > Chapter #0:3: start 1839.369956, end 2689.490133 > >Metadata: > > title : 3 - At home > > Chapter #0:4: start 2689.490133, end 3289.574978 > > Chapter #0:5: start 3289.574978, end 4584.758089 > > Chapter #0:6: start 4584.758089, end 5516.019689 > >Stream #0:0: Video: mjpeg (Baseline), yuvj422p(pc, > > bt470bg/unknown/unknown), 1280x720, 24 fps, 24 tbr, 1k tbn, 1k tbc > (default) > > Metadata: > >DURATION: 00:00:11.0 > >Stream #0:1: Audio: pcm_s16le, 11025 Hz, 1 channels, s16, 176 kb/s > > (default) > > Metadata: > >DURATION: 00:00:11.0 > > What do you want to say me with this? > It works here. Note version of libs. > > -Ulf > > ___ > 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] Naming chapters in Matroska video
Am 17.02.21 um 01:20 schrieb Paul B Mahol: ffprobe version N-101155-g96b5919034 Copyright (c) 2007-2021 the FFmpeg developers built with Ubuntu clang version 11.1.0-++20210203115409+1fdec59bffc1-1~exp1~20210203230038.161 configuration: --cc='ccache clang-11' --as='ccache clang-11' --disable-indevs --disable-outdevs --disable-autodetect --enable-sdl2 --enable-gpl --enable-libpulse --enable-indev=lavfi --enable-indev=alsa --enable-indev=puls e --enable-libfdk-aac --enable-nonfree --enable-zlib --enable-openssl --enable-outdev=alsa --disable-static --enable-shared --enable-ladspa --enable-lv2 --enable-frei0r --enable-liblensfun --enable-version3 --enable-libdav1d --enable-libbs2b --enable-libtwolame --enable-libmp3lame --enable-librubberband --enable-libmysofa --enable-libx264 --enable-fontconfig --enable-libfreetype --enable-libass --enable-libzimg --enable-librist --disable-stripp ing --samples=../fate-suite libavutil 56. 65.100 / 56. 65.100 libavcodec 58.123.100 / 58.123.100 libavformat58. 67.100 / 58. 67.100 libavdevice58. 12.100 / 58. 12.100 libavfilter 7.107.100 / 7.107.100 libswscale 5. 8.100 / 5. 8.100 libswresample 3. 8.100 / 3. 8.100 libpostproc55. 8.100 / 55. 8.100 Input #0, matroska,webm, from 'x.mkv': Metadata: title : Experiment SOURCE_TYPE : dvd ENCODER : Lavf58.67.100 Duration: 00:00:11.00, start: 0.00, bitrate: 10220 kb/s Chapters: Chapter #0:0: start 0.00, end 10.911556 Chapter #0:1: start 10.911556, end 819.225778 Metadata: title : 1 - Intro Chapter #0:2: start 819.225778, end 1839.369956 Metadata: title : 2 - Restaurant Chapter #0:3: start 1839.369956, end 2689.490133 Metadata: title : 3 - At home Chapter #0:4: start 2689.490133, end 3289.574978 Chapter #0:5: start 3289.574978, end 4584.758089 Chapter #0:6: start 4584.758089, end 5516.019689 Stream #0:0: Video: mjpeg (Baseline), yuvj422p(pc, bt470bg/unknown/unknown), 1280x720, 24 fps, 24 tbr, 1k tbn, 1k tbc (default) Metadata: DURATION: 00:00:11.0 Stream #0:1: Audio: pcm_s16le, 11025 Hz, 1 channels, s16, 176 kb/s (default) Metadata: DURATION: 00:00:11.0 What do you want to say me with this? -Ulf ___ 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] Naming chapters in Matroska video
ffprobe version N-101155-g96b5919034 Copyright (c) 2007-2021 the FFmpeg developers built with Ubuntu clang version 11.1.0-++20210203115409+1fdec59bffc1-1~exp1~20210203230038.161 configuration: --cc='ccache clang-11' --as='ccache clang-11' --disable-indevs --disable-outdevs --disable-autodetect --enable-sdl2 --enable-gpl --enable-libpulse --enable-indev=lavfi --enable-indev=alsa --enable-indev=puls e --enable-libfdk-aac --enable-nonfree --enable-zlib --enable-openssl --enable-outdev=alsa --disable-static --enable-shared --enable-ladspa --enable-lv2 --enable-frei0r --enable-liblensfun --enable-version3 --enable-libdav1d --enable-libbs2b --enable-libtwolame --enable-libmp3lame --enable-librubberband --enable-libmysofa --enable-libx264 --enable-fontconfig --enable-libfreetype --enable-libass --enable-libzimg --enable-librist --disable-stripp ing --samples=../fate-suite libavutil 56. 65.100 / 56. 65.100 libavcodec 58.123.100 / 58.123.100 libavformat58. 67.100 / 58. 67.100 libavdevice58. 12.100 / 58. 12.100 libavfilter 7.107.100 / 7.107.100 libswscale 5. 8.100 / 5. 8.100 libswresample 3. 8.100 / 3. 8.100 libpostproc55. 8.100 / 55. 8.100 Input #0, matroska,webm, from 'x.mkv': Metadata: title : Experiment SOURCE_TYPE : dvd ENCODER : Lavf58.67.100 Duration: 00:00:11.00, start: 0.00, bitrate: 10220 kb/s Chapters: Chapter #0:0: start 0.00, end 10.911556 Chapter #0:1: start 10.911556, end 819.225778 Metadata: title : 1 - Intro Chapter #0:2: start 819.225778, end 1839.369956 Metadata: title : 2 - Restaurant Chapter #0:3: start 1839.369956, end 2689.490133 Metadata: title : 3 - At home Chapter #0:4: start 2689.490133, end 3289.574978 Chapter #0:5: start 3289.574978, end 4584.758089 Chapter #0:6: start 4584.758089, end 5516.019689 Stream #0:0: Video: mjpeg (Baseline), yuvj422p(pc, bt470bg/unknown/unknown), 1280x720, 24 fps, 24 tbr, 1k tbn, 1k tbc (default) Metadata: DURATION: 00:00:11.0 Stream #0:1: Audio: pcm_s16le, 11025 Hz, 1 channels, s16, 176 kb/s (default) Metadata: DURATION: 00:00:11.0 On Wed, Feb 17, 2021 at 1:13 AM Ulf Zibis wrote: > > Am 17.02.21 um 01:02 schrieb Paul B Mahol: > > On Wed, Feb 17, 2021 at 12:58 AM Ulf Zibis wrote: > > > >> > >> I still get the same result with the latest nightly. :-( > >> > >> Please share your .ffmeta file. > > See attachment! > > -Ulf > > ___ > 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] Naming chapters in Matroska video
Am 17.02.21 um 01:02 schrieb Paul B Mahol: On Wed, Feb 17, 2021 at 12:58 AM Ulf Zibis wrote: I still get the same result with the latest nightly. :-( Please share your .ffmeta file. See attachment! -Ulf ;FFMETADATA1 SOURCE_TYPE=dvd encoder=Lavf58.45.100 title=Experiment [CHAPTER] TIMEBASE=1/10 START=0 END=1091156 [CHAPTER] TIMEBASE=1/10 START=1091156 END=81922578 title=1 - Intro [CHAPTER] TIMEBASE=1/10 START=81922578 END=183936996 title=2 - Restaurant [CHAPTER] TIMEBASE=1/10 START=183936996 END=268949013 title=3 - At home [CHAPTER] TIMEBASE=1/10 START=268949013 END=328957498 [CHAPTER] TIMEBASE=1/10 START=328957498 END=458475809 [CHAPTER] TIMEBASE=1/10 START=458475809 END=551601969 ___ 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] Naming chapters in Matroska video
On Wed, Feb 17, 2021 at 12:58 AM Ulf Zibis wrote: > > Am 16.02.21 um 23:49 schrieb Paul B Mahol: > > I do not use release versions, so try latest nightly version instead. > > I still get the same result with the latest nightly. :-( > > Please share your .ffmeta file. > -Ulf > > ___ > 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] Naming chapters in Matroska video
Am 16.02.21 um 23:49 schrieb Paul B Mahol: I do not use release versions, so try latest nightly version instead. I still get the same result with the latest nightly. :-( -Ulf ___ 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] Naming chapters in Matroska video
On Wed, Feb 17, 2021 at 12:27 AM Ulf Zibis wrote: > > Am 16.02.21 um 23:20 schrieb Paul B Mahol: > > I used .ffmeta as extension for metadata and it worked fine. > If the extension is important, why isn't this documented here? : > Because it is probed and if it is probed as ffmeta you have nothing to worry. .ffmeta is just correct extension unlike .meta > > https://ffmpeg.org/ffmpeg-all.html#Metadata-1 > > -Ulf > > ___ > 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".
[FFmpeg-user] converting a video with corrupted chapter times
Hi, I had a video that I wanted to convert using this command: ffmpeg -i INPUT.mkv -c:v libx264 -c:a ac3 -map 0 OUTPUT.mkv But I always got the following error: Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input Reason was, that the start-time and end-time of a chapter was mixed up. It was possible to convert the video with option -map_chapters -1, but I wanted to preserve the chapters. I've extracted the metadata using this: ffmpeg -i INPUT.mkv -f ffmetadata METADATAFILE I've fixed the chapter times in the metadata file and tried this: ffmpeg -i INPUT.mkv -i METADATAFILE -map_metadata 1 -c:v libx264 -c:a ac3 -map 0 OUTPUT.mkv I got the same error as before. The chapter information from input file #1 was listed correctly though. I've even tried it this way like in the example from the documentation: ffmpeg -i INPUT.mkv -i METADATAFILE -map_metadata 1 -codec copy OUTPUT.mkv That didn't work either. In the end I had to create a temp file without the corrupt metadata like this: ffmpeg -i INPUT.mkv -map_chapters -1 -map 0 TEMP.mkv After that I was able to join the fixed metadata I've prepared with this command: ffmpeg -i TEMP.mkv -i METADATAFILE -map_metadata 1 -c:v libx264 -c:a ac3 -map 0 OUTPUT.mkv I'm glad it worked but I can't help wondering if there would have been an easier way to do it. Is it possible to fix the chapter time automatically when start-time and end-time are mixed up? Is it possible to make ffmpeg completely ignore the corrupt metadata of input file #0 and just override it with metadata from file #1? ___ 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] Naming chapters in Matroska video
Am 16.02.21 um 23:20 schrieb Paul B Mahol: I used .ffmeta as extension for metadata and it worked fine. If the extension is important, why isn't this documented here? : https://ffmpeg.org/ffmpeg-all.html#Metadata-1 -Ulf ___ 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] converting raw stills to "raw" video
In the case of my film, StormBoy, where I know the stills were converted (not by me) they were Canon Raw format v2 CR2 files and Sony Raw format ARW files and they were converted to ARRI LogC Wide Colour Gamut EI 800. As I said this was done on Adobe After Effects. I was deliberately vague about the video format in case someone had success with a different raw or log format other than the ARRI. I didn't want to limit the responses. As for Michael's suggestion of using Darktable to preconvert the stills, that is indeed a method that works and I have used it in the past. The limitations inherent in that path is that you necessarily make some grading choices in the conversion from Raw stills to PNG and your video is less flexible in the video grade than would be a log video. The ideal would be to do all your grading on the moving image as it is imperative to be able to do dynamic grading particularly in the case of sunrise or sunset time lapse shots. Thanks for your responses so far and please forgive me if my technical speak is imprecise. I am a film maker dabbling in FOSS to improve my flexibility. Cheers -- Sent from: http://ffmpeg-users.933282.n4.nabble.com/ ___ 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] converting raw stills to "raw" video
On Wed, Feb 17, 2021 at 12:01 AM Michael Koch wrote: > Am 16.02.2021 um 23:52 schrieb Paul B Mahol: > > On Tue, Feb 16, 2021 at 11:47 PM Michael Koch < > astroelectro...@t-online.de> > > wrote: > > > >> Am 16.02.2021 um 21:34 schrieb Paul B Mahol: > >>> On Tue, Feb 16, 2021 at 9:28 PM Michael Koch < > >> astroelectro...@t-online.de> > >>> wrote: > >>> > Am 16.02.2021 um 11:52 schrieb shawny: > > I am trying to find out if it is possible using ffmpeg to convert raw > stills > > into "raw" or log video in order to be gradable as video. This is to > > incorporate timelapse photography into my video projects. I know > this > can > > be done using Adobe After Effects but I am trying to find a post path > that > > uses Linux and open source software. > > Has anyone done this or is anyone able to tell me one way or another > whether > > it is currently possible with ffmpeg? > A possible path with open source software is to use "Gimp" with > "Darktable" plugin to convert the raw images to 16-bit PNG. Then you > can > use FFmpeg to combine these images to a video. > > >>> Stop spreading lies. > >> I don't know what's wrong with my answer. Please explain. > >> > > Decoder works fine, it is just swscale does not support right colorspace > > conversion. > > > > Use zscale filter instead. Make sure that you set correct parameters, > > parameters depends > > on input DNG file. > > The question wasn't about DNG files. It was about raw files in general. > My answer was correct. > No, it is misleading and incorrect. Also RAW is very broad subject. ___ 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] converting raw stills to "raw" video
Am 16.02.2021 um 23:52 schrieb Paul B Mahol: On Tue, Feb 16, 2021 at 11:47 PM Michael Koch wrote: Am 16.02.2021 um 21:34 schrieb Paul B Mahol: On Tue, Feb 16, 2021 at 9:28 PM Michael Koch < astroelectro...@t-online.de> wrote: Am 16.02.2021 um 11:52 schrieb shawny: I am trying to find out if it is possible using ffmpeg to convert raw stills into "raw" or log video in order to be gradable as video. This is to incorporate timelapse photography into my video projects. I know this can be done using Adobe After Effects but I am trying to find a post path that uses Linux and open source software. Has anyone done this or is anyone able to tell me one way or another whether it is currently possible with ffmpeg? A possible path with open source software is to use "Gimp" with "Darktable" plugin to convert the raw images to 16-bit PNG. Then you can use FFmpeg to combine these images to a video. Stop spreading lies. I don't know what's wrong with my answer. Please explain. Decoder works fine, it is just swscale does not support right colorspace conversion. Use zscale filter instead. Make sure that you set correct parameters, parameters depends on input DNG file. The question wasn't about DNG files. It was about raw files in general. My answer was correct. Michael ___ 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] converting raw stills to "raw" video
On Tue, Feb 16, 2021 at 11:47 PM Michael Koch wrote: > Am 16.02.2021 um 21:34 schrieb Paul B Mahol: > > On Tue, Feb 16, 2021 at 9:28 PM Michael Koch < > astroelectro...@t-online.de> > > wrote: > > > >> Am 16.02.2021 um 11:52 schrieb shawny: > >>> I am trying to find out if it is possible using ffmpeg to convert raw > >> stills > >>> into "raw" or log video in order to be gradable as video. This is to > >>> incorporate timelapse photography into my video projects. I know this > >> can > >>> be done using Adobe After Effects but I am trying to find a post path > >> that > >>> uses Linux and open source software. > >>> Has anyone done this or is anyone able to tell me one way or another > >> whether > >>> it is currently possible with ffmpeg? > >> A possible path with open source software is to use "Gimp" with > >> "Darktable" plugin to convert the raw images to 16-bit PNG. Then you can > >> use FFmpeg to combine these images to a video. > >> > > Stop spreading lies. > > I don't know what's wrong with my answer. Please explain. > Decoder works fine, it is just swscale does not support right colorspace conversion. Use zscale filter instead. Make sure that you set correct parameters, parameters depends on input DNG file. > > Michael > > ___ > 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] Naming chapters in Matroska video
I do not use release versions, so try latest nightly version instead. ___ 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] converting raw stills to "raw" video
Am 16.02.2021 um 21:34 schrieb Paul B Mahol: On Tue, Feb 16, 2021 at 9:28 PM Michael Koch wrote: Am 16.02.2021 um 11:52 schrieb shawny: I am trying to find out if it is possible using ffmpeg to convert raw stills into "raw" or log video in order to be gradable as video. This is to incorporate timelapse photography into my video projects. I know this can be done using Adobe After Effects but I am trying to find a post path that uses Linux and open source software. Has anyone done this or is anyone able to tell me one way or another whether it is currently possible with ffmpeg? A possible path with open source software is to use "Gimp" with "Darktable" plugin to convert the raw images to 16-bit PNG. Then you can use FFmpeg to combine these images to a video. Stop spreading lies. I don't know what's wrong with my answer. Please explain. Michael ___ 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] Naming chapters in Matroska video
Am 16.02.21 um 23:20 schrieb Paul B Mahol: , ... I still don't see the named chapters. How to correctly add chapter names? I used .ffmeta as extension for metadata and it worked fine. With .ffmeta I get this: $ ffmpeg -i INPUT.mkv -i INPUT.ffmeta -map_metadata 1 -c copy OUTPUT.mkv ffmpeg version 4.3.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2020 the FFmpeg developers built with gcc 8 (Debian 8.3.0-6) configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg libavutil 56. 51.100 / 56. 51.100 libavcodec 58. 91.100 / 58. 91.100 libavformat 58. 45.100 / 58. 45.100 libavdevice 58. 10.100 / 58. 10.100 libavfilter 7. 85.100 / 7. 85.100 libswscale 5. 7.100 / 5. 7.100 libswresample 3. 7.100 / 3. 7.100 libpostproc 55. 7.100 / 55. 7.100 Input #0, matroska,webm, from 'INPUT.mkv': Metadata: SOURCE_TYPE : dvd ENCODER : Lavf58.12.100 Duration: 01:31:56.24, start: 0.11, bitrate: 3011 kb/s Chapter #0:0: start 0.00, end 11.021556 Chapter #0:1: start 11.021556, end 819.335778 Chapter #0:2: start 819.335778, end 1839.479956 Chapter #0:3: start 1839.479956, end 2689.600133 Chapter #0:4: start 2689.600133, end 3289.684978 Chapter #0:5: start 3289.684978, end 4584.868089 Chapter #0:6: start 4584.868089, end 5516.129689 Stream #0:0: Video: h264 (High), yuv420p(progressive), 720x576 [SAR 16:15 DAR 4:3], 25 fps, 25 tbr, 1k tbn, 50 tbc (default) Metadata: ENCODER : Lavc58.18.100 libx264 DURATION : 01:31:56.24000 Stream #0:1(deu): Audio: vorbis, 48000 Hz, stereo, fltp (default) Metadata: LANGUAGE-ISO639_2: deu LANGUAGE-SIMPLE : Deutsch LANGUAGE-DESCRIPTION: Deutsch ENCODER : Lavc58.18.100 libvorbis DURATION : 01:31:56.24100 Input #1, ffmetadata, from 'INPUT.ffmeta': Metadata: SOURCE_TYPE : dvd encoder : Lavf58.45.100 Duration: 01:31:56.02, start: 0.00, bitrate: 0 kb/s Chapter #1:0: start 0.00, end 10.911556 Chapter #1:1: start 10.911556, end 819.225778 Metadata: title : 1 - Intro Chapter #1:2: start 819.225778, end 1839.369956 Metadata: title : 2 - Restaurant Chapter #1:3: start 1839.369956, end 2689.490133 Metadata: title : 3 - At home Chapter #1:4: start 2689.490133, end 3289.574978 Chapter #1:5: start 3289.574978, end 4584.758089 Chapter #1:6: start 4584.758089, end 5516.019689 Output #0, matroska, to 'OUTPUTr.mkv': Metadata: SOURCE_TYPE : dvd encoder : Lavf58.45.100 Chapter #0:0: start 0.00, end 10.911556 Chapter #0:1: start 10.911556, end 819.225778 Chapter #0:2: start 819.225778, end 1839.369956 Chapter #0:3: start 1839.369956, end 2689.490133 Chapter #0:4: start 2689.490133, end 3289.574978 Chapter #0:5: start 3289.574978, end 4584.758089 Chapter #0:6: start 4584.758089, end 5516.019689 Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(progressive), 720x576 [SAR 16:15 DAR 4:3], q=2-31, 25 fps, 25 tbr, 1k tbn, 1k tbc (default) Metadata: ENCODER : Lavc58.18.100 libx264 DURATION : 01:31:56.24000 Stream #0:1(deu): Audio: vorbis (oV[0][0] / 0x566F), 48000 Hz, stereo, fltp (default) Metadata: LANGUAGE-ISO639_2: deu LANGUAGE-SIMPLE : Deutsch LANGUAGE-DESCRIPTION: Deutsch ENCODER : Lavc58.18.100 libvorbis DURATION : 01:31:56.24100 Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help frame=137903 fps=879 q=-1.0 Lsize= 2027570kB time=01:31:56.12 bitrate=3011.1kbits/s speed=35.1x video:1952414kB audio:71785kB subtitle:0kB other streams:0kB global headers:4kB muxing overhead: 0.166525% $ ffprobe OUTPUT.mkv ffprobe version 4.3.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2007-2020 the FFmpeg developers built with gcc 8 (Debian 8.3.0-6) configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp
Re: [FFmpeg-user] Naming chapters in Matroska video
On Tue, Feb 16, 2021 at 10:51 PM Ulf Zibis wrote: > Hi, > > This is the meta data from my original video: > > ;FFMETADATA1 > SOURCE_TYPE=dvd > encoder=Lavf58.45.100 > [CHAPTER] > TIMEBASE=1/10 > START=0 > END=1091156 > [CHAPTER] > TIMEBASE=1/10 > START=1091156 > END=81922578 > [CHAPTER] > TIMEBASE=1/10 > START=81922578 > END=183936996 > [CHAPTER] > TIMEBASE=1/10 > START=183936996 > END=268949013 > [CHAPTER] > TIMEBASE=1/10 > START=268949013 > END=328957498 > [CHAPTER] > TIMEBASE=1/10 > START=328957498 > END=458475809 > [CHAPTER] > TIMEBASE=1/10 > START=458475809 > END=551601969 > > I've edited the file to (added chapter names): > > ;FFMETADATA1 > SOURCE_TYPE=dvd > encoder=Lavf58.45.100 > [CHAPTER] > TIMEBASE=1/10 > START=0 > END=1091156 > [CHAPTER] > TIMEBASE=1/10 > START=1091156 > END=81922578 > title=1 - Intro > [CHAPTER] > TIMEBASE=1/10 > START=81922578 > END=183936996 > title=2 - Restaurant > [CHAPTER] > TIMEBASE=1/10 > START=183936996 > END=268949013 > title=3 - At home > [.] > > After importing it to the video, with > > ffmpeg -i INPUT.mkv -i INPUT.meta -map_metadata 1 -c copy -movflags > +faststart OUTPUT.mkv > movflags +faststart for mkv does nothing. > > , ... I still don't see the named chapters. > > How to correctly add chapter names? > I used .ffmeta as extension for metadata and it worked fine. > > Here the ffprobe output: > > $ ffprobe OUTPUT.mkv > ffprobe version 4.3.1-static https://johnvansickle.com/ffmpeg/ Copyright > (c) 2007-2020 the FFmpeg developers >built with gcc 8 (Debian 8.3.0-6) >configuration: --enable-gpl --enable-version3 --enable-static > --disable-debug --disable-ffplay --disable-indev=sndio > --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r > --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom > --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype > --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb > --enable-libopenjpeg --enable-librubberband --enable-libsoxr > --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus > --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc > --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 > --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi > --enable-libzimg >libavutil 56. 51.100 / 56. 51.100 >libavcodec 58. 91.100 / 58. 91.100 >libavformat58. 45.100 / 58. 45.100 >libavdevice58. 10.100 / 58. 10.100 >libavfilter 7. 85.100 / 7. 85.100 >libswscale 5. 7.100 / 5. 7.100 >libswresample 3. 7.100 / 3. 7.100 >libpostproc55. 7.100 / 55. 7.100 > Input #0, matroska,webm, from 'OUTPUT.mkv': >Metadata: > SOURCE_TYPE : dvd > ENCODER : Lavf58.45.100 >Duration: 01:31:56.13, start: 0.00, bitrate: 3011 kb/s > Chapter #0:0: start 0.00, end 10.911556 > Chapter #0:1: start 10.911556, end 819.225778 > Chapter #0:2: start 819.225778, end 1839.369956 > Chapter #0:3: start 1839.369956, end 2689.490133 > Chapter #0:4: start 2689.490133, end 3289.574978 > Chapter #0:5: start 3289.574978, end 4584.758089 > Chapter #0:6: start 4584.758089, end 5516.019689 > Stream #0:0: Video: h264 (High), yuv420p(progressive), 720x576 [SAR > 16:15 DAR 4:3], 25 fps, 25 tbr, 1k tbn, 50 tbc (default) > Metadata: >ENCODER : Lavc58.18.100 libx264 >DURATION: 01:31:56.13000 > Stream #0:1(deu): Audio: vorbis, 48000 Hz, stereo, fltp (default) > Metadata: >LANGUAGE-ISO639_2: deu >LANGUAGE-SIMPLE : Deutsch >LANGUAGE-DESCRIPTION: Deutsch >ENCODER : Lavc58.18.100 libvorbis >DURATION: 01:31:56.13000 > > -Ulf > > ___ > 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".
[FFmpeg-user] Naming chapters in Matroska video
Hi, This is the meta data from my original video: ;FFMETADATA1 SOURCE_TYPE=dvd encoder=Lavf58.45.100 [CHAPTER] TIMEBASE=1/10 START=0 END=1091156 [CHAPTER] TIMEBASE=1/10 START=1091156 END=81922578 [CHAPTER] TIMEBASE=1/10 START=81922578 END=183936996 [CHAPTER] TIMEBASE=1/10 START=183936996 END=268949013 [CHAPTER] TIMEBASE=1/10 START=268949013 END=328957498 [CHAPTER] TIMEBASE=1/10 START=328957498 END=458475809 [CHAPTER] TIMEBASE=1/10 START=458475809 END=551601969 I've edited the file to (added chapter names): ;FFMETADATA1 SOURCE_TYPE=dvd encoder=Lavf58.45.100 [CHAPTER] TIMEBASE=1/10 START=0 END=1091156 [CHAPTER] TIMEBASE=1/10 START=1091156 END=81922578 title=1 - Intro [CHAPTER] TIMEBASE=1/10 START=81922578 END=183936996 title=2 - Restaurant [CHAPTER] TIMEBASE=1/10 START=183936996 END=268949013 title=3 - At home [.] After importing it to the video, with ffmpeg -i INPUT.mkv -i INPUT.meta -map_metadata 1 -c copy -movflags +faststart OUTPUT.mkv , ... I still don't see the named chapters. How to correctly add chapter names? Here the ffprobe output: $ ffprobe OUTPUT.mkv ffprobe version 4.3.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2007-2020 the FFmpeg developers built with gcc 8 (Debian 8.3.0-6) configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg libavutil 56. 51.100 / 56. 51.100 libavcodec 58. 91.100 / 58. 91.100 libavformat 58. 45.100 / 58. 45.100 libavdevice 58. 10.100 / 58. 10.100 libavfilter 7. 85.100 / 7. 85.100 libswscale 5. 7.100 / 5. 7.100 libswresample 3. 7.100 / 3. 7.100 libpostproc 55. 7.100 / 55. 7.100 Input #0, matroska,webm, from 'OUTPUT.mkv': Metadata: SOURCE_TYPE : dvd ENCODER : Lavf58.45.100 Duration: 01:31:56.13, start: 0.00, bitrate: 3011 kb/s Chapter #0:0: start 0.00, end 10.911556 Chapter #0:1: start 10.911556, end 819.225778 Chapter #0:2: start 819.225778, end 1839.369956 Chapter #0:3: start 1839.369956, end 2689.490133 Chapter #0:4: start 2689.490133, end 3289.574978 Chapter #0:5: start 3289.574978, end 4584.758089 Chapter #0:6: start 4584.758089, end 5516.019689 Stream #0:0: Video: h264 (High), yuv420p(progressive), 720x576 [SAR 16:15 DAR 4:3], 25 fps, 25 tbr, 1k tbn, 50 tbc (default) Metadata: ENCODER : Lavc58.18.100 libx264 DURATION : 01:31:56.13000 Stream #0:1(deu): Audio: vorbis, 48000 Hz, stereo, fltp (default) Metadata: LANGUAGE-ISO639_2: deu LANGUAGE-SIMPLE : Deutsch LANGUAGE-DESCRIPTION: Deutsch ENCODER : Lavc58.18.100 libvorbis DURATION : 01:31:56.13000 -Ulf ___ 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] Artifacts with mp4-Video
Am 16.02.21 um 22:21 schrieb Carl Eugen Hoyos: Am Di., 16. Feb. 2021 um 22:01 Uhr schrieb Ulf Zibis : So please can you have a look to the video, if there is something special with it? : http://www.jugkoeln.de/Videos/Kiosk%20Mozartstr.%20-%20Andreas.mp4 I believe it is very "special" but technically, there is nothing wrong with it afaict. Thanks for your review! -Ulf ___ 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] Artifacts with mp4-Video
Am Di., 16. Feb. 2021 um 22:01 Uhr schrieb Ulf Zibis : > So please can you have a look to the video, if there is something special > with it? : > http://www.jugkoeln.de/Videos/Kiosk%20Mozartstr.%20-%20Andreas.mp4 I believe it is very "special" but technically, there is nothing wrong with it afaict. 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] converting raw stills to "raw" video
On Tue, Feb 16, 2021 at 9:28 PM Michael Koch wrote: > Am 16.02.2021 um 11:52 schrieb shawny: > > I am trying to find out if it is possible using ffmpeg to convert raw > stills > > into "raw" or log video in order to be gradable as video. This is to > > incorporate timelapse photography into my video projects. I know this > can > > be done using Adobe After Effects but I am trying to find a post path > that > > uses Linux and open source software. > > Has anyone done this or is anyone able to tell me one way or another > whether > > it is currently possible with ffmpeg? > > A possible path with open source software is to use "Gimp" with > "Darktable" plugin to convert the raw images to 16-bit PNG. Then you can > use FFmpeg to combine these images to a video. > Stop spreading lies. > > Michael > > ___ > 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] converting raw stills to "raw" video
Am 16.02.2021 um 11:52 schrieb shawny: I am trying to find out if it is possible using ffmpeg to convert raw stills into "raw" or log video in order to be gradable as video. This is to incorporate timelapse photography into my video projects. I know this can be done using Adobe After Effects but I am trying to find a post path that uses Linux and open source software. Has anyone done this or is anyone able to tell me one way or another whether it is currently possible with ffmpeg? A possible path with open source software is to use "Gimp" with "Darktable" plugin to convert the raw images to 16-bit PNG. Then you can use FFmpeg to combine these images to a video. Michael ___ 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] Problem with get rtsp streaming in UDP from private network
Hey there, I have a problem with get streaming from wowza stream engine as described below: I try to get streaming in private network from wowza stream engine in UDP with ffmpeg as following: ffmpeg -loglevel debug -rtsp_transport udp -i "rtsp:// 192.168.8.117:1935/live/ecad838c-b431-4c8b-b2e8-d43f78a8d2f2.stream" -acodec copy -vcodec copy test.mp4 and i get the following error: rtsp://192.168.8.117:1935/live/ecad838c-b431-4c8b-b2e8-d43f78a8d2f2.stream: Connection timed out Few remarks about that: 1. When i try to get streaming using public ip with ffmpeg utility i success in UDP and TCP 2. I success to get streaming with private IP with TCP connection through ffmpeg utility as following: ffmpeg -loglevel debug -rtsp_transport tcp -i "rtsp:// 192.168.8.117:1935/live/ecad838c-b431-4c8b-b2e8-d43f78a8d2f2.stream" -acodec copy -vcodec copy test.mp4 3. I open 1935 UDP and TCP ports in security group of wowza stream engine for machines that will need to get streaming from wowza stream engine. Also, i opened UDP in 6970- range for any ip address. 4. I added relevant IP address in Whitelist property in Server.xml conf in wowza stream engine. 5. I using vpn service (perimeter) to access the machine that from it i get streaming from wowza streaming engine. 6. iptables in machine that i try to get stream allow any rule and not enabled any firewall. ___ 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] Problem with get rtsp streaming in UDP from private network
Hey there, I have a problem with get streaming from wowza stream engine as described below: I try to get streaming in private network from wowza stream engine in UDP with ffmpeg as following: ffmpeg -loglevel debug -rtsp_transport udp -i "rtsp:// 192.168.8.117:1935/live/ecad838c-b431-4c8b-b2e8-d43f78a8d2f2.stream" -acodec copy -vcodec copy test.mp4 and i get the following error: rtsp://192.168.8.117:1935/live/ecad838c-b431-4c8b-b2e8-d43f78a8d2f2.stream: Connection timed out Few remarks about that: 1. When i try to get streaming using public ip with ffmpeg utility i success in UDP and TCP 2. I success to get streaming with private IP with TCP connection through ffmpeg utility as following: ffmpeg -loglevel debug -rtsp_transport tcp -i "rtsp:// 192.168.8.117:1935/live/ecad838c-b431-4c8b-b2e8-d43f78a8d2f2.stream" -acodec copy -vcodec copy test.mp4 3. I open 1935 UDP and TCP ports in security group of wowza stream engine for machines that will need to get streaming from wowza stream engine. Also, i opened UDP in 6970- range for any ip address. 4. I added relevant IP address in Whitelist property in Server.xml conf in wowza stream engine. 5. I using vpn service (perimeter) to access the machine that from it i get streaming from wowza streaming engine. 6. iptables in machine that i try to get stream allow any rule and not enabled any firewall. ___ 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] converting raw stills to "raw" video
On Tue 16 Feb 2021 at 10:52, shawny wrote: > I am trying to find out if it is possible using ffmpeg to convert raw > stills > into "raw" or log video in order to be gradable as video. This is to > incorporate timelapse photography into my video projects. I know this can > be done using Adobe After Effects but I am trying to find a post path that > uses Linux and open source software. What format are your raw stills? They may have to be converted via something like graphicsmagick/dcraw. Also what output format are you looking for? Raw and log is a bit vague in terms of ffmpeg encoding options. Generally, ffmpeg is really good at turning image sequences that it can decode into video files of many formats. Best, Kieran ___ 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] Trying to stream to rtmp from my rsp4 and a GoPro
* Mark Filipak (ffmpeg) on Monday, February 15, 2021 at 21:02:33 -0500: On 02/15/2021 06:29 PM, Mike Soultanian wrote: -bigsnip- You can - easily - let the audio stream start with 0 but the problem is that the result will not play in-sync, see the setps documentation. What is 'setps'? A filter, a protocol, a muxer, what? A typo for 'setpts'. I've searched through all the docs and can't find it. Because the typo is not in the docs ;-) https://ffmpeg.org/ffmpeg-filters.html#setpts_002c-asetpts -- LAST SHIP HOME Winner of the German Ocean Film Award 2019 --->> https://lastshiphome.de ___ 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] converting raw stills to "raw" video
I am trying to find out if it is possible using ffmpeg to convert raw stills into "raw" or log video in order to be gradable as video. This is to incorporate timelapse photography into my video projects. I know this can be done using Adobe After Effects but I am trying to find a post path that uses Linux and open source software. Has anyone done this or is anyone able to tell me one way or another whether it is currently possible with ffmpeg? -- Sent from: http://ffmpeg-users.933282.n4.nabble.com/ ___ 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] Unable to sync audio and video
Livio Tenze (12021-02-16): > At the moment I have only one thread (the main one, as in doc/examples). > The process I implemented is the following: > 0) Initialize PTS output frame (one PTS for video and another for audio) > 1) check PTS difference between PTS video and audio > 2) if ptsvideo>ptsaudio then decode one video frame, and encode it in the > output stream > otherwise decode audio frame, and it in the output stream. > 3) go to point 1 That should work, provided you checked that your timestamps relate to the same origin. If some timestamps relate to the system boot and some to 1970-01-01, you will get a desync. Plus, if the capture did not start at the same time, you will get extra frames at the beginning of a stream, and it is possible that some players will not catch up or catch up slowly. It would probably be more reliable to discard frames captured before the first frame of the other stream. > > Do the timestamps between audio and video match before encoding? > Yes, please check above. I use two PTS values: one for audio and one for > video. The PTS from the input stream differ from the ones of the output > stream. I check the distance between the first packet.pts and the current: > here I saw that strange behaviour where the audio elapsed time is very high > with respect to the video input stream. All you talk here is timestamps consistency within each stream. I was asking about timestamps consistency between the streams. > Do you think that this behaviour is due to missing multithread? I found the Yes. Without parallelism for the capture, the codec initialization could take so much time as to cause a buffer overrun in one of the capture drivers. > above flowchart in doc/examples where no threads are used. It is entirely possible this flowchart is not up to date or chose to gloss over implementations details that are not deemed relevant for the information expressed. The command line tool ffmpeg uses threads for inputs as soon as there are more than one. Regards, -- Nicolas George signature.asc Description: PGP signature ___ 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] Unable to sync audio and video
Thank you for your answer. On Mon, Feb 15, 2021 at 7:13 PM Nicolas George wrote: > Livio Tenze (12021-02-15): > > -The audio source comes from alsa: here I see really strange behaviour. > The > > pts value of the second packet with respect to the first pts packet seems > > to be "delayed" from 0.4s to 1.8s. I don't understand this behaviour: I > > checked the time from start to the second packet and the elapsed time > > cannot be justified (ms and not s). > > Can you observe the same phenomenon using ffprobe? > > ffprobe -f alsa -i default -show_packets -of compact | head -n 50 | less -S > > would be a good way to look. > > Do you observe warnings on the console? > Ok, I will check. > > How does your application handle parallelism between encoding and > reading from devices? > At the moment I have only one thread (the main one, as in doc/examples). The process I implemented is the following: 0) Initialize PTS output frame (one PTS for video and another for audio) 1) check PTS difference between PTS video and audio 2) if ptsvideo>ptsaudio then decode one video frame, and encode it in the output stream otherwise decode audio frame, and it in the output stream. 3) go to point 1 This is a chunk of my code. AVRational video_timebase = out_video_stream->time_base; AVRational audio_timebase = out_audio_stream->time_base; if (av_compare_ts(audio_pts, audio_timebase, video_pts, video_timebase) < 0) { if (decodeAudio(picture)) encode_audio(picture, audio_pts, out_audio_stream); } else { // https://stackoverflow.com/questions/49280566/ffmpeg-c-convert-compress-a-single-image-out-of-buffer // https://stackoverflow.com/questions/49446335/ffmpeg-h264-encode-each-single-image if (decodeVideo(picture, (picture2) ? : NULL)) encode_video(picture, picture2, video_pts, out_video_stream); } > > -Finally, when I write audio and video in the output MP4 stream (I use > > libx264 and libfdk_aac for video and audio respectively) the audio stream > > is delayed. > > Do the timestamps between audio and video match before encoding? > Yes, please check above. I use two PTS values: one for audio and one for video. The PTS from the input stream differ from the ones of the output stream. I check the distance between the first packet.pts and the current: here I saw that strange behaviour where the audio elapsed time is very high with respect to the video input stream. Do you think that this behaviour is due to missing multithread? I found the above flowchart in doc/examples where no threads are used. > > Regards, > > -- > Nicolas George > Many thanks for your help. Livius > ___ > 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".