Re: [FFmpeg-user] Capture from USB Dazzle: *** dropping frames

2015-08-02 Thread Carl Eugen Hoyos
MrNice wxcvbn2006 at iol.ie writes:

 I had to add -ts to sync audio and video.

Are they in sync?
(This is the most important question.)

 I tried with -ts abs and -ts mono2abs. I have 
 read the documentation but a bit hard to understand.
 Both are working but what is the difference, which 
 one do you advice?

I cannot answer, sorry.

 Input #0, pulse, from 'alsa_input.pci-_00_14.2.analog-stereo':
   Duration: N/A, start: 1438446921.636832, bitrate: 1411 kb/s

 Input #1, video4linux2,v4l2, from '/dev/video0':
   Duration: N/A, start: 1438446922.767573, bitrate: 165888 kb/s

This looks ok to me.

When looking at the output, do you think that 
frames are dropped?
(You cut the console output, so I cannot know.)

Carl Eugen

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] ffmpeg and multiple outputs

2015-08-02 Thread Carl Eugen Hoyos
Ricardo Kleemann ricardo at americasnet.com writes:

 I know I can do more than one output but is it 
 possible to use ffplay in conjunction with that?
 
 I believe it’s possible to pipe ffmpeg output to 
 ffplay, but what about doing ffplay as well as 
 streaming?

ffmpeg (the application) allows to display without 
using ffplay.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Convert .256 to avi with audio

2015-08-02 Thread André Luís Duarte
Hi Carl, thanks for the feedback. Excuse my ignorance but can I affirm 
that ffmpeg will not convert this video with audio? For now!


On 01-08-2015 17:21, Carl Eugen Hoyos wrote:

Carl Eugen Hoyos cehoyos at ag.or.at writes:


André Luís Duarte writes:


- https://www.dropbox.com/s/qgyulo8mbnqkwub/Video1.264

I am not convinced that the file contains any audio.
Could you confirm again that the binary player plays
audio for this file?

I found the audio frames (168 bytes) at the end of each
video frame and opened ticket #4748.

Thank you for the sample, Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Capture from USB Dazzle: *** dropping frames

2015-08-02 Thread MrNice
On 02/08/15 18:12, Carl Eugen Hoyos wrote:
 MrNice wxcvbn2006 at iol.ie writes:
 
 I had to add -ts to sync audio and video.
 
 Are they in sync?
 (This is the most important question.)
 
 I tried with -ts abs and -ts mono2abs. I have 
 read the documentation but a bit hard to understand.
 Both are working but what is the difference, which 
 one do you advice?
 
 I cannot answer, sorry.
 
 Input #0, pulse, from 'alsa_input.pci-_00_14.2.analog-stereo':
   Duration: N/A, start: 1438446921.636832, bitrate: 1411 kb/s
 
 Input #1, video4linux2,v4l2, from '/dev/video0':
   Duration: N/A, start: 1438446922.767573, bitrate: 165888 kb/s
 
 This looks ok to me.
 
 When looking at the output, do you think that 
 frames are dropped?
 (You cut the console output, so I cannot know.)
 
 Carl Eugen
 

Thanks Carl,

Yes audio and video are sync, this is OK.

I can answer 1 of my questions:
Cliping frame in rate conversion by
doesn't mean the frame is dropped.
I can see that at the end of the output
See bellow
My question is what does this sentence mean?
As the text is green, I'd say this is not very important and should not
remove quality.


./ffmpeg -debug 1 -f pulse -ar 44100 -ac 2 -channel_layout stereo
-thread_queue_size 512 -i alsa_input.pci-_00_14.2.analog-stereo -f
v4l2 -ts mono2abs -channel 1 -video_size 720x576 -pix_fmt yuyv422
-thread_queue_size 512 -i /dev/video0 -c:v ffv1 -level 3 -pix_fmt
yuv422p -c:a pcm_s16le /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv
ffmpeg version N-73832-g736a386 Copyright (c) 2000-2015 the FFmpeg
developers
  built with gcc 5.1.1 (GCC) 20150618 (Red Hat 5.1.1-4)
  configuration: --enable-libpulse --enable-gpl --enable-libx264
  libavutil  54. 28.100 / 54. 28.100
  libavcodec 56. 49.101 / 56. 49.101
  libavformat56. 40.101 / 56. 40.101
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5. 25.100 /  5. 25.100
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc53.  3.100 / 53.  3.100
 matched as AVOption 'debug' with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with
