FAQ  •  Register  •  Login

Purple Pixels - MJPEG Transcoding

<<

steveb23

Serviio newbie

Posts: 1

Joined: Sun Aug 04, 2013 2:23 pm

Post Sun Aug 04, 2013 2:28 pm

Purple Pixels - MJPEG Transcoding

Hi all,

I have some old Avi's that are of MJPEG format from a Canon and Fujufilm digital camera. Everytime I try to play these on my 2011 Panasonic E50 all I get is a jumbled screen of purpleish pixels.

I know the panasonic doesn't support MJPEG and that transcoding is required. I've looked at the transcoded (.STF file) and played it through VLC and its fine, so I think FFMPEG is doing its stuff correctly.

Not sure where to turn next to try and make this work?

Here is the FFMEG test:
Input #0, avi, from 'c:\temp\test1.avi':
Duration: 00:00:34.00, start: 0.000000, bitrate: 1266 kb/s
Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p, 320x240, 10 tbr, 10
tbn, 10 tbc
Metadata:
title : FUJIFILM AVI STREAM 0100
Stream #0:1: Audio: pcm_u8 ([1][0][0][0] / 0x0001), 8000 Hz, mono, u8, 64 kb/s
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sun Aug 04, 2013 3:17 pm

Re: Purple Pixels - MJPEG Transcoding

I have the same problem with my old Canon Ixus video MJPEG/PCM_U8

I think its a ffmpeg issue, not serviio. You have to post on ffmpeg support forum.
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

peatlinch

Serviio newbie

Posts: 3

Joined: Tue Aug 13, 2013 2:17 pm

Post Tue Aug 13, 2013 2:52 pm

Re: Purple Pixels - MJPEG Transcoding

I have the same issue while streaming MJPG encoded avi files from Serviio. Via Windows Media the file is streamed accurately. Is any progress made with this issue? My end client renderer is the Panasonic DMP-BDT 220 Blu-ray.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Aug 13, 2013 3:30 pm

Re: Purple Pixels - MJPEG Transcoding

Did you try with 1.3? If it still doesn't work, try the latest FFmpeg
<<

peatlinch

Serviio newbie

Posts: 3

Joined: Tue Aug 13, 2013 2:17 pm

Post Tue Aug 13, 2013 5:27 pm

Re: Purple Pixels - MJPEG Transcoding

I am using serviio 1.3. What is the latest FFMPEG build - 2.01? Just stick the updated binary in serviio bin or run some sort of executable? Its a windows 7 box.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Aug 13, 2013 7:39 pm

Re: Purple Pixels - MJPEG Transcoding

Get the latest static binary from zeranoe and stick it into Serviio's lib folder (to overwrite the original)
<<

peatlinch

Serviio newbie

Posts: 3

Joined: Tue Aug 13, 2013 2:17 pm

Post Wed Aug 14, 2013 11:25 pm

Re: Purple Pixels - MJPEG Transcoding

Got the latest Stable binary from FFMPEG to use in Serviio. Still no change in how the video is rendering on screen. With windows media as the streamer the avi plays fine. It's a 4:3 aspect ratio file and it appears that serviio is trying to play it 16:9 - not sure if that has anything to do with the jumbled video. The audio plays fine. I logged some of the request for this file to see what it got me:

  Code:
2013-08-14 00:01:52,138 DEBUG [ServiioHttpService] Incoming request from /192.168.0.109:4713: GET /resource/2280/MEDIA_ITEM/MPEG_TS_SD_NA_ISO-0/ORIGINAL HTTP/1.1, headers = [TimeSeekRange.dlna.org: npt=0.000-,HOST: 192.168.0.102:8895,transferMode.dlna.org: Streaming,getcontentFeatures.dlna.org: 1]]
2013-08-14 00:01:52,138 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.109
2013-08-14 00:01:52,139 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.109
2013-08-14 00:01:52,140 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.0.109, Profile=Panasonic BD player'
2013-08-14 00:01:52,140 DEBUG [ResourceDeliveryProcessor] Request for resource 2280 and type 'MEDIA_ITEM' received
2013-08-14 00:01:52,140 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 2280 (local)
2013-08-14 00:01:52,140 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 2280)
2013-08-14 00:01:52,141 DEBUG [VideoDAOImpl] Reading a Video (id = 2280)
2013-08-14 00:01:52,142 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 2280, format MPEG_TS_SD_NA_ISO and profile Panasonic BD player
2013-08-14 00:01:52,142 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file MVI_7262.AVI
2013-08-14 00:01:52,142 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file MVI_7262.AVI: MPEG_TS_SD_EU_ISO
2013-08-14 00:01:52,142 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file MVI_7262.AVI: MPEG_TS_SD_NA_ISO
2013-08-14 00:01:52,142 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file MVI_7262.AVI: MPEG_TS_SD_KO_ISO
2013-08-14 00:01:52,142 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 2280 (local)
2013-08-14 00:01:52,143 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 2280)
2013-08-14 00:01:52,144 DEBUG [VideoDAOImpl] Reading a Video (id = 2280)
2013-08-14 00:01:52,145 DEBUG [VideoDeliveryEngine] Delivering item '2280' for client 'Identifier=192.168.0.109, Profile=Panasonic BD player'
2013-08-14 00:01:52,145 DEBUG [VideoDeliveryEngine] Delivering file 'MVI_7262.AVI' using transcoding
2013-08-14 00:01:52,145 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'Identifier=192.168.0.109, Profile=Panasonic BD player'
2013-08-14 00:01:52,145 DEBUG [FileBasedTranscodingDeliveryStrategy] Transcoded file 'C:\Windows\TEMP\Serviio\transcoding-temp-2280-panasonicBDT220-ORIGINAL.stf' is complete, sending simple stream
2013-08-14 00:01:52,146 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file MVI_7262.AVI: MPEG_TS_SD_EU_ISO
2013-08-14 00:01:52,146 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file MVI_7262.AVI: MPEG_TS_SD_NA_ISO
2013-08-14 00:01:52,146 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file MVI_7262.AVI: MPEG_TS_SD_KO_ISO
2013-08-14 00:01:52,146 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 2280) as read
2013-08-14 00:01:52,149 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2013-08-14 00:01:52,150 DEBUG [GETMethodProcessor] Stream entity has length: 44213840
2013-08-14 00:01:52,150 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2013-08-14 00:01:52,150 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Wed, 14 Aug 2013 04:01:52 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/1.3,Cache-control: no-cache,TimeSeekRange.dlna.org: npt=0-25/25,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_TS_SD_NA_ISO;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Aug 15, 2013 11:43 pm

Re: Purple Pixels - MJPEG Transcoding

I've created FFmpeg ticket, let's see: https://trac.ffmpeg.org/ticket/2870
<<

mihai

Serviio newbie

Posts: 16

Joined: Sat Nov 30, 2013 1:33 pm

Post Sat Nov 30, 2013 1:37 pm

Re: Purple Pixels - MJPEG Transcoding

Great to know that "-pix_fmt yuv420p" fixes it! Thanks for pursing it through the ffmpeg ticket.
How do we pass this switch from Serviio?
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sat Nov 30, 2013 4:59 pm

Re: Purple Pixels - MJPEG Transcoding

This will be available in the next 1.4 version (in few weeks for Chrmx).
<<

mihai

Serviio newbie

Posts: 16

Joined: Sat Nov 30, 2013 1:33 pm

Post Sun Dec 01, 2013 5:58 pm

Re: Purple Pixels - MJPEG Transcoding

Cool!

Return to Panasonic

Who is online

Users browsing this forum: No registered users and 9 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.