Springen naar inhoud


Foto

Mp4 not playing but mpegts does

mp4

  • Please log in to reply
Geen reacties in dit onderwerp

#1 microboi37

  • Senior Member
  • 74 berichten

0
Neutral

Geplaatst op 1 juli 2019 - 13:27

Hi all,

 

I have read some dated posts on this forum about Mp4 not playing on OpenPli. Some mod of the forum stated that STB uses hardware to decode streams which is choosy about codec types and encoding parameters, while applications on PC can decode every type of rubbish codecs since they use software decoders.

 

Ok, but… I have done a little experiment. I have recorded a couple of minutes of an mpegts stream which plays nicely on OpenPli. I have then encapsulated the ts recording within an mp4 container with the simplest ffmpeg command possible:

ffmpeg -i input_video.ts -map 0 -c copy output_video.mp4

From my understanding the codecs and compression levels are identical on both .ts and .mp4 files. While the generated .mp4 file plays OK with VLC and MAG devices, it does not on OpenPli.

 

This is the log of enigma2 which shows the stream is being played, but it's not. The screen is blank:

 

playing 4097:0:0:0:0:0:0:0:0:0:http%3a//192.168.1.2/video_test.mp4
[eServiceMP3] construct!
[eServiceMP3] playbin uri=http://192.168.1.2/video_test.mp4
[eServiceMP3] starting pipeline
[eServiceMP3] state transition NULL -> READY
[eServiceMP3] state transition READY -> PAUSED
resolved to PLAY
[eServiceMP3] trickSeek no need to unpause!
[eServiceMP3] loading cuesheet
[eServiceMP3] cutfile not found!
[eServiceMP3] async-done - 1 video, 1 audio, 0 subtitle
[eServiceMP3] AUDIO STRUCT=audio/mpeg
[eServiceMP3] audio stream=0 codec=MPEG-4 AAC audio language=und
[eServiceMP3] state transition PAUSED -> PLAYING

 

 

My question is, what are the exact encoding parameters needed to successfully play mp4 files on OpenPli?

 

Thank you


Veranderd door pistacio, 1 juli 2019 - 13:29




Also tagged with one or more of these keywords: mp4

1 gebruiker(s) lezen dit onderwerp

0 leden, 1 bezoekers, 0 anonieme gebruikers