Axel Gunter | 1 Mar 03:02
Picon

Re: Problem converting MPEG2TS to h264

VĂ­ctor Paesa wrote:
> Hi,
>
>   
>>>>>> This might be a newbie question. I am trying to convert an MPEG2 TS
>>>>>> into
>>>>>> h264 encoded clip and facing problems. Here is the command I am
>>>>>> using -
>>>>>> *./ffmpeg -i source.ts -vcodec h264 -y -f h264 output.h264
>>>>>>
>>>>>> *This produces a zero sized output.h264 file.
>>>>>>
>>>>>> Here is the output log,
>>>>>> *FFmpeg version SVN-r7773, Copyright (c) 2000-2006 Fabrice Bellard,
>>>>>> et
>>>>>> al.
>>>>>>   configuration:
>>>>>>   libavutil version: 49.2.0
>>>>>>   libavcodec version: 51.29.0
>>>>>>   libavformat version: 51.8.0
>>>>>>   built on Jan 31 2007 15:31:51, gcc: 3.2.3 20030502 (Red Hat Linux
>>>>>> 3.2.3-53)
>>>>>> Input #0, mpegts, from 'source.ts':
>>>>>>   Duration: 00:27:15.4, start: 35760.523600, bitrate: 4606 kb/s
>>>>>>   Stream #0.0[0x1020](eng): Audio: 0x0000, 48000 Hz, stereo, 192 kb/s
>>>>>> Output file does not contain any stream
>>>>>>
>>>>>> *What might be the problem here?
>>>>>>
>>>>>>
(Continue reading)

Axel Gunter | 1 Mar 03:12
Picon

H264 encoded video has jitters

Hi,

Was successful in encoding H264 (carried over mpegts) from mpeg2 encoded 
transport stream using the following command -
./ffmpeg -i source.ts -vcodec h264 -s 320x240 -refs 4 -bf 2 -y -f mpegts 
-acodec copy output.ts

However when I play the output.ts file using VLC player, it shows video 
jitter and frames being displayed out-of-order at times. Anyone has an 
idea why this might be happening?

Thanks
Axel
Thu Mai | 1 Mar 04:47
Picon

Register a new protocol and use it as URL .how to?

Hello everyone !
Could you please show me how to register a new protocol and use it as URL as
that was mentioned in this link
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2006-December/049529.html
Maybe a code snippet will help me alot.
Thank you
<http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2006-December/049529.html>
--
Mai xuan Thu
thumaixuan <at> gmail.com

Research and  Development Laboratory of Multimedia Technology
Hanoi University of Technology.
Hanoi Vietnam
Thu Mai | 1 Mar 04:57
Picon

Decode video Elementary stream directly from buffer not from file? How to

Hi everyone!
I'm having a problem with av_open_input_file because this function only
deals with files on hard disk, not in buffer. In my project, i have to
receive data from RTP packet and decode its payload (a Video ES).
My solution up to now is writting these incoming data into a file and use
av_open_input_file to open it but i thinks it is not a good solution.
Could you please show me a solution to this problem .A code sample will help
me alot.
Thank you !

--

-- 
Mai xuan Thu
thumaixuan <at> gmail.com

Research and  Development Laboratory of Multimedia Technology
Hanoi University of Technology.
Hanoi Vietnam
Mathias Soeken | 1 Mar 08:53
Picon
Favicon

Generating HDV1 compatible files

Hi,

I want to create HDV1 (MP <at> H-14) [1] compatible files (1280x720, 50 frames 
progressive). I have generated such a file with TMPGEnc yesterday, a 
screenshot of the settings is at [2]. But in this case, they choose HDV2 with 
other dimensions and other framerate.

Sorry for annoying, I have asked similar questions in #ffmpeg on freenode, but 
my connection was sometimes very weak, so I disconnected very often, so I try 
it with the mailing list.

Best regards,
Mathias

[1] http://en.wikipedia.org/wiki/MPEG-2#Profiles_and_Levels
[2] http://tmpgenc.pegasys-inc.com/de/product/thumbnail/te4xp_05a.html
Daren Chandisingh | 1 Mar 10:13

RE: Sound (and video) problems transcoding from .3gp to.flv

On 27 February 2007 17:30, I wrote:

