Audo test mp4 file

2011-03-15 Thread Charles Johnson
I wonder if somone could kindly attach, or point me to a link to an 
*audio* mp4 file so that i can test to see if my player can handle it?


Regards,

CJ

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Experimental update to make m4a audio from aac

2011-03-15 Thread Ranec
On 15 March 2011 00:09, Nick Ludlam n...@recoil.org wrote:

 To this end, I've committed my changes and pushed them to 
 https://github.com/nickludlam/get_iplayer . If anyone has a chance to test, 
 it would be helpful. Please make sure you have a very recent build of ffmpeg 
 from the git repo, NOT 0.6.1.

I've got a git build of ffmpeg.
I'd like to test making a Windows installer.
Has anyone here tried?
The make_nsis.sh file talks about my needing a tarball of the perl stuff.
Any pointers gratefully received.

-R

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Audo test mp4 file

2011-03-15 Thread Charles Johnson

Nick Ludlam wrote:

On 15 Mar 2011, at 10:58, Charles Johnson wrote:

  

btw, i noticed that it looks like libfaac support is disabled by default in 
ffmpeg HEAD. Is this true and is it relevant?:



--enable-libfaac enable FAAC support via libfaac [no]



No, this isn't an issue for us, as we're simply unwrapping the existing aac encode from 
inside the flash wrapper, and re-wrapping it as an mp4/m4a file. We don't actually make 
the aac itself. If you look at the output from ffmpeg -formats, the important 
lines will be:

 E mp4 MP4 format
DE flv FLV format

This means it can encode the mp4 format, and both decode and encode Flash (we 
care about decoding only).

Nick

  
Thanks for that Nick.  In my case though, mp4 is not useable, so i need 
to transcode aac to mp3. Given Linux rtmpdump and ffmpeg, can you say 
what my command should be? At the moment, my script is as below, but of 
course this leaves me with aac:



mode_du_jour=flashaaclow
get_iplayer --mode=${mode_du_jour} --flvstreamer=/usr/local/bin/rtmpdump 
--get ${@}



CJ



___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Audo test mp4 file

2011-03-15 Thread Nick Ludlam
On 15 Mar 2011, at 11:51, Charles Johnson wrote:

 Nick Ludlam wrote:
 On 15 Mar 2011, at 10:58, Charles Johnson wrote:
 
  
 btw, i noticed that it looks like libfaac support is disabled by default in 
 ffmpeg HEAD. Is this true and is it relevant?:
 

 --enable-libfaac enable FAAC support via libfaac [no]

 
 No, this isn't an issue for us, as we're simply unwrapping the existing aac 
 encode from inside the flash wrapper, and re-wrapping it as an mp4/m4a file. 
 We don't actually make the aac itself. If you look at the output from 
 ffmpeg -formats, the important lines will be:
 
 E mp4 MP4 format
 DE flv FLV format
 
 This means it can encode the mp4 format, and both decode and encode Flash 
 (we care about decoding only).
 
 Nick
 
  
 Thanks for that Nick.  In my case though, mp4 is not useable, so i need to 
 transcode aac to mp3. Given Linux rtmpdump and ffmpeg, can you say what my 
 command should be? At the moment, my script is as below, but of course this 
 leaves me with aac:
 
 
 mode_du_jour=flashaaclow
 get_iplayer --mode=${mode_du_jour} --flvstreamer=/usr/local/bin/rtmpdump 
 --get ${@}
 


When you say the mp4 is not usable, do you mean it's corrupt, or that you can't 
use it with your playback needs? What version of ffmpeg are you using? Can you 
paste the verbose output of get_iplayer running?


Nick


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Audo test mp4 file

2011-03-15 Thread Nick Ludlam
On 15 Mar 2011, at 12:17, Charles Johnson wrote:

 Nick Ludlam wrote:
 When you say the mp4 is not usable, do you mean it's corrupt, or that you 
 can't use it with your playback needs? 
  
 
 I mean my player won't play mp4. I'm using git HEAD ffmpeg, and afaik, the 
 penultimate version of get_iplayer