argument 'pulse'.
Reading option '-ar' ... matched as option 'ar' (set audio sampling rate
(in Hz)) with argument '44100'.
Reading option '-ac' ... matched as option 'ac' (set number of audio
channels) with argument '2'.
Reading option '-channel_layout' ... matched as option 'channel_layout'
(set channel layout) with argument 'stereo'.
Reading option '-thread_queue_size' ... matched as option
'thread_queue_size' (set the maximum number of queued packets from the
demuxer) with argument '512'.
Reading option '-i' ... matched as input file with argument
'alsa_input.pci-_00_14.2.analog-stereo'.
Reading option '-f' ... matched as option 'f' (force format) with
argument 'v4l2'.
Reading option '-ts' ... matched as AVOption 'ts' with argument 'mono2abs'.
Reading option '-channel' ... matched as AVOption 'channel' with
argument '1'.
Reading option '-video_size' ... matched as AVOption 'video_size' with
argument '720x576'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel
format) with argument 'yuyv422'.
Reading option '-thread_queue_size' ... matched as option
'thread_queue_size' (set the maximum number of queued packets from the
demuxer) with argument '512'.
Reading option '-i' ... matched as input file with argument '/dev/video0'.
Reading option '-c:v' ... matched as option 'c' (codec name) with
argument 'ffv1'.
Reading option '-level' ... matched as AVOption 'level' with argument '3'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel
format) with argument 'yuv422p'.
Reading option '-c:a' ... matched as option 'c' (codec name) with
argument 'pcm_s16le'.
Reading option '/Store3/Test/t_20150802_0950.mkv' ... matched as output
file.
Finished splitting the commandline.
Parsing a group of options: global .
Successfully parsed a group of options.
Parsing a group of options: input file
alsa_input.pci-_00_14.2.analog-stereo.
Applying option f (force format) with argument pulse.
Applying option ar (set audio sampling rate (in Hz)) with argument 44100.
Applying option ac (set number of audio channels) with argument 2.
Applying option channel_layout (set channel layout) with argument stereo.
Applying option thread_queue_size (set the maximum number of queued
packets from the demuxer) with argument 512.
Successfully parsed a group of options.
Opening an input file: alsa_input.pci-_00_14.2.analog-stereo.
[pulse @ 0x1db7dc0] All info found
Input #0, pulse, from 'alsa_input.pci-_00_14.2.analog-stereo':
  Duration: N/A, start: 1438505432.112968, bitrate: 1411 kb/s
Stream #0:0, 1, 1/100: Audio: pcm_s16le, 44100 Hz, stereo, s16,
1411 kb/s
Successfully opened the file.
Parsing a group of options: input file /dev/video0.
Applying option f (force format) with argument v4l2.
Applying option pix_fmt (set pixel format) with argument yuyv422.
Applying option thread_queue_size (set the maximum 

Re: [FFmpeg-user] ffmpeg and multiple outputs

2015-08-02 Thread Dave Rice

 On Aug 2, 2015, at 1:08 PM, Carl Eugen Hoyos ceho...@ag.or.at wrote:
 
 Ricardo Kleemann ricardo at americasnet.com writes:
 
 I know I can do more than one output but is it 
 possible to use ffplay in conjunction with that?
 
 I believe it’s possible to pipe ffmpeg output to 
 ffplay, but what about doing ffplay as well as 
 streaming?
 
 ffmpeg (the application) allows to display without 
 using ffplay.

I’m interested too in piping an output from ffplay. I know ffmpeg can use a 
display output like sdl, but ffmpeg doesn’t have the same navigation shortcuts 
as ffplay. I’d like to play with ffplay, be able to navigate and seek, and pipe 
the output to a device.
Dave Rice
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] ffmpeg and multiple outputs

2015-08-02 Thread Ricardo Kleemann
Hi Carl,


 On Aug 2, 2015, at 10:08 AM, Carl Eugen Hoyos ceho...@ag.or.at wrote:
 
 Ricardo Kleemann ricardo at americasnet.com writes:
 
 I know I can do more than one output but is it 
 possible to use ffplay in conjunction with that?
 
 I believe it’s possible to pipe ffmpeg output to 
 ffplay, but what about doing ffplay as well as 
 streaming?
 
 ffmpeg (the application) allows to display without 
 using ffplay.
 

Good point, how would I display ffmpeg on OS X? I’m not quite sure what the 
output device would be?

thanks
Ricardo

 Carl Eugen
 ___
 ffmpeg-user mailing list
 ffmpeg-user@ffmpeg.org
 http://ffmpeg.org/mailman/listinfo/ffmpeg-user

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user