> To: ffmpeg-user <at> mplayerhq.hu
> Subject: [Ffmpeg-user] Sound (and video) problems transcoding 
> from .3gp to.flv
> 
> Hi, 
> 
> I'm trying to transcode .3gp video files to .flv.  Whenever I 
> do this, the resultant file appears to play slightly slowly, 
> and the sound is drawn own.  I've tried extracting an .mp3 
> stream on its own, and that played through with the correct pitch.  
> 
> Are there any particular issues transcoding .3gp to .flv, or 
> is there anything one can suggest?  
> 
> Here are some examples of my output:
> 
> [root <at> genesis user1]# ffmpeg -i
> baea2bd62aeda73c9c61bb91c98f3240247faed9.3gp -an 
> video-only.flv FFmpeg version SVN-r8090, Copyright (c) 
> 2000-2007 Fabrice Bellard, et al.
>   configuration: --enable-amr_nb --enable-amr_wb 
> --enable-shared --enable-libmp3lame
>   libavutil version: 49.3.0
>   libavcodec version: 51.34.0
>   libavformat version: 51.10.0
>   built on Feb 23 2007 12:01:57, gcc: 4.1.1 20061011 (Red Hat 
> 4.1.1-30) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
> 'baea2bd62aeda73c9c61bb91c98f3240247faed9.3gp':
(Continue reading)

Michel Bardiaux | 1 Mar 11:35
Picon

Re: Decode video Elementary stream directly from buffer not from file? How to

Thu Mai wrote:
> Hi everyone!
> I'm having a problem with av_open_input_file because this function only
> deals with files on hard disk, not in buffer. In my project, i have to
> receive data from RTP packet and decode its payload (a Video ES).
> My solution up to now is writting these incoming data into a file and use
> av_open_input_file to open it but i thinks it is not a good solution.
> Could you please show me a solution to this problem .A code sample will 
> help
> me alot.
> Thank you !
> 

Why do you post this again since you *have* seen my reply about 
register_protocol?

--

-- 
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux <at> mediaxim.be

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/
Michel Bardiaux | 1 Mar 11:58
Picon

Re: Register a new protocol and use it as URL .how to?

Thu Mai wrote:
> Hello everyone !
> Could you please show me how to register a new protocol and use it as 
> URL as
> that was mentioned in this link
> http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2006-December/049529.html
> Maybe a code snippet will help me alot.

Have you even tried looking in the sources?

Here is some pseudocode:

typedef struct {
	char*	buf;
	int	buflen, bufused;
} BUF;

static int hpany_close(URLContext* h)
{
	BUF*	pf = (BUF*)&h->priv_data;
	// I dont free(pf->buf);, I assume the data belongs to the app
	free(pf);
	return 0;
}

static int hpany_open(URLContext *h, const char *pseudofilename, int flags)
{
	// URL syntax: hpany:0x12345678
	int 		r = -ENOENT;
	BUF*		af;
(Continue reading)

RE: Decode video Elementary stream directly from buffernot from file? How to


>> Hi everyone!
>> I'm having a problem with av_open_input_file because this function 
>> only deals with files on hard disk, not in buffer. In my project, i 
>> have to receive data from RTP packet and decode its payload (a Video
ES).
>> My solution up to now is writting these incoming data into a file and

>> use av_open_input_file to open it but i thinks it is not a good
solution.
>> Could you please show me a solution to this problem .A code sample 
>> will help me alot.
>> Thank you !
>> 

>Why do you post this again since you *have* seen my reply about
register_protocol?

Probably because the poster would like a source code example or a
sensible level of documentation!. I've been trying to achieve something
similar for a number of weeks now without success.

********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
(Continue reading)

Axel Gunter | 1 Mar 19:57
Picon

Problem with h264 B-frames?

Hi Experts,

Do we know of any known problem using h264 video codec and having 
B-frames? I am using mpegts as the transport.

when using the command below the output video looks jerky with frames 
being rendered out of order (some problem with timestamps using B-frames?)
./ffmpeg -i source.ts -vcodec h264 -s 320x240 -refs 4 -bf 2 -y -f mpegts 
-acodec copy output.ts

However, when I disable B-frames using the command below, the video is 
better (VLC says dropping late frames, but that might be a decoder 
problem). At least the time stamps seem to be ok.
./ffmpeg -i source.ts -vcodec h264 -s 320x240 -refs 4 -bf 0 -y -f mpegts 
-acodec copy output.ts

Has anyone seen this behavior before? Any help is appreciated.

-Axel

Gmane