FAQ  •  Register  •  Login

Process cmd has a return code of 1! This is a possible error

<<

okgrund

Serviio newbie

Posts: 7

Joined: Sat Sep 29, 2012 6:40 pm

Post Sat Sep 29, 2012 6:48 pm

Process cmd has a return code of 1! This is a possible error

Topic speaks for itself, check the code for more info

I read this topic viewtopic.php?f=7&t=7357 so I added this paramter:
-analyzeduration

I'm remuxing h264 to my Grundig 7139 TV. I'm pretty sure it actually did work twice in a row, but after that no go, must have tried like 20 times. The two times it did work (after lots of trial and error) was before adding analyseduration.

Nevermind PS3, the profile is edited.

  Code:
2012-09-29 19:32:56,660 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file http://127.0.0.1:8902/stream.asf: AVC_TS_MP_HD_MPEG1_L3_ISO
2012-09-29 19:32:56,680 DEBUG [OnlineRepositoryDAOImpl] Retrieving list of [FEED, WEB_RESOURCE] OnlineRepositories for VIDEO [No_Restriction]
2012-09-29 19:32:56,683 DEBUG [OnlineRepositoryDAOImpl] Retrieving list of [LIVE_STREAM] OnlineRepositories for VIDEO [No_Restriction]
2012-09-29 19:32:56,695 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2012-09-29 19:32:57,916 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:InternetGatewayDevice:1 from address /10.0.0.6:63643
2012-09-29 19:32:57,916 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 10.0.0.6
2012-09-29 19:32:59,518 DEBUG [WebServer] Incoming connection from /10.0.0.8:44007
2012-09-29 19:32:59,519 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 10.0.0.8
2012-09-29 19:32:59,520 DEBUG [ResourceTransportRequestHandler] GET /resource/1000000000010001/MEDIA_ITEM/AVC_TS_MP_HD_MPEG1_L3_ISO-0/ORIGINAL HTTP/1.1, headers = [Connection: TE, close,TE: trailers,Host: 10.0.0.7:8895,User-Agent: GStreamer neonhttpsrc,icy-metadata: 1]]
2012-09-29 19:32:59,521 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 10.0.0.8
2012-09-29 19:32:59,525 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/10.0.0.8, Profile=Playstation 3'
2012-09-29 19:32:59,527 DEBUG [ResourceDeliveryProcessor] Request for resource 1000000000010001 and type 'MEDIA_ITEM' received
2012-09-29 19:32:59,528 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000000010001 (online)
2012-09-29 19:32:59,528 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 1)
2012-09-29 19:32:59,529 DEBUG [VideoDeliveryEngine] Delivering item '1000000000010001' for client 'IPAddress=/10.0.0.8, Profile=Playstation 3'
2012-09-29 19:32:59,529 DEBUG [VideoDeliveryEngine] Delivering file 'http://127.0.0.1:8902/stream.asf' using transcoding
2012-09-29 19:32:59,529 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/10.0.0.8, Profile=Playstation 3'
2012-09-29 19:32:59,530 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: http://127.0.0.1:8902/stream.asf
2012-09-29 19:32:59,531 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\lib\ffmpeg.exe" -analyzeduration 10000000 -fflags +genpts -i http://127.0.0.1:8902/stream.asf -y -copyts -c:v copy -vbsf h264_mp4toannexb -c:a copy -map 0:1 -map 0:0 -sn -f mpegts pipe:
2012-09-29 19:32:59,544 WARN  [ProcessExecutor] Process cmd has a return code of 1! This is a possible error.
2012-09-29 19:32:59,544 DEBUG [TranscodingJobListener] Transcoding finished; successful: false


