Re: PS3 problem playing get_iplayer h.264 videos

2011-12-31 Thread dinkypumpkin

On 29/12/2011 16:15, Jon Davies wrote:

which convinces me that the problem is in ffmpeg, and isn't really
anything to do with get_iplayer.  Interestingly ffprobe reports a
48khz sample rate for both broken and working files, whereas the PS3
reports 48khz for the broken ones, and 24khz for the working ones.

Next step is to see if the latest builds of ffmpeg and/or libav still
exhibit this behaviour.


That still seems to be the case with ffmpeg 0.9, though I've encountered 
this problem in a different context (no PS3 here).  I used Elgato 
Turbo.264 HD to encode video for an Apple TV 1, and it was also foxed by 
the audio sample rate in the headers of files remuxed by ffmpeg.  The 
result was trashed audio in the output files.  I could work around the 
problem by remuxing with mp4box and then running Turbo.264, but I 
generally chose to drive the Turbo.264 encoding via QuickTime 7 in order 
to preserve metadata tags.


The 0.5 branch of ffmpeg is the only version that takes the audio sample 
rate from the FLV metadata.  That bit of code was subsequently removed 
in 0.6 and later branches, but I was never energetic enough to track 
down the problem with whatever replaced it.  AFAICT, the FLV metadata is 
written correctly by rtmpdump, and any QuickTime-based tool (or ffmpeg 
itself) has no problem converting the remuxed MP4 file, regardless of 
what is in the header.


A bit of esoterica here.  The audio sample rate is written in two places 
in the MP4 header (media header and sample table descriptor for audio 
track). I noticed a slight difference in the results depending on how I 
employed mp4box.  If I used the simple version:


mp4box -add broken.mp4 -new fixed.mp4

only one of the audio sample rate values (in sample table descriptor) 
was changed in the output file header. The mp4info utility (from 
libmp4v2) reported 48 kHz, though the file was still usable with 
Turbo.264.  However, if I fully disassembled the tracks and reassembled 
a new file, e.g.:


mp4box -raw 1 broken.mp4 -out broken.h264
mp4box -raw 2 broken.mp4 -out broken.aac
mp4box -add broken.h264 -add broken.aac -new fixed.mp4

both audio sample rate values were changed and mp4info reported 24 kHz. 
 I doubt it makes any difference, but if one method doesn't work for a 
particular application, perhaps the other will.


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


Re: PS3 problem playing get_iplayer h.264 videos

2011-12-31 Thread spam.mc

Glad you got it sorted.

Hopefully the old version of ffmpeg will continue to work for some time yet.

On 31/12/2011 15:52, don rossie wrote:

Hi,
It transpires that there was a fault with my PS3 (it was a second hand
PS3 from ebay under warranty so I have now sent it back and bought a
new slimline 160Gb). With my new PS3, it works just fine when using
the older version of ffmpeg (r22140). I now have to convert all my
other videos that were encoded with the newer version of ffmpeg but I
can do this by running them through Handbrake. What is MP4Box, I have
never heard of this ??

Thank you for all of your help in getting this resolved, it is greatly
appreciated.

Cheers
Don.


On 28 December 2011 17:47, spam.mcspam...@gmail.com  wrote:

Sorry I haven't caught up with this thread earlier,  it's been a busy time
of year.   :-)

It's very odd that your PS3 is resetting when trying to play a video file,
  I've not had problems like that.  Just the normal no audio, too fast
video problem.   Hope there's not a problem with your PS3 itself.

