NEWS

STB

PLAY DVD ON FREEBOX v5

For who ever cares, My PeekTon DvD PlayeR Broke recently … so I had to find an AlT solution ..

Here is a one liner to playback DvD's VoB files on FreeBox v5 :

  gst-launch \
        filesrc location="${in}" \
	! queue \
	! dvddemux name=demuxer mpegtsmux name=mux \
	! queue \
	! filesink location="${out}" demuxer.current_video \
	! queue \
	! mux. demuxer.current_audio \
	! queue \
        max-size-bytes=0 max-size-buffers=0 max-size-time=10000000000 \
	! mux. 

Then upload file.ts through FtP (~2 MB/s) or you can use FusE FtpFs MounT DiR

I dont think there are other way to achieve this without transcoding …

mediainfo  VTS_01_0.VOB.tmp.mpeg.ts

General
ID                                       : 1 (0x1)
Complete name                            : VTS_01_0.VOB.tmp.mpeg.ts
Format                                   : MPEG-TS
...
Overall bit rate                         : 7 955 Kbps

Video
ID                                       : 65 (0x41)
Menu ID                                  : 1 (0x1)
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : Main@Main
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Default
Format settings, GOP                     : M=3, N=13
Codec ID                                 : 2
Duration                                 : 11mn 24s
Bit rate mode                            : Variable
Bit rate                                 : 7 368 Kbps
Maximum bit rate                         : 9 000 Kbps
Width                                    : 720 pixels
Height                                   : 576 pixels
Display aspect ratio                     : 4:3
Frame rate                               : 25.000 fps
Standard                                 : PAL
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.711
Time code of first frame                 : 00:00:00:00
Time code source                         : Group of pictures header
Stream size                              : 602 MiB (93%)
Color primaries                          : BT.601 PAL
Transfer characteristics                 : BT.470 System B, BT.470 System G
Matrix coefficients                      : BT.601

Audio
ID                                       : 64 (0x40)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : 129
...

You can MounT the DvD or use a BackUp dir …

MISC

Cette tache n'as pas progressee depuis 3 ans ? la feature et elle rejetee ? et qu en est il du fw de la fb crystal ?

Flux DVB?

Format                                   : MPEG-TS

Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.0
Width                                    : 1 440 pixels
Height                                   : 1 080 pixels

Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format version                           : Version 2

UPNP

public=$user
server=192.168.0.90
client=212.27.38.253 # freeplayer.freebox.fr
PATH=${PATH}:/usr/sbin

# Tout d'abord on autorise la NAVIGATION depuis la freebox-HD vers notre ordinateur
iptables -A FORWARD -p tcp -d $client -s $server -j ACCEPT
iptables -A FORWARD -p tcp -d $server -s $client -j ACCEPT

# ensuite, on s'occupe des translations d'adresses
# première translation : on translate l'adresse de notre ordinateur dans les trames aller
iptables -A POSTROUTING -t nat -p tcp -s $server -d $client \
          --sport 8080 -j SNAT --to-source $public

# seconde translation : on translate l'adresse dans les trames retour pour
# qu'elles soient envoyées à notre ordinateur
iptables -A PREROUTING -t nat -p tcp -s $client -d $public \
          --dport 8800 -j DNAT --to-destination $server


# on autorise la DIFFUSION des flux audio et vidéo !
iptables -A FORWARD -p udp -s $server -d $client -j ACCEPT
iptables -A POSTROUTING -t nat -p udp -s $server -d $client \
          --dport 1234 -j SNAT --to-source $public

CODECS

ts :
conteneur	codec vidéo	codec audio	résolution maximale acceptée
ts (mpeg ts)	mpeg4	ac52	1280×720
ts (mpeg ts)	h264	ac52	1280×720
avi	xvid	mp3	1280×720 et 1440×1080

TESTS

Demux , video hang after 3min : no sound

Format                                   : Matroska
Format version                           : Version 2

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : V_MPEG4/ISO/AVC

Audio
ID                                       : 2
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Mode                                     : 16
Format settings, Endianness              : Big
Codec ID                                 : A_DTS

STREAM

Then I Did not figure out how to stream to freebox

wget http://ia300124.us.archive.org/3/items/TrustedComputing/TrustedComputing_LAFKON_HIGH_mpeg1.mpg
file=TrustedComputing_LAFKON_HIGH_mpeg1.mpg
gst-launch filesrc location=$file ! decodebin   ! ffmux_mpegts ! { queue ;  udpsink port=1234 host=212.27.38.253  }

FeedBack Welcome :

#EXTVLCOPT:sout=#transcode:std
#EXTVLCOPT:sout-transcode-ab=256
#EXTVLCOPT:sout-transcode-acodec=mpga
#EXTVLCOPT:sout-transcode-channels=2
#EXTVLCOPT:sout-transcode-vb=9000
#EXTVLCOPT:sout-transcode-vcodec=mp2v
#EXTVLCOPT:sout-transcode-vt=1000000
#EXTVLCOPT:sout-transcode-fps=25.0
#EXTVLCOPT:sout-transcode-soverlay
#EXTVLCOPT:sout-ffmpeg-keyint=24
#EXTVLCOPT:sout-ffmpeg-interlace
#EXTVLCOPT:no-sout-ffmpeg-interlace-me
#EXTVLCOPT:file-caching=1000

Others:

Firmware

Pour vérifier la version firmware utilisée actuellement par votre Freebox, appuyez sur la touche #

Firmware : dvd-1.6.11#2 , 1.6.10

Programme TV : http://free.tv.free.fr/index.php#prog

TV @ ADSL : http://www.01net.com/article/248807.html

Network :

HiFi : SPDIF

MISC

API

fbxgw-r2

box_model_name	"Freebox Server Mini (r2)"
api_version	"10.0"
https_port	?????
12735
uid	"????????????????????????????????"
https_available	false
box_model	"fbxgw-r2/mini"
device_name	"Freebox Server"
api_base_url	"/api/"
device_type	"FreeboxServer1,2"

freeplug

MORE

@TaG: Free.Fr GStreameR free.fr freeplayer gstreamer mpeg1 sip isp fai HdmI

<iframe width="560" height="315" src="http://www.youtube-nocookie.com/embed/1zXwOoeGzys" frameborder="0" allowfullscreen></iframe>

f-x.fr_photos_fbx_v5_gzo_serial.jpg

freebox.txt · Last modified: 2023/01/19 15:04 by rzr
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki