Re: [FFmpeg-user] How to use ffmpeg in batch mode?

2019-10-21 Thread Michael Koch
Am 20.10.2019 um 23:56 schrieb arthur brogard via ffmpeg-user: I have been trying to convert a bunch of mkv files to mp4 using ffmpeg in batch mode via a .bat file but I can't get it right. I've followed a number of suggested commands from various hits I've got on google but none of them work.

Re: [FFmpeg-user] A command for splitting a video file by file size

2019-10-21 Thread Julien Dotsev
Ok. Thank you Moritz. On Mon, 21 Oct 2019, 09:48 Moritz Barsnick, wrote: > On Mon, Oct 21, 2019 at 00:51:24 +0200, Julien Dotsev wrote: > > What is dd? > > dd is a command line tool. (Also available for other OSs than Unix.) > > To take up your example: > > $ dd if=inputfile.ext bs=1M skip=4

Re: [FFmpeg-user] A command for splitting a video file by file size

2019-10-21 Thread Moritz Barsnick
On Mon, Oct 21, 2019 at 00:51:24 +0200, Julien Dotsev wrote: > What is dd? dd is a command line tool. (Also available for other OSs than Unix.) To take up your example: $ dd if=inputfile.ext bs=1M skip=4 of=outputfile.ext But if you're doing this with a video file, the result can be

Re: [FFmpeg-user] How to use ffmpeg in batch mode?

2019-10-21 Thread Goran Obal
Hi. If you are only changing the container and don't want to transcode the contents, be sure to add -c copy in the ffmpeg line of the example (haven't tested it but it seems fine), so it looks like this: ffmpeg -i %IN% -y -c copy %OUT% Br. On Mon, Oct 21, 2019 at 9:14 AM Michael Koch wrote: >

Re: [FFmpeg-user] Split a video file in two by size and merge itback

2019-10-21 Thread Julien Dotsev
Yes thanks again Moritz. I will do that next time. Julien On Mon, 21 Oct 2019, 10:01 Moritz Barsnick, wrote: > On Sun, Oct 20, 2019 at 23:40:20 +0200, Julien Dotsev wrote: > > Yes, the ts file works exactly as you said. It can be split and every > part > > is readable. But As I said I want to

Re: [FFmpeg-user] How to use ffmpeg in batch mode?

2019-10-21 Thread arthur brogard via ffmpeg-user
Thank you for that. It worked perfectly.  And thank you for the book - it looks like there's realms of good stuff in it.  Looks like a text book to me..  probably won't be able to read it but will have to dip in and out of it to find things when I need them. Congratulations on it... wish I'd

Re: [FFmpeg-user] Split a video file in two by size and merge itback

2019-10-21 Thread Moritz Barsnick
On Sun, Oct 20, 2019 at 23:40:20 +0200, Julien Dotsev wrote: > Yes, the ts file works exactly as you said. It can be split and every part > is readable. But As I said I want to be able to keep the original file. So > if it is mp4 for example and I converted to mpeg-ts, when I reconvert it > back

Re: [FFmpeg-user] How to use ffmpeg in batch mode?

2019-10-21 Thread Goran Obal
Michael, you could use this: %~ni <- this means the filename without the extension, so instead of renaming, just use: ffmpeg -i %1 -y %~n1 or ffmpeg -i %1 -y -c copy %~n1 On Mon, Oct 21, 2019 at 10:28 AM Michael Koch wrote: > > > > > set OUT=%IN:mkv=mp4% > > please note that this renaming will

Re: [FFmpeg-user] How to use ffmpeg in batch mode?

2019-10-21 Thread Goran Obal
Silly me, it's the other way around (mkv to mp4)... ffmpeg -i %1 -y %~n1.mp4 or ffmpeg -i %1 -y -c copy %~n1.mp4 On Mon, Oct 21, 2019 at 10:34 AM Goran Obal wrote: > Sorry, forgot the extensions for output. ;) > ffmpeg -i %1 -y %~n1.mkv > or > ffmpeg -i %1 -y -c copy %~n1.mkv > > On Mon, Oct

Re: [FFmpeg-user] How to use ffmpeg in batch mode?

2019-10-21 Thread Phil Rhodes via ffmpeg-user
Personally I tend to do this sort of thing with JScript on Windows. It's not the loveliest interpreter, but then at least you have something approaching a real programming language to do all your string manipulation! P On Monday, 21 October 2019, 09:45:12 BST, Goran Obal wrote: Silly

[FFmpeg-user] FFmpeg: Video gets corrupted.

2019-10-21 Thread Ranga Rajan
Hello, Any suggestion will be a great help for the below detailed problem: I am using ffmpeg to record an ip camera stream. The camera produces variable frame rate stream. I am using an SDP file to capture the stream, and save it in files containing data of of 5 mins. OS used is centOS 6.6

[FFmpeg-user] how to convert amf timed metadata in flv into id3 timed metadata in mpegts

2019-10-21 Thread qw
Hi, As I know, flv supports amf metadata, while mpegts supports id3 timed metadata. How can I convert amf timed metadata into id3 timed metadata? And how to convert id3 timed metadata into amf timed metadata? Thanks! Regards Andrew ___

