Go to advanced search

by dickon
Fri Mar 15, 2013 9:27 am
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 134338

Re: omxtx - open source transcoding example

Some of that ffmpeg output looks a little weird to me; the '32.82 fps' in particular. Can you upload enough of that to cause trouble somewhere I can get to it, and I'll have a poke. I don't have any MPEG 2 ATSC content (which I assume that is) to test with.
by dickon
Mon Mar 11, 2013 1:18 am
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 134338

Re: omxtx - open source transcoding example

Great program, shows what the raspberry pi can really do (i.e transcode a dvd 6 times faster than realtime.) Had a small problem with subtitles but after sorting that its now perfect for backing-up my entire dvd collection. Thanks to all the developers, it really is brillant :D Blimey. It does what...
by dickon
Tue Jan 29, 2013 11:01 pm
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 134338

Re: omxtx - open source transcoding example

I doubt it, as omxtx just dumps anything non-video straight to the output container, and doesn't bother the hardware with it. I've had a busy few weeks -- hence the lack of updates -- and I'm afraid this is likely to continue for a while (Six Nations, then the Reading Ale Trail, to name but two), so...
by dickon
Mon Jan 28, 2013 6:29 pm
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 134338

Re: omxtx - open source transcoding example

Anyone run into this error from allocbuffs: Allocated a buffer of 81920 bytes OMX_UseBuffer(h, end, port, NULL, portdef->nBufferSize, buf) failed on line 622: 80001018 Which is: /* Attempting a command that is not allowed during the present state. */ OMX_ErrorIncorrectStateOperation = (OMX_S32) 0x8...
by dickon
Mon Jan 14, 2013 12:17 pm
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 134338

Re: omxtx - open source transcoding example

Hmm, right, ta. I've been having trouble with tags and codecs with that container (not to mention it sometimes being unplayable until the file is closed, so partials can't be checked), so I've been avoiding it. I thought Matroska was supposed to just work...
by dickon
Mon Jan 14, 2013 8:49 am
Forum: Graphics programming
Topic: Grap framebuffer from omxplayer
Replies: 5
Views: 3062

Re: Grap framebuffer from omxplayer

Well, there's an audio_splitter component...
by dickon
Sun Jan 13, 2013 5:37 pm
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 134338

Re: omxtx - open source transcoding example

Anyway, I now seem to have a mostly-unseekable stream playing of one of my test streams. Try that. Well, I now know why they're unseekable. Downside is, I can't spot an obvious fix. H.264 is a tad more complicated than I remember. There are two packets emitted at the beginning of a stream from the ...
by dickon
Mon Jan 07, 2013 10:13 am
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 134338

Re: omxtx - open source transcoding example

I'm using a homebrew lavf, built from ffmpeg's git repository. I get audio and video in sync on the 720p Big Buck Bunny, but I can't seek. Playback is via mplayer on my Debian desktop, from deb-multimedia.org. H.264 is 'problematic' not because of 'politics', but because of patents and licensing iss...
by dickon
Sat Jan 05, 2013 11:35 pm
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 134338

Re: omxtx - open source transcoding example

I'll see what I can do, but it'll have to be tomorrow.

Two King Cobras with the curry tonight. Never a good thing for productivity once home.
by dickon
Sat Jan 05, 2013 5:05 pm
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 134338

Re: omxtx - open source transcoding example

Oops.

Uninitialised bsfc in dofiltertest() being returned unset. Fixed.
by dickon
Sat Jan 05, 2013 4:24 pm
Forum: Graphics programming
Topic: Grap framebuffer from omxplayer
Replies: 5
Views: 3062

Re: Grap framebuffer from omxplayer

You'll need to edit the omxplayer code, obviously. Drop the video_splitter component between the scheduler and the video_renderer and take buffers off one of the spare ports of the splitter. I have a feeling you will hit all sorts of amusing performance issues if you do this, though. It's probably w...
by dickon
Sat Jan 05, 2013 4:15 pm
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 134338

Re: omxtx - open source transcoding example

