maxime louvel | 1 Dec 10:02
Picon

gather stats on

Hi,

Is there a way to gather statistics on an existing file.
What I'm looking for is information such as the number of I,P,B frames, the
number of macroblocks, ...

cheers,

Maxime

--

-- 
Maxime Louvel
+33 6 85 91 05 30
3 rue charreton
38000 Grenoble
France
Andre | 1 Dec 10:53
Picon

Re: gather stats on

maxime louvel schrieb:
> Is there a way to gather statistics on an existing file.
> What I'm looking for is information such as the number of I,P,B frames, the
> number of macroblocks, ...

Try ffprobe: http://sourceforge.net/projects/ffprobe/

The -show_frames parameter might be especially useful for you. It prints out the
pict_type field describing the picture type.

Regards
 Andre
pupilla@libero.it | 1 Dec 13:08
Picon
Favicon

broken transport stream file

Hi Folks,

I would like to build an mpeg file from a dvb-t sdtv transport

stream file. I'm getting these kind of errors running 'ffmpeg
-i file.ts -
vcodec copy -acodec copy file.mpeg':

[NULL @ 0x247a0b0]error, non monotone 
timestamps 673204 >= 673204
av_interleaved_write_frame(): Error while opening 
file

Indeed, the transport stream file is 'damaged' (don't know
why): while 
watching with ffplay at some point, the video and
audio are garbled, but ffplay 
go on.
I have also tried with '-fflags -genpts' and '-copyts' but
no luck.
Is 
there a way to tell ffmpeg to 'go on' and ignore these
errors?
Does anyone know 
a tool for fix damaged transport stream files?

Any response are welcome

TIA

(Continue reading)

Andy Sheen | 1 Dec 14:04

Re: broken transport stream file


pupilla <at> libero.it wrote:
> Hi Folks,
> 
> I would like to build an mpeg file from a dvb-t sdtv transport
> 
> stream file. I'm getting these kind of errors running 'ffmpeg
> -i file.ts -
> vcodec copy -acodec copy file.mpeg':
> 
> [NULL @ 0x247a0b0]error, non monotone 
> timestamps 673204 >= 673204
> av_interleaved_write_frame(): Error while opening 
> file
> 

Also see:

https://roundup.ffmpeg.org/roundup/ffmpeg/issue807

> Does anyone know 
> a tool for fix damaged transport stream files?
> 

The workaround for me is to demux them into an audio and video file and 
then remux. Don't know if that would help you.

It may also be worth trying the latest SVN release.

HTH
(Continue reading)

pupilla@libero.it | 1 Dec 14:48
Picon
Favicon

R: Re: broken transport stream file


sheen.andy <at> googlemail.com wrote:

>pupilla <at> libero.it wrote:
>> Hi Folks,
>> 

>> I would like to build an mpeg file from a dvb-t sdtv transport
>> 
>> stream 
file. I'm getting these kind of errors running 'ffmpeg
>> -i file.ts -
>> 
vcodec copy -acodec copy file.mpeg':
>> 
>> [NULL @ 0x247a0b0]error, non 
monotone 
>> timestamps 673204 >= 673204
>> av_interleaved_write_frame(): Error 
while opening 
>> file
>> 
>
>Also see:
>
>https://roundup.ffmpeg.
org/roundup/ffmpeg/issue807

yes indeed same problem. No workaround for now :-
((
(Continue reading)

Andy Sheen | 1 Dec 15:07

Re: R: Re: broken transport stream file


pupilla <at> libero.it wrote:
> yes indeed same problem. No workaround for now :-
> ((
> 
>> The workaround for me is to demux them into an audio and video file and 
> 
>> then remux. Don't know if that would help you.
> 
> kindly, how should I do?
> 

I tend to use mplayer with the -dumpaudio/-dumpvideo, but I'm not using 
.ts files as input so don't know how well it will work.

You may find you can extract with ffmpeg with the codec copy if you are 
only copying one stream to the file. You should be able to take 2 
individual files and mux them with ffmpeg.

>> It 
> may also be worth trying the latest SVN release.
> 
> I'm running FFmpeg version 
> SVN-r20679-snapshot, Copyright (c) 2000-2009 Fabrice Bellard, et al.
>   built on 
> Dec  1 2009 09:36:30 with gcc 4.3.3                                     

Sounds like it is pretty up to date...
pupilla@libero.it | 1 Dec 15:32
Picon
Favicon

R: Re: R: Re: broken transport stream file

sheen.andy <at> googlemail.com wrote:

>pupilla <at> libero.it wrote:
>> yes indeed same 
problem. No workaround for now :-
>> ((
>> 
>>> The workaround for me is to 
demux them into an audio and video file and 
>> 
>>> then remux. Don't know if 
that would help you.
>> 
>> kindly, how should I do?
>> 
>
>I tend to use 
mplayer with the -dumpaudio/-dumpvideo, but I'm not using 
>.ts files as input 
so don't know how well it will work.
>
>You may find you can extract with 
ffmpeg with the codec copy if you are 
>only copying one stream to the file. 
You should be able to take 2 
>individual files and mux them with ffmpeg.

yes, 
but I always get the same error.
Thanks anyway for the feedback.
(Continue reading)

belcampo | 1 Dec 17:01
Picon

Re: broken transport stream file

pupilla <at> libero.it wrote:
> Hi Folks,
> 
> I would like to build an mpeg file from a dvb-t sdtv transport
> 
> stream file. I'm getting these kind of errors running 'ffmpeg
> -i file.ts -
> vcodec copy -acodec copy file.mpeg':
> 
> [NULL @ 0x247a0b0]error, non monotone 
> timestamps 673204 >= 673204
> av_interleaved_write_frame(): Error while opening 
> file
> 
> Indeed, the transport stream file is 'damaged' (don't know
> why): while 
> watching with ffplay at some point, the video and
> audio are garbled, but ffplay 
> go on.
> I have also tried with '-fflags -genpts' and '-copyts' but
> no luck.
> Is 
> there a way to tell ffmpeg to 'go on' and ignore these
> errors?
> Does anyone know 
> a tool for fix damaged transport stream files?
You could try tsMuxeR/tsMuxerGUI to demux, and use the same tool to 
create a new one from hopefully repaired source.264 source.aac again to 
new.ts
> 
(Continue reading)

Tobias Brockamp | 1 Dec 17:56
Picon
Picon

Decoding Test

Hi,

is there an easy way to check if ffmpeg can decode a certain video file?

f.e. encoding several amount of frames to /dev/null is that possible?

any other ideas?
Vincent Predoehl | 1 Dec 21:05
Picon

preset files

How do I set the frame rate in a preset file?

r=29.97

doesn't work.

Thanks!!
--

-- 
Vincent

Gmane