VLC can't play .ps file transcoded from VLC

About encoding, codec settings, muxers and filter usage
johnny0
New Cone
New Cone
Posts: 3
Joined: 04 May 2011 07:17

VLC can't play .ps file transcoded from VLC

Postby johnny0 » 04 May 2011 08:15

Hi-

I've been playing around with transcoding the live video feed of the earth from the International Space Station which is pretty sweet.

Anyway, today, with 10 minutes to spare I realized there was going to be a pass right over San Francisco but was away from my Mac where I've successfully transcoded it to mp4 before. I quickly installed VLC on a PC and went through the streaming wizard.

While I thought I had selected .mp4, the output was a .ps file. It's certainly the right size (about 16MB for 5 minutes of 640x480) but I when I open it in VLC I get no video, just a moving cursor along the scrubbing bar. I've tried converting in Handbrake but no luck.

The codec says mpgv (along with mp4a and mpga for audio, not that there is any meaningful audio).

I suspect in the rush I hosed the export (a shame, really, since the pass was directly overhead and you could see from Oregon to Los Angeles) but I wanted to see if there was any hope in extracting the video. I've uploaded the .ps file here.

I've included the message log:

Code: Select all

main debug: Creating an input for 'iss flies over sf.ps' main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index -1 main debug: no fetch required for (null) (art currently (null)) main debug: processing request item null node Playlist skip 0 main debug: starting new item main debug: creating new input thread main debug: Creating an input for 'iss flies over sf.ps' main debug: thread (input) created at priority 22 (../../src/input/input.c:220) main debug: thread started main debug: using timeshift granularity of 50 MiB main debug: using timeshift path '/tmp' main debug: `file:///Users/johnoram/Documents/Downloads/iss%20flies%20over%20sf.ps' gives access `file' demux `' path `/Users/johnoram/Documents/Downloads/iss flies over sf.ps' main debug: creating demux: access='file' demux='' path='/Users/johnoram/Documents/Downloads/iss flies over sf.ps' main debug: looking for access_demux module: 2 candidates macosx debug: input has changed, refreshing interface main debug: no access_demux module matching "file" could be loaded main debug: TIMER module_need() : 75.179 ms - Total 75.179 ms / 1 intvls (Avg 75.179 ms) main debug: creating access 'file' path='/Users/johnoram/Documents/Downloads/iss flies over sf.ps' main debug: looking for access module: 3 candidates filesystem debug: opening file `/Users/xyz/Documents/Downloads/iss flies over sf.ps' main debug: using access module "filesystem" main debug: TIMER module_need() : 0.395 ms - Total 0.395 ms / 1 intvls (Avg 0.395 ms) main debug: Using AStream*Stream main debug: pre buffering main debug: received first data after 0 ms main debug: pre-buffering done 1024 bytes in 0s - 1821 KiB/s main debug: looking for stream_filter module: 5 candidates main debug: no stream_filter module matching "any" could be loaded main debug: TIMER module_need() : 0.138 ms - Total 0.138 ms / 1 intvls (Avg 0.138 ms) main debug: looking for stream_filter module: 1 candidate main debug: using stream_filter module "stream_filter_record" main debug: TIMER module_need() : 0.127 ms - Total 0.127 ms / 1 intvls (Avg 0.127 ms) main debug: creating demux: access='file' demux='' path='/Users/xyz/Documents/Downloads/iss flies over sf.ps' main debug: looking for demux module: 52 candidates main debug: using demux module "ps" main debug: TIMER module_need() : 2.387 ms - Total 2.387 ms / 1 intvls (Avg 2.387 ms) main debug: looking for a subtitle file in /Users/xyz/Documents/Downloads/ main debug: looking for meta reader module: 2 candidates lua debug: Trying Lua scripts in /Users/xyz/Library/Application Support/org.videolan.vlc/lua/meta/reader lua debug: Trying Lua scripts in /Volumes/1/Applications/VLC.app/Contents/MacOS/share/lua/meta/reader lua debug: Trying Lua playlist script /Volumes/1/Applications/VLC.app/Contents/MacOS/share/lua/meta/reader/filename.lua lua debug: Trying Lua scripts in /Volumes/1/Applications/VLC.app/Contents/MacOS/share/share/lua/meta/reader main debug: no meta reader module matching "any" could be loaded main debug: TIMER module_need() : 0.775 ms - Total 0.775 ms / 1 intvls (Avg 0.775 ms) main debug: `file:///Users/xyz/Documents/Downloads/iss%20flies%20over%20sf.ps' successfully opened ps warning: garbage at input, trying to resync… ps warning: found sync code ps debug: we found a length of: 298771144 main debug: selecting program id=0 main debug: looking for decoder module: 32 candidates main debug: using decoder module "mpeg_audio" main debug: TIMER module_need() : 0.296 ms - Total 0.296 ms / 1 intvls (Avg 0.296 ms) main debug: thread (decoder) created at priority 22 (../../src/input/decoder.c:301) main debug: thread started ps debug: contains a PSM main debug: removing module "mpeg_audio" main debug: killing decoder fourcc `mpga', 0 PES in FIFO main debug: Program doesn't contain anymore ES main debug: looking for decoder module: 32 candidates main debug: using decoder module "faad" main debug: TIMER module_need() : 0.289 ms - Total 0.289 ms / 1 intvls (Avg 0.289 ms) main debug: looking for packetizer module: 21 candidates packetizer_mpeg4audio debug: running MPEG4 audio packetizer packetizer_mpeg4audio debug: no decoder specific info, must be an ADTS or LOAS stream main debug: using packetizer module "packetizer_mpeg4audio" main debug: TIMER module_need() : 0.169 ms - Total 0.169 ms / 1 intvls (Avg 0.169 ms) main debug: thread (decoder) created at priority 22 (../../src/input/decoder.c:301) main debug: thread started main debug: Buffering 0% packetizer_mpeg4audio debug: detected LOAS format main debug: Buffering 59% packetizer_mpeg4audio debug: emulated sync word (no sync on following frame) packetizer_mpeg4audio debug: emulated sync word (no sync on following frame) packetizer_mpeg4audio debug: emulated sync word (no sync on following frame) packetizer_mpeg4audio debug: emulated sync word (no sync on following frame) packetizer_mpeg4audio debug: emulated sync word (no sync on following frame) packetizer_mpeg4audio debug: emulated sync word (no sync on following frame) packetizer_mpeg4audio debug: emulated sync word (no sync on following frame) packetizer_mpeg4audio debug: emulated sync word (no sync on following frame) main debug: looking for decoder module: 32 candidates avcodec debug: libavcodec already initialized avcodec debug: trying to use direct rendering avcodec debug: ffmpeg codec (MPEG-1/2 Video) started main debug: using decoder module "avcodec" main debug: TIMER module_need() : 0.764 ms - Total 0.764 ms / 1 intvls (Avg 0.764 ms) main debug: looking for packetizer module: 21 candidates main debug: using packetizer module "packetizer_mpegvideo" main debug: TIMER module_need() : 0.144 ms - Total 0.144 ms / 1 intvls (Avg 0.144 ms) main debug: thread (decoder) created at priority 0 (../../src/input/decoder.c:301) main debug: thread started main debug: Buffering 95% packetizer_mpeg4audio debug: emulated sync word (no sync on following frame) main debug: Stream buffering done (1695 ms in 72 ms) packetizer_mpeg4audio debug: emulated sync word (no sync on following frame) main debug: Decoder buffering done in 0 ms packetizer_mpeg4audio debug: emulated sync word (no sync on following frame) packetizer_mpeg4audio debug: detected ADTS format packetizer_mpeg4audio error: Multiple blocks per frame in ADTS not supported packetizer_mpeg4audio debug: emulated sync word packetizer_mpeg4audio debug: detected LOAS format packetizer_mpeg4audio debug: emulated sync word (no sync on following frame) packetizer_mpeg4audio debug: detected ADTS format packetizer_mpeg4audio warning: ADTS CRC not supported packetizer_mpeg4audio debug: emulated sync word (no sync on following frame)
Apologies for any time wasted on this.

-johnny0
Last edited by johnny0 on 04 May 2011 10:05, edited 1 time in total.

Lotesdelere
Cone Master
Cone Master
Posts: 9961
Joined: 08 Sep 2006 04:39
Location: Europe

Re: VLC can't play .ps file transcoded from VLC

Postby Lotesdelere » 04 May 2011 09:32

I can't download the file at the moment, it's not available:
Sorry, we are unable to generate a view of the document at this time.
Please try again later.
Please upload it to Multiupload.com because it will automatically upload the file to several other hosts for you, and then post the link to the file here.

johnny0
New Cone
New Cone
Posts: 3
Joined: 04 May 2011 07:17

Re: VLC can't play .ps file transcoded from VLC

Postby johnny0 » 04 May 2011 10:07

Whoops, sorry, guess Google Docs didn't like that extension.

This link will work.

Lotesdelere
Cone Master
Cone Master
Posts: 9961
Joined: 08 Sep 2006 04:39
Location: Europe

Re: VLC can't play .ps file transcoded from VLC

Postby Lotesdelere » 04 May 2011 19:58

Yep, VLC can't play this file it has created while FFplay can play it.

You should create a ticket on the bug tracker about this issue. And join the messages log to the ticket and also the link to your sample file.

johnny0
New Cone
New Cone
Posts: 3
Joined: 04 May 2011 07:17

Re: VLC can't play .ps file transcoded from VLC

Postby johnny0 » 05 May 2011 08:16

While I don't have mmplay, I was able to get brief frames in mplayer.

hmm, tried filing a bug but it doesn't seem to like my login -- despite authenticating my email I get a
TICKET_CREATE privileges are required to perform this operation
. I've tried about half a dozen times but I'm giving up.

Any chance you can convert it to an mp4 from your version of mmplay? Not having a lot of luck finding a Mac OS X binary.

Lotesdelere
Cone Master
Cone Master
Posts: 9961
Joined: 08 Sep 2006 04:39
Location: Europe

Re: VLC can't play .ps file transcoded from VLC

Postby Lotesdelere » 05 May 2011 09:18

hmm, tried filing a bug but it doesn't seem to like my login -- despite authenticating my email I get a
TICKET_CREATE privileges are required to perform this operation
. I've tried about half a dozen times but I'm giving up.
Your forum account won't work on the tracker, you need to create a new account for the bug tracker.

Any chance you can convert it to an mp4 from your version of mmplay? Not having a lot of luck finding a Mac OS X binary.
FFplay is just a simple basic player which is used to test the playback features of FFmpeg, so it's one of the references for the devs, and that's the reason why I mentionned it.
However I could easily create an MP4 with FFmpeg using the copy streams feature, no encoding involved but only a container change:

Code: Select all

ffmpeg -i iss.ps -vcodec copy -an iss.mp4
You may want to search for FFmpegX for something that runs on Mac OS X but don't quote me on that as I haven't used a Mac for ages.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 5 guests