Re: [FFmpeg-user] 453 Not Enough Bandwidth Error when streaming from IP camera

2019-10-21 Thread Michael Shaffer
Ok thanks, I didn't realize that was coming from the camera. On Sun, Oct 20, 2019 at 7:09 PM Carl Eugen Hoyos wrote: > Am Mo., 21. Okt. 2019 um 01:03 Uhr schrieb Michael Shaffer > : > > > > I have a Sanyo IP camera that I'm streaming to Youtube via rtsp and > ffmpeg. > > The camera is supposed

Re: [FFmpeg-user] File metadata in m4a causing player problem?

2019-10-21 Thread Moritz Barsnick
Hi Budgie, On Sun, Oct 20, 2019 at 09:56:40 +0100, Budge wrote: > I have a set of m4a audio files which I can play but on which the > progress bar does not work. If I select anywhere along the progress bar > playing starts again from the beginning. In which players does seeking not work? In all

Re: [FFmpeg-user] How to use ffmpeg in batch mode?

2019-10-21 Thread Michael Koch
set OUT=%IN:mkv=mp4% please note that this renaming will give unexpected results if "mkv" is also part of the filename, for example aamkv.mkv will be renamed to aamp4.mp4 If someone knows a solution to this problem, please let us know. Michael

[FFmpeg-user] Live streaming from ffmpeg: what server to use?

2019-10-21 Thread Nathan Sinclair
Hello, Simple question. I've found out that ffserver is no longer maintained. As far as the project goes, tentatively need these requirements. 1. streaming 2 video cameras simultaneously - both of which are usb cameras. 2. 1280x720 30fps video 3. Able to be run on Pi4 with 2GB of memory.

Re: [FFmpeg-user] error compiling ffmpeg ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec

2019-10-21 Thread Moritz Barsnick
On Mon, Oct 21, 2019 at 16:42:16 -0500, pasha-19 wrote: > $ pkg-config --list-all > ... > ffnvcodec ffnvcodec - FFmpeg version of Nvidia Codec SDK headers [...] > ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec That's peculiar, because config.log says ffnvcodec was

Re: [FFmpeg-user] Live streaming from ffmpeg: what server to use?

2019-10-21 Thread Dennis Mungai
On Tue, 22 Oct 2019 at 01:05, Dennis Mungai wrote: > > On Tue, 22 Oct 2019 at 00:50, Nathan Sinclair > wrote: > > > > Hello, > > > > Simple question. I've found out that ffserver is no longer maintained. As > > far as the project goes, tentatively need these requirements. > > > > 1. streaming 2

Re: [FFmpeg-user] how to send metadata in mpegts via ffmpeg

2019-10-21 Thread Ted Park
> On Oct 19, 2019, at 8:39 AM, qw wrote: > > mpeg2 ts supports metadata and private data. How to send some metadata in > mpeg2 ts periodically at some fixed interval via ffmpeg? Are you talking about timed id3 metadata? >>> >>> In ISO/IEC 13818-1, 2.12 carriage of

Re: [FFmpeg-user] Live streaming from ffmpeg: what server to use?

2019-10-21 Thread Dennis Mungai
On Tue, 22 Oct 2019 at 00:50, Nathan Sinclair wrote: > > Hello, > > Simple question. I've found out that ffserver is no longer maintained. As > far as the project goes, tentatively need these requirements. > > 1. streaming 2 video cameras simultaneously - both of which are usb cameras. > 2.

Re: [FFmpeg-user] error compiling ffmpeg ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec

2019-10-21 Thread pasha-19
Additional information -- I learned to use pkg-config --list-all note the results below ffnvcodec was found. using MSYS2 mingw 64-bit I generated the following: $ cd /d/dev/cpp $ PREFIX="ffmpeg" $ PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" $ pkg-config --list-all ... ffnvcodec

Re: [FFmpeg-user] error compiling ffmpeg ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec

2019-10-21 Thread pasha-19
Tried the pkg-config before and after the configure. The pkg-config found ffnvcodec both before and after however it still is reported as not found in the configure process. $ cd /d/dev/cpp $ PREFIX="ffmpeg" $ PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" $ pkg-config --list-all ... ffnvcodec

Re: [FFmpeg-user] how to send metadata in mpegts via ffmpeg

2019-10-21 Thread qw
>Uh. Not sure how you know you want to transport data “similar to timed id3 >metadata” when you don’t know what it is, it would help if you could tell us >what kind of metadata you’re looking to include… > >Timed ID3 tags are only used in HLS (I think, don’t quote me on that). They’re

Re: [FFmpeg-user] error compiling ffmpeg ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec

2019-10-21 Thread pasha-19
That fixed the error you found but not the error I reported. Thanks for solving a problem I had not yet identified. -- Sent from: http://www.ffmpeg-archive.org/ ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

[FFmpeg-user] A query on A53 Closed captions (CC) implementation status in the hevc_nvenc encoder

2019-10-21 Thread Dennis Mungai
Hello there, Has A53 Closed Captions support been implemented in the hevc_nvenc encoder, at the present? I see a -a53cc option emitted by ffmpeg -h encoder=h264_nvenc but omitted in hevc_nvenc. Warm regards, Dennis. ___ ffmpeg-user mailing list