Re: [FFmpeg-user] Preserving 'udta' atom when using -movflags +faststart

2018-05-01 Thread Julian Cooper
Thank you for the response Carl! It unblocked me and I learned something new. On Tue, 1 May 2018 at 13:50 Carl Eugen Hoyos wrote: > 2018-05-01 22:35 GMT+02:00, Julian Cooper : > > > I'm using the ffmpeg CLI to pre-process AVC and HEVC MP4s. Part of that > > pre-processing involves moving the 'mo

Re: [FFmpeg-user] How to properly record sound when capturing web cam?

2018-05-01 Thread Jean Louis
On Tue, May 01, 2018 at 07:23:09PM +0200, Erik Dobberkau wrote: > > I have tried this one: > > > > ffmpeg -y -f v4l2 -thread_queue_size 800 -video_size 800x448 -i > > /dev/video0 -f alsa -thread_queue_size 1 -ac 1 -ar 14400 -i default > > -q:v 5 output.webm; mplayer output.webm; ls -l output.w

Re: [FFmpeg-user] Adding an audio track to a video using ffmpeg 4.0

2018-05-01 Thread Carl Eugen Hoyos
2018-04-28 11:09 GMT+02:00, Shlomi Fish : > Input #1, ogg, from 'pysolfc-bhs.ogv': > Duration: 00:01:25.02, bitrate: 1606 kb/s Feel free to provide this input file, I don't know why it has no start time. Carl Eugen ___ ffmpeg-user mailing list ffmpeg

[FFmpeg-user] Adding an audio track to a video using ffmpeg 4.0

2018-05-01 Thread Shlomi Fish
Hi all! Using r.sh in this repo - https://github.com/shlomif/pysolfc-black-hole-solver--screencast , I am getting this output: http://www.shlomifish.org/Files/files/text/f.txt and a zero-timed file. A different command worked in the past here: https://bitbucket.org/shlomif/pysolfc-qualified-seed-i

[FFmpeg-user] FFmpeg 4.0 "Wu" hangups on HLS live streams ...

2018-05-01 Thread David Brown
I occasionally use youtube-dl (FFmpeg) to download HLS live streams, and have recently updated to FFmpeg 4.0 "Wu" only to find out that youtube-dl (FFmpeg) hangups on HLS live streams. The following outputs are from FFmpeg 4.0 "Wu" and FFmpeg 3.4.2 "Cantor" respectively. The program appears to

[FFmpeg-user] ffprobe decoding and posting stream attributes

2018-05-01 Thread Alvaro Jimenez
Hi all, I need to have ffprobe, ffplay, or ffmpeg to decode the stream itself and print the stream attributes without pulling the information from embedded metadata. I have streams sources with the wrong metadata. ffprobe shows data that diverges by a good percentage from what is reported by the

Re: [FFmpeg-user] Preserving 'udta' atom when using -movflags +faststart

2018-05-01 Thread Carl Eugen Hoyos
2018-05-01 22:35 GMT+02:00, Julian Cooper : > I'm using the ffmpeg CLI to pre-process AVC and HEVC MP4s. Part of that > pre-processing involves moving the 'moov' atom to the head of the MP4. The > 'moov' atom contains a 'udta' with metadata I would like to preserve. The > 'moov/udta' atom is being

[FFmpeg-user] Preserving 'udta' atom when using -movflags +faststart

2018-05-01 Thread Julian Cooper
Hi, I'm using the ffmpeg CLI to pre-process AVC and HEVC MP4s. Part of that pre-processing involves moving the 'moov' atom to the head of the MP4. The 'moov' atom contains a 'udta' with metadata I would like to preserve. The 'moov/udta' atom is being dropped when calling: ffmpeg -i source.mp4 -c

Re: [FFmpeg-user] How can I determine behavior of the -to command?

2018-05-01 Thread Grant Curtis
Does nobody know? Is more information needed? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to properly record sound when capturing web cam?

2018-05-01 Thread Erik Dobberkau
> I have tried this one: > > ffmpeg -y -f v4l2 -thread_queue_size 800 -video_size 800x448 -i > /dev/video0 -f alsa -thread_queue_size 1 -ac 1 -ar 14400 -i default > -q:v 5 output.webm; mplayer output.webm; ls -l output.webm > > This might not have the least to do with all of this, I just want

Re: [FFmpeg-user] How to properly record sound when capturing web cam?

2018-05-01 Thread Jean Louis
On Tue, May 01, 2018 at 06:14:15PM +0200, Carl Eugen Hoyos wrote: > 2018-05-01 18:04 GMT+02:00, Jean Louis : > > > [video4linux2,v4l2 @ 0x2590a40] Detected monotonic timestamps, converting > > Input #0, video4linux2,v4l2, from '/dev/video0': > > Duration: N/A, start: 1525190574.860860 > > > Inp

Re: [FFmpeg-user] How to properly record sound when capturing web cam?

