Re: [Libav-user] Double frame rate after conversion

2012-05-16 Thread Alex Cohn
On Thu, May 17, 2012 at 4:29 AM, wrote: > I usually use SMPlayer, but even ffplay shows the same behavior (the speed > is twice so the time length is half). > my version of VLC can not play .264 files, may be i need to install a patch > or upgrade it. One reason could be that your input mpg file

Re: [Libav-user] Extracted I-Frames seems not correct, Why?

2012-05-16 Thread Alex Cohn
On Thu, May 17, 2012 at 6:32 AM, wrote: > OMG, when i check the I-Frames by JM software, that software shows only 3 > I-Frames. how this is possible? please help me to understand where is my > problem? You can use ffmpeg debugging to learn more about your video stream. ffmpeg -i C:\1adapt.264 -

Re: [Libav-user] Extracted I-Frames seems not correct, Why?

2012-05-16 Thread amir . rouhi
OMG, when i check the I-Frames by JM software, that software shows only 3 I-Frames. how this is possible? please help me to understand where is my problem? On 17 May 2012 12:05, wrote: > I am confusing guys, i encountered a new problem in regard with adaptive > and fixed rate I-Frames by ffmpeg

Re: [Libav-user] Extracted I-Frames seems not correct, Why?

2012-05-16 Thread amir . rouhi
I am confusing guys, i encountered a new problem in regard with adaptive and fixed rate I-Frames by ffmpeg under windows. it is as below: first i convert the original video (mpeg1) to the pure h.264 format by below command for adaptive I-Frame rate: ffmpeg -i C:\1.mpg -r 25 -an -vcodec libx264 -th

Re: [Libav-user] Double frame rate after conversion

2012-05-16 Thread amir . rouhi
I usually use SMPlayer, but even ffplay shows the same behavior (the speed is twice so the time length is half). my version of VLC can not play .264 files, may be i need to install a patch or upgrade it. On 17 May 2012 04:38, Alex Cohn wrote: > On May 16, 2012 1:45 PM, wrote: > > > > Knowing th

Re: [Libav-user] Retrieve 10bit video frames

2012-05-16 Thread Michael Bradshaw
> However, the decoded frameYUV->data is of type uint8_t, and I would expect > to get something able to store 10bit values like a uint16_t. So, what is > returned in this 8bit array in this case? How can I proceed to get the 10bit > values? Just cast the buffer. uint16_t* planes[3] = {(uint16_t*)

[Libav-user] Retrieve 10bit video frames

2012-05-16 Thread Dnegel X.
Hi, I would like to decode 10bit videos into PIX_FMT_YUV422P10LE pixel format, using: struct SwsContext* swContext = sws_getContext(width, height, originalpixfmt, width, height, PIX_FMT_YUV422P10LE, SWS_FAST_BILI

Re: [Libav-user] Double frame rate after conversion

2012-05-16 Thread Alex Cohn
On May 16, 2012 1:45 PM, wrote: > > Knowing that what is tbr exactly, can not solve the problem. the frame rate are same technically, when you compare the information by ffmpeg. The fact is that the transformed video, after using vcodec libx264, is twice faster as the original video. when i compa

Re: [Libav-user] Challenge... create a black .TS file from NOTHING?

2012-05-16 Thread Wagner Patriota
perfectly... it worked! :-) thanks... yes... I will customize now on... thankz!!! On Wed, May 16, 2012 at 3:17 AM, Carl Eugen Hoyos wrote: > Wagner Patriota writes: > > > Is there a way in ffmpeg for me to create a .TS video only with > > 1 stream of video H.264 with black frames? > > $ ffmpeg

Re: [Libav-user] Double frame rate after conversion

2012-05-16 Thread amir . rouhi
Knowing that what is tbr exactly, can not solve the problem. the frame rate are same technically, when you compare the information by ffmpeg. The fact is that the transformed video, after using vcodec libx264, is twice faster as the original video. when i compare the information of bot video i not

Re: [Libav-user] Double frame rate after conversion

2012-05-16 Thread Alex Cohn
On Wed, May 16, 2012 at 11:38 AM, wrote: > Hi > I convert a mpeg1 video mpeg4/ AVC by the below command but i dont know > why the visual frame rate become double after conversion (fps in both are > same but tbr will be twice as the original video) > > ffmpeg -i C:\Video\TrecVid-Video\2\1.mpg -r 2

Re: [Libav-user] Extracted I-Frames seems not correct, Why?

2012-05-16 Thread Carl Eugen Hoyos
Alex Cohn writes: > If I understand correctly, Amir complains about the > encoder, not the decoder. Then your answer was clearly more helpful than mine! Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/

Re: [Libav-user] Double frame rate after conversion

2012-05-16 Thread Carl Eugen Hoyos
writes: > I convert a mpeg1 video mpeg4/ AVC by the below command but > i dont know why the visual frame rate become double after > conversion (fps in both are same but tbr will be twice as > the original video) But tbr is not the framerate. > ffmpeg -i C:\Video\TrecVid-Video\2\1.mpg -r 25

Re: [Libav-user] Extracted I-Frames seems not correct, Why?

2012-05-16 Thread Alex Cohn
On Fri, May 11, 2012 at 7:09 AM, wrote: > Hi to ffmpeg seniors and experts > I am using windows platform and I have created a series of video in pure > format of *.264 from raw format by the below command: > > ffmpeg -f rawvideo -pix_fmt yuv420p -s 360x240 -i C:\1.yuv -an -vcodec > libx264 -threa

[Libav-user] Double frame rate after conversion

2012-05-16 Thread amir . rouhi
Hi I convert a mpeg1 video mpeg4/ AVC by the below command but i dont know why the visual frame rate become double after conversion (fps in both are same but tbr will be twice as the original video) ffmpeg -i C:\Video\TrecVid-Video\2\1.mpg -r 25 -an -vcodec libx264 -threads 0 -f h264 -r 25 -g 0 C

Re: [Libav-user] Extracted I-Frames seems not correct, Why?

2012-05-16 Thread Alex Cohn
On Tue, May 15, 2012 at 8:46 AM, Carl Eugen Hoyos wrote: > writes: > > > Would you explain how can i test it with referenced decoder? > > do you mean , testing by JM software? > > Yes, JM is the H264 reference decoder. > > > If you mean this, i should say that i have extracted i > > frames by J