I have downloaded  b018xsm2  (I've Never Seen Star Wars) today and it was
encoded with the version of  ffmpeg I posted a link to earlier.
  http://dl.dropbox.com/u/7678269/Ffmpeg_getiplayer.zip
SVN-r22140-Sherypya built 02 March 2010.

The resulting file plays absolutely fine on my PS3  (Slimline model with
latest firmware from Sony).

The command line that get_iplayer used to convert the flv to .mp4 was:
E:\gip\ffmpeg\bin\ffmpeg.exe -i
E:\gip\Downloads/Ive_Never_Seen_Star_Wars_-_27_12_2011_b018xsm2_default.partial.mp4.flv
-vcodec copy -acodec copy -f mp4 -y
E:\gip\Downloads/Ive_Never_Seen_Star_Wars_-_27_12_2011_b018xsm2_default.partial.mp4


Maybe you could try downloading this file with get_iplayer and seeing if it
plays on your PS3?  Perhaps copy the file to a USB stick if you have one and
plug it in the PS3 and try to play it from there which will eliminate the
media streaming from the equation.

I actually gave up using my PS3 as my media player (it was too noisy, a bit
unreliable and I wanted to play HD mkv files without converting them)  and I
instead bought a eMachine ER1401 which I picked up for £110 from eBuyer.com.
   CPC had these on offer for a similar price recently but they're now out of
stock again.




On 27/12/2011 11:39, don rossie wrote:

On 27 December 2011 04:35,don.ros...@googlemail.comwrote:

I tried an older version of ffmpeg on my windows 7 setup and all this did
was to reset my ps3 (older 40gb model, also known as the fat shiny top
model) to a shutdown state with the red power light flashing. This
happened
as soon as the video was started with the ps3 controller X button. The
video
was running from my zyxel 310 nas. The funny thing is that the same video
works just fine on my Ipad??
Don...






On 27 Dec 2011 03:56, Andy Bircumshawa...@networkned.co.ukwrote:

On 22 December 2011, at 19:24, don rossie wrote:

...
I have been reading up on this problem which is the video files play
at double speed with no audio and the solution seems to be to use an
older version of ffmpeg.

For the record, I'm also getting this on my PS3 at the moment, using
ffmpeg
0.7.7 on Linux.

I'm pretty sure that Shevek has documented this in the past, but I must
have
accidentally slipped into upgrading to a buggy version.

I never normally use my PS3 for watching iPlayer downloads now, so I have
no
idea how many videos on my NAS are affected. I'll try to test a newer
version of ffmpeg the next few days.

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

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


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


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


Re: PS3 problem playing get_iplayer h.264 videos

2011-12-29 Thread Jon Davies
On 28 December 2011 17:47, spam.mc spam...@gmail.com wrote:
 I have downloaded  b018xsm2  (I've Never Seen Star Wars) today and it was
 encoded with the version of  ffmpeg I posted a link to earlier.
  http://dl.dropbox.com/u/7678269/Ffmpeg_getiplayer.zip
 SVN-r22140-Sherypya built 02 March 2010.

I've also done some experiments - and running a 'broken' file through
MP4Box results in a file that plays perfectly.

So we have
- ffmpeg = r22140 works
- ffmpeg newer than that (or something around there) doesn't work
- broken files run through MP4Box fixes the broken files.  (using
something like MP4Box -add broken.mp4 fixed.mp4)

which convinces me that the problem is in ffmpeg, and isn't really
anything to do with get_iplayer.  Interestingly ffprobe reports a
48khz sample rate for both broken and working files, whereas the PS3
reports 48khz for the broken ones, and 24khz for the working ones.

Next step is to see if the latest builds of ffmpeg and/or libav still
exhibit this behaviour.

Jon

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


Re: PS3 problem playing get_iplayer h.264 videos

2011-12-28 Thread spam.mc
Sorry I haven't caught up with this thread earlier,  it's been a busy 
time of year.   :-)


It's very odd that your PS3 is resetting when trying to play a video 
file,  I've not had problems like that.  Just the normal no audio, too 
fast video problem.   Hope there's not a problem with your PS3 itself.


I have downloaded  b018xsm2  (I've Never Seen Star Wars) today and it 
was encoded with the version of  ffmpeg I posted a link to earlier.
http://dl.dropbox.com/u/7678269/Ffmpeg_getiplayer.zip 
SVN-r22140-Sherypya built 02 March 2010.


The resulting file plays absolutely fine on my PS3  (Slimline model with 
latest firmware from Sony).


The command line that get_iplayer used to convert the flv to .mp4 was:
E:\gip\ffmpeg\bin\ffmpeg.exe -i 
E:\gip\Downloads/Ive_Never_Seen_Star_Wars_-_27_12_2011_b018xsm2_default.partial.mp4.flv 
-vcodec copy -acodec copy -f mp4 -y 
E:\gip\Downloads/Ive_Never_Seen_Star_Wars_-_27_12_2011_b018xsm2_default.partial.mp4



Maybe you could try downloading this file with get_iplayer and seeing if 
it plays on your PS3?  Perhaps copy the file to a USB stick if you have 
one and plug it in the PS3 and try to play it from there which will 
eliminate the media streaming from the equation.


I actually gave up using my PS3 as my media player (it was too noisy, a 
bit unreliable and I wanted to play HD mkv files without converting 
them)  and I instead bought a eMachine ER1401 which I picked up for £110 
from eBuyer.com.   CPC had these on offer for a similar price recently 
but they're now out of stock again.




On 27/12/2011 11:39, don rossie wrote:

On 27 December 2011 04:35,don.ros...@googlemail.com  wrote:

I tried an older version of ffmpeg on my windows 7 setup and all this did
was to reset my ps3 (older 40gb model, also known as the fat shiny top
model) to a shutdown state with the red power light flashing. This happened
as soon as the video was started with the ps3 controller X button. The video
was running from my zyxel 310 nas. The funny thing is that the same video
works just fine on my Ipad??
Don...






On 27 Dec 2011 03:56, Andy Bircumshawa...@networkned.co.uk  wrote:

On 22 December 2011, at 19:24, don rossie wrote:

...
I have been reading up on this problem which is the video files play
at double speed with no audio and the solution seems to be to use an
older version of ffmpeg.

For the record, I'm also getting this on my PS3 at the moment, using ffmpeg
0.7.7 on Linux.

I'm pretty sure that Shevek has documented this in the past, but I must have
accidentally slipped into upgrading to a buggy version.

I never normally use my PS3 for watching iPlayer downloads now, so I have no
idea how many videos on my NAS are affected. I'll try to test a newer
version of ffmpeg the next few days.

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

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



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


Re: PS3 problem playing get_iplayer h.264 videos

2011-12-26 Thread Andy Bircumshaw

On 22 December 2011, at 19:24, don rossie wrote:
 ...
 I have been reading up on this problem which is the video files play
 at double speed with no audio and the solution seems to be to use an
 older version of ffmpeg.

For the record, I'm also getting this on my PS3 at the moment, using ffmpeg 
0.7.7 on Linux.

I'm pretty sure that Shevek has documented this in the past, but I must have 
accidentally slipped into upgrading to a buggy version.

I never normally use my PS3 for watching iPlayer downloads now, so I have no 
idea how many videos on my NAS are affected. I'll try to test a newer version 
of ffmpeg the next few days. 

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


Re: PS3 problem playing get_iplayer h.264 videos

2011-12-23 Thread don rossie
Hi,
I did what you suggested and when I try to play the mp4 on my PS3, it
shuts down the PS3 and leaves a flashing red light. The PS3 comes back
on OK when I press the power button and everything else works fine
(games, blurays, avi's etc). This is weird??

The file starts to play but only the first couple of frames before it
shuts dowm my ps3.

I have searched the web but with no real success, can you think off
any reason why it shuts down my PS3??

Cheers
Don...


On 22 December 2011 22:02, spam.mc spam...@gmail.com wrote:
 Looks like my previous link has expired.  So try this one:

 http://dl.dropbox.com/u/7678269/Ffmpeg_getiplayer.zip

 Unzip then just copy the new .exe to your ffmpeg/bin directory, you could
 rename your existing one first, then it's easy to go back again should you
 want.





 On 22/12/2011 19:24, don rossie wrote:

 Hi,
 I have been reading up on this problem which is the video files play
 at double speed with no audio and the solution seems to be to use an
 older version of ffmpeg. Can anyone tell me where I can download an
 older copy that will work with the PS3 so that any new vids that I d/l
 with get_iplayer will work the PS3. Lastly, I have a lot of vids that
 I have stored on my NAS, is there a way of setting up a batch file
 that will convert all of these to be able to play on the PS3. Any help
 that can be offered will be very much appreciated but can the advice
 offered be quite explicit in the methods offered to fix my problems as
 I am not all that PC savvy.
 Cheers

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


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

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


Re: PS3 problem playing get_iplayer h.264 videos

2011-12-22 Thread spam.mc

Looks like my previous link has expired.  So try this one:

http://dl.dropbox.com/u/7678269/Ffmpeg_getiplayer.zip

Unzip then just copy the new .exe to your ffmpeg/bin directory, you 
could rename your existing one first, then it's easy to go back again 
should you want.





On 22/12/2011 19:24, don rossie wrote:

Hi,
I have been reading up on this problem which is the video files play
at double speed with no audio and the solution seems to be to use an
older version of ffmpeg. Can anyone tell me where I can download an
older copy that will work with the PS3 so that any new vids that I d/l
with get_iplayer will work the PS3. Lastly, I have a lot of vids that
I have stored on my NAS, is there a way of setting up a batch file
that will convert all of these to be able to play on the PS3. Any help
that can be offered will be very much appreciated but can the advice
offered be quite explicit in the methods offered to fix my problems as
I am not all that PC savvy.
Cheers

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



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