Re: ffmpeg / avconv

2017-01-19 Thread Nicolas George
Le decadi 30 nivôse, an CCXXV, Pol Hallen a écrit :
> My goal is not to waste the file size (disk space)

That makes one.

> 
> ie: if I've a 10Mb of a file with video bitrate 1000K and 128K audio
> bitrate, I'd like don't exceed 10Mb using a larger bitrate :)
> 
> unfortunately I've some flv file and my home player doesn't play it :-/

And I guess you want to play those files on your home player.

That makes two.

You can achieve these goals by using a very low bitrate, but that
results in a horrible quality. My guess is you do not want that either,
you want reasonable quality or something.

That would make three.

You need to prioritize these goals.

Once this is done, you need to find out exactly what codecs and formats
your home player supports. Note, these are two independent pieces of
information, and both are needed.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: ffmpeg / avconv

2017-01-19 Thread Pol Hallen

What is your actual purpose?


Hello, thanks for your reply

My goal is not to waste the file size (disk space)

ie: if I've a 10Mb of a file with video bitrate 1000K and 128K audio 
bitrate, I'd like don't exceed 10Mb using a larger bitrate :)


unfortunately I've some flv file and my home player doesn't play it :-/

thanks!

Pol



Re: ffmpeg / avconv

2017-01-18 Thread Nicolas George
Le nonidi 29 nivôse, an CCXXV, Pol Hallen a écrit :
> I use ffmpeg (or avconv) and also winff to convert video (transcode) from a
> format to another.
> 
> The question: it there an extended version to transcode keep same bitrate
> (audio and video) to output file?
> 
> Because I've to set manually (using ffmpeg -i file) bitrate from each file
> and set it to output file

Since transcoding involves different codecs and different codecs have
different performances, keeping the bitrate seems like a strange goal.

What is your actual purpose?

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


ffmpeg / avconv

2017-01-18 Thread Pol Hallen

Hello to all :-)

I use ffmpeg (or avconv) and also winff to convert video (transcode) 
from a format to another.


The question: it there an extended version to transcode keep same 
bitrate (audio and video) to output file?


Because I've to set manually (using ffmpeg -i file) bitrate from each 
file and set it to output file


thanks for reply :-)

Pol



Re: Howto: Record playing audio only via ffmpeg/avconv

2013-05-12 Thread Ralf Mardorf
PS: If you don't know how to get rid of PA, because there's a hard  
dependency to pulseaudio by one package, then recompile this package  
without PA dependency or simply build an empty dummy package for  
pulseaudio, e.g. by using

http://www.debian.org/doc/manuals/apt-howto/ch-helpers.de.html .


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/op.ww0e9gwwqhadp0@suse11-2



Re: Howto: Record playing audio only via ffmpeg/avconv

2013-05-12 Thread Ralf Mardorf
On Mon, 13 May 2013 07:38:31 +0200, Hörmetjan Yiltiz   
wrote:



On Mon, May 13, 2013 at 12:02 PM, Chris Bannister <
cbannis...@slingshot.co.nz> wrote:


On Thu, May 09, 2013 at 01:42:01AM +, T o n g wrote:
>
> It'll be much simpler if you have PulseAudio installed. Check out:

JFTR. I found the exact opposite!  Removing PulseAudio made everything
work.



How exactly is that possible?


How exactly is it possible to get an audio card working with PA ;)? YMMV!  
All three audio cards in my machine only work without pulseaudio, this is  
possible by simply not having pulseaudio installed and using ALSA  
"instead". Pulseaudio does use ALSA itself ;)! Unfortunately "the"  
pulseaudio developer blames ALSA drivers for his bad code.


For most audio tasks I'm using jackd2 (non-dbus), but also with ALSA ;).  
We only need ALSA. Pulseaudio, jackd etc. are optional sound servers.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/op.ww0exwgcqhadp0@suse11-2



Re: Howto: Record playing audio only via ffmpeg/avconv

2013-05-12 Thread Ralf Mardorf
On Mon, 13 May 2013 06:02:57 +0200, Chris Bannister  
 wrote:

On Thu, May 09, 2013 at 01:42:01AM +, T o n g wrote:


It'll be much simpler if you have PulseAudio installed. Check out:


JFTR. I found the exact opposite!  Removing PulseAudio made everything  
work.


I'm using different distros and need to use all installs without PA.  
However, pro-audio on my machine is that terrible broken [1], that I  
cleaned a primary partition last night, to install XP, to test the audio  
card with an original RME driver. I bought the RME card, after it was  
recommended, as working with Linux by many users. I can't speak for  
consumer audio, I'm not using desktop sound etc., but once I've got a  
working environment, I don't update anymore! saince updates easily can  
breake at lest "pro-audio".


Linux audio always was an issue and it didn't become better in the last 10  
years and I'm using Linux only, mainly for audio.