I can't get it to do anything useful with the 480p Big Buck Bunny, although it does with the 720p. I get no output in the file for the 480p, for some reason, although it does appear to be doing what I'd expect it to. Again, as with my own test streams, it produces output which ffplay, mplayer and vl...
by dickon
Sat Jan 05, 2013 1:42 pm
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 134338

Re: omxtx - open source transcoding example

I must admit, I'm heading that way, too. I've taken the nontrivial step of seeing if the Pi's build of ffmpeg is broken and built my own, cross-compiling from my desktop to save some months on the Pi. No change, other than a few minor API issues (and a lot of kerfuffle with symlinks and whatnot tryi...
by dickon
Wed Jan 02, 2013 6:52 pm
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 134338

Re: omxtx - open source transcoding example

I struggled, but I think I got the gist :-)

I should be free tomorrow to look at things.
by dickon
Wed Jan 02, 2013 1:55 am
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 134338

Re: omxtx - open source transcoding example

Raw NALs have no timestamps but are in DTS order, so playback speed doesn't matter. I've no idea what lavf reports those as; I'd've assumed AV_NOPTS_VALUE for every frame (which would be right).
by dickon
Tue Jan 01, 2013 7:07 pm
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 134338

Re: omxtx - open source transcoding example

Hmm. I might have a look at that. It's been a while since I last bothered; I expect it'll've come on a bit since then.
by dickon
Tue Jan 01, 2013 6:01 pm
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 134338

Re: omxtx - open source transcoding example

Oh, actually, maybe it has. I have a test stream I often use for this sort of thing -- it's a copy of Lord of Misrule from the BBC Archives -- which I know to be fairly correct. It'll now at least play after transcoding, albeit again unseekably and only if I specify -fps to mplayer. It wasn't doing ...
by dickon
Tue Jan 01, 2013 5:49 pm
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 134338

Re: omxtx - open source transcoding example

Something odd going on there, certainly. Oh well, just proves that the clocks are thoroughly broken still.

I've pushed my buffer fixes up. Hasn't made any difference.
by dickon
Tue Jan 01, 2013 5:10 pm
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 134338

Re: omxtx - open source transcoding example

That's interesting. You should also see a few before the main setup output, as it'll be feeding those frames to the decoder for it to guess at the frame size. -9223372036854775808 is AV_NOPTS_VALUE. There is one more bug that I've spotted and am in the process of fixing: lavf takes ownership of the ...
by dickon
Tue Jan 01, 2013 1:46 pm
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 134338

Re: omxtx - open source transcoding example

Just to the main loop. Two new variables: tmpbuf and tmpbufoff, and a bit of code to detect if it's an unfinished packet, copy the contents, and restart the loop.
by dickon
Tue Jan 01, 2013 1:25 pm
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 134338

Re: omxtx - open source transcoding example

Oh. I've found one problem: I thought each frame was only encapsulated in one buffer, but it appears that's not the case. I've just pushed a fix.
by dickon
Tue Jan 01, 2013 1:01 pm
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 134338

Re: omxtx - open source transcoding example

I'm just downloading the .mov. I'm not sure what's going on with the timings, but I'm seeing similar issues to you with the 720p AVI.
by dickon
Tue Jan 01, 2013 12:21 pm
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 134338

Re: omxtx - open source transcoding example

2400000.00? Novel...

I've been using various files to test with, as I have a fair few around here.

Which bigbuckbunny are you using? Can you give me the direct URL?
by dickon
Tue Jan 01, 2013 11:09 am
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 134338

Re: omxtx - open source transcoding example

\I tried transcoding big buck bunny tonight: http://www.bigbuckbunny.org/index.php/download/ (1280x720 mp4) My findings: ./omxtx bunny.avi output.m4v Results in an error basically saying that the audio (ac3) is not supported by the output container Expected. m4v is H.264 only, I believe; no audio. ...
by dickon
Mon Dec 31, 2012 7:11 pm
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 134338

Re: omxtx - open source transcoding example

The problem with using the audio renderer and the clock components is that you're then tied to transcoding at a maximum of real-time. Not ideal, and not actually needed. You should have PTS values available in both your video and associated audio streams. These give you the times at which your packe...

Go to advanced search