Do you mean the official release, when you say penultimate? Mine isn't 
officially on infradead, it's in my project fork on github. You can download my 
amended get_iplayer script here:

https://github.com/nickludlam/get_iplayer/raw/master/get_iplayer

Then try getting a program with any of the aac audio modes.


Nick


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Audo test mp4 file

2011-03-15 Thread Charles Johnson

Nick Ludlam wrote:

On 15 Mar 2011, at 12:17, Charles Johnson wrote:

  

Nick Ludlam wrote:

When you say the mp4 is not usable, do you mean it's corrupt, or that you can't use it with your playback needs? 
 
  

I mean my player won't play mp4. I'm using git HEAD ffmpeg, and afaik, the 
penultimate version of get_iplayer



Do you mean the official release, when you say penultimate? 
Yes Nick, but i think wires are getting crossed here: 'bat guano' has 
just pointed me to an mp4 audio demo file and it doesn't work on my 
player. Therefore any enhancements to transcode to mp4 are useless for 
me unfortunately.

Do you know the command i should use now to produce mp3?

CJ

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Audo test mp4 file

2011-03-15 Thread bat guano





 Do you know the command i should use now to produce mp3?

 CJ


Hi CJ
It seems that BBC are not sending mp3 streams now.
So download the aac file and convert it to mp3 with a program such as WinFF.
From here:- http://winff.org/html_new/

If you think that a show is available as mp3 then use --mode=flashaudio.
But if it's not available as mp3 it will probably give you an error like this:-

INFO: No specified modes (flashaudio) available for this programme with version
'default' (try using --modes=flashaaclow,flashaacstd,rtspaaclow,rtspaacstd,wma)
ERROR: Failed to record 
  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Audo test mp4 file

2011-03-15 Thread Charles Johnson

bat guano wrote:




  

Do you know the command i should use now to produce mp3?

CJ




Hi CJ
It seems that BBC are not sending mp3 streams now.
So download the aac file and convert it to mp3 with a program such as WinFF.
From here:- http://winff.org/html_new/

If you think that a show is available as mp3 then use --mode=flashaudio.
But if it's not available as mp3 it will probably give you an error like this:-

INFO: No specified modes (flashaudio) available for this programme with version
'default' (try using --modes=flashaaclow,flashaacstd,rtspaaclow,rtspaacstd,wma)
ERROR: Failed to record 
  

bg,

Thanks - yes i'm aware of that- i've been following this list closely 
for several days.
I'm using Debian Linux, which already has 'issues' with lame. 
Nonetheless, i have libmp3lame installed, although ffmpeg is not 
behaving as if i have:



goose@p10:/tmp$ ./ffmpeg -i f.aac  x.mp3
FFmpeg version git-9f8f62d, Copyright (c) 2000-2011 the FFmpeg developers
 built on Mar 14 2011 23:32:24 with gcc 4.3.2
 configuration: --enable-static --disable-shared --extra-libs=-static 
--extra-cflags=--static

 libavutil50. 39. 0 / 50. 39. 0
 libavcodec   52.114. 0 / 52.114. 0
 libavformat  52.103. 0 / 52.103. 0
 libavdevice  52.  2. 3 / 52.  2. 3
 libavfilter   1. 76. 0 /  1. 76. 0
 libswscale0. 12. 0 /  0. 12. 0
[aac @ 0x9c23c80] max_analyze_duration reached
[aac @ 0x9c23c80] Estimating duration from bitrate, this may be inaccurate
Input #0, aac, from 'f.aac':
 Duration: 00:30:20.73, bitrate: 47 kb/s
   Stream #0.0: Audio: aac, 44100 Hz, 2 channels (FC), s16, 47 kb/s
Output #0, mp3, to 'x.mp3':
   Stream #0.0: Audio: [0][0][0][0] / 0x, 44100 Hz, 2 channels, 
s16, 64 kb/s

Stream mapping:
 Stream #0.0 - #0.0
Encoder (codec id 86017) not found for output stream #0.0
==

CJ

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: Audo test mp4 file