Here is 40 VLE 7139 BR profile downloaded from TV.

  Code:
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_T,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO_T,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU_T,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA_T,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_KO_T,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_KO,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_KO_ISO,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_KO_ISO,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_NA_ISO,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_NA_ISO,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_EU_ISO,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_H263_MP4_P0_L45_HEAACv2_L2,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_3GPP_SP_L0B_AAC,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_SP_VGA_AAC,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_SP_L6_AAC,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_SP_L5_AAC,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_SP_VGA_HEAAC_res,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_SP_L6_HEAAC_L2,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_SP_L0B_HEAACv2_L2,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_SP_L3_HEAACv2_L2,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_SP_AAC_LTP,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_ASP_AAC,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF30_AAC_940,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_SP_AAC,http-get:*:video/3gpp:DLNA.ORG_PN=MPEG4_P2_3GPP_SP_L0B_AMR,http-get:*:video/3gpp:DLNA.ORG_PN=MPEG4_H263_3GPP_P3_L10_AMR,http-get:*:video/3gpp:DLNA.ORG_PN=MPEG4_H263_3GPP_P0_L10_AMR,http-get:*:video/3gpp:DLNA.ORG_PN=MPEG4_H263_3GPP_P0_L45_AMR,http-get:*:video/3gpp:DLNA.ORG_PN=MPEG4_H263_3GPP_P0_L45_AMR_WBplus,http-get:*:video/3gpp:DLNA.ORG_PN=MPEG4_P2_3GPP_SP_L0B_AAC,http-get:*:video/3gpp:DLNA.ORG_PN=MPEG4_H263_MP4_P0_L10_AAC,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/mp4:,http-get:*:audio/x-ms-wma:,http-get:*:audio/x-hx-aac-adts:,http-get:*:audio/wav:,http-get:*:video/quicktime:,http-get:*:video/mov:,http-get:*:video/x-xvid:,http-get:*:video/mp4:,http-get:*:video/mpeg:,http-get:*:video/vnd.dlna.mpeg-tts:,http-get:*:video/x-ms-avi:,http-get:*:video/avi:,http-get:*:video/divx:,http-get:*:video/x-divx:,http-get:*:video/x-matroska:,http-get:*:*:
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sat Sep 29, 2012 10:17 pm

Re: Process cmd has a return code of 1! This is a possible e

Its a bug - see viewtopic.php?f=5&t=7141&p=51478#p51478 need to remove the annexb filter

PS: how were you able to add the -analyseduration parameter to the Serviio ffmpeg command? Whats the method?
<<

okgrund

Serviio newbie

Posts: 7

Joined: Sat Sep 29, 2012 6:40 pm

Post Sat Sep 29, 2012 11:37 pm

Re: Process cmd has a return code of 1! This is a possible e

Ok thanks will check into that..

After hours of trial and error + searching I found a way to edit it

ServiioService.exe.vmoptions in C:\Program Files\Serviio\bin

  Code:
-Xmx512m
-Dffmpeg.location=C:\Program Files\Serviio\lib\ffmpeg.exe" -analyzeduration 10000000
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sun Sep 30, 2012 12:01 am

Re: Process cmd has a return code of 1! This is a possible e

Super. Thanks.
<<

okgrund

Serviio newbie

Posts: 7

Joined: Sat Sep 29, 2012 6:40 pm

Post Sun Sep 30, 2012 12:04 am

Re: Process cmd has a return code of 1! This is a possible e

So the only workaround now is to transcode? Remux no go?

Edit: your welcome :)
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sun Sep 30, 2012 12:19 am

Re: Process cmd has a return code of 1! This is a possible e

Why are you remuxing. It is already an h264.ts and you are copying both video and audio streams, so why not play it natively?
<<

okgrund

Serviio newbie

Posts: 7

Joined: Sat Sep 29, 2012 6:40 pm

Post Sun Sep 30, 2012 10:42 am

Re: Process cmd has a return code of 1! This is a possible e

Didnt work the few times I tried that.. the stream is sometimes MPEG-PS which my TV doesn't support, but yesterday VLC reported it as mpgv
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sun Sep 30, 2012 3:13 pm

Re: Process cmd has a return code of 1! This is a possible e

Yea, good old bloodz! He uses all kinds of weird formats. Guess he doesn't use DLNA. My workaround until 1.1 is to invoke a bat file when ffmpeg is called and remove that extra parm, then call ffmpeg. I also I use ffmpeg -analyzeduration 10000000 -i http://localhost:8902 to get the attributes of any sopcast stream rather than vlc.
<<

okgrund

Serviio newbie

Posts: 7

Joined: Sat Sep 29, 2012 6:40 pm

Post Sun Sep 30, 2012 3:53 pm

Re: Process cmd has a return code of 1! This is a possible e

Yeah! Mind sharing the bat code and how to include the .bat?

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 33 guests

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