[1] Independent of the used distro, I've got a Linux and FreeBSD  
multi-boot and in some hours I perhaps have a Linux, FreeBSD and Microsoft  
multi-boot :(, caused by audio issues.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/op.ww0eckr6qhadp0@suse11-2



Re: Howto: Record playing audio only via ffmpeg/avconv

2013-05-12 Thread Hörmetjan Yiltiz
On Mon, May 13, 2013 at 12:02 PM, Chris Bannister <
cbannis...@slingshot.co.nz> wrote:

> On Thu, May 09, 2013 at 01:42:01AM +, T o n g wrote:
> >
> > It'll be much simpler if you have PulseAudio installed. Check out:
>
> JFTR. I found the exact opposite!  Removing PulseAudio made everything
> work.
>

How exactly is that possible?​​

>
> --
> "If you're not careful, the newspapers will have you hating the people
> who are being oppressed, and loving the people who are doing the
> oppressing." --- Malcolm X
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/20130513040257.GG18199@tal
>
>


Re: Howto: Record playing audio only via ffmpeg/avconv

2013-05-12 Thread Chris Bannister
On Thu, May 09, 2013 at 01:42:01AM +, T o n g wrote:
> 
> It'll be much simpler if you have PulseAudio installed. Check out:

JFTR. I found the exact opposite!  Removing PulseAudio made everything work.

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130513040257.GG18199@tal



Re: Howto: Record playing audio only via ffmpeg/avconv

2013-05-08 Thread T o n g
On Thu, 09 May 2013 00:11:20 +0800, Hörmetjan Yiltiz wrote:

> I'd like to capture a song [1] played via http protocol using firefox. I
> wish I could find the file itself in tmpfs but I just could not find it.
> 
> Now I'd like to record the song myself using ffmpeg or avconv ( or even
> VLC ), as lossless as possibe.
> 
> How is that possibly done?

It'll be much simpler if you have PulseAudio installed. Check out:

Recording from PulseAudio
http://www.outflux.net/blog/archives/2009/04/19/recording-from-pulseaudio/

worked for me before. 

HTH


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/kmeut9$88h$2...@ger.gmane.org



Re: Howto: Record playing audio only via ffmpeg/avconv

2013-05-08 Thread Rob Owens
On Wed, May 08, 2013 at 06:50:31PM +0100, pete smout wrote:
> On 08/05/13 17:11, Hörmetjan Yiltiz wrote:
> >I'd like to capture a song [1] played via http protocol using firefox. I
> >wish I could find the file itself in tmpfs but I just could not find it.
> >
> >Now I'd like to record the song myself using ffmpeg or avconv ( or even
> >VLC ), as lossless as possibe.
> >
> >How is that possibly done?
> >
> >Thanks!
> >
> >[1]: http://url.cn/GN6yOG 
> >​Best,
> >​
> >
> >He who is worthy to receive his days and nights is worthy to
> >receive* all else* from you (and me).
> >  The Prophet, Gibran
> >Kahlil Gibran
> >
> >
> Hi,
> I would try 'Audacity' my self.
> IIRC in the preferences you set the record to Line In? and just
> press record!
> Note it's been a while but know I've done it with audacity.
> 
There's also gnome-sound-recorder, which is a bit simpler than audacity
(although audacity is really good).

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130509000609.ga14...@aurora.owens.net



Re: Howto: Record playing audio only via ffmpeg/avconv

2013-05-08 Thread pete smout

On 08/05/13 17:11, Hörmetjan Yiltiz wrote:

I'd like to capture a song [1] played via http protocol using firefox. I
wish I could find the file itself in tmpfs but I just could not find it.

Now I'd like to record the song myself using ffmpeg or avconv ( or even
VLC ), as lossless as possibe.

How is that possibly done?

Thanks!

[1]: http://url.cn/GN6yOG 
​Best,
​

He who is worthy to receive his days and nights is worthy to
receive* all else* from you (and me).
  The Prophet, Gibran
Kahlil Gibran



Hi,
I would try 'Audacity' my self.
IIRC in the preferences you set the record to Line In? and just press 
record!

Note it's been a while but know I've done it with audacity.


HTH

Pete


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/kme392$6oj$1...@ger.gmane.org



Re: ffmpeg/avconv doesn't recognize -strict experimental (reposted as top-level thread)

2013-03-15 Thread Joel Roth
On Fri, Mar 15, 2013 at 08:55:16AM +0100, Jochen Spieker wrote:
> Joel Roth:
> > Dear List,
> > 
> > ffmpeg/avconv aborts even with -strict experimental when input 
> > file audio is encoded with AAC. Does the audio
> > *have* to be decoded? I was thinking there might
> > be some kind of pass-through option.
> 
> Yes, you can try '-acodec copy'.

Now that you tell me, I see it on the man page (which
by the way, would print out as some 180 pages.)

Thanks!


> J.
> -- 
> All participation is a myth.
> [Agree]   [Disagree]
>  <http://www.slowlydownward.com/NODATA/data_enter2.html>



-- 
Joel Roth


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130315083536.GA13976@sprite



Re: ffmpeg/avconv doesn't recognize -strict experimental (reposted as top-level thread)

2013-03-15 Thread Jochen Spieker
Joel Roth:
> Dear List,
> 
> ffmpeg/avconv aborts even with -strict experimental when input 
> file audio is encoded with AAC. Does the audio
> *have* to be decoded? I was thinking there might
> be some kind of pass-through option.

Yes, you can try '-acodec copy'.

J.
-- 
All participation is a myth.
[Agree]   [Disagree]
 <http://www.slowlydownward.com/NODATA/data_enter2.html>


signature.asc
Description: Digital signature


ffmpeg/avconv doesn't recognize -strict experimental (reposted as top-level thread)

2013-03-14 Thread Joel Roth
Dear List,

ffmpeg/avconv aborts even with -strict experimental when input 
file audio is encoded with AAC. Does the audio
*have* to be decoded? I was thinking there might
be some kind of pass-through option.

The behavior of ffmpeg and avconv appears to be
identical.

$ avconv -acodec aac -strict experimental -i "S3 D5 Irene.mov" -b 500k "S3 D5 
Irene.m4v"
avconv version 0.8.5-6:0.8.5-1, Copyright (c) 2000-2012 the
Libav developers
  built on Jan 13 2013 12:05:48 with gcc 4.7.2
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'S3 D5 Irene.mov':
  Metadata:
major_brand : qt
minor_version   : 537199360
compatible_brands: qt
creation_time   : 2012-06-22 13:23:05
  Duration: 00:23:33.81, start: 0.00, bitrate: 614 kb/s
Stream #0.0(eng): Video: h264 (Main), yuv420p, 640x480,
478 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 5994 tbc
Metadata:
  creation_time   : 2012-06-22 13:23:05
Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 130
kb/s
Metadata:
  creation_time   : 2012-06-22 13:23:06
File 'S3 D5 Irene.m4v' already exists. Overwrite ? [y/N] y
[buffer @ 0x147c540] w:640 h:480 pixfmt:yuv420p
[libx264 @ 0x147ccc0] using cpu capabilities: MMX2 SSE2Fast
SSSE3 FastShuffle SSE4.2
[libx264 @ 0x147ccc0] profile Main, level 3.0
[libx264 @ 0x147ccc0] 264 - core 123 r2189 35cf912 -
H.264/MPEG-4 AVC codec - Copyleft 2003-2012 -
http://www.videolan.org/x264.html - options: cabac=1 ref=3
deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1
psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1
trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1
chroma_qp_offset=-2 threads=6 sliced_threads=0 nr=0
decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0
bframes=3 b_pyramid=0 b_adapt=1 b_bias=0 direct=1 weightb=0
open_gop=1 weightp=2 keyint=250 keyint_min=25 scenecut=40
intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=500
ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4
ip_ratio=1.25 aq=1:1.00
encoder 'aac' is experimental and might produce bad results.
Add '-strict experimental' if you want to use it.

Regards,

Joel


-- 
Joel Roth


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130315030132.GA28140@sprite



ffmpeg/avconv doesn't recognize -strict experimental

2013-03-14 Thread Joel Roth
Dear List,

ffmpeg/avconv aborts even with -strict experimental when input 
file audio is encoded with AAC. Does the audio
*have* to be decoded? I was thinking there might
be some kind of pass-through option.

The behavior of ffmpeg and avconv appears to be
identical.

$ avconv -acodec aac -strict experimental -i "S3 D5 Irene.mov" -b 500k "S3 D5 
Irene.m4v"
avconv version 0.8.5-6:0.8.5-1, Copyright (c) 2000-2012 the
Libav developers
  built on Jan 13 2013 12:05:48 with gcc 4.7.2
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'S3 D5 Irene.mov':
  Metadata:
major_brand : qt
minor_version   : 537199360
compatible_brands: qt
creation_time   : 2012-06-22 13:23:05
  Duration: 00:23:33.81, start: 0.00, bitrate: 614 kb/s
Stream #0.0(eng): Video: h264 (Main), yuv420p, 640x480,
478 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 5994 tbc
Metadata:
  creation_time   : 2012-06-22 13:23:05
Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 130
kb/s
Metadata:
  creation_time   : 2012-06-22 13:23:06
File 'S3 D5 Irene.m4v' already exists. Overwrite ? [y/N] y
[buffer @ 0x147c540] w:640 h:480 pixfmt:yuv420p
[libx264 @ 0x147ccc0] using cpu capabilities: MMX2 SSE2Fast
SSSE3 FastShuffle SSE4.2
[libx264 @ 0x147ccc0] profile Main, level 3.0
[libx264 @ 0x147ccc0] 264 - core 123 r2189 35cf912 -
H.264/MPEG-4 AVC codec - Copyleft 2003-2012 -
http://www.videolan.org/x264.html - options: cabac=1 ref=3
deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1
psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1
trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1
chroma_qp_offset=-2 threads=6 sliced_threads=0 nr=0
decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0
bframes=3 b_pyramid=0 b_adapt=1 b_bias=0 direct=1 weightb=0
open_gop=1 weightp=2 keyint=250 keyint_min=25 scenecut=40
intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=500
ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4
ip_ratio=1.25 aq=1:1.00
encoder 'aac' is experimental and might produce bad results.
Add '-strict experimental' if you want to use it.

Regards,

Joel


-- 
Joel Roth


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130314233158.GA22356@sprite