2011-03-15 Thread bat guano





 goose@p10:/tmp$ ./ffmpeg -i f.aac x.mp3
 FFmpeg version git-9f8f62d, Copyright (c) 2000-2011 the FFmpeg developers
 built on Mar 14 2011 23:32:24 with gcc 4.3.2
 configuration: --enable-static --disable-shared --extra-libs=-static
 --extra-cflags=--static

 Encoder (codec id 86017) not found for output stream #0.0
 ==

 CJ

Hi CJ
It looks as though you have compiled ffmpeg without libmp3lame support.
I think that one of your config options should be --enable-libmp3lame.

In the meantime, if you have lame installed on your system you can probably use 
it like this:-

ffmpeg -i filename.aac -f wav - | lame -b 64 - output.mp3

  
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Audo test mp4 file

2011-03-15 Thread Charles Johnson

bat guano wrote:




  

goose@p10:/tmp$ ./ffmpeg -i f.aac x.mp3
FFmpeg version git-9f8f62d, Copyright (c) 2000-2011 the FFmpeg developers
built on Mar 14 2011 23:32:24 with gcc 4.3.2
configuration: --enable-static --disable-shared --extra-libs=-static
--extra-cflags=--static

Encoder (codec id 86017) not found for output stream #0.0
==

CJ



Hi CJ
It looks as though you have compiled ffmpeg without libmp3lame support.
I think that one of your config options should be --enable-libmp3lame.

In the meantime, if you have lame installed on your system you can probably use 
it like this:-

ffmpeg -i filename.aac -f wav - | lame -b 64 - output.mp3

  
Thanks - i'm just working on that as we speak, and yes, the pipe works 
for me


CJ

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Audo test mp4 file

2011-03-15 Thread Jimmy Aitken
I've tried this and it works fine for me.  The aac/mp4 files created are tagged 
correctly with AtomicParsley and report fine in iTunes as well.
The files can be edited in Fission and retain the tags when saved which is 
another bonus when I need to remove the start and end of the recordings.

I used your ffmpeg from the brew header and your head from your repository and 
it worked fine for the programmes I tested - Paul Temple and 2025.

In addition, if anyone does want to record 2025 with get_iplayer, get_iplayer 
fails when the program to search for is all numeric; it thinks it's an index 
and not a programme name.  You need to make it non number and the easiest way 
is to use a regexp for the name.  e.g. I use 'get_iplayer 2[0]25' and it works.

Great work, and at last I can get rid of MP3 recordings.


Jimmy

On 15 Mar 2011, at 12:25, Nick Ludlam wrote:

 On 15 Mar 2011, at 12:17, Charles Johnson wrote:
 
 Nick Ludlam wrote:
 When you say the mp4 is not usable, do you mean it's corrupt, or that you 
 can't use it with your playback needs? 
 
 
 I mean my player won't play mp4. I'm using git HEAD ffmpeg, and afaik, the 
 penultimate version of get_iplayer
 
 Do you mean the official release, when you say penultimate? Mine isn't 
 officially on infradead, it's in my project fork on github. You can download 
 my amended get_iplayer script here:
 
 https://github.com/nickludlam/get_iplayer/raw/master/get_iplayer
 
 Then try getting a program with any of the aac audio modes.
 
 
 Nick






___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: .aac splitter?

2011-03-15 Thread Jimmy Aitken

On 11 Mar 2011, at 11:26, Dave F. wrote:

 Hi
 
 Can anyone recommend an aac splitter that firstly works,  secondly is fairly 
 user friendly?

If you have a Mac, then I can recommend Fission by RogueAmoeba.  It can edit 
both MP3 and MP4/aac files and saves the changes without re-encoding the whole 
stream so it is much faster, and the quality doesn't change.

 
 I don't want to convert them, just cut them into smaller chunks.
 
 I came across this one, but haven't used it yet. I thought I'd ask for advice 
 here first:
 
 http://www.008soft.com/aac-to-wav.htm
 
 Thanks in advance
 
 Dave F.
 
 ___
 get_iplayer mailing list
 get_iplayer@lists.infradead.org
 http://lists.infradead.org/mailman/listinfo/get_iplayer

Jimmy Aitken
jimmy.ait...@gmail.com





___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer