Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#3614 closed enhancement (wontfix)

Targa doesn't work with image2pipe

Reported by: Maverick Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: targa
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

I have image001.tga, image002.tga, image003.tga... all being piped into ffmpeg. I'm expecting ffmpeg to accept the tga files and build them into an mp4. However instead it outputs a number of errors and the resulting mp4 is absent or broken.

ffmpeg command and output:
http://pastebin.com/GSBUEbEh

Additional notes:
-If instead of piping the tga files in I add them in sequentially using image2 then there are no errors and the mp4 file is created perfectly.
-Using the image2pipe command (as seen in the pastebin) with jpg files works perfectly as well.

Attachments (4)

ffmpeg_command.txt (130 bytes ) - added by Maverick 10 years ago.
command line
ffmpeg_output.txt (11.5 KB ) - added by Maverick 10 years ago.
output
3295_0000.zip (1.4 MB ) - added by Maverick 10 years ago.
targa0000
3295_0001.zip (1.4 MB ) - added by Maverick 10 years ago.
targa0001

Change History (16)

comment:1 by Carl Eugen Hoyos, 10 years ago

Do the targa files differ in size?

Please understand that using external resources is not ok, please post all information here in the ticket.

comment:2 by Maverick, 10 years ago

They do in size, but they all have the same dimensions and bit depth.

comment:3 by Carl Eugen Hoyos, 10 years ago

Component: ffmpegavcodec
Keywords: tga added
Version: unspecifiedgit-master

Then please attach two targa files that allow to reproduce the issue and post the failing command line including complete, uncut console output here to make this a valid ticket.

Last edited 10 years ago by Carl Eugen Hoyos (previous) (diff)

by Maverick, 10 years ago

Attachment: ffmpeg_command.txt added

command line

by Maverick, 10 years ago

Attachment: ffmpeg_output.txt added

output

comment:4 by Maverick, 10 years ago

Sorry about that, I've attached the command line and output text files.

by Maverick, 10 years ago

Attachment: 3295_0000.zip added

targa0000

by Maverick, 10 years ago

Attachment: 3295_0001.zip added

targa0001

comment:5 by Carl Eugen Hoyos, 10 years ago

The files you attached have the same size (meaning you can use the image2pipe demuxer option -frame_size to decode them), do you have samples from the same sequence with different file size?

Last edited 10 years ago by Carl Eugen Hoyos (previous) (diff)

in reply to:  5 comment:6 by Carl Eugen Hoyos, 10 years ago

Replying to cehoyos:

The files you attached have the same size (meaning you can use the rawvideo demuxer option -video_size to decode them)

Sorry for the typo:
It is the image2pipe demuxer option -video_size

comment:7 by Carl Eugen Hoyos, 10 years ago

And the name of the option is -frame_size...

comment:8 by Maverick, 10 years ago

Actually, after checking this out it looks like all the files are the same size on the disk and they are all 1920x1080.

I'm a little confused given the typo with rawvideo/image2pipe; can you give an example command line I should use?

comment:9 by Carl Eugen Hoyos, 10 years ago

Priority: normalwish
Reproduced by developer: set
Resolution: wontfix
Status: newclosed
Type: defectenhancement
$ ffmpeg -f image2pipe -vcodec targa -frame_size 6220818 -i -

I am not convinced there ever will be a targa parser (which would be necessary to do this without -frame_size).

comment:10 by Maverick, 10 years ago

Sorry to ask, but what is the calculation behind the frame_size? I'm not sure how you are getting 6220818. Thanks again.

comment:11 by Maverick, 10 years ago

Oh, nevermind. It's just the filesize in bytes. Sorry.

comment:12 by Carl Eugen Hoyos, 7 years ago

Keywords: targa added; tga removed
Note: See TracTickets for help on using tickets.