2018-05-01 Thread Carl Eugen Hoyos
2018-05-01 18:04 GMT+02:00, Jean Louis : > [video4linux2,v4l2 @ 0x2590a40] Detected monotonic timestamps, converting > Input #0, video4linux2,v4l2, from '/dev/video0': > Duration: N/A, start: 1525190574.860860 > Input #1, alsa, from 'default': > Duration: N/A, start: 1525190574.924269 This i

Re: [FFmpeg-user] How to properly record sound when capturing web cam?

2018-05-01 Thread Gyan Doshi
On 5/1/2018 9:28 PM, Carl Eugen Hoyos wrote: I don't know if this makes a difference but you can try to swap inputs: $ ffmpeg -f alsa -i default -video_size 320x240 -i /dev/video0 -thread_queue_size 800 -qscale 4 out.mp4 thread_queue_size is an input option and applied per file. { "t

Re: [FFmpeg-user] How to properly record sound when capturing web cam?

2018-05-01 Thread Jean Louis
On Tue, May 01, 2018 at 06:01:44PM +0200, Carl Eugen Hoyos wrote: > 2018-05-01 13:52 GMT+02:00, Jean Louis : > > > Input #0, video4linux2,v4l2, from '/dev/video0': > > Duration: N/A, start: 453144.187672 > > > Input #1, alsa, from 'default': > > Duration: N/A, start: 1525175436.738077 > > So

Re: [FFmpeg-user] How to properly record sound when capturing web cam?

2018-05-01 Thread Carl Eugen Hoyos
2018-05-01 13:52 GMT+02:00, Jean Louis : > Input #0, video4linux2,v4l2, from '/dev/video0': > Duration: N/A, start: 453144.187672 > Input #1, alsa, from 'default': > Duration: N/A, start: 1525175436.738077 Sorry, I missed this. A/V sync is impossible with these start times. Try the v4l2 time

Re: [FFmpeg-user] How to properly record sound when capturing web cam?

2018-05-01 Thread Jean Louis
On Tue, May 01, 2018 at 05:58:46PM +0200, Carl Eugen Hoyos wrote: > 2018-05-01 13:52 GMT+02:00, Jean Louis : > > > admin-> ffmpeg -y -f v4l2 -video_size 320x240 -i /dev/video0 > > -thread_queue_size 800 -f alsa -i default -q:v 4 output.mp4 > > I don't know if this makes a difference but you can t

Re: [FFmpeg-user] How to properly record sound when capturing web cam?

2018-05-01 Thread Carl Eugen Hoyos
2018-05-01 13:52 GMT+02:00, Jean Louis : > admin-> ffmpeg -y -f v4l2 -video_size 320x240 -i /dev/video0 > -thread_queue_size 800 -f alsa -i default -q:v 4 output.mp4 I don't know if this makes a difference but you can try to swap inputs: $ ffmpeg -f alsa -i default -video_size 320x240 -i /dev/vi

Re: [FFmpeg-user] How to properly record sound when capturing web cam?

2018-05-01 Thread Jean Louis
On Tue, May 01, 2018 at 01:41:44PM +0200, Carl Eugen Hoyos wrote: > 2018-05-01 13:10 GMT+02:00, Jean Louis : > > > admin-> ffmpeg -f v4l2 -video_size 320x240 -vsync 1 -i /dev/video0 > > -thread_queue_size 1024 -f alsa -i pulse output.mp4 > > Where I live, I am probably required to tell you that r

Re: [FFmpeg-user] How to properly record sound when capturing web cam?

2018-05-01 Thread Carl Eugen Hoyos
2018-05-01 13:10 GMT+02:00, Jean Louis : > admin-> ffmpeg -f v4l2 -video_size 320x240 -vsync 1 -i /dev/video0 > -thread_queue_size 1024 -f alsa -i pulse output.mp4 Where I live, I am probably required to tell you that running ffmpeg as root is not a good idea. (This is to the best of my knowledge

Re: [FFmpeg-user] How to properly record sound when capturing web cam?

2018-05-01 Thread Jean Louis
On Tue, May 01, 2018 at 01:04:18PM +0200, Carl Eugen Hoyos wrote: > 2018-05-01 12:54 GMT+02:00, Jean Louis : > > > The command that works well is following one: > > > > ffmpeg -f v4l2 -video_size 640x480 -i /dev/video0 > > -thread_queue_size 1024 -f alsa -i pulse -bufsize 256k > > output.ogv > > >

Re: [FFmpeg-user] How to properly record sound when capturing web cam?

2018-05-01 Thread Carl Eugen Hoyos
2018-05-01 12:54 GMT+02:00, Jean Louis : > The command that works well is following one: > > ffmpeg -f v4l2 -video_size 640x480 -i /dev/video0 > -thread_queue_size 1024 -f alsa -i pulse -bufsize 256k > output.ogv > > however, if I change the format, and use it like: > > ffmpeg -f v4l2 -video_size

[FFmpeg-user] How to properly record sound when capturing web cam?

2018-05-01 Thread Jean Louis
Hello, I would like to know how to properly record sound when capturing video camera. The command that works well is following one: ffmpeg -f v4l2 -video_size 640x480 -i /dev/video0 -thread_queue_size 1024 -f alsa -i pulse -bufsize 256k output.ogv however, if I change the format, and use it li